>:numref: is apparently unable to resolve document names.

Since 1.5, you can refer using format strring. :numref:`{number}
{name} <section-label>`.
I know this is not easy to write. But there are no way to refer both
section number and title at same time.

> (Also, it requires numfig on, which is silly for sections; want a PR to fix 
> that?)

Indeed. PRs are always welcome.

>I also don't really want it to be a *link*, unless I can link to a sub-section 
>and get the basic-build full section number (which degenerates into the 
>section number of the parent section).

AFAIK, there are no way.


2018-01-17 2:07 GMT+09:00  <[email protected]>:
> On Monday, January 15, 2018 at 8:17:08 PM UTC-5, Komiya Takeshi wrote:
>>
>> You can use :numref: role for that. Please try it.
>
>
> :numref: is apparently unable to resolve document names. (Also, it requires
> numfig on, which is silly for sections; want a PR to fix that?) Also,
> AFAICT, the best I'll be able to get out of it is *styled* section numbers,
> which is probably TRTTD in general, but for my use case is unacceptable. (I
> need the raw number because it needs to fit in a small spot; the styling
> text will make it much too big.)
>
> I also don't really want it to be a *link*, unless I can link to a
> sub-section and get the basic-build full section number (which degenerates
> into the section number of the parent section).
>
> --
> Matthew
>
> --
> 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.

Reply via email to