Index of /macros/latex/contrib/cprotect

[ICO]NameLast modifiedSizeDescription

[DIR]Parent Directory  -  
[TXT]cprotect.dtx27-Jan-2011 18:35 37K 
[   ]cprotect.pdf27-Jan-2011 18:36 609K 

cprotect --- verbatim in macro arguments
Released under the LaTeX Project Public License v1.3c or later

A user of the cprotect.sty package can include verbatim text (\verb,
verbatim environment, ...) in the argument of any command,
including moving arguments. Including verbatim text in footnotes,
section titles (and other titles), etc. is as simple as typing
`\cprotect\footnote` instead of `\footnote`, etc.

A similar approach is taken for environments. Nesting of the
various environments is taken into account.

This is work in progress, all comments/bug reports are welcome!

The whole package can be built from the file `cprotect.dtx' by running

pdflatex cprotect.dtx
makeindex -s -o cprotect.gls cprotect.glo
makeindex -s -o cprotect.ind cprotect.idx
pdflatex cprotect.dtx
pdflatex cprotect.dtx

The first run of pdflatex produces `cprotect.ins', `cprotect.sty',
`cprotect.pdf', and this file. The other commands are necessary for
the pdf to contain its index and glossary.