On Mon, Sep 3, 2018 at 1:22 PM John Cremona <john.crem...@gmail.com> wrote:
>
> It would be OK (in my opinion) for the p in p-adics not to be in math mode.  
> It certainly needs to be present.

That would certainly be the simplest solution.  A more complicated
workaround might involve providing an explicit title when :ref:-ing
that label.

In the meantime I have also opened an upstream issue:
https://github.com/sphinx-doc/sphinx/issues/5382

> On Mon, 3 Sep 2018 at 12:19, Erik Bray <erik.m.b...@gmail.com> wrote:
>>
>> On Mon, Sep 3, 2018 at 1:10 PM Erik Bray <erik.m.b...@gmail.com> wrote:
>> >
>> > On Mon, Sep 3, 2018 at 12:51 PM Samuel Lelièvre
>> > <samuel.lelie...@gmail.com> wrote:
>> > >
>> > > In the list of thematic tutorials at
>> > >
>> > >   http://doc.sagemath.org/html/en/thematic_tutorials/
>> > >
>> > > the second tutorial in the "Number Theory" section displays as
>> > >
>> > >   - Introduction to the -adics
>> > >
>> > > despite the title displaying properly at
>> > >
>> > >   
>> > > http://doc.sagemath.org/html/en/reference/padics/sage/rings/padics/tutorial.html
>> > >
>> > > Is this related to a known bug? Like maybe one of those:
>> > >
>> > > - #25111: In the built documentation, replace duplicate files by symlinks
>> > >   https://trac.sagemath.org/ticket/25111
>> > >
>> > > - #26152: Remove symlink local/share/mathjax/mathjax
>> > >   https://trac.sagemath.org/ticket/26152
>> > >
>> > > or how could this be fixed?
>> >
>> > I'm not positive, but I don't think it's related to either of those
>> > issues.  It looks like on the tutorial listing page, the "equation"
>> > for the "p" in "p-adics" is not even present.
>> >
>> > I think a more likely cause is a "bug" (though possibly something
>> > originally intentional) in the Sage multidocs Sphinx extension is
>> > stripping equations out of document titles.
>>
>> In fact, it seems to be more broadly a problem with Sphinx and/or
>> docutils hyperrefs that contain math-y text.  You can see the same
>> problem here: 
>> http://doc.sagemath.org/html/en/tutorial/tour_numtheory.html#adic-numbers
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "sage-devel" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to sage-devel+unsubscr...@googlegroups.com.
>> To post to this group, send email to sage-devel@googlegroups.com.
>> Visit this group at https://groups.google.com/group/sage-devel.
>> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to