Re: [NTG-context] component not included

2015-03-26 Thread Wolfgang Schuster

 Am 13.03.2015 um 09:01 schrieb Wolfgang Werners-Lucchini w...@musensturm.de:
 
 According toll my observations, you need to reference the needed parts
 inside of the \start... and \stop..., so your product would become:
 
 
 ```
 \startproduct pd-medizin
 \project pj-medizin
 \component test
 \stopproduct
 ```
 
 You also have to restructure the other files, so that \start... is the
 first and \stop... the last command in the files.
 
 Yes! That is the cause. Thank you!
 
 The wiki examples should be corrected to prevent others from this  error.

With the new beta you can now load project files at the begin of your products 
and components.

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
___

Re: [NTG-context] component not included

2015-03-13 Thread Wolfgang Werners-Lucchini
 According toll my observations, you need to reference the needed parts
 inside of the \start... and \stop..., so your product would become:
 
 
 ```
 \startproduct pd-medizin
 \project pj-medizin
 \component test
 \stopproduct
 ```
 
 You also have to restructure the other files, so that \start... is the
 first and \stop... the last command in the files.

Yes! That is the cause. Thank you!

The wiki examples should be corrected to prevent others from this 
error.

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
___

[NTG-context] component not included

2015-03-12 Thread Wolfgang Werners-Lucchini
Hallo,

I am trying to start a new project with the following test files:

--env-medizin.tex---
\startenvironment env-medizin
\mainlanguage[deo]
\enableregime[utf]
\setupbodyfont[sans,11pt]
\setuplanguage[deo][leftquote=\guilsingleright,
rightquote=\guilsingleleft,
leftquotation=\rightguillemot,
rightquotation=\leftguillemot]

\setupwhitespace[medium]
\stopenvironment
--pj-medizin.tex---
\environment env-medizin
\startproject pj-medizin
\product pd-medizin
\stopproject
--pd-medizin.tex---
\project pj-medizin
\startproduct pd-medizin
\component test
\stopproduct
--test.tex---
\project pj-medizin
\product pd-medizin
\startcomponent test
test
\stopcomponent
-

I compile the product. But I get nothing. test.tex is not included. 
What I am doing wrong?

Here is the output:
-

mtx-context | run 1: luatex --fmt=E:/LuaTeX/tex/texmf-
cache/luatex-
cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-
en --jobname=pd-medizin --lua=E:/LuaTeX/tex/texmf-cache/luatex-
cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-
en.lui --no-parse-first-line --c:autopdf --c:currentrun=1 --
c:fulljobname=./pd-medizin.tex --c:input=./pd-medizin.tex --
c:kindofrun=1 --c:maxnofruns=8 cont-yes.mkiv
This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/W32TeX) (rev 5024)
 \write18 enabled.
(E:/LuaTeX/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2013.11.01 15:02 MKIV beta  fmt: 2014.6.29  int: 
english/english

system   'cont-new.mkiv' loaded
(E:/LuaTeX/tex/texmf-context/tex/context/base/cont-new.mkiv)
system   files  jobname 'pd-medizin', input './pd-medizin', 
result 'pd-medizin'
fontslatin modern fonts are not preloaded
languageslanguage 'en' is active
(//HP/ga/Medizin/pd-medizin.tex (pj-medizin.tex (env-medizin.tex
fontspreloading latin modern fonts (third stage)
fontstypescripts  unknown library 'loc'
{E:/LuaTeX/tex/texmf/fonts/map/dvips/lm/lm-
math.map}{E:/LuaTeX/tex/texmf/fonts/map/dvips/lm/lm-
rm.map}{E:/LuaTeX/tex/texmf-context/fonts/map/pdftex/context/mkiv-
base.map}
fonts'fallback modern ss 11pt' is loaded


mkiv lua stats   used config file: 
selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats   used cache path: E:/LuaTeX/tex/texmf-cache/luatex-
cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats   resource resolver: loadtime 0.016 seconds, 0 scans 
with scantime 0.000 seconds, 0 shared scans, 15 found files, scanned 
paths: none
mkiv lua stats   stored bytecode data: 337 modules (0.312 sec), 69 
tables (0.000 sec), 406 chunks (0.312 sec)
mkiv lua stats   cleaned up reserved nodes: 39 nodes, 9 lists of 441
mkiv lua stats   node memory usage: 2 glue, 1 kern, 3 penalty, 9 
attribute, 20 glue_spec, 3 attribute_list
mkiv lua stats   node list callback tasks: 6 unique task lists, 2 
instances (re)created, 5 calls
mkiv lua stats   used backend: pdf (backend for directly generating 
pdf output)
mkiv lua stats   loaded patterns: deo:de:9 en::2, load time: 0.000
mkiv lua stats   jobdata time: 0.016 seconds saving, 0.000 seconds 
loading
mkiv lua stats   callbacks: 57 direct, 204 indirect, 261 total
mkiv lua stats   randomizer: resumed with value 0.70265816217536
mkiv lua stats   result saved in file: pd-medizin.pdf, compresslevel 
3, objectcompreslevel 3
mkiv lua stats   loaded fonts: 2 files: latinmodern-math.otf, 
lmsans10-regular.otf
mkiv lua stats   fonts load time: 0.344 seconds
mkiv lua stats   luatex banner: this is luatex, version beta-0.79.1 
(tex live 2014/w32tex) (rev 5024)
mkiv lua stats   control sequences: 38207 of 65536 + 10
mkiv lua stats   current memory usage: 32 MB (ctx: 32 MB)
mkiv lua stats   runtime: 1.016 seconds

mtx-context | pdfview methods: acrobat auto default fullacrobat 
okular pdfxcview sumatra, current method: sumatra 
(directives_pdfview_method)
system  | total runtime: 1.453Exit code: 0

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

Re: [NTG-context] component not included

2015-03-12 Thread Wolfgang Schuster

 Am 12.03.2015 um 13:35 schrieb Wolfgang Werners-Lucchini w...@musensturm.de:
 
 Hallo,
 
 I am trying to start a new project with the following test files:
 
 --env-medizin.tex---
 \startenvironment env-medizin
 \mainlanguage[deo]
 \enableregime[utf]
 \setupbodyfont[sans,11pt]
 \setuplanguage[deo][leftquote=\guilsingleright,
rightquote=\guilsingleleft,
leftquotation=\rightguillemot,
rightquotation=\leftguillemot]
 
 \setupwhitespace[medium]
 \stopenvironment
 --pj-medizin.tex---
 \environment env-medizin
 \startproject pj-medizin
 \product pd-medizin
 \stopproject
 --pd-medizin.tex---
 \project pj-medizin
 \startproduct pd-medizin
 \component test
 \stopproduct
 --test.tex---
 \project pj-medizin
 \product pd-medizin
 \startcomponent test
 test
 \stopcomponent
 -
 
 I compile the product. But I get nothing. test.tex is not included. 
 What I am doing wrong?

Ignore the project file and load the environment file instead at the begin of 
your product and component files.

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
___

Re: [NTG-context] component not included

2015-03-12 Thread Norbert Melzer
According toll my observations, you need to reference the needed parts
inside of the \start... and \stop..., so your product would become:


```
\startproduct pd-medizin
\project pj-medizin
\component test
\stopproduct
```

You also have to restructure the other files, so that \start... is the
first and \stop... the last command in the files.


HTH
Norbert
Am 12.03.2015 13:43 schrieb Wolfgang Schuster schuster.wolfg...@gmail.com
:


  Am 12.03.2015 um 13:35 schrieb Wolfgang Werners-Lucchini 
 w...@musensturm.de:
 
  Hallo,
 
  I am trying to start a new project with the following test files:
 
  --env-medizin.tex---
  \startenvironment env-medizin
  \mainlanguage[deo]
  \enableregime[utf]
  \setupbodyfont[sans,11pt]
  \setuplanguage[deo][leftquote=\guilsingleright,
 rightquote=\guilsingleleft,
 leftquotation=\rightguillemot,
 rightquotation=\leftguillemot]
 
  \setupwhitespace[medium]
  \stopenvironment
  --pj-medizin.tex---
  \environment env-medizin
  \startproject pj-medizin
  \product pd-medizin
  \stopproject
  --pd-medizin.tex---
  \project pj-medizin
  \startproduct pd-medizin
  \component test
  \stopproduct
  --test.tex---
  \project pj-medizin
  \product pd-medizin
  \startcomponent test
  test
  \stopcomponent
  -
 
  I compile the product. But I get nothing. test.tex is not included.
  What I am doing wrong?

 Ignore the project file and load the environment file instead at the begin
 of your product and component files.

 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
___

Re: [NTG-context] component not included

2015-03-12 Thread Wolfgang Werners-Lucchini
  What I am doing wrong?
 
 Ignore the project file and load the environment file instead at the
 begin of your product and component files.
 
 Wolfgang

This is not working! And what shall I do if I have more than one 
product? 

Wolfgang

mtx-context | run 1: luatex --fmt=E:/LuaTeX/tex/texmf-
cache/luatex-
cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-
en --jobname=pd-medizin --lua=E:/LuaTeX/tex/texmf-cache/luatex-
cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-
en.lui --no-parse-first-l
ine --c:autopdf --c:currentrun=1 --c:fulljobname=./pd-medizin.tex --
c:input=./pd-medizin.tex --c:kindofrun=1 --c:maxnofruns=8 cont-
yes.mkiv
This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/W32TeX) (rev 5024)
 \write18 enabled.
(E:/LuaTeX/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2013.11.01 15:02 MKIV beta  fmt: 2014.6.29  int: 
english/english

system   'cont-new.mkiv' loaded
(E:/LuaTeX/tex/texmf-context/tex/context/base/cont-new.mkiv)
system   files  jobname 'pd-medizin', input './pd-medizin', 
result 'pd-medizin'
fontslatin modern fonts are not preloaded
languageslanguage 'en' is active
(//HP/ga/Medizin/pd-medizin.tex (env-medizin.tex
fontspreloading latin modern fonts (third stage)
fontstypescripts  unknown library 'loc'
{E:/LuaTeX/tex/texmf/fonts/map/dvips/lm/lm-
math.map}{E:/LuaTeX/tex/texmf/fonts/map/dvips/lm/lm-
rm.map}{E:/LuaTeX/tex/texmf-context/fonts/map/pdftex/context/mkiv-
base.map}
fonts'fallback modern ss 11pt' is loaded
) (test.tex (pd-medizin.tex (test.tex (pd-medizin.tex (test.tex (pd-
medizin.tex (test.tex (pd-medizin.tex (test.tex (pd-medizin.tex 
(test.tex (pd-medizin.tex (test.tex (pd-medizin.tex (test.tex (pd-
medizin.tex (test.tex (pd-medizin.tex (test.tex (pd-medizin.tex 
(test.tex (pd-medizin.tex (test.tex (
pd-medizin.tex (test.tex (pd-medizin.tex (test.tex (pd-medizin.tex 
(test.tex (pd-medizin.tex (test.tex (pd-medizin.tex (test.tex (pd-
medizin.tex (test.tex (pd-medizin.tex (test.tex (pd-medizin.tex 
(test.tex (pd-medizin.tex (test.tex
! TeX capacity exceeded, sorry [text input levels=127]

system   tex  error on line 5 in file test.tex: TeX 
capacity exceeded, sorry [ ...

1 \environment env-medizin
2 %\project pj-medizin
3 \product pd-medizin
4 \startcomponent test
5   test
6 \stopcomponent
7


!  == Fatal error occurred, no output PDF file produced!
mtx-context | fatal error: return code: 1Exit code: 1


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

Re: [NTG-context] component not included

2015-03-12 Thread Wolfgang Schuster

 Am 12.03.2015 um 21:10 schrieb Wolfgang Werners-Lucchini w...@musensturm.de:
 
 What I am doing wrong?
 
 Ignore the project file and load the environment file instead at the
 begin of your product and component files.
 
 Wolfgang
 
 This is not working! And what shall I do if I have more than one 
 product? 

Don’t load the product file, only the environment.

\environment env-medizin
\startcomponent test
test
\stopcomponent

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
___