ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan Bowen <acbowen@princeton.edu>
Subject: Re: latest beta and \doifnotallmodes
Date: Wed, 27 Sep 2006 16:16:09 -0400	[thread overview]
Message-ID: <334E3CE3-D1C7-4B85-81C9-A2E6D40CDBE7@princeton.edu> (raw)
In-Reply-To: <451ACB26.4030903@wxs.nl>

[-- Attachment #1: Type: text/plain, Size: 1453 bytes --]


On Sep 27, 2006, at 3:04 PM, Hans Hagen wrote:

> Alan Bowen wrote:
>>
>> On Sep 27, 2006, at 12:32 PM, Hans Hagen wrote:
>>
>>> Alan Bowen wrote:
>>>> \doifnotallmodes{mode1,mode2,mode3}{
>>>> defaultmode instructions
>>>> }
>>>> gets�the following error message:
>>>>
>>>> system� � � � � : mark BibTitle defined [subject]
>>>> ! Missing number, treated as zero.
>>>> <to be read again>
>>>> � � � � � � � � �� \scct:0
>>>> \catcodetable ...\fi \the \csname @@cct:\number #1
>>> make suret hat you run the latest beta; catcode management has been
>>> reorganized a bit
>>>
>>> Hans
>>
>> Hans—
>>
>> The problem—
>>
>> ! Missing number, treated as zero.
>> <to be read again>
>>                    \scct:0
>> \catcodetable ...thchardef \currentcatcodetable #1
>>                                                   \the
>> \setdefaultlowercatco...
>>
>> \popcatcodetable ....atcoderestorelevel \endcsname
>>
>> \tracepopcatcodetable \adv...
>>
>> \docheckforallmodes ...\cleanuplabel {#3}\protect
>>                                                   \checkedmodetrue
>> \rawproce...
>> l.344 ....des{frontbackmatter,memorialnote,article}
>>                                                   {
>>
>> still occurs with ConTeXt  ver: 2006.09.27 14:45 MK II.
>>
>
> can you make a small test file?
>
> Hans

Here is a simple test file that shows my problem.

Alan


[-- Attachment #2: Test.tex --]
[-- Type: application/octet-stream, Size: 1193 bytes --]

\definehead[BookTitle][title]
\setupsectionblock[BookTitle][number=no,page=right]


\startmode[frontbackmatter]
		\setuphead[BookTitle][before={\noindent\textrule},style=it]
\stopmode

\startmode[memorialnote]
		\setuphead[BookTitle][before={\noindent\textrule},style=bfa]
\stopmode

\startmode[article]
		\setuphead[BookTitle][before={\noindent\textrule},style=sc]
\stopmode

% default format --- Reviews
\doifnotallmodes{frontbackmatter,memorialnote,article}{
	\setuphead[BookTitle][before={\noindent\textrule}]
	}

\starttext

\BookTitle{Latin Nonsense}


Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi commodo, ipsum sed pharetra gravida, orci magna rhoncus neque, id pulvinar odio lorem non turpis. Nullam sit amet enim. Suspendisse id velit vitae ligula volutpat condimentum. Aliquam erat volutpat. Sed quis velit. Nulla facilisi. Nulla libero. Vivamus pharetra posuere sapien. Nam consectetuer. Sed aliquam, nunc eget euismod ullamcorper, lectus nunc ullamcorper orci, fermentum bibendum enim nibh eget ipsum. Donec porttitor ligula eu dolor. Maecenas vitae nulla consequat libero cursus venenatis. Nam magna enim, accumsan eu, blandit sed, blandit a, eros.

\stoptext

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2006-09-27 20:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-27 12:29 Alan Bowen
2006-09-27 16:32 ` Hans Hagen
2006-09-27 18:25   ` Alan Bowen
2006-09-27 19:04     ` Hans Hagen
2006-09-27 20:16       ` Alan Bowen [this message]
2006-09-28  7:39         ` Hans Hagen
2006-09-28 12:43           ` Alan Bowen

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=334E3CE3-D1C7-4B85-81C9-A2E6D40CDBE7@princeton.edu \
    --to=acbowen@princeton.edu \
    --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).