[NTG-pdftex] [ pdftex-Patches-746 ] Patch PromptFileName

noreply at sarovar.org noreply at sarovar.org
Sat Mar 10 23:57:29 CET 2007


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: User interaction
>Group: v1.40.0
Status: Open
>Resolution: Postponed
Priority: 5
Submitted By: Heiko Oberdiek (oberdiek)
>Assigned to: Martin Schröder (oneiros)
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 at 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 <oberdiek at uni-freiburg.de>


----------------------------------------------------------------------

>Comment By: Martin Schröder (oneiros)
Date: 2007-03-10 23:57

Message:
Logged In: YES 
user_id=421

Both patches are interesting, but we should wait for further
discussion on tex-implementors etc.

----------------------------------------------------------------------

You can respond by visiting: 
http://sarovar.org/tracker/?func=detail&atid=495&aid=746&group_id=106


More information about the ntg-pdftex mailing list