ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Re: Overwritten metapost files
Date: Tue, 01 Jun 2004 20:45:35 +0200	[thread overview]
Message-ID: <6.1.1.1.2.20040601204316.07d63500@server-1> (raw)
In-Reply-To: <7098E32A-B16F-11D8-A653-000A95C38698@ensta.fr>

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

      reply	other threads:[~2004-06-01 18:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-27 15:47 Nikolai Weibull
2004-05-27 20:48 ` Hans Hagen
2004-05-28  8:16   ` Nikolai Weibull
2004-05-28 19:27     ` Henning Hraban Ramm
2004-05-29  9:36       ` Nikolai Weibull
2004-05-29  9:47         ` Patrick Gundlach
2004-05-29 10:01           ` Nikolai Weibull
2004-05-29 10:11             ` Patrick Gundlach
2004-05-29 12:55       ` Maurice Diamantini
2004-06-01 18:45         ` Hans Hagen [this message]

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=6.1.1.1.2.20040601204316.07d63500@server-1 \
    --to=pragma@wxs.nl \
    --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).