[ pdftex-Patches-746 ] Patch PromptFileName
![](https://secure.gravatar.com/avatar/adfff96f4299fb3ee3b199b06eea68da.jpg?s=120&d=mm&r=g)
Patches item #746, was opened at 2007-03-07 17:41
You can respond by visiting:
http://sarovar.org/tracker/?func=detail&atid=495&aid=746&group_id=106
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Heiko Oberdiek (oberdiek)
Assigned to: Nobody (None)
Summary: Patch PromptFileName
Initial Comment:
Subject: Patch PromptFileName
Date: 2007/03/07
Author: Heiko Oberdiek
The patches are based on pdfTeX 1.40.3
There is some discussion in the tex-live list:
List: tex-live@tug.org
Date: March 2007
Subject: Bug in TexLive 2005 and 2007? Non-writable
aux-file
If TeX asks for a file name, what action should be
taken, if the user doesn't provide a file name?
The current behaviour has changed from Web2C 7.5.2
to 7.5.6 and is quite impredictible:
* Append some default extension if file extension
is not given.
* Use previous file name part, if this part is empty.
Sometimes this behaves as "retry action" by chance,
sometimes a source file gets overwritten.
Two patches are provided that implement alternative
actions:
* Retry.diff
If the user doesn't specify a file name, then
the whole previous file name is used including
the area and extension parts.
* Abort.diff
If the user doesn't specify a file name, then
the job is aborted. Unhappily Ctrl-C (or Ctrl-D)
have only a retarded effect after the file name
is used again (and eventually causing harm).
This is a clean way to end the job even if there
isn't a valid file name to provide.
Both files patches web2c/texk/tex.ch. Of course they
cannot be used at the same time.
And both patches also show the default name extension,
when the user is prompted for a file name.
Have fun,
Heiko
participants (1)
-
noreply@sarovar.org