[texhax] \input command under Linux

Uwe Lueck uwe.lueck at web.de
Tue May 4 19:34:42 CEST 2010


Heiko Oberdiek <heiko.oberdiek at googlemail.com> wrote at 04.05.2010 15:56:07
>* It's easy to make a package (assuming you are working with LaTeX):

With plain TeX, package management can be established with ctan.org/pkg/miniltx, 
only ...

>\NeedsTeXFormat{LaTeX2e}
>\ProvidesPackage{AAMacros}[2010/05/04 Private macros]
>% contents of AAMacros follows
>\endinput
>
>  With the name `AAMacros.sty' then it can be loaded via
>\usepackage{AAMacros}

\RequirePackage{AAMacros} with miniltx

HTH -- Uwe.

>  Benefits:
>  * Version information
>  * Possibility to use options. For example, options
>    can be added for draft or print settings.
>  * Via \RequirePackage{AAMacros} the package can be used
>    in other classes or packages. LaTeX takes care that the
>    package is loaded once only.


More information about the texhax mailing list