On Tuesday, October 31, 2017 at 9:49:57 AM UTC-5, Komiya Takeshi wrote:
>
> Hi, 
>
> I'm very sorry for missing Metthew's mail. 
>

Out of curiosity, what would have been a preferred way to bring up this 
question back in July in a way that would not have been missed? I consider 
Sphinx a rather fundamental part of python, and the Sphinx web pages point 
to this forum as the place to ask questions.  Maybe it was a one-time 
event, but traffic here does not look very high and there appear to be many 
threads with no response to the original question. 
 

> And sorry for dropping them in 1.6. I consider nobody depends on the 
> classes and functions because they are internal. 
>

The discussion at Github Issues around dropping support for smartypants 
didn't seem to consider the possibility that it was being used by 
extensions.  And yet extensions seem like an important part of the Sphinx 
system.  How do you test the impact of changing APIs on extensions and 
downstream code?
 

>
> 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. 
>
>
Can you specify which versions of docutils and Sphinx you are referring to 
and what those changes are? FWIW, I saw never deprecation messages about 
this functionality being removed.

Cheers,

--Matt

 

> Thanks, 
> Takeshi KOMIYA 
>
> 2017-10-31 5:56 GMT+09:00 Jesse Welborn <[email protected] <javascript:>>: 
>
> > 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] <javascript:>. 
> > To post to this group, send email to [email protected] 
> <javascript:>. 
> > 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.

Reply via email to