Skip to content

Alternative text for images from LaTeX #6095

@sthibaul

Description

@sthibaul

Hello,

I would like to convert LaTeX documents with pandoc, with proper
alternative content support for images. I tried two ways which seemed
quite straight forward in LaTeX:

\usepackage{graphicx}
\usepackage{tagpdf}

\tagmcbegin{tag=Figure,alttext=My Text}
\includegraphics{test.png}
\tagmcend

\usepackage{graphicx}
\usepackage{pdfcomment}
\usepackage{accessibility}

\alt{My Text}\includegraphics{test.png}

but none of the two worked. Looking at the pandoc source code, it seems
that "image" alternative text is hardcoded. Could pandoc perhaps be
extended to support these two markings?

Samuel

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions