MWDVI

Section: User Commands (1)
Updated: LOCAL
Index Return to Main Contents
 

NAME

mwdvi - convert Macwrite files to dvi format  

SYNOPSIS

mwdvi [ options ] file1 [file2 ...]  

DESCRIPTION

mwdvi converts files, which should be in Macwrite format (version 3), to TeX dvi format. There are a several popular programs (such as IMAGEN's dviimp(1) program) that can be used to print files in this format on a high quality electronic printer.

In order to use mwdvi, the macwrite document must be saved with its rulers and font information intact (not as TEXT ONLY) then transferred to the host system (see macget(1)).

Mwdvi will convert the macwrite document into dvi format and optionally submit the resultant file to dviimp(1) for printing on an electronic printer.

Mwdvi assumes that the file is to be printed using the TeX cmr fonts and substitutes Computer Modern Roman for all plain Macintosh fonts, Computer Modern Bold for all bold Macintosh fonts and Computer Modern Italic for all italic Macintosh fonts, at the appropriate point sizes. Since the fonts used to print the document are different from those used when viewing the document in macwrite, the spacing may come out somewhat differently. The spacing will be proportional, but probably not quite the same.

If a different mapping is desired, a font substitution file can be constructed using the following format:

        macfontname [style] [pt size] -> texfontname [targ pt]

Where macfontname can be any of system, application, geneva, new_york, toronto, monaco, venice, london, athens, or san_fran, or a decimal number indicating the Macintosh internal number of the font to be substituted, style can be any of plain, bold, or italic, pt size is the size to be replaced, texfontname is the TeX font with which this font should be replaced, and targ pt is the point size at which the new font should be used.

For example:

        london bold 12 -> cmb10 12

The name of the substitution file can be specified in the environment variable "MACFONTS" or with a command line option (that overrides any environment variable setting).

The options are:

-p
Causes the output to be submitted to dviimp and spooled for printing on an IMAGEN printer. If no target printer is specified, the value of the PRINTER environment variable is assumed to be the target printer.
-Pprinter
Causes the indicated printer to be used for spooling of mwdvi output.
-o
Causes the dvi file output by mwdvi to be put into the file named as the next argument.
-s
Causes the file named by the next argument to be used as the name of the file that is to direct font substitutions.
-v
Causes mwdvi to operate in a verbose fashion, producing lots of interesting output.

If spooling is requested and no target file is indicated, mwdvi will use a temporary file for the duration of the program.

 

FILES

/usr/lib/font/imagen/tfm/* -- description of host resident fonts.  

SEE ALSO

macget(1), dviimp(1), lpr(1)  

BUGS

Pictures, decimal tabs, and header/footer icons are not currently supported.  

AUTHOR

Douglas Orr - University of Michigan EECS dept.


 

Index

NAME
SYNOPSIS
DESCRIPTION
FILES
SEE ALSO
BUGS
AUTHOR

This document was created by man2html, using the manual pages.
Time: 04:48:29 GMT, December 24, 2024