public inbox for docbook-tools-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Christian Marillat <marillat.christian@wanadoo.fr>
To: docbook-tools-discuss@sources.redhat.com
Subject: Name of temporary files causes erratic behaviour
Date: Fri, 20 Dec 2002 19:23:00 -0000	[thread overview]
Message-ID: <87n0nj44gk.fsf@falcon.wanadoo.fr> (raw)

Hi,

http://bugs.debian.org/171985

/usr/share/sgml/docbook/utils-0.6.12/backends/dvi contains this part:

-----------------------------------------------------------------------------
[...]
# Convert from TeX to DVI
jadetex ${SGML_FILE_NAME}.tex >${SGML_FILE_NAME}.out
if [ $? -ne 0 ]
then
  cat ${SGML_FILE_NAME}.out
  rm ${SGML_FILE_NAME}.out
  rm ${SGML_FILE_NAME}.tex
  exit 2
fi
rm ${SGML_FILE_NAME}.out
[...]
-----------------------------------------------------------------------------

Since (jade)tex for some reason uses the foo.out file for itself, tex
tries to read it and unsurprisingly stumbles over it, since this dvi
script redirects log output to it (line 2 above).

The erratic behaviour goes away immediately if I replace all '.out'
occurences in the dvi script by something else, e.g. '.out1'.

WARNING: multiple messages have this Message-ID
From: Christian Marillat <marillat.christian@wanadoo.fr>
To: docbook-tools-discuss@sources.redhat.com
Subject: Name of temporary files causes erratic behaviour
Date: Fri, 06 Dec 2002 06:17:00 -0000	[thread overview]
Message-ID: <87n0nj44gk.fsf@falcon.wanadoo.fr> (raw)
Message-ID: <20021206061700.7w4x-HtPwLc7tPcAPSUEBbAaKV9MRxDE-DqSaVR-ZvQ@z> (raw)

Hi,

http://bugs.debian.org/171985

/usr/share/sgml/docbook/utils-0.6.12/backends/dvi contains this part:

-----------------------------------------------------------------------------
[...]
# Convert from TeX to DVI
jadetex ${SGML_FILE_NAME}.tex >${SGML_FILE_NAME}.out
if [ $? -ne 0 ]
then
  cat ${SGML_FILE_NAME}.out
  rm ${SGML_FILE_NAME}.out
  rm ${SGML_FILE_NAME}.tex
  exit 2
fi
rm ${SGML_FILE_NAME}.out
[...]
-----------------------------------------------------------------------------

Since (jade)tex for some reason uses the foo.out file for itself, tex
tries to read it and unsurprisingly stumbles over it, since this dvi
script redirects log output to it (line 2 above).

The erratic behaviour goes away immediately if I replace all '.out'
occurences in the dvi script by something else, e.g. '.out1'.

             reply	other threads:[~2002-12-06 14:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-20 19:23 Christian Marillat [this message]
2002-12-06  6:17 ` Christian Marillat

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=87n0nj44gk.fsf@falcon.wanadoo.fr \
    --to=marillat.christian@wanadoo.fr \
    --cc=docbook-tools-discuss@sources.redhat.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).