ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: component not included
       [not found] <mailman.291.1426193501.2410.ntg-context@ntg.nl>
@ 2015-03-13  8:01 ` Wolfgang Werners-Lucchini
  2015-03-26 15:31   ` Wolfgang Schuster
  0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Werners-Lucchini @ 2015-03-13  8:01 UTC (permalink / raw)
  To: ntg-context

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

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

* Re: component not included
  2015-03-13  8:01 ` component not included Wolfgang Werners-Lucchini
@ 2015-03-26 15:31   ` Wolfgang Schuster
  0 siblings, 0 replies; 7+ messages in thread
From: Wolfgang Schuster @ 2015-03-26 15:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Wolfgang Werners-Lucchini


> Am 13.03.2015 um 09:01 schrieb Wolfgang Werners-Lucchini <wwl@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
___________________________________________________________________________________

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

* Re: component not included
  2015-03-12 20:10 ` Wolfgang Werners-Lucchini
@ 2015-03-12 23:59   ` Wolfgang Schuster
  0 siblings, 0 replies; 7+ messages in thread
From: Wolfgang Schuster @ 2015-03-12 23:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> Am 12.03.2015 um 21:10 schrieb Wolfgang Werners-Lucchini <wwl@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
___________________________________________________________________________________

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

* Re: component not included
  2015-03-12 12:42 ` Wolfgang Schuster
@ 2015-03-12 20:51   ` Norbert Melzer
  0 siblings, 0 replies; 7+ messages in thread
From: Norbert Melzer @ 2015-03-12 20:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2371 bytes --]

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.wolfgang@gmail.com
>:

>
> > Am 12.03.2015 um 13:35 schrieb Wolfgang Werners-Lucchini <
> wwl@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
>
> ___________________________________________________________________________________

[-- Attachment #1.2: Type: text/html, Size: 3517 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 7+ messages in thread

* Re: component not included
       [not found] <mailman.287.1426178156.2410.ntg-context@ntg.nl>
@ 2015-03-12 20:10 ` Wolfgang Werners-Lucchini
  2015-03-12 23:59   ` Wolfgang Schuster
  0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Werners-Lucchini @ 2015-03-12 20:10 UTC (permalink / raw)
  To: ntg-context

> > 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'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
(//HP/ga/Medizin/pd-medizin.tex (env-medizin.tex
fonts           > preloading latin modern fonts (third stage)
fonts           > typescripts > 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: 1>Exit 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
___________________________________________________________________________________

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

* Re: component not included
  2015-03-12 12:35 Wolfgang Werners-Lucchini
@ 2015-03-12 12:42 ` Wolfgang Schuster
  2015-03-12 20:51   ` Norbert Melzer
  0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2015-03-12 12:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> Am 12.03.2015 um 13:35 schrieb Wolfgang Werners-Lucchini <wwl@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
___________________________________________________________________________________

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

* component not included
@ 2015-03-12 12:35 Wolfgang Werners-Lucchini
  2015-03-12 12:42 ` Wolfgang Schuster
  0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Werners-Lucchini @ 2015-03-12 12:35 UTC (permalink / raw)
  To: ntg-context

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'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
(//HP/ga/Medizin/pd-medizin.tex (pj-medizin.tex (env-medizin.tex
fonts           > preloading latin modern fonts (third stage)
fonts           > typescripts > 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 + 100000
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.453>Exit 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
___________________________________________________________________________________

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

end of thread, other threads:[~2015-03-26 15:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.291.1426193501.2410.ntg-context@ntg.nl>
2015-03-13  8:01 ` component not included Wolfgang Werners-Lucchini
2015-03-26 15:31   ` Wolfgang Schuster
     [not found] <mailman.287.1426178156.2410.ntg-context@ntg.nl>
2015-03-12 20:10 ` Wolfgang Werners-Lucchini
2015-03-12 23:59   ` Wolfgang Schuster
2015-03-12 12:35 Wolfgang Werners-Lucchini
2015-03-12 12:42 ` Wolfgang Schuster
2015-03-12 20:51   ` Norbert Melzer

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