Marking a textfragment for later reference
Dear list, How can I refer to some text, for example a discussion of a particular topic, on another page or in another chapter of my document with, for instance "(See discussion on page xx)"? I tried to do this by marking the relevant text as a delimited text without altering its layout: \definedelimitedtext[topica] \setupdelimitedtext[topica][left=,right=] %maybe superfluous? \starttopica some text \stoptopica and then, further on, referring to that text with (See discussion on \at{page}[topica]) But this does not work (mkiv 27-07). Thanks in advance for any advice. Best regards, Robert Blackstone
Am 05.08.2012 um 16:05 schrieb Robert Blackstone
Dear list,
How can I refer to some text, for example a discussion of a particular topic, on another page or in another chapter of my document with, for instance "(See discussion on page xx)"? I tried to do this by marking the relevant text as a delimited text without altering its layout: \definedelimitedtext[topica] \setupdelimitedtext[topica][left=,right=] %maybe superfluous? \starttopica some text \stoptopica
and then, further on, referring to that text with (See discussion on \at{page}[topica]) But this does not work (mkiv 27-07).
With \definedelimtedtext you can create your own quote and quotation command or environment. You can set your own references in the text with \pagereference: \starttext This is the first topic.\pagereference[topic:1] \page This is another topic.\pagereference[topic:2] \blank This example contains two topic, the first topic is on \at{page}[topic:1] and the second on \at{page}[topic:2]. \stoptext Wolfgang
Hi Robert, \starttext See \in{section}[sec:foo] on \at{page}[sec:foo] or the text on \at{page}[ref:a]. \page \startsection [title=Foo, reference=sec:foo] \stopsection \page Some text\reference[ref:a] \stoptext Marco
participants (3)
-
Marco Patzer
-
Robert Blackstone
-
Wolfgang Schuster