What is the docstrip utility? I have seen the string below many times, in many sources:
generated with the docstrip utility
but what is it? Is it a kind of LaTeX editor?
|
What is the docstrip utility? I have seen the string below many times, in many sources:
but what is it? Is it a kind of LaTeX editor? |
|||
|
|
|
DocStrip is primarily method for removing comments from source files. While not such a big issue today, historically it was desirable to convert
to just
as TeX has fewer lines to process and so will read a file more quickly. DocStrip is able to do this conversion, leaving a 'source' file with comments and a 'production' one without. However, by using what are called guards DocStrip also offers selectivity in this conversion. For example, I've got a demo DocStrip is not limited to extracting TeX-like material: it offers a series of commands to alter how the strip process operates. Probably the most common use of DocStrip after extracting TeX code is extracting Lua code for use with LuaTeX. Both the TeX and Lua code can be containing inside a single source, and DocStrip will deal with the extraction properly (with the correct set up). |
|||
|
|
You can probably go It is a set of tex macros distributed as part of the core LaTeX which produces packages and class files All of the core LaTeX distribution and many contributed packages are distributed in documented form with the actual package being generated by running TeX on a file which uses the |
|||
|
|