LaTeX documents interactive revisioning

Whenever you would need to review a document, or write it in collaboration, a revision tool is very useful. In fact it allows you to track the changes and the suggestion you would like to make, and the recipient to interactively modify the document according to his will.

For LaTeX users, this has been not very clear so far, and it's very difficult to find a standard utility for it. After trying some alternatives found on the web, the recommended way to enable this feature for LaTeX document editing is described here.

The suggested LaTeX package is named trackchanges. This solution is OS independent, using a LaTeX .sty file and a Python-based GUI tool. However, due to some limitations of the version downloadable in the website, the suggested files are included in the ICLAB wiki file folder.

Here, an example of trackchanges utility with Windows and MikTeX is given. For Unix users (MAC and Linux) this would be quite similar, having installed the Python 2.* and PyQt4 for Python 2* packages.

This is how to proceed:

C:\Program Files (x86)\MiKTex\tex\latex

You should see this window:

https://www.python.org/downloads/windows/

https://www.riverbankcomputing.com/software/pyqt/download

(BE SURE TO INSTALL PYQT4 FOR PYTHON 2.*)

https://pypi.python.org/pypi/pyreadline

easy_install pyreadline

Here is reported another very useful command.

\refneeded

Very useful when you want to suggest (or remind yourself) to put a reference inside text. Possible usage are listed here:

  1. \refneeded[<editor>]{}: This is a general reference suggestion, made by a previously defined editor (see Documentation)
  2. \refneeded{}: More general and anonymous reference suggestion.
  3. \refneeded{<remark>}: Includes a remark for the suggestion (anonymous)
  4. \refneeded[<editor>]{<remark>}: Reference suggestion with editor-related remark