15

I see that in documentation for many LaTeX packages authors keep track of changes with a \changes{} macro, which then produces a nice index style list of changes. I would like to do the same for edits to my PhD thesis. Is there a way to use this facility, or a similar one, outside the ltxdoc document class?

17

The ltxdoc document class loads the doc package for the core functionality. The package can be used in other document classes too:

\documentclass{article}

\usepackage{doc}
\RecordChanges

\begin{document}

\changes{v1}{2011/03/24}{Initial version}
Test

\PrintChanges

\end{document}

Process the .glo file with:

> makeindex -s gglo.ist -o <name>.gls <name>.glo

For more information refer to the doc manual (it can be compiled from the LaTeX2e sources).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.