We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This code works for latex processors, but not for pandoc 1.11.1 :
\documentclass{article} \usepackage{alltt} \begin{document} \begin{alltt} main <- {sprintf("x = %5.3f",3.1415926)} \end{alltt} \end{document}
The % makes the closing '}' not be found, and causes failure.
$ pandoc test.tex -t markdown pandoc: Error: "source" (line 5, column 27): unexpected "{" expecting letter or new-line
The unexpected "{" is from where "\end{" replaces the text from % onwards.
If you remove the curly braces from the source line, the source compiles, but the line is truncated at the '%':
pandoc junk.tex main <- sprintf("x =
pandoc junk.tex
main <- sprintf("x =
The text was updated successfully, but these errors were encountered:
82e46bf
No branches or pull requests
This code works for latex processors, but not for pandoc 1.11.1 :
The % makes the closing '}' not be found, and causes failure.
The unexpected "{" is from where "\end{" replaces the text from % onwards.
If you remove the curly braces from the source line, the source compiles, but the line is truncated at the '%':
The text was updated successfully, but these errors were encountered: