Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

up vote 13 down vote accepted

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

share|improve this answer
    
Very useful. Thanks. –  Daniele Mar 25 '11 at 9:51
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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