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
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
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 ___________________________________________________________________________________
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 ___________________________________________________________________________________
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 -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Otared Kavian
-
Wolfgang Schuster