[NTG-context] different prefixsegments for \in
oinos at gmx.es
Fri Jun 4 19:56:24 CEST 2021
I have the following sample:
As told in \in[sec0] and \in[sec1]…
The output reads:
As told in 1.1 and 2.1…
I would like to be able to supress the section number in the reference,
if the current section is the same as the referenced one.
I mean, I would like that the output reads:
As told in 1 and 2.1…
Which would be the way to do it automatically?
BTW, in my real--world document, I need to remove part and chapter
numbers from the reference when in the same part and chapter (when
compiling XML sources).
Many thanks for your help,
More information about the ntg-context