ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Uppercase headings
Date: Fri, 31 Mar 2006 18:48:29 +0200	[thread overview]
Message-ID: <442D5D5D.9000207@wxs.nl> (raw)
In-Reply-To: <B8B26F211A66434887C806A8DEE3577BFD35@kpsrv1.kpatents.local>

Ville Voipio wrote:
>
> I started to edit an old document with capitalized headings. Making 
> the headings was rather difficult (as can be seen on this list about a 
> year ago), and now it seems to have broken again.
>
> I have:
>
> \setuphead[title]
>   [page=yes,
>   before={\strut\blank[5*big]},
>   after={\textrule\blank},
>   align=middle,
>   style=\tfb,
>   textcommand=\WORD
>   ]
>
> This worked fine in the past. Not anymore:
>
> 8<---
>
>
> ! You can't use `\relax' after \the.
> <recently read> \@sl@\@@pnstate
>                                
> \pushmacro ...ame \@sl@ \@@pushedmacro \endcsname
>                                                   \@@pushedmacro 
> \endcsname #1
> \makesectionformat ...macro \@@shortsectionnumber
>                                                   \let 
> \@@shortsectionnumber...
>
> \rawreference ...veryreference \makesectionformat
>                                                   \writereference {#2} 
> {\sec...
> <argument> ...\finalsectionnumber }{\asciititle }}
>                                                   }\fi \executeifdefi! 
> Missing \endcsname inserted.
> <to be read again>
>                    \let
> \@@shortsectionnumber ...@EA \ifx \csname \??se #1
>                                                   \c!ownnumber 
> \endcsname \r...
>
> \makesectionformat ... \@@shortsectionnumber \let
>                                                   
> \@@shortsectionnumber \@@s...
>
> \rawreference ...veryreference \makesectionformat
>                                                   \writereference {#2} 
> {\sec...
> <argument> ...\finalsectionnumber }{\asciititle }}
>                                                   }\fi 
> \executeifdefined {\?...
>
> \douppercase ...rstoftwoarguments \edef \ascii {#1
>                                                   }\edef \ascii 
> {\expandafte...
> ...
>
> 8<---
>
> Using the trivial solution (\uppercase) does not work because with a 
> non-il1 regime it does not handle the accented characters (A umlat, O 
> umlaut) correctly. I use UTF, as it contains all the characters I need.
>
> So, what has changed in the \WORD? It works \WORD{fine} within text 
> but not in the headings.
>
> TIA,
>
> - Ville
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>   


-- 

-----------------------------------------------------------------
                                          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-03-31 16:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-31 15:55 Ville Voipio
2006-03-31 16:48 ` Hans Hagen [this message]
2006-03-31 16:51 ` Hans Hagen
2006-03-31 17:16 ` Taco Hoekwater
2006-03-31 17:06 Ville Voipio
2006-03-31 17:25 Ville Voipio
2006-03-31 21:31 ` Hans Hagen
2006-03-31 21:49 ` 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=442D5D5D.9000207@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).