Project structure and modes
Hi Hans, can you add the systemmodes for products, components etc. in MkIV because they are missing. \startproduct test \doifmodeelse{*product}{YES}{NO} \stopproduct Wolfgang
On 11-11-2011 16:02, Wolfgang Schuster wrote:
Hi Hans,
can you add the systemmodes for products, components etc. in MkIV because they are missing.
\startproduct test \doifmodeelse{*product}{YES}{NO} \stopproduct
I've added it but it needs checking as we need to push/pop modes (so there is now also \pushmode \popmode). 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 -----------------------------------------------------------------
On Fri, 11 Nov 2011, Hans Hagen wrote:
On 11-11-2011 16:02, Wolfgang Schuster wrote:
Hi Hans,
can you add the systemmodes for products, components etc. in MkIV because they are missing.
\startproduct test \doifmodeelse{*product}{YES}{NO} \stopproduct
I've added it but it needs checking as we need to push/pop modes (so there is now also \pushmode \popmode).
I have a hard time imagining a situation where push/pop modes will be useful. It it just so that we can avoid a group? Aditya
On 12-11-2011 00:38, Aditya Mahajan wrote:
On Fri, 11 Nov 2011, Hans Hagen wrote:
On 11-11-2011 16:02, Wolfgang Schuster wrote:
Hi Hans,
can you add the systemmodes for products, components etc. in MkIV because they are missing.
\startproduct test \doifmodeelse{*product}{YES}{NO} \stopproduct
I've added it but it needs checking as we need to push/pop modes (so there is now also \pushmode \popmode).
I have a hard time imagining a situation where push/pop modes will be useful. It it just so that we can avoid a group?
indeed and in this case, environments and such are definitely nit grouped 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 -----------------------------------------------------------------
Hello, Hans. Did not make a change now (in project structure)? I've updated an thirty minutes ago ConTeXt and stopped me working translation of things that I have a few days in order compiled. It is possible to go some way older install standalone ConTeXt? Thanx Jaroslav Here is compilation error message: exmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en .lui" --backend="pdf" "./drakiada_201110" \stoptext This is LuaTeX, Version beta-0.70.1-2011110321 (rev 4277) \write18 enabled. (drakiada_201110.tex ConTeXt ver: 2011.11.11 23:29 MKIV fmt: 2011.11.12 int: english/english system > cont-new.mkiv loaded (C:/context/tex/texmf-context/tex/context/base/cont-new.mkiv system > beware: some patches loaded from cont-new.mkiv ) system > drakiada_201110.top loaded (drakiada_201110.top) fonts > latin modern fonts are not preloaded languages > language en is active {C:/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} fonts > preloading latin modern fonts (second stage) (C:/context/tex/texmf-context/tex/context/base/type-siz.mkiv) (C:/context/tex/te xmf-context/tex/context/base/type-otf.mkiv) files > readfile > asked name: 'loc', not found {C:/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{C:/context/tex/texmf/fonts /map/dvips/lm/lm-rm.map} fonts > virtual math > unable to resolve name mapsfromchar fonts > fallback modern rm 12pt is loaded (../obstastnik.tex (../t-obstastnik_env.mkiv loading > ConTeXt User Module / Noviny (C:/context/tex/texmf-context/tex/context/base/colo-imp-rgb.mkiv) colors > system rgb is loaded ) ! Undefined control sequence. system > tex > error on line 1 in file drakiada_201110.tex: Undefined c ontrol sequence ... 1 >> \startcomponent drakiada_201110 2 \product obst_201110 3 \project obstastnik 4 \environment obstastnik_env % nahrazeno volanim knihovny 5 \environment setcolorsii_env 6 \setuplayout[normalpage] % \setuplayout[width=fit, height=fit,backspace=1 0mm, topspace=0mm, header=1cm, footer=10mm,bottom=5mm, rightmargin=10mm,leftmarg indistance=0mm,rightmargindistance=0mm\setuplayout[width=fit, height=fit,backspa ce=10mm, topspace=0mm, header=1cm, footer=10mm,bottom=5mm, rightmargin=10mm,left margindistance=0mm,rightmargindistance=0mm] %,grid=yes] %,grid=yes 7 8 %\setupinitial[hesloinitial][location=text,n=2,color=red,before=\unblank] %, distance=-1em, hoffset=1em, voffset=-3ex, before=\blank] 9 10 % \def\nadpisT{\hcolor\sst} 11 % \def\nadpisG{\hcolor\ssg} \stopprojectindeed ->\popsystemmode \v!project \stoptext \signalendofinput \... l.1 \stopprojectindeed \ctxcommand ...\directlua \zerocount {commands.#1} \stopproject ->\ctxcommand {stopproject ()} \honorendofinput l.22 \stopproject ? ! ^CChcete ukončit dávkovou úlohu (A/N)? Emergency stop. system > tex > error on line 1 in file drakiada_201110.tex: Emergency s top ... 1 >> \startcomponent drakiada_201110 2 \product obst_201110 3 \project obstastnik 4 \environment obstastnik_env % nahrazeno volanim knihovny 5 \environment setcolorsii_env 6 \setuplayout[normalpage] % \setuplayout[width=fit, height=fit,backspace=1 0mm, topspace=0mm, header=1cm, footer=10mm,bottom=5mm, rightmargin=10mm,leftmarg indistance=0mm,rightmargindistance=0mm\setuplayout[width=fit, height=fit,backspa ce=10mm, topspace=0mm, header=1cm, footer=10mm,bottom=5mm, rightmargin=10mm,left margindistance=0mm,rightmargindistance=0mm] %,grid=yes] %,grid=yes 7 8 %\setupinitial[hesloinitial][location=text,n=2,color=red,before=\unblank] %, distance=-1em, hoffset=1em, voffset=-3ex, before=\blank] 9 10 % \def\nadpisT{\hcolor\sst} 11 % \def\nadpisG{\hcolor\ssg} \stopprojectindeed ->\popsystemmode \v!project \stoptext \sig ^CnSystém nemůže otevřít zadaný soubor nebo zařízení. alenC:\1da\Pekarov\Obstastnik\obst_201110>dofinput \... l.1 \stopprojectindeed \ctxcommand ...\directlua \zerocount {commands.#1} \stopproject ->\ctxcommand {stopproject ()} \honorendofinput l.22 \stopproject ! ==> Fatal error occurred, no output PDF file produced! C:\1da\Pekarov\Obstastnik\obst_201110> C:\1da\Pekarov\Obstastnik\obst_201110>ctx1 sklipek_201110 mtx-context | run 1: luatex --fmt="C:/context/tex/texmf-cache/luatex-cache/c ontext/2448223e6631addb83df348d74153606/formats/cont-en" --lua="C:/context/tex/t exmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en .lui" --backend="pdf" "./sklipek_201110" \stoptext This is LuaTeX, Version beta-0.70.1-2011110321 (rev 4277) \write18 enabled. (sklipek_201110.tex ConTeXt ver: 2011.11.11 23:29 MKIV fmt: 2011.11.12 int: english/english system > cont-new.mkiv loaded (C:/context/tex/texmf-context/tex/context/base/cont-new.mkiv system > beware: some patches loaded from cont-new.mkiv ) system > sklipek_201110.top loaded (sklipek_201110.top) fonts > latin modern fonts are not preloaded languages > language en is active {C:/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} fonts > preloading latin modern fonts (second stage) (C:/context/tex/texmf-context/tex/context/base/type-siz.mkiv) (C:/context/tex/te xmf-context/tex/context/base/type-otf.mkiv) files > readfile > asked name: 'loc', not found {C:/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{C:/context/tex/texmf/fonts /map/dvips/lm/lm-rm.map} fonts > virtual math > unable to resolve name mapsfromchar fonts > fallback modern rm 12pt is loaded (../obstastnik.tex (../t-obstastnik_env.mkiv loading > ConTeXt User Module / Noviny (C:/context/tex/texmf-context/tex/context/base/colo-imp-rgb.mkiv) colors > system rgb is loaded ) ! Undefined control sequence. system > tex > error on line 1 in file sklipek_201110.tex: Undefined co ntrol sequence ... 1 >> \startcomponent sklipek_201110 2 \product obst_201110 3 \project obstastnik 4 \environment obstastnik_env % nahrazeno volanim knihovny 5 \environment setcolors_env 6 %\environment setcolorsi_env 7 8 9 \setuplayout[normalpage] %\setuplayout[width=fit, height=fit,backspace=10 mm, topspace=0mm, header=1cm, footer=10mm,bottom=5mm, rightmargin=10mm,leftmargi ndistance=0mm,rightmargindistance=0mm\setuplayout[width=fit, height=fit,backspac e=10mm, topspace=0mm, header=1cm, footer=10mm,bottom=5mm, rightmargin=10mm,leftm argindistance=0mm,rightmargindistance=0mm] %,grid=yes] %,grid=yes 10 11 \usemodule[t-lettrine] \stopprojectindeed ->\popsystemmode \v!project \stoptext \signalendofinput \... l.1 \stopprojectindeed \ctxcommand ...\directlua \zerocount {commands.#1} \stopproject ->\ctxcommand {stopproject ()} \honorendofinput l.22 \stopproject ? ! Em^CergencyChcete ukončit dávkovou úlohu (A/N)? stop. system > tex > error on line 1 in file sklipek_201110.tex: Emergency st op ... 1 >> \startcomponent sklipek_201110 2 \product obst_201110 3 \project obstastnik 4 \environment obstastnik_env % nahrazeno volanim knihovny 5 \environment setcolors_env 6 %\environment setcolorsi_env 7 8 9 \setuplayout[normalpage] %\setuplayout[width=fit, height=fit,backspace=10 mm, topspace=0mm, header=1cm, footer=10mm,bottom=5mm, rightmargin=10mm,leftmargi ndistance=0mm,rightmargindistance=0mm\setuplayout[width=fit, height=fit,backspac e=10mm, topspace=0mm, header=1cm, footer=10mm,bottom=5mm, rightmargin=10mm,leftm argindistance=0mm,rightmargindistance=0mm] %,grid=yes] %,grid=yes 10 11 \usemodule[t-lettrine] \stopprojectindeed ->\popsystemmode \v!project \stoptext \signalendofinput \... l.1 \stopprojectindeed \ctxcommand ...\directlua \zerocount {commands.#1} \stopproject ->\ctxcommand {stopproject ()} \honorendofinput l.22 \stopproject ! ==> Fatal error occurred, no output PDF file produced! ^CSystém nemůže otevřít zadaný soubor nebo zařízení. C:\1da\Pekarov\Obstastnik\obst_201110> C:\1da\Pekarov\Obstastnik\obst_201110>ctx1 sklipeka_201110 mtx-context | run 1: luatex --fmt="C:/context/tex/texmf-cache/luatex-cache/c ontext/2448223e6631addb83df348d74153606/formats/cont-en" --lua="C:/context/tex/t exmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en .lui" --backend="pdf" "./sklipeka_201110" \stoptext This is LuaTeX, Version beta-0.70.1-2011110321 (rev 4277) \write18 enabled. ! I can't find file `./sklipeka_201110'. <*> ./sklipeka_201110 \stoptext Please type another input file name: ^CChcete ukončit dávkovou úlohu (A/N)? ! Emergency stop. system > tex > error on line 0 in file : Emergency stop ... <empty file> <*> ./sklipeka_201110 \stoptext ! ==> Fatal error occurred, no output PDF file produced! ^CChcete ukončit dávkovou úlohu (A/N)? ctx1 sklipeka_201110 C:\1da\Pekarov\Obstastnik\obst_201110> C:\1da\Pekarov\Obstastnik\obst_201110> C:\1da\Pekarov\Obstastnik\obst_201110>ctx1 sklipek_201110a mtx-context | run 1: luatex --fmt="C:/context/tex/texmf-cache/luatex-cache/c ontext/2448223e6631addb83df348d74153606/formats/cont-en" --lua="C:/context/tex/t exmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en .lui" --backend="pdf" "./sklipek_201110a" \stoptext This is LuaTeX, Version beta-0.70.1-2011110321 (rev 4277) \write18 enabled. (sklipek_201110a.tex ConTeXt ver: 2011.11.11 23:29 MKIV fmt: 2011.11.12 int: english/english system > cont-new.mkiv loaded (C:/context/tex/texmf-context/tex/context/base/cont-new.mkiv system > beware: some patches loaded from cont-new.mkiv ) system > sklipek_201110a.top loaded (sklipek_201110a.top) fonts > latin modern fonts are not preloaded languages > language en is active {C:/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} fonts > preloading latin modern fonts (second stage) (C:/context/tex/texmf-context/tex/context/base/type-siz.mkiv) (C:/context/tex/te xmf-context/tex/context/base/type-otf.mkiv) files > readfile > asked name: 'loc', not found {C:/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{C:/context/tex/texmf/fonts /map/dvips/lm/lm-rm.map} fonts > virtual math > unable to resolve name mapsfromchar fonts > fallback modern rm 12pt is loaded (../obstastnik.tex (../t-obstastnik_env.mkiv loading > ConTeXt User Module / Noviny (C:/context/tex/texmf-context/tex/context/base/colo-imp-rgb.mkiv) colors > system rgb is loaded ) ! Undefined control sequence. system > tex > error on line 1 in file sklipek_201110a.tex: Undefined c ontrol sequence ... 1 >> \startcomponent sklipek_201110a 2 \product obst_201110 3 \project obstastnik 4 \environment obstastnik_env % nahrazeno volanim knihovny 5 \environment setcolors_env 6 %\environment setcolorsi_env 7 \setuplayout[normalpage] % \setuplayout[width=fit, height=fit,backspace=1 0mm, topspace=0mm, header=1cm, footer=10mm,bottom=5mm, rightmargin=10mm,leftmarg indistance=0mm,rightmargindistance=0mm\setuplayout[width=fit, height=fit,backspa ce=10mm, topspace=0mm, header=1cm, footer=10mm,bottom=5mm, rightmargin=10mm,left margindistance=0mm,rightmargindistance=0mm] %,grid=yes] %,grid=yes 8 9 \setupinitial[hesloinitial][location=text,n=2,color=red,before=\unblank] %, distance=-1em, hoffset=1em, voffset=-3ex, before=\blank] 10 11 %\setuplettrine[Lines=2] \stopprojectindeed ->\popsystemmode \v!project \stoptext \signalendofinput \... l.1 \stopprojectindeed \ctxcommand ...\directlua \zerocount {commands.#1} \stopproject ->\ctxcommand {stopproject ()} \honorendofinput l.22 \stopproject ? Dne 12.11.2011 11:17, Hans Hagen napsal(a):
On 12-11-2011 00:38, Aditya Mahajan wrote:
On Fri, 11 Nov 2011, Hans Hagen wrote:
On 11-11-2011 16:02, Wolfgang Schuster wrote:
Hi Hans,
can you add the systemmodes for products, components etc. in MkIV because they are missing.
\startproduct test \doifmodeelse{*product}{YES}{NO} \stopproduct
I've added it but it needs checking as we need to push/pop modes (so there is now also \pushmode \popmode).
I have a hard time imagining a situation where push/pop modes will be useful. It it just so that we can avoid a group?
indeed and in this case, environments and such are definitely nit grouped
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 ___________________________________________________________________________________
On 12-11-2011 13:03, Jaroslav Hajtmar wrote:
Hello, Hans.
Did not make a change now (in project structure)? I've updated an thirty minutes ago ConTeXt and stopped me working translation of things that I have a few days in order compiled.
fixed
It is possible to go some way older install standalone ConTeXt?
best keep a 'old' copy on your machine .. it' sno big deal having a few standalones in parallel 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 -----------------------------------------------------------------
OK... thanx I'm sorry to bother you., but give the corrected version to download soon? I am not working at the moment the project. Thanks Jaroslav. Dne 12.11.2011 13:46, Hans Hagen napsal(a):
On 12-11-2011 13:03, Jaroslav Hajtmar wrote:
Hello, Hans.
Did not make a change now (in project structure)? I've updated an thirty minutes ago ConTeXt and stopped me working translation of things that I have a few days in order compiled.
fixed
It is possible to go some way older install standalone ConTeXt?
best keep a 'old' copy on your machine .. it' sno big deal having a few standalones in parallel
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 -----------------------------------------------------------------
On 12-11-2011 13:55, Jaroslav Hajtmar wrote:
OK... thanx I'm sorry to bother you., but give the corrected version to download soon? I am not working at the moment the project.
normally the garden syncs on the (half) hour 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 -----------------------------------------------------------------
Hello Hans. Is it possible that I'm still not working? I just updated and always ends the same compilation error. My older projects do not compile. It can be a problem in anything else? When I ignore the error message, then finally generates a PDF file, but the first three rows in PDF file are listed keywords: project environment Thanx Jaroslav Here is error message: ctx drakiada_201110 mtx-context | run 1: luatex --fmt="C:/context/tex/texmf-cache/luatex-cache/c ontext/2448223e6631addb83df348d74153606/formats/cont-en" --lua="C:/context/tex/t exmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en .lui" --backend="pdf" "./drakiada_201110" \stoptext This is LuaTeX, Version beta-0.70.1-2011110321 (rev 4277) \write18 enabled. (drakiada_201110.tex ConTeXt ver: 2011.11.12 12:34 MKIV fmt: 2011.11.13 int: english/english system > cont-new.mkiv loaded (C:/context/tex/texmf-context/tex/context/base/cont-new.mkiv system > beware: some patches loaded from cont-new.mkiv ) system > drakiada_201110.top loaded (drakiada_201110.top) fonts > latin modern fonts are not preloaded languages > language en is active {C:/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} fonts > preloading latin modern fonts (second stage) (C:/context/tex/texmf-context/tex/context/base/type-siz.mkiv) (C:/context/tex/te xmf-context/tex/context/base/type-otf.mkiv) files > readfile > asked name: 'loc', not found {C:/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{C:/context/tex/texmf/fonts /map/dvips/lm/lm-rm.map} fonts > virtual math > unable to resolve name mapsfromchar fonts > fallback modern rm 12pt is loaded (../obstastnik.tex (../t-obstastnik_env.mkiv loading > ConTeXt User Module / Noviny (C:/context/tex/texmf-context/tex/context/base/colo-imp-rgb.mkiv) colors > system rgb is loaded ) ! Undefined control sequence. system > tex > error on line 1 in file drakiada_201110.tex: Undefined c ontrol sequence ... 1 >> \startcomponent drakiada_201110 2 \product obst_201110 3 \project obstastnik 4 \environment obstastnik_env % nahrazeno volanim knihovny 5 \environment setcolorsii_env 6 \setuplayout[normalpage] % \setuplayout[width=fit, height=fit,backspace=1 0mm, topspace=0mm, header=1cm, footer=10mm,bottom=5mm, rightmargin=10mm,leftmarg indistance=0mm,rightmargindistance=0mm\setuplayout[width=fit, height=fit,backspa ce=10mm, topspace=0mm, header=1cm, footer=10mm,bottom=5mm, rightmargin=10mm,left margindistance=0mm,rightmargindistance=0mm] %,grid=yes] %,grid=yes 7 8 %\setupinitial[hesloinitial][location=text,n=2,color=red,before=\unblank] %, distance=-1em, hoffset=1em, voffset=-3ex, before=\blank] 9 10 % \def\nadpisT{\hcolor\sst} 11 % \def\nadpisG{\hcolor\ssg} \stopprojectindeed ->\popsystemmode \v!project \stoptext \signalendofinput \... l.1 \stopprojectindeed \ctxcommand ...\directlua \zerocount {commands.#1} \stopproject ->\ctxcommand {stopproject ()} \honorendofinput l.22 \stopproject ? !^C EmergChcete ukončit dávkovou úlohu (A/N)? ency stop. system > tex > error on line 1 in file drakiada_201110.tex: Emergency s top ... 1 >> \startcomponent drakiada_201110 2 \product obst_201110 3 \project obstastnik 4 \environment obstastnik_env % nahrazeno volanim knihovny 5 \environment setcolorsii_env 6 \setuplayout[normalpage] % \setuplayout[width=fit, height=fit,backspace=1 0mm, topspace=0mm, header=1cm, footer=10mm,bottom=5mm, rightmargin=10mm,leftmarg indistance=0mm,rightmargindistance=0mm\setuplayout[width=fit, height=fit,backspa ce=10mm, topspace=0mm, header=1cm, footer=10mm,bottom=5mm, rightmargin=10mm,left margindistance=0mm,rightmargindistance=0mm] %,grid=yes] %,grid=yes 7 8 %\setupinitial[hesloinitial][location=text,n=2,color=red,before=\unblank] %, distance=-1em, hoffset=1em, voffset=-3ex, before=\blank] 9 10 % \def\nadpisT{\hcolor\sst} 11 % \def\nadpisG{\hcolor\ssg} \stopprojectindeed ->\popsystemmode \v!project \stoptext \signalendofinput \... l.1 \stopprojectindeed \ctxcommand ...\directlua \zerocount {commands.#1} \stopproject ->\ctxcommand {stopproject ()} \honorendofinput l.22 \stopproject ! ==> Fatal error occurred, no output PDF file produced!^ Dne 12.11.2011 13:59, Hans Hagen napsal(a):
On 12-11-2011 13:55, Jaroslav Hajtmar wrote:
OK... thanx I'm sorry to bother you., but give the corrected version to download soon? I am not working at the moment the project.
normally the garden syncs on the (half) hour
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 -----------------------------------------------------------------
Hi,
I get a similar error with a beta updated today. See below.
BR,
Salil
____________________________________
! Undefined control sequence.
system > tex > error on line 1 in file project_manuscript.tex: Undefined control sequence ...
1 >> \startproject project_manuscript
2
3 \environment env_manuscript
4
5 \product manuscript
6
7
8 \stopproject
9
\stopcomponentindeed ->\popsystemmode
\v!component \popreferenceprefix \stop...
l.1 \stopcomponentindeed
\ctxcommand ...\directlua \zerocount {commands.#1}
\stopcomponent ->\ctxcommand {stopcomponent ()}
\honorendofinput
l.10 \stopcomponent
?
________________________________
From: Jaroslav Hajtmar
On 12-11-2011 13:55, Jaroslav Hajtmar wrote:
OK... thanx I'm sorry to bother you., but give the corrected version to download soon? I am not working at the moment the project.
normally the garden syncs on the (half) hour
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 ___________________________________________________________________________________
Am 13.11.2011 um 13:36 schrieb Salil Sayed:
Hi,
I get a similar error with a beta updated today. See below.
core-env.mkiv (line 226): -\def\resetsystemmode#1% +\def\popsystemmode#1% {\ifcsname\@mode@:\systemmodeprefix#1\endcsname \expandafter\popmacro\csname\@mode@:\systemmodeprefix#1\endcsname \csname\@mode@\systemmodeprefix#1\endcsname\csname\@mode@:\systemmodeprefix#1\endcsname\relax \fi} Wolfgang
Thanks Wolfgang, but unfortunately for me it still does not work... Jaroslav Dne 13.11.2011 14:13, Wolfgang Schuster napsal(a):
-\def\resetsystemmode#1% +\def\popsystemmode#1% {\ifcsname\@mode@:\systemmodeprefix#1\endcsname \expandafter\popmacro\csname\@mode@:\systemmodeprefix#1\endcsname
\csname\@mode@\systemmodeprefix#1\endcsname\csname\@mode@:\systemmodeprefix#1\endcsname\relax \fi}
Am 13.11.2011 um 14:38 schrieb Jaroslav Hajtmar:
Thanks Wolfgang, but unfortunately for me it still does not work…
Minimal example: \startcomponent test \input knuth \stopcomponent With the current beta this fails but after I changed \def\resetsystemmode#1% {\ifcsname\@mode@:\systemmodeprefix#1\endcsname \expandafter\popmacro\csname\@mode@:\systemmodeprefix#1\endcsname \csname\@mode@\systemmodeprefix#1\endcsname\csname\@mode@:\systemmodeprefix#1\endcsname\relax \fi} to \def\popsystemmode#1% {\ifcsname\@mode@:\systemmodeprefix#1\endcsname \expandafter\popmacro\csname\@mode@:\systemmodeprefix#1\endcsname \csname\@mode@\systemmodeprefix#1\endcsname\csname\@mode@:\systemmodeprefix#1\endcsname\relax \fi} and regenerated the format (context --make) it compiles fine. Wolfgang
Thanks many times Wolfgang. You were right! I forgot to regenerate the format in the standalone version, respectively I instead regenerated ConTeXt format in TeXLive 2011, which you probably assumed in your mail :-). Everything is in order now. Thanks again. Jaroslav Dne 13.11.2011 14:43, Wolfgang Schuster napsal(a):
Am 13.11.2011 um 14:38 schrieb Jaroslav Hajtmar:
Thanks Wolfgang, but unfortunately for me it still does not work…
Minimal example:
\startcomponent test
\input knuth
\stopcomponent
With the current beta this fails but after I changed
\def\resetsystemmode#1% {\ifcsname\@mode@:\systemmodeprefix#1\endcsname \expandafter\popmacro\csname\@mode@:\systemmodeprefix#1\endcsname \csname\@mode@\systemmodeprefix#1\endcsname\csname\@mode@:\systemmodeprefix#1\endcsname\relax \fi}
to
\def\popsystemmode#1% {\ifcsname\@mode@:\systemmodeprefix#1\endcsname \expandafter\popmacro\csname\@mode@:\systemmodeprefix#1\endcsname \csname\@mode@\systemmodeprefix#1\endcsname\csname\@mode@:\systemmodeprefix#1\endcsname\relax \fi}
and regenerated the format (context --make) it compiles fine.
Wolfgang
participants (5)
-
Aditya Mahajan
-
Hans Hagen
-
Jaroslav Hajtmar
-
Salil Sayed
-
Wolfgang Schuster