Le 11/06/2020 à 12:28, Jürgen Spitzmüller a écrit :
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 }[
Or maybe even remove traces of "%\n" ? JMarc -- lyx-users mailing list [email protected] http://lists.lyx.org/mailman/listinfo/lyx-users
