* Overwritten metapost files
@ 2004-05-27 15:47 Nikolai Weibull
2004-05-27 20:48 ` Hans Hagen
0 siblings, 1 reply; 10+ messages in thread
From: Nikolai Weibull @ 2004-05-27 15:47 UTC (permalink / raw)
How was it one avoided getting metapost overwritten? I have two
metapost graphics in a .tex file defined by \startreusableMPgraphic and
the first one gets overwritten by the second when running
texexec --path=.. masters-project.tex
Thanks,
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);}
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Overwritten metapost files
2004-05-27 15:47 Overwritten metapost files Nikolai Weibull
@ 2004-05-27 20:48 ` Hans Hagen
2004-05-28 8:16 ` Nikolai Weibull
0 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2004-05-27 20:48 UTC (permalink / raw)
At 17:47 27/05/2004, you wrote:
>How was it one avoided getting metapost overwritten? I have two
>metapost graphics in a .tex file defined by \startreusableMPgraphic and
>the first one gets overwritten by the second when running
>
> texexec --path=.. masters-project.tex
i suppose that you have a good reason for doing that -) you may try:
\recycleMPslotsfalse
Hans
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Overwritten metapost files
2004-05-27 20:48 ` Hans Hagen
@ 2004-05-28 8:16 ` Nikolai Weibull
2004-05-28 19:27 ` Henning Hraban Ramm
0 siblings, 1 reply; 10+ messages in thread
From: Nikolai Weibull @ 2004-05-28 8:16 UTC (permalink / raw)
* Hans Hagen <pragma@wxs.nl> [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);}
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Re: Overwritten metapost files
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 12:55 ` Maurice Diamantini
0 siblings, 2 replies; 10+ messages in thread
From: Henning Hraban Ramm @ 2004-05-28 19:27 UTC (permalink / raw)
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/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Re: Overwritten metapost files
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 12:55 ` Maurice Diamantini
1 sibling, 1 reply; 10+ messages in thread
From: Nikolai Weibull @ 2004-05-29 9:36 UTC (permalink / raw)
* Henning Hraban Ramm <hraban@fiee.net> [May 29, 2004 11:11]:
> Did you try
> texexec myfile --result=output/myfile
Yes, I began with that, but the problem is that a lot of files will
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. Perhaps I'm being a bit unreasonable though,
cause having the directory structure that I do complicates some stuff
(such as includes),
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);}
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Overwritten metapost files
2004-05-29 9:36 ` Nikolai Weibull
@ 2004-05-29 9:47 ` Patrick Gundlach
2004-05-29 10:01 ` Nikolai Weibull
0 siblings, 1 reply; 10+ messages in thread
From: Patrick Gundlach @ 2004-05-29 9:47 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Overwritten metapost files
2004-05-29 9:47 ` Patrick Gundlach
@ 2004-05-29 10:01 ` Nikolai Weibull
2004-05-29 10:11 ` Patrick Gundlach
0 siblings, 1 reply; 10+ messages in thread
From: Nikolai Weibull @ 2004-05-29 10:01 UTC (permalink / raw)
* Patrick Gundlach <pg@levana.de> [May 29, 2004 11:50]:
> You know about texutil --purgeall ?
No. It seems it's called --purge on my machine, but it seems to do what
you're suggesting :-). Perhaps this is a better solution actually.
Thanks,
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);}
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Overwritten metapost files
2004-05-29 10:01 ` Nikolai Weibull
@ 2004-05-29 10:11 ` Patrick Gundlach
0 siblings, 0 replies; 10+ messages in thread
From: Patrick Gundlach @ 2004-05-29 10:11 UTC (permalink / raw)
Hi,
>> You know about texutil --purgeall ?
>
> No. It seems it's called --purge on my machine, but it seems to do what
> you're suggesting :-). Perhaps this is a better solution actually.
well, newer versions of texutil has purgeall; search the mailing list
archive if you need to find out the exact date when it changed.
Patrick
PS: mine is:
TeXUtil 8.2 - ConTeXt / PRAGMA ADE 1992-2004
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Re: Overwritten metapost files
2004-05-28 19:27 ` Henning Hraban Ramm
2004-05-29 9:36 ` Nikolai Weibull
@ 2004-05-29 12:55 ` Maurice Diamantini
2004-06-01 18:45 ` Hans Hagen
1 sibling, 1 reply; 10+ messages in thread
From: Maurice Diamantini @ 2004-05-29 12:55 UTC (permalink / raw)
Cc: Maurice Diamantini
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
>
Maurice Diamantini
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Re: Overwritten metapost files
2004-05-29 12:55 ` Maurice Diamantini
@ 2004-06-01 18:45 ` Hans Hagen
0 siblings, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2004-06-01 18:45 UTC (permalink / raw)
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) {
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2004-06-01 18:45 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-27 15:47 Overwritten metapost files 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 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).