ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Elliot Clifton" <cliftoo@gmail.com>
To: ntg-context <ntg-context@ntg.nl>
Subject: Re: Error when calling \placecontent from product
Date: Thu, 31 Jul 2008 17:19:29 +0100	[thread overview]
Message-ID: <e65d34bf0807310919r7a87f58rac326b989883f064@mail.gmail.com> (raw)

Thanks Wolfgang,

On 2008-07-31 11:38 +100 Wolfgang Schuster

>\def\dostartArticle[#1]%
>{\getparameters[my][title=,#1]%
>\expanded{\chapter{\mytitle}}}

I have tried wrapping the call to \chapter in \expanded. Hans, also
suggested that here: www.ntg.nl/maps/20/12.pdf

Unfortunately doesn't seem to work. I think the problem occurs in the
final run of TeXexec, whilst finalising the ToC.

Is it something to do with the .tuo file?

systems         : begin file prd-test at line 1
systems         : begin file ../env-test at line 2
systems         : end file ../env-test at line 2
(./prd-test.tuo
! Undefined control sequence.
<argument> \mytitle

\listtextcommand #1->\begstrut #1
                                 \endstrut
\doattributes ...sname #1#2\@EA \endcsname \fi {#4
                                                  }\dostopattributes
<argument> ...ont \limitatedlistentry {\mytitle }}
                                                  \egroup \ifdim \wd 4=\zero...

\secondoftwoarguments #1#2->#2

\dosomelistelement ...hss \dostoplistattributes }}
                                                  \endgraf \nointerlineskip ...
...
l.30 ...}{1}{1}{\mytitle }{2--0-1-0-0-0-0-0--1}{1}


Just to be clear,  \mytitle is defined by \getparameters in my
environment file -- 'env-test'. The product 'prd-test' includes the
component 'cmp-test'. The problem only occurs when ConTeX tries to
build the product, not the component. What is it about the
relationship between the product and component that cuases the
trouble?

Regards,

Elliot
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


             reply	other threads:[~2008-07-31 16:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-31 16:19 Elliot Clifton [this message]
2008-08-01  9:45 ` Hans Hagen
2008-08-01 14:12 ` Wolfgang Schuster
  -- strict thread matches above, loose matches on Subject: below --
2008-08-01 20:01 Elliot Clifton
2008-07-31 10:32 Elliot Clifton
2008-07-31 10:38 ` Wolfgang Schuster

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=e65d34bf0807310919r7a87f58rac326b989883f064@mail.gmail.com \
    --to=cliftoo@gmail.com \
    --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).