[NTG-context] issue with references

Pablo Rodriguez oinos at gmx.es
Fri Feb 19 18:59:07 CET 2021


Hans,

I have the following sample:

  \setuphead[chapter][sectionsegments=chapter]
  \setuphead[section][sectionsegments=section]
  \setupreferencestructureprefix
    [default]
    [prefixsegments=*:*]
  \starttext
  \startTEXpage[offset=1em]
  \chapter{Chapter}
  \section[sec]{Section}

  As told in \getreference[number][sec]. \getreference[title][sec].\\
  As told in \in[sec]. \about[sec].
  \stopTEXpage
  \stoptext

\getreference[number] doesn’t follow \setupreferencestructureprefix.

I don’t know whether this is intended, but I think it might be a bug.

Many thanks for your help,

Pablo
--
http://www.ousia.tk


More information about the ntg-context mailing list