ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: ecashin@coe.uga.edu (Ed L. Cashin)
Cc: Taco Hoekwater <taco.hoekwater@wkap.nl>, ntg-context@ntg.nl
Subject: Re: temp file name conflicts in unattended document generation
Date: 04 Nov 1999 10:09:00 -0500	[thread overview]
Message-ID: <m33dumthtf.fsf@kali.coe.uga.edu> (raw)
In-Reply-To: <38213CFC.53BB@wxs.nl>

Hans Hagen <pragma@wxs.nl> writes:

> In the current/next release when one says \protectbufferstrue in for
> instance cont-sys.tex, temporary files will be prefixed. The
> protection concerns the utility file copy, used to determine if more
> runs are needed, the buffers used in a run and in figure inclusion
> (put a table in a buffer and include it as 'external' figure and you
> can scale etc like any figure), mpgraphics, mprun (a different kind
> of graphics), and --still undocument but very well present-- the
> context_to_mp status info file, which makes it possible to set up
> page backgrounds spanning/combining areas, etc. Especially handling
> the mp files is important, because in a next release I will
> introduce extensive embedded graphic support, acting on graphic
> layers etc. Of course the texexec option file is also protected now.

I am really looking forward to learning to use those features.  I
think that some of them are documented in some presentation papers
by Hans Hagen that I read a long time ago.  

> Now, prefixing is handled low level by: 
> 
> \def\bufferprefix%
>   {\ifprotectbuffers\jobname-\fi}
> 
> Technically, I can let texexec redefine this macro in the option file.
> The best place for specifying the alternative prefix is probably the
> texexec.ini file. Something: 
> 
>   for tetex set TeXScratchPath to /var/tmp/$client-id
> 
> or so. which would result in 
> 
>   print OPT "\\def\\bufferprefix{/var/tmp/$client-id/\n"
> 
> (of course I have to resolve the id first). 
> 
> This would at least provide a decent cleanup method. Now, how is this on
> windows? 

It seems like any hard-coded value for a temp directory is bound to
cause problems.  

-- 
--Ed Cashin                     PGP public key:
  ecashin@coe.uga.edu           http://www.coe.uga.edu/~ecashin/pgp/


  parent reply	other threads:[~1999-11-04 15:09 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-01 19:16 Ed L. Cashin
1999-11-01 22:30 ` Hans Hagen
1999-11-02 11:04   ` Wybo Dekker
1999-11-02 12:53     ` Gilbert van den Dobbelsteen
1999-11-02 15:45       ` Taco Hoekwater
1999-11-03 19:50       ` Ed L. Cashin
1999-11-04  9:15         ` Gilbert van den Dobbelsteen
1999-11-02 10:03 ` Taco Hoekwater
1999-11-03 19:50   ` Ed L. Cashin
1999-11-04  7:59     ` Hans Hagen
1999-11-04 10:13       ` Taco Hoekwater
1999-11-04 15:09       ` Ed L. Cashin [this message]
1999-11-04 16:31         ` Hans Hagen
1999-11-05 14:49           ` Ed L. Cashin
1999-11-05 19:03             ` Hans Hagen
1999-11-05 19:55             ` Hans Hagen
1999-11-08 16:53               ` Ed L. Cashin
1999-11-09  9:27                 ` Hans Hagen

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=m33dumthtf.fsf@kali.coe.uga.edu \
    --to=ecashin@coe.uga.edu \
    --cc=ntg-context@ntg.nl \
    --cc=taco.hoekwater@wkap.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).