Intermediate .tex file during 'Convert' differs from manual export, causes problems

Jürgen Spitzmüller spitz at lyx.org
Thu Jun 11 10:28:55 UTC 2020


Am Donnerstag, den 11.06.2020, 11:50 +0200 schrieb Alexander:
> The intermediate .tex temp file created by LyX, during exporting to
> markdown, has the two lines
> --
> \begin{lstlisting}%
> [language=Python]
> --
> which in the final markdown file look like
> --
>     %
>     [language=Python]

Since this is perfectly valid LaTeX it strikes me a pandoc bug. I
suggest you file a report at https://github.com/jgm/pandoc/issues

As for the export, you could add an intermediate script that transfers 

}%
[

to

}[

HTH
Jürgen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20200611/8e9b02f6/attachment.asc>


More information about the lyx-users mailing list