Re: [NTG-context] Re: Overwritten metapost files

2004-06-01 Thread Hans Hagen
At 14:55 29/05/2004, you wrote:
Le 28 mai 04, à 21:27, Henning Hraban Ramm a écrit :
Am Freitag, 28.05.04, um 10:16 Uhr (Europe/Zurich) schrieb Nikolai Weibull:
Probably not as good a reason as I think, but yes, the reason being that
I want all texexec output to go into a separate directory.
Yes, I'd lik that idea very much too!
Sometimes, one have many (user) files in the main directory, One can
creates subdirectories for well indentified files such as figures
for all fil related to figure source (xfig, pstricks, matlab,...)
But I think all context build files (and file derived from context
like metopost files should go **by default** into a separate directory .
(but not the main output file such as myRaport.pdf !)
Did you try
texexec myfile --result=output/myfile
normally context will use a namespace for temp files (for that you need to 
set \protectbufferstrue in your local cont-sys.tex)

you can run on a separate path with
  texexec.pl --runpath=e:\tmp\oeps test.tex
(if this does not work, check texexec.pl:
sub RunFiles {
my $currentpath = cwd() ;
# test if current path is writable
if (! -w $currentpath/texexec.tmp) {
print  current path readonly : $currentpath\n;
if ($ENV[TEMP]  -e $ENV[TEMP]) {
$RunPath = $ENV[TEMP] ;
} elsif ($ENV[TMP]  -e $ENV[TMP]) {
$RunPath = $ENV[TMP] ;
}
}
# test if we need to change paths
if (($RunPath ne )  (! -w $RunPath/texexec.tmp)) {
print   changing to path : $RunPath\n;
$InpPath = $currentpath ;
chdir ($RunPath) ;
}
# start working
if ($PdfArrange) {
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: Overwritten metapost files

2004-05-29 Thread Patrick Gundlach
Hello,

 still go in the same directory as myfile, such as metapost files a .tmp
 and the .tui file.  I guess it's not that bad, but I like keeping things
 as clean as possible.  

You know about texutil --purgeall ?

Patrick
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: Overwritten metapost files

2004-05-28 Thread Nikolai Weibull
* Hans Hagen [EMAIL PROTECTED] [May 28, 2004 09:30]:
 texexec --path=.. masters-project.tex

 i suppose that you have a good reason for doing that -) you may try:

Probably not as good a reason as I think, but yes, the reason being that
I want all texexec output to go into a separate directory.  My directory
structure is basically:

thesis/ - top level project directory
thesis/includes - include files
thesis/output - where output goes
thesis/thesis - the actual thesis with chapters and so on

I don't know of a better way than to run texexec in the thesis/output
directory.

 \recycleMPslotsfalse

That didn't help, but brought me to the actual problem.  \write18 had
been disabled somehow (I don't remember reinstalling) and so when I
turned \recuclyMPslots to false it made for undefined images instead of
the same image over and over and so I figured something else was wrong
and sure enough...

Thanks for your help,
nikolai

--
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);}
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Overwritten metapost files

2004-05-28 Thread Henning Hraban Ramm
Am Freitag, 28.05.04, um 10:16 Uhr (Europe/Zurich) schrieb Nikolai 
Weibull:
Probably not as good a reason as I think, but yes, the reason being 
that
I want all texexec output to go into a separate directory.  My 
directory
Did you try
texexec myfile --result=output/myfile
?

Grüßlis vom Hraban!
--
http://www.fiee.net/texnique/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context