ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: <Robin.Kirkham@csiro.au>
To: <ntg-context@ntg.nl>
Subject: Re: Error message wrong when \component is used
Date: Wed, 13 Oct 2010 10:14:25 +1100	[thread overview]
Message-ID: <164B1724-CBF4-4412-8B50-008FF938B662@csiro.au> (raw)
In-Reply-To: <mailman.640.1286895475.4222.ntg-context@ntg.nl>

From: Steffen Wolfrum <context@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	other threads:[~2010-10-12 23:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.640.1286895475.4222.ntg-context@ntg.nl>
2010-10-12 23:14 ` Robin.Kirkham [this message]
2010-10-12 12:59 Robin.Kirkham
2010-10-12 13:03 ` Steffen Wolfrum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=164B1724-CBF4-4412-8B50-008FF938B662@csiro.au \
    --to=robin.kirkham@csiro.au \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).