#17371: The rst contents directive does not work with sagenb (wrong anchors)
----------------------------+------------------------
       Reporter:  tmonteil  |        Owner:
           Type:  defect    |       Status:  new
       Priority:  major     |    Milestone:  sage-6.5
      Component:  notebook  |   Resolution:
       Keywords:            |    Merged in:
        Authors:            |    Reviewers:
Report Upstream:  N/A       |  Work issues:
         Branch:            |       Commit:
   Dependencies:            |     Stopgaps:
----------------------------+------------------------

Comment (by kcrisman):

 Indeed, in 6.5.beta0
 {{{
 sage: docutils.__version__
 '0.12'
 }}}
 but I can confirm that there is still the same thing.  But I don't think
 this is actually problematic.  It even says back-references.  Right?
 * The first table entry has id `id1`, so that the first section heading
 links back to it.
 * The first table entry anchor links to `first-section`, which is the id
 of the div around that section.
 * The second ones behave similarly.
 So I would argue this file is behaving correctly!   I tried it with a
 longer file (attached) and it works correctly.

 Unless I am missing something.  However, when I do something with `:ref:`
 directives (the Sphinx, not docutils, one), I get errors like
 {{{
 $ ./sage -rst2txt Programming.rst Programming.txt
 <string>:18: (ERROR/3) Unknown interpreted text role "ref".
 <string>:20: (ERROR/3) Unknown interpreted text role "ref".
 <string>:22: (ERROR/3) Unknown interpreted text role "ref".
 <string>:24: (ERROR/3) Unknown interpreted text role "ref".
 <string>:26: (ERROR/3) Unknown interpreted text role "ref".
 * Unknown command \ZZ
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/17371#comment:6>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" 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/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to