[NTG-context] reference error

Wolfgang Schuster wolfgang.schuster at gmail.com
Mon Nov 4 10:00:33 CET 2013


Am 04.11.2013 um 09:43 schrieb Peter Münster <pmlists at free.fr>:

> On Sun, Nov 03 2013, Wolfgang Werners-Lucchini wrote:
> 
>>> \in{Kapitel}[chap:vorwort with space at the end ],
>>> \in{Kapitel}[chap:vorwort2 with space at the end ],
>>> \in{Kapitel}[chap:vorwort3 with space at the end ],
>>> \in{Kapitel}[chap:vorwort without space at the end] and
>>> \in{Kapitel}[chap:vorwort2 without space at the end]
>> 
>> Only the last two are working! Not the second!!!
>> Not very intuitive at all.
> 
> The first 3 are almost the same.
> If you really want a space at the end, then you could add a feature
> request to http://tracker.luatex.org/

I’n not sure is going to change this because the reference parser
removes trailing/leading spaces in references. One shouldn’t forgot
the reference commands accept more than simple references to
a section, float etc. but also hyperlinks to other pages (first, last etc.)
or external documents.

BTW: The code which removes the space in reference is on strc-rsc.lua

Wolfgang


More information about the ntg-context mailing list