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

Jürgen Spitzmüller spitz at
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

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




-------------- 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: <>

More information about the lyx-users mailing list