[NTG-context] Project structure and modes

Jaroslav Hajtmar hajtmar at gyza.cz
Sat Nov 12 13:03:57 CET 2011


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



More information about the ntg-context mailing list