That is because the current PDF creation processes from Pandoc (either via TeX or HTML) cannot produce a proper Tagged PDF, that is required for screen reader integration.

Your current best bets are to produce the PDF from Word/DocX using either MSWord or LibreOffice, with the option to create Accessible/Tagged PDF turned on or to produce ICML with Pandoc and use Adobe InDesign to produce the Tagged PDF.

I am currently producing Tagged PDFs from Markdown through both of these paths and they each have their own pros and cons...

Future looking, Adobe is actively working with (and funding!) work in the TeX community produce Tagged PDFs - its a ways off, but it will happen.

And Google just announced that Chrome (and one would assume CEF) can now produce Tagged PDFs (https://9to5google.com/2020/07/29/chrome-tagged-pdf/), so perhaps we'll find an HTML-based path to get there soon as well.

Leonard

On Sun, Aug 23, 2020 at 10:06 AM Jim <james.benstead-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
I'm producing a series of PDFs that are going to be read with a screenreader. The screenreader lets the user skip through a document by jumping to the next header. I've created documents in both Word and Markdown that include headers, but when I use pandoc to convert these documents to PDFs the headers are not included. The text that is defined as a header has a different visual style, but it isn't a header from the point of view of the screenreader.

I am able to produce a PDF with headers if I "Save As" from word and then create a PDF using Microsoft's own PDF creation tools. I'd really like to use pandoc for this, though, as it would offer me a ton more flexibility.

Is there a particular command I need to use in order for pandoc to retain headers when creating a PDF?

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/0eff3ef9-cd3d-4154-8dfe-976238704547n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CALu%3Dv3JHcqWFaAmjTMds%3D3kZ4tEPktwpikG-HeoqZqX8c1tR9g%40mail.gmail.com.