.AP .NOFLAGS ACCEPT .NONUMBER .LITERAL 1 RNOTOTEX $ RNOTOTEX[ /qualifier] RNO-FILE-SPEC TEX-FILE-SPEC .END LITERAL .LM+2 Reads a Digital Standard Runoff format file and creates the LaTeX equivalent. .LM-2 .LITERAL 2 Parameters RNO-FILE-SPEC .END LITERAL .LM+2 ... is the name of the input DSR format file. The default type is .RNO. .LITERAL TEX-FILE-SPEC .END LITERAL ... is the name of the output TEX file spec. The default type is .TEX. .LM-2 .LITERAL 2 Command-Qualifiers /TEX /TEX .END LITERAL .LM+2 Preserve embedded TeX and LaTeX commands in the input DSR file. Any commands found are copied directly to the output .TEX file. The default is /NOTEX. .LM-2 .LITERAL 2 Example .END LITERAL .LM+2 The following DCL commands convert the DSR file FOO.RNO to FOO.TEX and prints the LN3 file on the LN03. The log of the conversion is also printed and deleted. .LITERAL $ RNOTOTEX FOO.RNO FOO.TEX $ LATEX/BATCH FOO.TEX $ DVI2LN3 FOO.DVI $ PRINT/FORM=TEX FOO.LN3 $ PRINT/DELETE RNOTOTEX.LOG .END LITERAL Note that there isn't a one-to-one mapping of DSR commands to LaTeX commands and that more LaTeX text fits on a page than a RUNOFF file. The first output may be messy! The output .TEX file must be edited after examining the first printing. It may take a few tries to get the output that you want. The program was designed for those familiar with both LaTeX and DSR and would like to upgrade older documents to LaTeX format. ALGOODDSRCOMMANDS,']'); WRITELN(LOG,'[TOTAL BAD DSR COMMA