Apostrophes

20 views
Skip to first unread message

Daniele Zambelli

unread,
Feb 20, 2021, 8:34:15 AM2/20/21
to sphinx...@googlegroups.com
Hello!

When a word ends with an apostrophe in my source, I get a double
quotation mark in the pdf:

source: ... po' ...

result: ... po" ...

po" is wrong!

How can I correct it?

Thank you.

--

Daniele

www.fugamatematica.blogspot.com

giusto!
nel verso
forse è perché non guardiamo le cose
Quando non ci capiamo,

Stefano David

unread,
Feb 21, 2021, 6:16:47 AM2/21/21
to sphinx-users
Hi Daniele,

On Saturday, 20 February 2021 at 14:34:15 UTC+1 daniele wrote:
Hello!

When a word ends with an apostrophe in my source, I get a double
quotation mark in the pdf:

source: ... po' ...

result: ... po" ...

po" is wrong!

How can I correct it?
Have you tried to escape the apostrophe like po\' ?
In this way, the .tex source would contain po\textquotesingle{}

HTH,
Stefano

Komiya Takeshi

unread,
Feb 23, 2021, 10:04:02 AM2/23/21
to sphinx...@googlegroups.com
Hi,

I guess the conversion happened by the "smartquotes" feature of
Sphinx. If you'd not like to do that, please disable it via
`smartquotes = False` on your conf.py.
https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-smartquotes

Thanks,
Takeshi KOMIYA

2021年2月20日(土) 22:34 Daniele Zambelli <daniele....@gmail.com>:
> --
> 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 sphinx-users...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/CAE512rNgLNH1n8YDzViSrKYkDCpeOEbg9NogoF1RzHw709rSTQ%40mail.gmail.com.

Daniele Zambelli

unread,
Feb 24, 2021, 3:28:04 AM2/24/21
to sphinx...@googlegroups.com
Thank you so much for all the valuable information.

Have a great day!
Reply all
Reply to author
Forward
0 new messages