(a2ps.info)TeXScript


Prev: PreTeX Up: Type Setting Style Sheets
Enter node , (file) or (file)node

7.3.4 TeXScript
---------------

'TeXScript' is a replacement of the old version of 'PreScript': it
combines both the a2ps-like and the LaTeX-like syntaxes through
inheritance of both 'PreScript' and 'PreTeX'.

   In addition it provides commands meant to ease processing of file for
a2ps by LaTeX.

   Everything between '%%TeXScript:skip' and '%%TeXScript:piks' will be
ignored in 'TeXScript', so that there can be inserted command
definitions for LaTeX exclusively.

   The commands '\textbi' (for bold-italic) and '\textsy' (for symbol)
do not exist in LaTeX.  They should be defined in the preamble:

     %%TeXScript:skip
     \newcommand{\textbi}[1]{\textbf{\textit{#1}}}
     \newcommand{\textsy}[1]{#1}
     %%TeXScript:piks

   There is no way in TeXScript to get an automatic numbering.  There is
no equivalent to the LaTeX environment 'enumerate'.  But every command
beginning by '\text' is doubled by a command beginning by '\magic'.
a2ps behaves the same way on both families of commands.  Hence, if one
specifies that arguments of those functions should be ignored in the
preamble of the LaTeX document, the numbering is emulated.  For instance
     \begin{enumerate}
     \magicbf{1.}\item First line
     \magicbf{2.}\item Second line
     \end{enumerate}

will be treated the same way both in TeXScript and LaTeX.

   '\header' and '\footer', are not understood by LaTeX.


automatically generated by info2www version 1.2.2.9