From: Henning Hraban Ramm <angerweit@gmx.net>
Subject: problem with umlauts in headers and text length limitation
Date: Sat, 14 Sep 2002 10:43:24 +0200 [thread overview]
Message-ID: <200209141043.24044.angerweit@gmx.net> (raw)
Ahoi!
There's a problem remaining with my address book: The names in my header
doesn't show special chars like umlauts, but entity names instead.
Here's my setup:
----------------------
\def\RegisterPageMark#1#2% #1=Class #2=Text
{\iftrialtypesetting \else
\doglobal\increment\MNamCounter%
\textreference[#1:t:\MNamCounter]{#2}%
\doifreferencefoundelse{#1:t:\MNamCounter}
{\doifundefined{#1:f:\currentrealreference}%
{\setxvalue{#1:f:\currentrealreference}%
{\noexpand\in[#1:t:\MNamCounter]}}
\setxvalue{#1:l:\currentrealreference}%
{\noexpand\in[#1:t:\MNamCounter]}}%
{}%
\fi}
\def\GetFirstOnPage#1{\getvalue{#1:f:\realfolio}} % #1=Class
\def\GetLastOnPage#1{\getvalue{#1:l:\realfolio}} % #1=Class
\setupheadertexts [][\limitatetext{\GetFirstOnPage{MNam}}{5mm}{}--%
\limitatetext{\GetLastOnPage{MNam}}{5mm}{}]
\def\Name#1{\bf #1\RegisterPageMark{MNam}{#1}}
-----------------------
Addresses are set as tabulation; every line starts with a \Name{};
but "Grün" becomes "Grudiaeresisn" etc.;
input regime is "windows" (is there a better name for iso 8859-1(5) ?)
Further I'd like to limitate the Names to the first couple of chars; but
\limitatetext uses at least the first word plus comma, not less. Ok, Hans
wrote that "GetThreeTokens" command for me, but I'd prefer a generic
solution.
Grüßlis vom Hraban!
--
http://www.fiee.net
http://www.ramm.ch
---
next reply other threads:[~2002-09-14 8:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-14 8:43 Henning Hraban Ramm [this message]
2002-09-14 20:35 ` Hans Hagen
2002-09-15 10:58 ` Henning Hraban Ramm
2002-09-15 12:09 ` problem with " Henning Hraban Ramm
2002-09-16 10:01 ` 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=200209141043.24044.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).