Reinhard Kotucha wrote:
"Hans" == Hans Hagen
writes: Hi, how about
\pdfinput {filename} \pdfopenin {filename} \pdfopenout {filename}
Hi, if you provide new primitives, it would be nice to have a switch which forces \pdfopenout to create a file with the name <filename>.
It's quite annoying that `\openout\x=Makefile' creates a file `Makefile.tex'.
As far as \input and \openin is concerned, Knuth's rule is clear (first search for <filename> and then for <filename>.tex). This is ok, but kpathsea's search strategy is wrong.
you can influence that in the texmf.cnf file allow_multiple_suffixes = f otherwise you will get searches for reinhard.kotucha.tex first if you ask for reinhard.kotucha explicitly (years ago, when i was running tex over a network i noticed that this was slowing down tex a lot and then fabrice made that option) 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 -----------------------------------------------------------------