Skip to content

SQL source code in footnotes causes PDF generation failure #1616

@createsoftware

Description

@createsoftware

The following snippet

Some text [^1]

[^1]:   More text

    ```SQL
    SQL code containing %
    ```

compiled with

pandoc minimal.md -o minimal.pdf

causes the following error message:

pandoc: Error producing PDF from TeX source.
! File ended while scanning use of \@footnotetext.
<inserted text> 
                \par 
<*> /tmp/tex2pdf21362/input.tex

!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on /tmp/tex2pdf21362/input.log.

(using version 1.11.1 from Debian repositories)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions