Oddity with \definereferenceformat
A reference to the text of a multi-line heading takes on the line breaks of the heading when \definereferenceformat[about] is used. \definereferenceformat[about][type=title,left=,right=] \starttext \startsection[reference={sec:one}, title={Three\\line\\title}] \startparagraph See \about[sec:one]. \stopparagraph \stopsection \stoptext Can this be repaired? Or, am I doing it wrong? -- Rik
Am 20.04.2015 um 05:10 schrieb Rik Kabel
: A reference to the text of a multi-line heading takes on the line breaks of the heading when \definereferenceformat[about] is used. \definereferenceformat[about][type=title,left=,right=] \starttext \startsection[reference={sec:one}, title={Three\\line\\title}] \startparagraph See \about[sec:one]. \stopparagraph \stopsection \stoptext Can this be repaired? Or, am I doing it wrong?
To avoid the line breaks in the reference context has to redefined the meaning of \crlf and \\ when the reference content is shown in the text which happens at the moment only for the \about command. \setupreferencing[left=,right=] \starttext \startsection[reference={sec:one}, title={Three\\line\\title}] \startparagraph See \about[sec:one]. \stopparagraph \stopsection \stoptext Wolfgang
participants (2)
-
Rik Kabel
-
Wolfgang Schuster