CTAN Comprehensive TeX Archive Network

CTAN update: extract

Date: September 18, 2019 7:07:53 PM CEST
Hendri Adriaens submitted an update to the extract package. Version number: 1.9 License type: lppl1.3 Summary description: Extract parts of a document and write to another document Announcement text:
Made \begin and \end robust to follow the upcoming LaTeX release
This package is located at http://mirror.ctan.org/macros/latex/contrib/extract More information is at https://www.ctan.org/pkg/extract
Thanks for the upload. For the CTAN Team Erik Braun
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs

extract – Extract parts of a document and write to another document

The package provides the means to extract specific content from a source document and write that to a target document. One could, for instance, use this to extract all exercises from lecture notes and generate an exercises book on the fly.

The package also provides an environment which writes its body entirely to the target file. Another environment will write to the target file, but will also execute the body. This allows to share code (for instance, a preamble) between the source document and the target file.

Finally, the package provides an interface to conditionally extract content. With a single package option, one can specify exactly which commands (counted from the start of the document) should be extracted and which not. This might be useful for extracting specific slides from a presentation and use them in a new file.

Copyright2004–2019 Hendri Adriaens
MaintainerHendri Adriaens



Guest Book Sitemap Contact Contact Author