CTAN update: standalone

CTAN Announcements ctan-ann at dante.de
Sat Mar 27 12:42:34 CET 2010

This should be at your local mirror within a day.

Jim Hef{}feron
Saint Michael's College


The following information was provided by our fellow contributor:

Name of contribution: standalone
Version number: v0.3
Author's name: Martin Scharrer
Summary description: Update to v0.3: Automatic sub-preamble inclusion inside the 
  main preamble
License type: lppl

Announcement text: 
This update brings some exciting new options for the
'standalone' package. Using these options the preamble code
of the sub-files can not only be skipped but extracted into
an auxiliary file (.sta) which is then loaded by the main
document during the next LaTeX run.
The body content of the sub-files is skipped during the
first run to avoid compile errors.
To avoid option clashes of loaded packages all package
option can be extracted first and predefined using

Alternatively the sub-preambles can be simply printed
(without special macros added by 'standalone') into a
different auxiliary file (.stp) for easy manual copy&paste
into the main document. If requested a list of required
packages and pgf, tikz and tikz-timing libraries can be
printed avoiding duplicates.

New macros:
  \onlyifstandalone{<code>}  Used to hide code from the
sub-preamble code extractor.
  \standaloneignore  Can be used to ignore code before the
'\documentclass' of sub-files.

This package is located at 
.  More information is at
(if the package is new it may take a day for that information to 
appear).  We are supported by the TeX Users Group http://www.tug.org .  
Please join a users group; see http://www.tug.org/usergroups.html .

More information about the Ctan-ann mailing list