The documentation is a little unclear, and I am experimenting.

Lets say I define a environments.tex

In it I define several localenvironments
\startlocalenvironment foo, etc...

        So, now, how do I use the local environments in other product files?
        product #1
        \localenvironment foo
        product #2
        \localenvironment bar

        ( But what if I have another environment file containing foos and bars for 
other projects )

        Or is the above okay if I define \environment environments in my project 
file like so...

        %project A.tex
        \startproject A
        \environment enviroments
        \product B
        \product C
        \stopproject

        
        %environments.tex
        \startlocalenvironment Q
                ...
        \stoplocalenvironment 
        \startlocalenvironment R
                ...
        \stoplocalenvironment 

        % B.tex
        \startproduct B
                \project A
                \localenvironment Q
                ...
        \stopproduct

        % C.tex
        \startproduct B
                \project A
                \localenvironment R
                ...
        \stopproduct
 

Reply via email to