ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: document structure
Date: Sat, 22 Jul 2006 10:19:31 +0200	[thread overview]
Message-ID: <44C1DF93.4060609@elvenkind.com> (raw)
In-Reply-To: <63C28589-B3A5-410D-BE33-3A07730BA871@science.uva.nl>

Hans van der Meer wrote:
>>
> Sorry, but I think I do not yet understand and I do not get it right.
> Next is in a nutshell my setup of the environments, the relevant  
> projects are syllabus-s and syllabus-p

My unsterstanding is that you do it like  this:

   % syllabys-s.tex
   \project syllabus
   \localenvironment syllabus-local-setup
   \starttext
   \stoptext

   % syllabys-p.tex
   \project syllabus
   \localenvironment syllabus-local-setup
   \starttext
   \stoptext

   % syllabus.tex:
   \environment syllabus-setup

   % syllabus-setup.tex
    \writestring{global env settings}

   % syllabus-local-setup.tex
   \startlocalenvironment[syllabus-s]
     \writestring{this is only for the screen version}
   \stoplocalenvironment
   \startlocalenvironment[syllabus-p]
     \writestring{this is only for the print version}
   \stoplocalenvironment

(Untested)

Cheers, taco

  reply	other threads:[~2006-07-22  8:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-21 10:20 Hans van der Meer
2006-07-21 12:58 ` Taco Hoekwater
2006-07-21 18:02   ` Hans van der Meer
2006-07-22  8:19     ` Taco Hoekwater [this message]
2006-07-22 11:38       ` Hans van der Meer
2006-07-22 12:19         ` document structure (small bug) Taco Hoekwater
2006-07-22 12:40           ` Hans van der Meer

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=44C1DF93.4060609@elvenkind.com \
    --to=taco@elvenkind.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).