Arkadiusz Świętnicki <[email protected]> writes: > I am a blind accessibility specialist trying to create PDF files > compatible with the UA2 standard. I use LaTeX as my language, and > Lualatex as my compiler, as pdflatex does not support creating tagged > PDF. From what I understand, the Org's default PDF template does not > include the necessary directives to make a tagged PDF. So I have added > them like so > > #+latex_compiler: lualatex > #+latex_class: report > #+latex_class_options: [a4paper,11pt,oneside] > > #+latex_class_pre: \DocumentMetadata{ > #+latex_class_pre: lang=pl-PL, > #+latex_class_pre: pdfversion=2.0, > #+latex_class_pre: pdfstandard=ua-2, > #+latex_class_pre: tagging=on > #+latex_class_pre: }
Note that we just added a couple of new features in this area on the latest main: 1. There is a new #+latex_doc_metadata keyword https://cgit.git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=fd5d3b1a599aad17ff67a2625a1725df520976ce 2. There is ltx-talk support https://cgit.git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=13a25caeb2f71b2ddf19a8fae3316195302e8959 > This kinda works (the PDF is tagged) however the standard is not fully > #followed, e.g. lists are considered to be manually numbered. Could you please explain a bit more about this. What is "manually numbered"? How does a more appropriate list look in the LaTeX? Maybe you can provide an example of correct/incorrect LaTeX documents - one generated by Org, and another written in pure LaTeX. > Is there #any way that Org can create tagged PDFs by default? I see no > #disadvantage for adding such a feature, however I am pretty new in > the #world of Org and Tex, so how do I know? I hope to read your > input soon. Doing tagging=on might be a safe default. Not so much about pdfversion/pdfstandard, and lang. For example, language is not always specified in the Org documents. If we use the default English, I am not sure if the result will be useful. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>
