[NTG-context] interactive reference in footer
Alan Stone
software.list.1es9s at gmail.com
Sun Jul 6 16:43:43 CEST 2008
Hi,
How do you set an interactive link (hyperlink) to the table of contents in a
footer ?
I tried with
\setupfootertexts[-1-][\but[toctoc]][-4-][-3-]
and
\reference[toctoc] % \ref[toctoc] gives the same error
\placecontent
This gives the following compile error:
! Undefined control sequence.
<argument> \but
[toctoc{}{}{}
\firstoftwoarguments #1#2->#1
\doattributes ...sname #1#2\@EA \endcsname \fi {#4
}\dostopattributes
\dosingletexts ...atetexts {#1#2#5}{#6{}{}{}}}}}}}
\egroup
<argument> ...?tk \v!footer \v!text \c!righttext }
\@@nmpos {\getvalue
{\??tk...
\dododoplacelayouttextline ...#2 #3}\hbox to #1{#4
}\stoplayoutcomponent
\get...
...
l.45 \chapter{Chapter Testing}
?
! Emergency stop.
<argument> \but
[toctoc{}{}{}
\firstoftwoarguments #1#2->#1
\doattributes ...sname #1#2\@EA \endcsname \fi {#4
}\dostopattributes
\dosingletexts ...atetexts {#1#2#5}{#6{}{}{}}}}}}}
\egroup
<argument> ...?tk \v!footer \v!text \c!righttext }
\@@nmpos {\getvalue
{\??tk...
\dododoplacelayouttextline ...#2 #3}\hbox to #1{#4
}\stoplayoutcomponent
\get...
...
l.45 \chapter{Chapter Testing}
! ==> Fatal error occurred, no output PDF file produced!
Alan
P.S. The "TeX for the Impatient" book mentions...
an undefined control sequence, is one of the most
common ones you can get. If you respond to the prompt with another '?',
TEX will display the following message:
Type <return> to proceed, S to scroll future error messages,
R to run without stopping, Q to run quietly,
I to insert something, E to edit your file,
1 or ... or 9 to ignore the next 1 to 9 tokens of input,
H for help, X to quit.
sciTE exits the code after an emergency stop, so how do you enable
it to accept the above mentioned '?' prompt response ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ntg.nl/pipermail/ntg-context/attachments/20080706/c1a76492/attachment.html
More information about the ntg-context
mailing list