> Am 20.04.2015 um 05:10 schrieb Rik Kabel <cont...@rik.users.panix.com>:
> 
> 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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to