* the --path option
@ 2021-06-22 18:56 juh
2021-06-22 19:22 ` juh
0 siblings, 1 reply; 2+ messages in thread
From: juh @ 2021-06-22 18:56 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 634 bytes --]
Hi all,
in my document I have to set a long path to my environment files:
\environment ../../../hs.pub.context/env-fonts
I wonder if I can use the option --path to set hs.pub.context as input
folder to look for environment files.
But I have no idea how to pass a "list" to this option as --help tells, and if it is the
right option to achieve what I want.
TIA
Jan Ulrich Hasecke
--
Autoren-Homepage: ......... http://literatur.hasecke.com
Satiren & Essays: ......... http://www.sudelbuch.de
Privater Blog: ............ http://www.hasecke.eu
Netzliteratur-Projekt: .... http://www.generationenprojekt.de
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: the --path option
2021-06-22 18:56 the --path option juh
@ 2021-06-22 19:22 ` juh
0 siblings, 0 replies; 2+ messages in thread
From: juh @ 2021-06-22 19:22 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 798 bytes --]
Hi all,
to answer the question myself is: yes --path is the right option.
I wrote a build script that calls context inside a deep nested directory
like this:
context --path="${environmentdir}" --result=${project}.pdf ${project}.tex
The variable ${environmentdir} is created by the script. Everything
works fine.
But now I would like to use a second path variable in a style file
instead of this long relative path:
\setupexternalfigures[directory={../../../hs.pub.bilder},local]
Any idea how to achieve this?
TIA
Jan Ulrich Hasecke
--
Autoren-Homepage: ......... http://literatur.hasecke.com
Satiren & Essays: ......... http://www.sudelbuch.de
Privater Blog: ............ http://www.hasecke.eu
Netzliteratur-Projekt: .... http://www.generationenprojekt.de
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-22 19:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-22 18:56 the --path option juh
2021-06-22 19:22 ` juh
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).