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?

1 Answer 1

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).

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .