From: Steffen Wolfrum <cont...@st.estfiles.de>

> Date: 13 October 2010 12:03:37 AM AEDT
> To: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Subject: Re: [NTG-context] Error message wrong when \component is used
> Reply-To: mailing list for ConTeXt users <ntg-context@ntg.nl>
> 
> Why do you use start-/stoptext inside start-/stopproduct?
> 
> Steffen

Hi Steffen,

By mistake!  8-)

However, if I take out the start-/stoptext, it makes no difference, Context is 
still printing text from the wrong file in the error message:

file1.tex:
\startproduct file1
Bla bla bla.
Bla bla bla.
Bla bla bla.
\component file2
\stopproduct

file2.tex:
\startcomponent file2
Bleh bleh bleh.
Bleh bleh bleh.
Bleh bleh bleh.
\zorg
\stopcomponent

and I get:

...
systems         : begin file file1 at line 1
systems         : begin file file2 at line 5
(file2.tex
! Undefined control sequence.

system          > error on line 5 in file file1.tex: Undefined control sequence 
...

1     \startproduct file1
2     Bla bla bla.
3     Bla bla bla.
4     Bla bla bla.
5 >>  \component file2
6     \stopproduct

l.5 \zorg
         
? q
OK, entering \batchmode
MTXrun | fatal error: return code: 1%

Robin

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

Reply via email to