Skip to content

restructuredText file with two tables leads to a ! Undefined control sequence but compiles fine on another distribution #243

@goekce

Description

@goekce

two-tables.rst:

Example
-------

======================  =
0                       1
======================  =

Example
-------

=  =
0  1
=  =
docker run --rm -it --mount type=bind,src=.,dst=/data pandoc/latex two-tables.rst --to beamer -o two-tables.pdf

output:

Error producing PDF.
! Undefined control sequence.
\@currentHref ->table.\theHtable 
                                 
l.120 \end{frame}

Image version: Digest: sha256:def4afcf033586bc67b393236a3247d79234e76c5fa006365c2fdc1dc0cba5e6

Tags latest-ubuntu and edge have the same behavior. On Archlinux with pandoc 3.2.1 I don't get any errors. I don't see any version differences between pdflatexs and lualatexs between Archlinux and the Docker image.

If the number of =s is lower in the table above, then the error goes away.

Can someone reproduce this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions