Debian Codegraph @

texmf-dist/doc/latex/ezedits/README.md

raw
1 # Package `ezedits` by Joey Smiga
2
3 Version 2024-11-13 v1.1
4
5 Maintained by Joseph "Joey" A. Smiga \<[email protected]\>
6
7 `ezedits` is a package built for collaboratively editing LaTeX documents and tracking changes. Through highly customizable commands, the user can choose how their and their collaborators modifications appear in the document. Additional tools are provided to help keep track of where the edits are made within the pdf.
8
9 Originally developed ca. 2018, this has been refined over the years.
10
11 ## Copyright (C)
12 &copy;2024 Joseph A. Smiga
13
14 ## Usage tips
15
16 All edits will raise a warning, making it easier to find where changes occured and clean up the document.
17
18 ### Package options
19
20 - `arrows` add arrows $\Longleftarrow$ pointing to edits in margins (in captions, a pair of arrows are added, instead; $\Longrightarrow$ Like this $\Longleftarrow$). These arrows are styled based on the edit.
21 - `accept` accept all edits (arrows still appear if `arrows` option is used).
22 - `pdfcomment` write edits as pdf annotations (arrows still appear if `arrows` option is used).
23 - `nosout` do not strikeout delete text (by default). If this option is set, the `ulem` package is not used.
24
25 ### Commands
26
27 General comments can be added with `\draftnote{...}`. These comments will appear in-text as `[...]` with some default styling. When also using the `xcolor` package, the notes will be colored red. The command `\setnotestyle{<style>}` can be used to customize the note style.
28
29 `\defineEdit{ABC}{<styleA>}{<styleB>}` will generate a set of commands with the prefix `ABC` for editing where `<styleA>` is used for omitted text and `<styleB>` is used for added text. The following commands are generated:
30 - `\ABCEdit{del}{ins}` Used to replace `del` with `ins`.
31 - `\ABCIns{ins}` Used to insert `ins`.
32 - `\ABCDel{del}` Used to delete `del`.
33
34 Running the above command for each collaborator (especially with different style arguments) can make it easy to keep track of who made what comment.
35
36 `\makeeditreport` generates a `tabular` environment that summarizes where/how many edits were made.
37
38 ## Possible issues
39
40 - Exact page numbers for `\makeeditreport` may be slightly off due to how LaTeX updates pages.
41 - Problems can arise when editing across several paragraphs. It is recommended to use new commands between paragraphs.
42 - `pdfcomment` option can be a bit rough at times, though it generally works.
43
44
45 ## License
46 LaTeX Project Public License, version 1.3c or later.
47