ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bug in symb-ini.mkiv?
@ 2012-01-15 15:39 Otared Kavian
  2012-01-15 15:48 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Otared Kavian @ 2012-01-15 15:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Hans,

With the latest beta (ConTeXt  ver: 2012.01.12 11:03 MKIV), typesetting a document which used to be typeset without problems I encounter an error which points to some commands defined in symb-ini.mkiv. However I can switch back to ConTeXt  ver: 2011.11.29 18:47 MKIV in order to teypeset my document.
Since the document is long and the macros I use are soemwhat complex (and maybe not very well written…), I cannot send you a minimal example which shows the problem. In any case, I wanted to let you know about the issue. The error message says:

<inserted text> 
                }
<to be read again> 
                   \endgroup 
\symb_place_retry ...name \symb_place_indeed {:#1}
                                                  \else #1\fi 
\symb_place_normal_c ...lace_retry \currentsymbol 
                                                  \fi 
\symb_place_normal_b ...else \symb_place_normal_c 
                                                  \fi 
<to be read again> 
                   \else 
and stops when an \item is encountered.

Best regards: OK
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Bug in symb-ini.mkiv?
  2012-01-15 15:39 Bug in symb-ini.mkiv? Otared Kavian
@ 2012-01-15 15:48 ` Wolfgang Schuster
  2012-01-15 16:07   ` Otared Kavian
  2012-01-15 20:11   ` Otared Kavian
  0 siblings, 2 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2012-01-15 15:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 15.01.2012 um 16:39 schrieb Otared Kavian:

> Hi Hans,
> 
> With the latest beta (ConTeXt  ver: 2012.01.12 11:03 MKIV), typesetting a document which used to be typeset without problems I encounter an error which points to some commands defined in symb-ini.mkiv. However I can switch back to ConTeXt  ver: 2011.11.29 18:47 MKIV in order to teypeset my document.
> Since the document is long and the macros I use are soemwhat complex (and maybe not very well written…), I cannot send you a minimal example which shows the problem. In any case, I wanted to let you know about the issue. The error message says:
> 
> <inserted text> 
>                }
> <to be read again> 
>                   \endgroup 
> \symb_place_retry ...name \symb_place_indeed {:#1}
>                                                  \else #1\fi 
> \symb_place_normal_c ...lace_retry \currentsymbol 
>                                                  \fi 
> \symb_place_normal_b ...else \symb_place_normal_c 
>                                                  \fi 
> <to be read again> 
>                   \else 
> and stops when an \item is encountered.

Send at least your log file and add “\tracingmacros1” before and “tracingmacros0” after the part where context fails (look at the line number from the error message).

Wolfgang
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Bug in symb-ini.mkiv?
  2012-01-15 15:48 ` Wolfgang Schuster
@ 2012-01-15 16:07   ` Otared Kavian
  2012-01-15 20:11   ` Otared Kavian
  1 sibling, 0 replies; 5+ messages in thread
From: Otared Kavian @ 2012-01-15 16:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Wolfgang,

Thanks for your response: right now I am not with my computer at home (writing you from another place). I'll do what you suggest this evening.

Best regards: OK

On 15 janv. 2012, at 16:48, Wolfgang Schuster wrote:

> 
> Am 15.01.2012 um 16:39 schrieb Otared Kavian:
> 
>> Hi Hans,
>> 
>> With the latest beta (ConTeXt  ver: 2012.01.12 11:03 MKIV), typesetting a document which used to be typeset without problems I encounter an error which points to some commands defined in symb-ini.mkiv. However I can switch back to ConTeXt  ver: 2011.11.29 18:47 MKIV in order to teypeset my document.
>> Since the document is long and the macros I use are soemwhat complex (and maybe not very well written…), I cannot send you a minimal example which shows the problem. In any case, I wanted to let you know about the issue. The error message says:
>> 
>> <inserted text> 
>>               }
>> <to be read again> 
>>                  \endgroup 
>> \symb_place_retry ...name \symb_place_indeed {:#1}
>>                                                 \else #1\fi 
>> \symb_place_normal_c ...lace_retry \currentsymbol 
>>                                                 \fi 
>> \symb_place_normal_b ...else \symb_place_normal_c 
>>                                                 \fi 
>> <to be read again> 
>>                  \else 
>> and stops when an \item is encountered.
> 
> Send at least your log file and add “\tracingmacros1” before and “tracingmacros0” after the part where context fails (look at the line number from the error message).
> 
> Wolfgang
> ___________________________________________________________________________________
> 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  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Bug in symb-ini.mkiv?
  2012-01-15 15:48 ` Wolfgang Schuster
  2012-01-15 16:07   ` Otared Kavian
@ 2012-01-15 20:11   ` Otared Kavian
  2012-01-16  9:14     ` Hans Hagen
  1 sibling, 1 reply; 5+ messages in thread
From: Otared Kavian @ 2012-01-15 20:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Wolfgang,

Combing through various setups and definitions of my document, finally I could find the culprit: the error message was due to the change in the way \color should be used now.
Changing all over \color[darkred] (for instance) with \startcolor[darkred]…\stopcolor, fixed the error messages. Since this may happen with other users who have \color somewhere in their file, I give below the minimal example I could find to show the problem.

Thank for your help: OK
%%% begin item-color.tex
\definefontsynonym[Wingdings][Wingdings.ttf]
%\definesymbol[Boite][{\color[darkgray]\getglyph{Wingdings}{\char113}}] %% this creates problems….

%\definesymbol[Boite][{\color[darkgray]{\getglyph{Wingdings}{\char113}}}] %% this is fine

\definesymbol[Boite][{\startcolor[darkgray]\getglyph{Wingdings}{\char113}\stopcolor}] %% this is fine

%\tracingmacros1
\setupitemize[Boite]
%\tracingmacros0

\starttext
\startitemize
\item Item 1
\item Item 2
\stopitemize
\stoptext
%%% end item-color.tex

On 15 janv. 2012, at 16:48, Wolfgang Schuster wrote:

> 
> Am 15.01.2012 um 16:39 schrieb Otared Kavian:
> 
>> Hi Hans,
>> 
>> With the latest beta (ConTeXt  ver: 2012.01.12 11:03 MKIV), typesetting a document which used to be typeset without problems I encounter an error which points to some commands defined in symb-ini.mkiv. However I can switch back to ConTeXt  ver: 2011.11.29 18:47 MKIV in order to teypeset my document.
>> Since the document is long and the macros I use are soemwhat complex (and maybe not very well written…), I cannot send you a minimal example which shows the problem. In any case, I wanted to let you know about the issue. The error message says:
>> 
>> <inserted text> 
>>               }
>> <to be read again> 
>>                  \endgroup 
>> \symb_place_retry ...name \symb_place_indeed {:#1}
>>                                                 \else #1\fi 
>> \symb_place_normal_c ...lace_retry \currentsymbol 
>>                                                 \fi 
>> \symb_place_normal_b ...else \symb_place_normal_c 
>>                                                 \fi 
>> <to be read again> 
>>                  \else 
>> and stops when an \item is encountered.
> 
> Send at least your log file and add “\tracingmacros1” before and “tracingmacros0” after the part where context fails (look at the line number from the error message).
> 
> Wolfgang
> ___________________________________________________________________________________
> 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  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Bug in symb-ini.mkiv?
  2012-01-15 20:11   ` Otared Kavian
@ 2012-01-16  9:14     ` Hans Hagen
  0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2012-01-16  9:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Otared Kavian

On 15-1-2012 21:11, Otared Kavian wrote:
> Hi Wolfgang,
>
> Combing through various setups and definitions of my document, finally I could find the culprit: the error message was due to the change in the way \color should be used now.
> Changing all over \color[darkred] (for instance) with \startcolor[darkred]…\stopcolor, fixed the error messages. Since this may happen with other users who have \color somewhere in their file, I give below the minimal example I could find to show the problem.

\color[darkred]{blabla}

is also ok

the fact that one could use it as 'switch' was a side effect of using 
\groupedcommand which is clever enough to identify this case

(although \starttext \color[red] test \stoptext would still fail)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2012-01-16  9:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-15 15:39 Bug in symb-ini.mkiv? Otared Kavian
2012-01-15 15:48 ` Wolfgang Schuster
2012-01-15 16:07   ` Otared Kavian
2012-01-15 20:11   ` Otared Kavian
2012-01-16  9:14     ` Hans Hagen

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