ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* latest beta and \doifnotallmodes
@ 2006-09-27 12:29 Alan Bowen
  2006-09-27 16:32 ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Alan Bowen @ 2006-09-27 12:29 UTC (permalink / raw)



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

\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
                                                   \endcsname
	\popcatcodetable ...atcoderestorelevel \endcsname
                                                    
\tracepopcatcodetable \adv...

	\docheckforallmodes ...\cleanuplabel {#3}\protect
                                                   \checkedmodetrue  
\rawproce...
	.344 ...des{frontbackmatter,memorialnote,article}

whereas \startmode[defaultmode]
		instructions
		\stopmode
and 		\enablemode[defaultmode]
runs without incident.

Am I misusing \doifnotallmodes? This used to work.

Alan

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

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

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: latest beta and \doifnotallmodes
  2006-09-27 12:29 latest beta and \doifnotallmodes Alan Bowen
@ 2006-09-27 16:32 ` Hans Hagen
  2006-09-27 18:25   ` Alan Bowen
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2006-09-27 16:32 UTC (permalink / raw)


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 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
-----------------------------------------------------------------

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: latest beta and \doifnotallmodes
  2006-09-27 16:32 ` Hans Hagen
@ 2006-09-27 18:25   ` Alan Bowen
  2006-09-27 19:04     ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Alan Bowen @ 2006-09-27 18:25 UTC (permalink / raw)



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


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.

Alan


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

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

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: latest beta and \doifnotallmodes
  2006-09-27 18:25   ` Alan Bowen
@ 2006-09-27 19:04     ` Hans Hagen
  2006-09-27 20:16       ` Alan Bowen
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2006-09-27 19:04 UTC (permalink / raw)


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


-- 

-----------------------------------------------------------------
                                          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
-----------------------------------------------------------------

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: latest beta and \doifnotallmodes
  2006-09-27 19:04     ` Hans Hagen
@ 2006-09-27 20:16       ` Alan Bowen
  2006-09-28  7:39         ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Alan Bowen @ 2006-09-27 20:16 UTC (permalink / raw)


[-- 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: latest beta and \doifnotallmodes
  2006-09-27 20:16       ` Alan Bowen
@ 2006-09-28  7:39         ` Hans Hagen
  2006-09-28 12:43           ` Alan Bowen
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2006-09-28  7:39 UTC (permalink / raw)


Alan Bowen wrote:
>
> 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.
in core-var.tex there is an assymetric (un)protect;

btw, i now make context quit when unprotect/protect don't match 

Hans 

-----------------------------------------------------------------
                                          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
-----------------------------------------------------------------

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: latest beta and \doifnotallmodes
  2006-09-28  7:39         ` Hans Hagen
@ 2006-09-28 12:43           ` Alan Bowen
  0 siblings, 0 replies; 7+ messages in thread
From: Alan Bowen @ 2006-09-28 12:43 UTC (permalink / raw)



On Sep 28, 2006, at 3:39 AM, Hans Hagen wrote:

> Alan Bowen wrote:
>>
>> 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.
> in core-var.tex there is an assymetric (un)protect;
>
> btw, i now make context quit when unprotect/protect don't match
>
> Hans

Hans—the problem disappears with the latest beta (09/28/06). Thank  
you!

Alan

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-09-28 12:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-27 12:29 latest beta and \doifnotallmodes 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
2006-09-28  7:39         ` Hans Hagen
2006-09-28 12:43           ` Alan Bowen

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).