-
Notifications
You must be signed in to change notification settings - Fork 2k
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
xelatex fails because straight quote marks transformed to angle quotes #3848
Comments
The #3527 which you quote has been obsoleted by a merge of #3666 at Sphinx 1.6.1. You can turn off "smart quotes" currently by adding a
I hope this helps you. The Fancyhdr warning is something else, probably oneside option is used. This is known problem but innocuous warning. For further help, minimal project would be helpful. Trying with
I got no issue. Perhaps you use some special xetex set-up. |
You can turn off "smart quotes" currently by adding a docutils.conf file at same level as conf.py and with contents
Great, thanks for advice.
I'm developing an extention that is used in multiple doc projects. Making
all these projects to create additional files would be unexpected burden
for doc project maintainers.
Is it possible to set this option from an extention?
|
You can add this to your extension:
at least with Sphinx 1.6.2 and Docutils 0.13.1 this should have effect to disable smart quotes. You should do that conditionally on Sphinx version. Indeed in the future I tested it briefly but do not at all recommend (it affects html target too). it would be much more valuable to understand exactly what is your problem with With the above This is quite bad. |
In 1.6.6, we introduce a new option Thanks, |
Great, thanks.
|
Problem
My rst file contains quoted "text". After upgrading from 1.5.3 to 1.6.2 PDF builds started failing.
Why sphinx replaces rst text, if I'd like to use angle quotes, I'd use them right in rst.
(I can see discussion in PR#3527, but don't understand a word in that magic).
Clean project project with straight quotes is compiling ok.
My project uses custom preamble, so it might be a problem with it but I'm not a Tex expert.
Error logs / results
Compilation ends with errors like:
Environment info
The text was updated successfully, but these errors were encountered: