Re: [NTG-context] \AtBeginDocument
On Sun, 13 Jun 2004, Hans Hagen Outside wrote: > hm, starttext is called anyway so it should work with product as well Indeed, I saw this in the definition of \startproduct. Now I know, why it does not work here: in my example (see below), \startproduct is called before the environment is read in. file env.tex: \startenvironment env \appendtoks\def\TestIt{test}\to\everystarttext \stopenvironment file proj.tex: \startproject proj \environment env \product prod \stopproject file prod.tex: \startproduct prod \project proj Test it: \TestIt \stopproduct Doesn't matter, I'll find other solutions for my purposes. > >P.S.: Unfortunately, it is quite hard to browse the core-*.tex files, > >because of the mix of 2 languages... Are the non-english user-interfaces > >really used? > > > sure, i use it, esp for dutch books (styles) Excuse me, in fact it was a silly question. Cheers, Peter -- http://pmrb.free.fr/contact/ _ FilmSearch engine: http://f-s.sf.net/ ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \AtBeginDocument
Peter Münster wrote: \let\startproductO=\startproduct \def\startproduct{something\startproductO} ? hm, starttext is called anyway so it should work with product as well you code is wrong, think about something (untested): \let\petermunstersstartproduct\startproduct \def\startproduct{something\let\startproduct\petermunstersstartproduct\startproduct} Peter P.S.: Unfortunately, it is quite hard to browse the core-*.tex files, because of the mix of 2 languages... Are the non-english user-interfaces really used? sure, i use it, esp for dutch books (styles) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \AtBeginDocument
On Fri, 11 Jun 2004, Hans Hagen wrote: > Peter Münster wrote: > > >Hello, > > > >is there something in ConTeXt like the \AtBeginDocument in LaTeX ? > > > > > \appendtoks > something > \to \everystarttext > > could work In fact, I'm looking for something, that also works for startproduct. Seems to work only for starttext. Perhaps, I could do something like this: \let\startproductO=\startproduct \def\startproduct{something\startproductO} ? Peter P.S.: Unfortunately, it is quite hard to browse the core-*.tex files, because of the mix of 2 languages... Are the non-english user-interfaces really used? -- http://pmrb.free.fr/contact/ _ FilmSearch engine: http://f-s.sf.net/ ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \AtBeginDocument
Peter Münster wrote: Hello, is there something in ConTeXt like the \AtBeginDocument in LaTeX ? \appendtoks something \to \everystarttext could work ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] \AtBeginDocument
Hello, is there something in ConTeXt like the \AtBeginDocument in LaTeX ? Peter -- http://pmrb.free.fr/contact/ _ FilmSearch engine: http://f-s.sf.net/ ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context