From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/8735 Path: main.gmane.org!not-for-mail From: Henning Hraban Ramm Newsgroups: gmane.comp.tex.context Subject: Re: Calculated Header Text Date: Sun, 21 Jul 2002 17:27:05 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <200207211724.29856.angerweit@gmx.net> References: <5.1.0.14.1.20020719231618.03c90e28@remote-1> 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 1035399121 30128 80.91.224.250 (23 Oct 2002 18:52:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:52:01 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Hans Hagen In-Reply-To: <5.1.0.14.1.20020719231618.03c90e28@remote-1> Xref: main.gmane.org gmane.comp.tex.context:8735 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:8735 Am Freitag, 19. Juli 2002 23:17 schrieb Hans Hagen: > you can define your own markings (search for that or markering) and fetch > the first/last/intermediate ones, Yeah, great! -- that is, would be, if it would work. I wrote: \definemarking [myname] \setupheadertexts [][{\getmarking[myname][all]}] \def\Name#1{{\marking[myname]{#1}\bf #1}} \def\Nick#1{{\it (#1)}} \def\Geburt#1{* #1} \def\Email#1{#1} \def\Strasse#1{#1} \def\Ort#1{#1} \def\Telefon#1{#1} \starttabulate[|w(30mm)i0j0k0|w(30mm)i0j0k0|w(18mm)i0j0k0|] \HL \NC\Name{Alt, Stefan}\NC\Email{alt.stefan@to.de}\NC\Nick{Old Man}\NC\NR \NC\Strasse{Straße 77}\NC\Ort{D-77777 Town}\NC\Telefon{+49-7777-7777}\NC\NR\HL % long list of address lines \stoptabulate But \getmarking shows nothing. In the log I get only "system : mark myname defined [myname]" and no further mentioning of "myname" Further let's make the "phone book header" better: How can I get the first n characters of a text? (I guess I'd find such in the TeXbook, but perhaps there is a ConTeXty way?) Grüßlis vom Hraban! -- http://www.angerweit.de http://www.fiee.net http://www.ramm.ch ---