CTAN Comprehensive TeX Archive Network

CTAN update: standalone

Date: March 27, 2010 7:42:34 AM CET
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 '\PassOptionsToPackage'. 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 http://tug.ctan.org/tex-archive/macros/latex/contrib/standalone . More information is at http://tug.ctan.org/pkg/standalone (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 .

standalone – Compile pictures stand-alone or as part of a document

A class and package is provided which allows pictures or other code to be compiled standalone or as part of a main document. Special support for pictures with beamer overlays is also provided.

The package is used in the main document and skips extra preambles in sub-files. The class may be used to simplify the preamble in sub-files. By default the preview package is used to display the typeset code without margins.

The behaviour in standalone mode may adjusted using a configuration file standalone.cfg to redefine the standalone environment.

Version1.3b 2022-10-10
Copyright2010–2022 Martin Scharrer
MaintainerMartin Scharrer



Guest Book Sitemap Contact Contact Author