From: "Jan Pohanka" <xhpohanka@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: directory structure
Date: Fri, 08 Jun 2012 11:36:20 +0200 [thread overview]
Message-ID: <op.wfkvmul8yxxkfz@pohanka-pc> (raw)
Hello,
here's next of my newbie questions.
I have a template for some sort of documents, lets say a report in one
file as an environment. It contains also a definition for a footer with an
image. I'd like to have the image on some other path than documents
together with the template so I have to use \setupexternalfigures, but is
it possible to specify a path independently of the env file and document
file location. I mean some kind of global variable $TEMPLATES_DIR.
Is it also possible to set some global path, where context will search the
env files and not to use the full path in document file? Is enviroment
good aproach to define templates? I have read Han's document about project
structure, but it does something a bit different I think.
template file in some directory on the system:
\startenvironment myreport
...
\setupexternalfigures[directory=???]
\setupfootertexts[{\externalfigure[mypic]}]
...
\stopenvironment
document file in some other directory:
\enviroment myreport
\starttext
\stoptext
best regards
Jan
--
Tato zpráva byla vytvořena převratnou poštovní aplikací Opery:
http://www.opera.com/mail/
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2012-06-08 9:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-08 9:36 Jan Pohanka [this message]
2012-06-12 12:35 ` Marco
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=op.wfkvmul8yxxkfz@pohanka-pc \
--to=xhpohanka@gmail.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).