ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan Stone <software.list.1es9s@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: chapter page question
Date: Sat, 14 Feb 2009 20:17:51 +0100	[thread overview]
Message-ID: <326847810902141117h6f7dd507wf176670e2ab69373@mail.gmail.com> (raw)
In-Reply-To: <E42C1424-7BB1-4AF6-9C86-169E9CDE1C22@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1313 bytes --]

Unfortunately, it doesn't resolve the problem...


 ! Undefined control sequence.
\cleanuplabel #1->\begingroup \let :
                                    \lettercolon \xdef \cleanlabel
{#1}\endg...
\docheckformode #1#2#3->\cleanuplabel {#3}
                                          \protect \checkedmodefalse
\rawpro...
\myHeader ->\doifmodeelse {a}
                             {chapter}{high}
\doifvaluesomething ...inga {\csname #1\endcsname
                                                  }\ifx \!!stringa \empty
\e...
<argument> ...ething {\??ko \v!chapter \c!header }
                                                   {\setuplayouttext
[\v!hea...
\firstoftwoarguments #1#2->#1

...
l.23 ...apter #1}\dorecurse{20}{\input knuth\par}}

?


context.cmd --modes=a test

Alan



On Sat, Feb 14, 2009 at 7:28 PM, Wolfgang Schuster <
schuster.wolfgang@googlemail.com> wrote:

>
> Am 14.02.2009 um 19:17 schrieb Alan Stone:
>
> The underneath example works with \def\myHeader{\iftuut chapter\else
>> high\fi}
>>
>> How do you make it work with\def\myHeader{\doifmodelse{a}{chapter}{high}}
>> ?
>> ( without resorting to \doifmodeelse{a}{\tuuttrue}{\tuutfalse} )
>>
>
> [...]
>
>  ! Undefined control sequence.
>> \myHeader ->\doifmodelse
>>
>
> \doifmodeelse (a 'e' is missing in the command)
>
>
> Wolfgang
>

[-- Attachment #1.2: Type: text/html, Size: 3679 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2009-02-14 19:17 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-14 10:46 Alan Stone
2009-02-14 10:57 ` Wolfgang Schuster
2009-02-14 11:57   ` Alan Stone
2009-02-14 12:23     ` Wolfgang Schuster
2009-02-14 13:14       ` Alan Stone
2009-02-14 13:40         ` Wolfgang Schuster
2009-02-14 14:33           ` Alan Stone
2009-02-14 14:47             ` Wolfgang Schuster
2009-02-14 15:02               ` Alan Stone
2009-02-14 18:17         ` Alan Stone
2009-02-14 18:28           ` Wolfgang Schuster
2009-02-14 19:17             ` Alan Stone [this message]
2009-02-14 19:25               ` Wolfgang Schuster
2009-02-14 19:26       ` Alan Stone
2009-02-15 10:04         ` Wolfgang Schuster
2009-02-15 12:59           ` Alan Stone

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=326847810902141117h6f7dd507wf176670e2ab69373@mail.gmail.com \
    --to=software.list.1es9s@gmail.com \
    --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).