在lstinline中翻译一些代码时,我发现了\直通{\ lstine!XXX!}我想插入$,我知道在乳胶中应该是lstinline!$ \ $$!但是,我用降价,我输入就好$=> …
$
我解决了这个问题, https://github.com/jgm/pandoc/issues/4713 通过设置
latex \lstset{mathescape=false}
现在看来pandoc在打开时有一个bug mathescape=true 。
mathescape=true