Hi, I'm very sorry for missing Metthew's mail. And sorry for dropping them in 1.6. I consider nobody depends on the classes and functions because they are internal.
Now all smartypants (smart quotes) process are integrated into docutils.transforms.universal.SmartQuotes. And it is invoked at reading phase. It means all implementation around smartypants are changed in 1.6. Thanks, Takeshi KOMIYA 2017-10-31 5:56 GMT+09:00 Jesse Welborn <[email protected]>: > I'm replying because I have the same question. > > I wish I had a good answer. > > > On Thursday, July 6, 2017 at 9:12:50 PM UTC+2, Matthew Newville wrote: >> >> Hi, >> >> I'm using some custom latex and HTML extensions, based on the very nice >> (but not well supported) https://github.com/jterrace/sphinxtr, especially >> for its improved bibliography and citation handling and tables of figures or >> "subfigures". >> >> This code uses smartypants parts of sphinx, specifically >> >> from sphinx.writers.html import SmartyPantsHTMLTranslator >> >> and >> >> from sphinx.util.smartypants import educate_quotes_latex >> >> It seems that these have disappeared in Sphinx 1.6. Perhaps they were >> sufficiently deprecated for some users -- I never saw a deprecation notice >> myself. The release notes aren't very specific, and it seems "use docutils" >> is the general suggestion. >> >> It seems that sphinx.writers.html.HTMLTranslator can be used in place of >> SmartyPantsHTMLTranslator, though I have not looked in detail at what the >> differences are. Anyone know? >> >> I do not know what a suitable replacement for >> sphinx.util.smartypants.educate_quotes_latex would be. I don't think that >> docutils.utils.smartquotes.educateQuotes does the same thing. Any >> suggestions? >> >> I'm struggling to interpret the removal of these as a positive change. >> Can anyone help me understand why these were removed? >> >> Thanks, >> >> --Matt >> >> > -- > 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 https://groups.google.com/group/sphinx-users. > For more options, visit https://groups.google.com/d/optout. -- 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 https://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.
