define verb PSDVI image TEX_PS:PSDVI.EXE parameter p1,label=filespec,prompt="DVI file",value(required,type=$infile) qualifier output, value(required,type=$file) ! default is OUT.PS qualifier header, value(required,type=$file) ! default is no header qualifier pages, value(required) ! default is all pages qualifier increment, value(required,type=$number) ! default is 1 qualifier magnification, value(required,type=$number) ! default is DVI mag qualifier stats, ! default is FALSE qualifier reverse, ! default is FALSE qualifier conserve_VM, ! default is FALSE qualifier hoffset, value(required) ! default is 0 qualifier voffset, value(required) ! default is 0 qualifier units, nonnegatable,default, value(default=IN) ! IN,CM,MM,PC,PT,BP,PX qualifier resolution, nonnegatable,default, value(default=300) ! for LaserWriter qualifier xsize, nonnegatable,default, value(default=210MM) ! A4 width qualifier ysize, nonnegatable,default, value(default=297MM) ! A4 height qualifier psprefix, nonnegatable,default, value(default="ps-") qualifier tfm_directory, nonnegatable,default, value(default="disk$utils:[utilities.tex.fonts]") qualifier font_directory, nonnegatable,default, value(default="disk$utils:[utilities.tex.300pk]") qualifier dummy_font, nonnegatable,default, value(default="cmr10.300pk") ! ! The Options module automatically prefixes dummy_font with font_directory. ! The FontReader module then uses the font_directory and dummy_font values ! to decide on the location, format and naming convention of all font files. ! The above values assume you use PK files and keep them in one big directory. ! Note that the dummy_font file type has a font size equal to the resolution. ! If you are using Kellerman & Smith's old TeX system in which PXL files are ! kept in separate subdirectories then you'll need something like: ! ! qualifier font_directory, nonnegatable,default, ! value(default="tex_disk:[tex.fonts.]") ! qualifier dummy_font, nonnegatable,default, ! value(default="[1500]cmr10.pxl") ! ! Note the important differences: ! 1. The font_directory value ends with ".]". ! 2. The dummy_font value ends with "PXL". ! 3. The font size is NOT in the file type; it is the subdirectory name. ! 4. The font size = resolution * 1000 / 200. ! ! PSDVI can handle any font scheme that obeys the following rules: ! - The dummy_font value ends in either "PXL" or "PK" and all font files ! use the same coding format. ! - If the font_directory value ends in ".]" then all font files reside in ! various subdirectories of font_directory. Each subdirectory name is ! a different font size and dummy_font must start with "[fontsize]". ! - If the font_directory value does NOT end in ".]" then all font files ! reside in font_directory. Each file type begins with a font size and ! dummy_font must start with "fontname.fontsize". ! - The dummy_font value must represent an unmagnified font. Its font size ! substring matches either the resolution or (resolution * 1000 / 200). ! ! The above hackery is an attempt to cope with the various font schemes ! used by VAX/VMS TeX sites. Note that GF files are not handled; I figured ! any sites using GF files would convert them to PK files sooner or later.