Am 13.11.2011 um 20:05 schrieb Paul Menzel:

> Dear ConTeXt folks,
> 
> 
> I am using the project layout [1] and have a file `env.tex` which gets
> loaded.
> 
>        \startenvironment env
> 
>        \mainlanguage[de]
> 
>        \setupinteraction
>               [title=Titel,
>               author=John Doe,
>               keyword={keyword}]
> 
>        \def\href#1#2{\useURL[#2][{#2}][][{#1}]\goto{\url[#2]}[url(#1)]}
>        \def\ahref#1{\color[linkcolor]{\ttx \href{#1}{<#1>}}}
>        \def\fullahref#1{\color[linkcolor]{\ttx \href{#1}{http://#1}}}
>        \def\mailto#1{\useURL[#1][mailto:#1][][#1]\from[{#1}]}
>        \def\MailTo#1#2{\useURL[#1][mailto:#1][][#2]\from[{#1}]}
> 
>        […]
>        \stopenvironment
> 
> My question is if all macro definitions (and setups like for
> interaction) should go in there?

Yes.

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

Reply via email to