Hi, The attached 3-line patch should do the trick. It saves the 'current name' before calling prompt_input () and restores that value when the net result of prompt_input() is empty. This changes all cases where tex explicitly asks for a file name on the terminal, not just the one for pdf file. I think this is ok, because similar 'null file' problems appear in all cases of the keypress "<return>". On Mon, 05 Jul 2004 10:14:04 +0200, Hans wrote:
Hi,
Since we're in 'making pdftex robust' mode ...
when the pdf file cannot be written, pdftex asks for a filename; is it possible to replace en empty name (one hits return after closing the file in acroread for instance) by the 'normal' one? Now er can get funny names like .pdf and such; so:
while invalidfile asknameonconsole useoriginalname if emptyname end
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
_______________________________________________ ntg-pdftex mailing list ntg-pdftex@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-pdftex
-- groeten, Taco