[NTG-pdftex] input

Hans Hagen pragma at wxs.nl
Sat Jul 2 16:12:55 CEST 2005


Reinhard Kotucha wrote:
>>>>>>"Hans" == Hans Hagen <pragma at wxs.nl> 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'.

how about instead of a switch an extra:

\pdfopenoutfile {filename}

that does not add the suffix; that way one can also say:

\let\pdfopenout\pdfopenoutfile

in order to loose the auto .tex appending

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
-----------------------------------------------------------------



More information about the ntg-pdftex mailing list