Re: [NTG-context] ToC problem
Hi Taco, Thanks for the suggestion. It looks good. I set up a test document, and cut and pased your example. Alas, it won't compile. Output from texexec: ! Undefined control sequence. <argument> \ArticleTitle -- \ArticleAuthor \listtextcommand #1->\begstrut #1 \endstrut \doattributes ...sname #1#2\@EA \endcsname \fi {#4 }\dostopattributes <argument> ... {\ArticleTitle -- \ArticleAuthor }} \egroup \ifdim \wd 4=\zero... \secondoftwoarguments #1#2->#2 \dosomelistelement ...hss \dostoplistattributes }} \endgraf \nointerlineskip ... ... l.16 ...- \ArticleAuthor }{2::0:2:0:0:0:0:0::1}{1} Any idea what's wrong? Thanks for your help. Elliot
Elliot Clifton wrote:
Hi Taco,
Thanks for the suggestion. It looks good.
I set up a test document, and cut and pased your example. Alas, it won't compile.
Any idea what's wrong?
My mistake, sorry. You need and \expanded around the call to \Article, because otherwise the macro names \ArticleAuthor etc. end up in the list instead of their content. So please change that line to: \expanded{\Article{\ArticleTitle -- \ArticleAuthor}} (you have to delete the current .tuo file also to make the error go away) Cheers, Taco
participants (2)
-
Elliot Clifton
-
Taco Hoekwater