ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: setupheadertexts + kap/uppercase
Date: Mon, 23 Jan 2006 12:07:12 +0100	[thread overview]
Message-ID: <43D4B8E0.2060104@wxs.nl> (raw)
In-Reply-To: <43D27F77.7070809@gmx.de>

Tobias Burnus wrote:

>Hello,
>
>Sebastian Rooks schrieb:
>  
>
>>Did you try with a \fetchmark[chapter][first] as explained on the wiki ?
>>http://wiki.contextgarden.net/Headers_and_Footers , section 2 "Using
>>capitals"
>>    
>>
>
>That indeed worked. (I looked at ConTeXtgarden, but I seemingly missed
>the right keyword in my search :-( shame on me.)
>
>Anyway, \uppercase have some problems. I get with
>---------------------------
>\enableregime[utf]
>\setupheadertexts[][{\expanded{\uppercase{\fetchmark[chapter][first]}}}]
>
>\starttext
>\chapter{Einf�hrung} % EINF�HRUNG
>\uppercase{�������} % should be ������SS
>\stoptext
>---------------------------
>
>"�������" ("��" should be "�SS") and in the header I get "EINF�HRUNG".
>  
>

here \uppercase will also uppercase the CHAPTER and FIRST keywords an 
dtherefore fail

\WORD

does a bit more (i.e. it also applies everyuppercase and such which will   remap symbolic names which works better than mapping chars

\enableregime[utf]

\setupheadertexts[][{\WORD{\fetchmark[chapter][first]}}]

\starttext
\chapter{Einf\udiaeresis hrung}

\stoptext

(your utf got lost in the mail) 


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

  reply	other threads:[~2006-01-23 11:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-21 16:15 Tobias Burnus
2006-01-21 17:12 ` Sebastian Rooks
2006-01-21 18:37   ` Tobias Burnus
2006-01-23 11:07     ` Hans Hagen [this message]
2006-01-23 15:06       ` Tobias Burnus
2006-01-23 15:54         ` 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=43D4B8E0.2060104@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /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).