You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The single quotes around the first argument have been converted to closing curly quotes. The double quotes around the second argument are unchanged, as are quotes in code blocks (thanks to upquote).
Adding --smart doesn't affect this, nor does switching the reader from markdown_strict to markdown. Furthermore, using pandoc to go directly to PDF via pandoc -f markdown -o inlinequotes.pdf --standalone text.md yields the same results.
When converting Markdown to PDF via LaTeX, any single quote character in inline code is converted to a curly closing quote character.
Given a file
text.md
with the following:The calls:
Result in:
The single quotes around the first argument have been converted to closing curly quotes. The double quotes around the second argument are unchanged, as are quotes in code blocks (thanks to
upquote
).Adding
--smart
doesn't affect this, nor does switching the reader frommarkdown_strict
tomarkdown
. Furthermore, usingpandoc
to go directly to PDF viapandoc -f markdown -o inlinequotes.pdf --standalone text.md
yields the same results.The partial LaTeX output is:
Is there a way to replace
'
with\textquotesingle
when text is output within\texttt
?The text was updated successfully, but these errors were encountered: