ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mari Voipio <mari.voipio@iki.fi>
Subject: using \localenvironment
Date: Wed, 11 Feb 2004 15:44:52 +0200 (EET)	[thread overview]
Message-ID: <Pine.OSF.4.58.0402111516540.26347@sirppi.helsinki.fi> (raw)


I've finally managed to set up my first project (a project file, an
environment file, a product file and two components). It works quite
reasonably, but only until I try to introduce a local environment that
would only apply to this product (and not the 3-4 others I expect this
project to contain at a later date). I do not understand how to make it
work.

First I tried to make a local environment as a part of my environment
file, like this:

\startlocalenvironment[gl-01]
	\setupheadertexts[Start-up instructions][GL-01]
\stoplocalenvironment

If I understand correctly, I could implement this local environment by
adding the command
\localenvironment[gl-01]
somewhere - but where: in the project file before or after the name of the
product in question or in the product file somewhere?


I also tried making a separate file gl-01_env.tex which says
\startlocalenvironment
	\setupheadertexts[Start-up instructions][GL-01]
\stoplocalenvironment

Now it could be implemented by giving the command
\localenvironment gl-01_env
but again, I'm at loss as to where the command should be given.


An additional problem seems to be that my ConTeXt is old enough (if it
ain't broke, don't fix it - so updates are pending) to be subject to
missing English synonyms; however, the fix suggested in
<http://ml-archives.mini.pw.edu.pl/ntg-context/msg06984.html> (using Dutch
equivalents for some commands) doesn't seem to work for me, possible
because of the problems above; I haven't yet managed to figure out which
command goes where.


I would be grateful indeed if I got a simple example on how to implement
one local environment to one product and another one to another product.
Or, if there's another manual for the project structure (not the
beginner's manual or the big one, both have the same text without any
examples, neither has definitions on the localenvironment commands), just
give me a pointer...


From the very frozen north,

			Mari

             reply	other threads:[~2004-02-11 13:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-11 13:44 Mari Voipio [this message]
2004-02-11 16:01 ` Hans Hagen
2004-02-12  7:32   ` Mari Voipio

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=Pine.OSF.4.58.0402111516540.26347@sirppi.helsinki.fi \
    --to=mari.voipio@iki.fi \
    --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).