-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Backslashes with latex #2790
Comments
Pandoc passes through things that look like LaTeX
+++ Andrew Martin [Mar 15 16 08:35 ]:
|
Thanks. That resolves my issue. |
I have also met this issue #4200. But in my case, the error message is not After properly dealing with backslash issues, the error message disappeared and I can compile the markdown file successfully to pdf now. |
If we have the following as
example_in.markdown
:And then we run this:
We get a latex document as
example_out.tex
. Here is the relevant section:This latex is invalid. It seems like the backslash should be escaped in the latex output. In my actual use case, this is causing problems when people put in windows paths. My solution so far has just been to require wrapping them in backticks.
The text was updated successfully, but these errors were encountered: