ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* directory structure
@ 2012-06-08  9:36 Jan Pohanka
  2012-06-12 12:35 ` Marco
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Pohanka @ 2012-06-08  9:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-12 12:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-08  9:36 directory structure Jan Pohanka
2012-06-12 12:35 ` Marco

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).