Hi,
that workaround worked when I was using Sphinx 1.1.3 as shipped with
previous Ubuntu releases.
After upgrading to Ubuntu 14.04. "trusty" (which ships with Sphinx 1.2.2),
I noticed that the "wrong" curly quotes have re-appeared in the PDF output,
even though I added the following to my conf.py file:
'preamble': '\usepackage{upquote}'
Do you have any idea or suggestion on how to fix this until 1.2.3 has been
released?
Thanks!
Lenz
On Tuesday, March 25, 2014 2:45:40 PM UTC+1, Lenz Grimmer wrote:
thanks a lot for the quick help! Adding "\usepackage" fixed the issue I was
> facing.
>
> On Tuesday, March 25, 2014 10:29:39 AM UTC+1, Georg Brandl wrote:
>
> this was indeed still a bug, I've just fixed it for the next bugfix
>> release of 1.2.
>>
>> In the meantime, you can add this to your latex_elements preamble:
>>
>> \usepackage{upquote}
>>
>> This will at least work for parsed-literal blocks. For anything
>> highlighted,
>> you will need to add this:
>>
>> \renewcommand\PYGZsq{\textquotesingle}
>>
>> manually *after* the Pygments style commands in the .tex files
>> unfortunately.
>>
>
--
You received this message because you are subscribed to the Google Groups
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.