Hi. Who's familiar with initialisation file loading order? I define some generic formatting options in cont-loc (because it's loaded by default, it doesn't get overwritten, and I use it on several machines). I successfully use them by adding a command at the start of tex source files. I'd like them to be choose-able for any file from the command line with (I presume) a mode. I've tried this in cont-loc and cont-sys, but it doesn't have an effect. \doifmode {atl} {\LocalSetup[interaction,sansheadings]} Where should I put it? Is it maybe a grouping issue? -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay atl@comp.lancs.ac.uk Computing Dept, Lancaster University +44(0)1524/594.537 Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
At 12:35 10/02/2004, you wrote:
\doifmode {atl} {\LocalSetup[interaction,sansheadings]}
Where should I put it?
normally, in your cont-sys.tex, or, in cont-sys.tex load a file with your local preferences an alternative is: \prependtoks \readfile{myfile}{}{} \to \everystarttext in cont-sys.tex and put your settings in myfile Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE/POD/CTS Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
Thanks. The \doifmode as one of the tokens to prepend seems to work! adam Hans Hagen said this at Tue, 10 Feb 2004 15:12:47 +0100:
At 12:35 10/02/2004, you wrote:
\doifmode {atl} {\LocalSetup[interaction,sansheadings]}
Where should I put it?
normally, in your cont-sys.tex, or, in cont-sys.tex load a file with your local preferences
an alternative is:
\prependtoks \readfile{myfile}{}{} \to \everystarttext
in cont-sys.tex and put your settings in myfile
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay atl@comp.lancs.ac.uk Computing Dept, Lancaster University +44(0)1524/594.537 Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
participants (2)
-
Adam Lindsay
-
Hans Hagen