[dev-context] CSV, alpha 2 ;)

Mojca Miklavec mojca.miklavec.lists at gmail.com
Wed Jul 19 22:36:36 CEST 2006


On 7/19/06, Hans Hagen wrote:
> Taco Hoekwater wrote:
> >
> >>
> >
> > Also, it would be nice if there was a clean way to *not* load
> > cont-en.xml when using mod-00 to document as user module
> > (since loading cont-en is quite slow). The current 'solution' is:
> >
> >   \usemodule[int-load]
> >   \def\simpleloadsetups{}
> >   \usemodule[mod-00]
> >
> > which is certainly not a very nice way.
>
> maybe something:
>
> \def\simpleloadsetups
>   {\doifnotmode{no-setup-main}
>      {\complexloadsetups[cont-en.xml]}}
>
> \def\complexloadsetups[#1]%
>   {\doifnotmode{no-setup-all}
>      {\startXMLmapping[zero]
>       \processXMLfilegrouped{#1}
>       \stopXMLmapping}}
>
>
> so that one can run with --mode=no-setup-main

I might be wrong here, but wouldn't it make more sense that one has to
load cont-en.xml explicitely rather than having to say explicitely
that one doesn't want to load it?

Mojca



More information about the dev-context mailing list