| 1 |
fixmetodonotes |
| 2 |
============== |
| 3 |
|
| 4 |
A LaTeX package to highlight and manage FIXME and TODO annotations. |
| 5 |
|
| 6 |
|
| 7 |
Usage |
| 8 |
----- |
| 9 |
|
| 10 |
In the preamble add |
| 11 |
|
| 12 |
\usepackage{fixmetodonotes} |
| 13 |
|
| 14 |
In the document write notes using |
| 15 |
|
| 16 |
I believe that in the \FIXME{"next year" or "future"?} the revolution |
| 17 |
will not be televised. |
| 18 |
|
| 19 |
or |
| 20 |
|
| 21 |
\TODO{add a playful picture} |
| 22 |
|
| 23 |
To show a list of pending notes, together with links to their pages, use |
| 24 |
|
| 25 |
\listofnotes |
| 26 |
|
| 27 |
The list of notes will be shown like a table of content or a list of figures. |
| 28 |
|
| 29 |
|
| 30 |
### Creating new kinds of notes |
| 31 |
|
| 32 |
By default, `fixmetodonotes` provides three kinds of notes: `FIXME`, `TODO` and |
| 33 |
`CITE`. |
| 34 |
|
| 35 |
It is possible to add declare new kinds of notes using the `\defnote` |
| 36 |
command. Notes can be declared as _margin_ or _inline_ notes. It is also |
| 37 |
possible to specify new ways to mark the text. |
| 38 |
|
| 39 |
To define a new kind of note called `REMOVE` that displays a margin note |
| 40 |
and crosses out the text, use |
| 41 |
|
| 42 |
\defnote{REMOVE}{margin}{\sout} |
| 43 |
|
| 44 |
Similarly, to define a red highlight marker `STYLE` use |
| 45 |
|
| 46 |
\defnote{STYLE}{inline}{\NOTES@colorline{red}} |
| 47 |
|
| 48 |
|
| 49 |
### Automatic "DRAFT" watermark |
| 50 |
|
| 51 |
`fixmetodonotes` will add a "DRAFT" watermark to any page that has at least |
| 52 |
one notes. |
| 53 |
|
| 54 |
When all the notes are removed from a page, the watermark will not be produced |
| 55 |
at all. This means that it is possible to leave `fixmetodonotes` enabled even |
| 56 |
in final versions of the documents. |
| 57 |
|
| 58 |
Use the `nowatermark` option to disable all watermarks. |
| 59 |
|
| 60 |
|
| 61 |
Installation |
| 62 |
------------ |
| 63 |
|
| 64 |
The released archives can be installed using the standard LaTeX mechanism. |
| 65 |
|
| 66 |
latex fixmetodonotes.ins |
| 67 |
|
| 68 |
This will generate a `fixmetodonotes.sty` file that can be moved to a |
| 69 |
directory searched by TeX. |
| 70 |
|
| 71 |
You can also install `fixmetodonotes` in your home directory using the |
| 72 |
git repository. |
| 73 |
|
| 74 |
export TEXMFHOME=~/.texmf |
| 75 |
mkdir -p ~/.texmf/tex/latex/ |
| 76 |
cd ~/.texmf/tex/latex/ |
| 77 |
git clone git://github.com/gioele/fixmetodonotes.git |
| 78 |
|
| 79 |
|
| 80 |
Contact |
| 81 |
------- |
| 82 |
|
| 83 |
The homepage of `fixmetodonotes` is <https://github.com/gioele/fixmetodonotes>. |
| 84 |
You can send any issue or comment to <https://github.com/gioele/fixmetodonotes/issues>. |
| 85 |
|
| 86 |
|
| 87 |
Authors |
| 88 |
------- |
| 89 |
|
| 90 |
* Gioele Barabucci <http://svario.it/gioele> (initial author) |
| 91 |
|
| 92 |
|
| 93 |
License |
| 94 |
------- |
| 95 |
|
| 96 |
This is free software released into the public domain (CC0 license). |
| 97 |
|
| 98 |
See the `LICENSE` file or <http://creativecommons.org/publicdomain/zero/1.0/> |
| 99 |
for more details. |