[NTG-context] document structure

Taco Hoekwater taco at elvenkind.com
Sat Jul 22 10:19:31 CEST 2006


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



More information about the ntg-context mailing list