Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bidi package incompatible #686

Open
mbertucci47 opened this issue Aug 28, 2024 · 0 comments
Open

bidi package incompatible #686

mbertucci47 opened this issue Aug 28, 2024 · 0 comments
Labels
currently incompatible package or class package or class that doesn't work with current version of tagging code

Comments

@mbertucci47
Copy link
Contributor

The bidi package patches many, many things, so the list of incompatibilities here is definitely not exhaustive.

  • In Acrobat, many tags in the example below are empty when they should contain text.
  • Footnotes produce a warning Package tagpdf Warning: something is wrong with the mcid--rerun
  • The output of right-to-left lists is wrong
  • The package warns
Package bidi Warning: Patching '\begin' failed!
(bidi)                '\bidi@AtBeginEnvironment' will not work.

Package bidi Warning: Patching '\begin' failed!
(bidi)                '\bidi@BeforeBeginEnvironment' will not work.
  • With hyperref, everything in the document is a hyperlink.

Here's an example:

\DocumentMetadata
  {
    lang=en-US,
    pdfversion=2.0,
    pdfstandard=ua-2,
    testphase={phase-III,math,title,table,firstaid}
  }
\documentclass{article}

\usepackage{amsmath} % has to be loaded before bidi
\usepackage{hyperref} % has to be loaded before bidi
\usepackage[
  RTLdocument,
%  extrafootnotefeatures,
  ]{bidi}

%\threecolumnfootnotes
%\paragraphfootnotes

\begin{document}

text\footnote{a footnote}

text\footnote{another footnote}

\begin{equation}
a=b
\end{equation}

\begin{enumerate} % output is wrong
\item first item
\item second item
\begin{LTRitems}
\item first LTR item
\item second LTR item
\end{LTRitems}
\end{enumerate}

\end{document}
@davidcarlisle davidcarlisle added the currently incompatible package or class package or class that doesn't work with current version of tagging code label Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
currently incompatible package or class package or class that doesn't work with current version of tagging code
Projects
None yet
Development

No branches or pull requests

2 participants