ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "luigi scarso" <luigi.scarso@gmail.com>
To: janerik.hagglof@bredband.net,
	 "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: context minimals "path and directory structure" question
Date: Mon, 20 Oct 2008 11:16:22 +0200	[thread overview]
Message-ID: <fe8d59da0810200216n14c26fc9mdb6326883c097288@mail.gmail.com> (raw)
In-Reply-To: <1224490412.5955.21.camel@lundby>


[-- Attachment #1.1: Type: text/plain, Size: 1262 bytes --]

On Mon, Oct 20, 2008 at 10:13 AM, Jan-Erik Hägglöf <
janerik.hagglof@bredband.net> wrote:

> Hello!
>
> I'm using  context-minimal version: 2008.10.01 19:13

ok, I suppose that you are using first-setup.sh
and
. setuptext

> and have a
> generally question.
>
> I'm writing several documents with similar structure and design and have
> collected all common settings in "settings.tex" like following:
>
> \startenvironment settings
> ...
> ...
> ...
> \stopenvironment
>
> and just do the usual invoking by
>
> in
>
> anything.tex
>
> \environment settings
>
> \starttext
> ...
> ...
> ...
> \stoptext
>
> I've installed the "minimals" structure in /home/$USER/context/... on my
> ubuntu 8.04 machine.
>
> Now to the question:
>
> Where in this "structure" do I place "settings.tex" so it can be found
> by context from anywhere in my document-structure?
>
 tex/texmf-local/tex/context/user
can be a good place


> I suppose I should do something like "context --make" after placing the
> file. If I do the usual upgrade what happens then?
>
first-setup.sh  should not delete your files.

context --generate
context --make
are "safe "
(well, one can always write a malicius tex file that overwrite
tex/texmf-local/tex/context/user/settings.tex ...)

-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 2091 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2008-10-20  9:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-20  8:13 Jan-Erik Hägglöf
2008-10-20  9:16 ` luigi scarso [this message]
2008-10-20 11:16 ` Mojca Miklavec
2008-10-20 13:18 ` Aditya Mahajan

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=fe8d59da0810200216n14c26fc9mdb6326883c097288@mail.gmail.com \
    --to=luigi.scarso@gmail.com \
    --cc=janerik.hagglof@bredband.net \
    --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).