From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9226 Path: main.gmane.org!not-for-mail From: Henning Hraban Ramm Newsgroups: gmane.comp.tex.context Subject: Re: problem with text length limitation Date: Sun, 15 Sep 2002 14:09:09 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <200209151409.09886.angerweit@gmx.net> References: <5.1.0.14.1.20020914221438.03346350@remote-1> <200209151258.48046.angerweit@gmx.net> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035399566 1530 80.91.224.250 (23 Oct 2002 18:59:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:59:26 +0000 (UTC) Original-To: ntg-context@ntg.nl In-Reply-To: <200209151258.48046.angerweit@gmx.net> Xref: main.gmane.org gmane.comp.tex.context:9226 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9226 Am Sonntag, 15. September 2002 12:58 schrieb Henning Hraban Ramm: > Thank you, but it causes the following error: My fault: I placed it after the \protect. Now *this* works. But the \FirstNCharacters thing causes (in the second texexec run): ! Argument of \dosplitstring has an extra }. \par } \doifelsenothing #1->\edef \!!stringa {#1} \ifx \!!stringa \empty \expandafte... ...ce \ignorespaces \rightofreference } {\egroup \dosymbolreferenc... \doifreferencefoundelse ...ce \ifreferencefound #2 \else #3\fi \egroup \dores... \dododododoinatreference ...eference {#1}{#2}[#3]} \referentieinfo <{#3}\glob... ... l.46 \stoptabulate ---------------------- My setup: \setupheadertexts [][\limitatetext{\GetFirstOnPage{MNam}}{5mm}{}--% \limitatetext{\GetLastOnPage{MNam}}{5mm}{}] %\setupheadertexts [][{\FirstNCharacters{3}{\GetFirstOnPage{MNam}}--% % \FirstNCharacters{3}{\GetLastOnPage{MNam}}}] \def\Name#1{\bf #1\RegisterPageMark{MNam}{\FirstNCharacters{3}{#1}}} I tried to put the command in the headertext definition or in the Name definition with same result. First I had your code in my environment, then put it in supp-fun.tex as you wrote and remade the formats. The same. Grüßlis vom Hraban! -- http://www.fiee.net http://www.ramm.ch ---