Page LayoutList of changes in a separate page

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
cheesesofnazareth
Posts: 8
Joined: Mon May 10, 2021 2:11 pm

List of changes in a separate page

Post by cheesesofnazareth »

Hello,
I have an journal article to which changes have been made on the request of the reviewer. I have used the "Changes" package to make the changes and made a list of changes at the start of the document. Is possible to either:
1. Make the list of changes appear in a separate pdf file?
2. Make the list of changes part of another document, say a cover letter, describing what changes were made and why.

Here is my MWE

Code: Select all

\documentclass[a4paper]{article}
\usepackage{changes}

\begin{document}
\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{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
rais
Posts: 419
Joined: Sun Nov 16, 2014 8:51 pm

List of changes in a separate page

Post by rais »

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
Post Reply