* load order?
@ 2004-02-10 11:35 Adam Lindsay
2004-02-10 14:12 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Adam Lindsay @ 2004-02-10 11:35 UTC (permalink / raw)
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
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: load order?
2004-02-10 11:35 load order? Adam Lindsay
@ 2004-02-10 14:12 ` Hans Hagen
2004-02-12 14:39 ` Adam Lindsay
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2004-02-10 14:12 UTC (permalink / raw)
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
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: load order?
2004-02-10 14:12 ` Hans Hagen
@ 2004-02-12 14:39 ` Adam Lindsay
0 siblings, 0 replies; 3+ messages in thread
From: Adam Lindsay @ 2004-02-12 14:39 UTC (permalink / raw)
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
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-02-12 14:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-10 11:35 load order? Adam Lindsay
2004-02-10 14:12 ` Hans Hagen
2004-02-12 14:39 ` Adam Lindsay
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).