From: "Boris Pedrofiets" <pedrofiets@hotmail.com>
Subject: Re: using 1 layout on several documents
Date: Fri, 30 Sep 2005 15:08:35 +0200 [thread overview]
Message-ID: <BAY24-F30DE67DD44CE0B63E11E1CE8F0@phx.gbl> (raw)
In-Reply-To: <433D25A5.6050505@gmx.net>
Thank you Peter!
Just wondering...
Looking at the files s-mg-01.tex and mag-0000.tex from the context
distribution, there is a different approach. Here I find \usemodule.
What are the differences? And, when use with? Or is it just a metter of
taste?
Boris.
>From: Peter Rolf <indiego@gmx.net>
>Reply-To: mailing list for ConTeXt users <ntg-context@ntg.nl>
>To: mailing list for ConTeXt users <ntg-context@ntg.nl>
>Subject: Re: [NTG-context] using 1 layout on several documents
>Date: Fri, 30 Sep 2005 13:46:45 +0200
>
>Hi Boris,
>
>Boris Pedrofiets wrote:
> > Hi,
> >
> > I made a layout that I want to use for several documents. What is the
> > best way to handle this, without placing a copy of the layout
> > description in every file?
> >
>Simply use an environment (file).
>
>Something like...
>
>[content of file 'env-mylayout.tex']
>--------
>\startenvironment env-mylayout
>
>....your layout settings....
>
>\stopenvironment
>--------
>
>
>Then put the file somewhere in the tex-path
>(??/texmf/texmf-local/tex/context/user/ is a good place) and call
>texhash/mktexlsr(!), so that context can find it;
>
>Now you can use your layout settings by just typing
>
>\environment env-mylayout
>
>at the beginning of your document (before \starttext).
>
>If the environment is not already defined, then context tries to load a
>file with the same name as the environment name (environment foo -->
>foo.tex). I just use the prefix 'env-' to seperate the env. files from
>the rest in this folder (typescripts, modules, ...).
>
>Hope that helps,
>
>Peter
>
> > Thanks for helping!
> >
> > Boris
> >
> > _________________________________________________________________
> > Vind alles terug op je PC: MSN Search Toolbar http://toolbar.msn.nl/
> >
> > _______________________________________________
> > ntg-context mailing list
> > ntg-context@ntg.nl
> > http://www.ntg.nl/mailman/listinfo/ntg-context
> >
> >
>
>_______________________________________________
>ntg-context mailing list
>ntg-context@ntg.nl
>http://www.ntg.nl/mailman/listinfo/ntg-context
_________________________________________________________________
Nieuw op MSN Messenger 7.5: Dynamische achtergronden
http://www1.imagine-msn.com/Messenger/Audio.aspx
next prev parent reply other threads:[~2005-09-30 13:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-30 10:50 Boris Pedrofiets
2005-09-30 11:46 ` Peter Rolf
2005-09-30 13:08 ` Boris Pedrofiets [this message]
2005-09-30 14:57 ` Peter Rolf
2005-10-01 20:06 ` Modules how? Boris Pedrofiets
2005-10-02 8:09 ` Taco Hoekwater
2005-10-02 16:58 ` Boris Pedrofiets
2005-10-02 17:53 ` Christopher Creutzig
2005-10-02 20:05 ` using 1 layout on several documents Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BAY24-F30DE67DD44CE0B63E11E1CE8F0@phx.gbl \
--to=pedrofiets@hotmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).