-
Notifications
You must be signed in to change notification settings - Fork 1.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
Provide latex_extension
option when compling PDF
#687
Comments
latex_extension
options when compling PDFlatex_extension
option when compling PDF
Please try the dev version of rmarkdown ( output:
bookdown::pdf_book:
md_extensions: -smart
output_extensions: -smart |
Thanks, @yihui. I can confirm that this has been fixed using the development version of rmarkdown. |
Perfect. Thanks for letting me know! |
…pdf_document() to enable/disable Pandoc output extensions
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary. |
In bookdown, basically, I want to preserve Chinese quotation marks in the PDF output. This is related to https://stackoverflow.com/questions/52052231/how-to-write-chinese-quotes-in-bookdown
The reason why adding
md_extensions: -smart
did not work is that in pandoc,smart
extension is enabled for latex by default, no matter latex is the input or output.So the only way to achieve this is to disable the
smart
extension both for markdown and latex.However, in bookdown, the PDF is compiled using pandoc with only "-t latex", and there is no such
latex_extension
option to modify latex extension in pandoc.The text was updated successfully, but these errors were encountered: