cheesesofnazareth wrote:
1. Make the list of changes appear in a separate pdf file?
you could create a secondary file with just
\listofchanges
in the document body (and the same preamble as the original). However, you'd need to copy the .loc file from the original file's LaTeX run to <base-name-of-your-secondary-file>.loc before processing your secondary .tex file.
cheesesofnazareth wrote:
2. Make the list of changes part of another document, say a cover letter, describing what changes were made and why.
You mean, like, having one version with changes, one without?
Code: Select all
\documentclass[a4paper]{article}
\begin{filecontents}{same-name-for-both.tex}
\listofchanges
\vspace{4cm}
The \replaced[comment={Spelling}]{fungal spices}{fungel spices}, is commonly found in South Africa. \deleted[comment={Incorrect! Read the paper I have sent you.}]{The information on their spread is correctly unknown}. The eight chromosome variant however is found exclusively in Egypt.
\end{filecontents}
\begin{filecontents}{\jobname-changes.tex}
\documentclass{article}
\usepackage{changes}
\begin{document}
\input{same-name-for-both.tex}
\end{document}
\end{filecontents}
\begin{filecontents}{\jobname-final.tex}
\documentclass{article}
\usepackage[final]{changes}
\begin{document}
\input{same-name-for-both.tex}
\end{document}
\end{filecontents}
\begin{document}
\typeout{Wrapper done. Run \jobname-changes through your favorite LaTeX for the changes,}%
\typeout{\jobname-final for the version without changes...or their markup.}
\end{document}
might be an idea: this wrapper doc creates three files, a) the text body, which is the same for both versions of the document with/without changes b) the document skeleton for the version with changes c) the document skeleton for the version without changes. It even tells you what to do, after running it,-)
KR
Rainer