From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26683 Path: news.gmane.org!not-for-mail From: "Ville Voipio" Newsgroups: gmane.comp.tex.context Subject: Uppercase headings Date: Fri, 31 Mar 2006 18:55:53 +0300 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0603238787==" X-Trace: sea.gmane.org 1143820651 4446 80.91.229.2 (31 Mar 2006 15:57:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 31 Mar 2006 15:57:31 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 31 17:57:27 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FPM00-0003Im-DJ for gctc-ntg-context-518@m.gmane.org; Fri, 31 Mar 2006 17:57:20 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 286291277B; Fri, 31 Mar 2006 17:57:20 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06134-03-4; Fri, 31 Mar 2006 17:57:13 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D84EB1277C; Fri, 31 Mar 2006 17:57:13 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2DC321277C for ; Fri, 31 Mar 2006 17:57:13 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06134-03-3 for ; Fri, 31 Mar 2006 17:57:12 +0200 (CEST) Original-Received: from mail.kpatents.com (mail.kpatents.com [195.170.128.67]) by ronja.ntg.nl (Postfix) with SMTP id DD3AD1277B for ; Fri, 31 Mar 2006 17:57:11 +0200 (CEST) Original-Received: (qmail 29732 invoked from network); 31 Mar 2006 15:57:11 -0000 Original-Received: from unknown (HELO kpatents.com) (192.168.100.147) by mail.kpatents.com with SMTP; 31 Mar 2006 15:57:11 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Uppercase headings thread-index: AcZU25a1WYLv/8d7TGGuBbnSEQjY5w== Original-To: X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:26683 Archived-At: This is a multi-part message in MIME format. --===============0603238787== Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C654DB.96BCACDA" This is a multi-part message in MIME format. ------_=_NextPart_001_01C654DB.96BCACDA Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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=3Dyes, before=3D{\strut\blank[5*big]}, after=3D{\textrule\blank}, align=3Dmiddle, style=3D\tfb, textcommand=3D\WORD ] This worked fine in the past. Not anymore: 8<--- ! You can't use `\relax' after \the. \@sl@\@@pnstate=20 =20 \pushmacro ...ame \@sl@ \@@pushedmacro \endcsname=20 \@@pushedmacro = \endcsname #1 \makesectionformat ...macro \@@shortsectionnumber=20 \let = \@@shortsectionnumber... \rawreference ...veryreference \makesectionformat=20 \writereference {#2} = {\sec... ...\finalsectionnumber }{\asciititle }} }\fi \executeifdefi! = Missing \endcsname inserted. =20 \let=20 \@@shortsectionnumber ...@EA \ifx \csname \??se #1 \c!ownnumber = \endcsname \r... \makesectionformat ... \@@shortsectionnumber \let=20 \@@shortsectionnumber = \@@s... \rawreference ...veryreference \makesectionformat=20 \writereference {#2} = {\sec... ...\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 ------_=_NextPart_001_01C654DB.96BCACDA Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Uppercase headings

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=3Dyes,
  before=3D{\strut\blank[5*big]},
  after=3D{\textrule\blank},
  align=3Dmiddle,
  style=3D\tfb,
  textcommand=3D\WORD
  ]

This worked fine in the past. Not anymore:

8<---


! You can't use `\relax' after \the.
<recently read> \@sl@\@@pnstate
            &= nbsp;           &n= bsp;      
\pushmacro ...ame \@sl@ \@@pushedmacro \endcsname
            &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p; \@@pushedmacro \endcsname #1
\makesectionformat ...macro \@@shortsectionnumber
            &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p; \let \@@shortsectionnumber...

\rawreference ...veryreference \makesectionformat
            &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p; \writereference {#2} {\sec...
<argument> ...\finalsectionnumber }{\asciititle }}
            &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p; }\fi \executeifdefi! Missing \endcsname inserted.
<to be read again>
            &= nbsp;      \let
\@@shortsectionnumber ...@EA \ifx \csname \??se #1
            &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p; \c!ownnumber \endcsname \r...

\makesectionformat ... \@@shortsectionnumber \let
            &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p; \@@shortsectionnumber \@@s...

\rawreference ...veryreference \makesectionformat
            &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p; \writereference {#2} {\sec...
<argument> ...\finalsectionnumber }{\asciititle }}
            &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p; }\fi \executeifdefined {\?...

\douppercase ...rstoftwoarguments \edef \ascii {#1
            &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p; }\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

------_=_NextPart_001_01C654DB.96BCACDA-- --===============0603238787== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============0603238787==--