-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[LaTeX] "%" in the \verb comand are interpreted as comments. #7939
Comments
Have you tried in the latest pandoc version? e.g. https://pandoc.org/try/?text=%5Chbox%7B%5Cverb%7C%5Cbegin%7Bminipage%7D%5Bt%5D%25%7C%7D&from=latex&to=native&standalone=0 |
This appears to work correctly in recent versions; you just need to upgrade. |
I updated to version 12.17.1.1, but it did not solve the problem. I tried to convert, but got the following error.
|
OK, what's going on in your document is that it first defines
so that the \hbox{\|\begin{minipage}[t]%|} Pandoc understands that when you write \hbox{\verb|\begin{minipage}[t]%|} but not with the defined |
Actually it's more complex than that. The defined
yields the error, but
works perfectly. |
Pushed a change that fixes this. |
Thank you for the fixes. |
I don't know when the next release will come out. You can grab a nightly, though. |
problem
This problem occurs when converting LaTeX.
If I convert the following text, the "%" in the \verb command are interpreted as a comment.
\hbox{\verb|\begin{minipage}[t]%|}
How to execute
pandoc --from=latex --to=json "sample.tex"
The text was updated successfully, but these errors were encountered: