ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <angerweit@gmx.net>
Subject: Re: problem with text length limitation
Date: Sun, 15 Sep 2002 14:09:09 +0200	[thread overview]
Message-ID: <200209151409.09886.angerweit@gmx.net> (raw)
In-Reply-To: <200209151258.48046.angerweit@gmx.net>

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 }.
<inserted text>
                \par
<to be read again>
                   }
\doifelsenothing #1->\edef \!!stringa {#1}
                                          \ifx \!!stringa \empty 
\expandafte...
<argument> ...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
---


  reply	other threads:[~2002-09-15 12:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-14  8:43 problem with umlauts in headers and " Henning Hraban Ramm
2002-09-14 20:35 ` Hans Hagen
2002-09-15 10:58   ` Henning Hraban Ramm
2002-09-15 12:09     ` Henning Hraban Ramm [this message]
2002-09-16 10:01       ` problem with " Hans Hagen
2002-09-16  9:40     ` problem with umlauts in headers and " Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200209151409.09886.angerweit@gmx.net \
    --to=angerweit@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).