Debian Codegraph @

texmf-dist/doc/latex/changes/regression/changes.regression.final.tex

raw
1 %%
2 %% This is file `regression/changes.regression.final.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% regression.dtx (with options: `regression:final')
8 %%
9 %% changes.dtx
10 %% Copyright 2007-2021 Ekkart Kleinod ([email protected])
11 %%
12 %% This work may be distributed and/or modified under the
13 %% conditions of the LaTeX Project Public License, either version 1.3
14 %% of this license or any later version.
15 %% The latest version of this license is in
16 %% http://www.latex-project.org/lppl.txt
17 %% and version 1.3 or later is part of all distributions of LaTeX
18 %% version 2005/12/01 or later.
19 %%
20 %% This work has the LPPL maintenance status `maintained'.
21 %% The current maintainer of this work is Ekkart Kleinod.
22 %%
23 %% This work consists of the files
24 %% source/latex/changes/changes.drv
25 %% source/latex/changes/changes.dtx
26 %% source/latex/changes/changes.ins
27 %% source/latex/changes/examples.dtx
28 %% source/latex/changes/regression.dtx
29 %% source/latex/changes/README
30 %% source/latex/changes/userdoc/*.tex
31 %%
32 %% scripts/changes/pyMergeChanges.py
33 %% and the derived files
34 %% doc/latex/changes/changes.english.pdf
35 %% doc/latex/changes/changes.english.withcode.pdf
36 %% doc/latex/changes/changes.ngerman.pdf
37 %%
38 %% doc/latex/changes/examples/changes.example.*.tex
39 %% doc/latex/changes/examples/changes.example.*.pdf
40 %%
41 %% doc/latex/changes/regression/changes.regression.*.tex
42 %% doc/latex/changes/regression/changes.regression.*.pdf
43 %%
44 %% tex/latex/changes/changes.sty
45 %%
46 \documentclass[11pt, a4paper, notitlepage, english]{article}
47 \usepackage{babel}
48 \usepackage[final]{changes}
49 \definechangesauthor[color=green]{Green}
50 \definechangesauthor[name={Mister Orange}, color=orange]{OA}
51 \definechangesauthor{nochanges}
52 \begin{document}
53
54
55 \section{Compile errors to avoid}
56
57 no compile error here (just a missing citation): --- \added{a cite inside added \cite{bibid}} ---
58
59 \section{Errors with empty replacement}
60
61 All corresponding lines should have the same width.
62
63 Text before deletion.
64 \deleted{Deleted text.}
65 Text after deletion.
66
67 Text before deletion. \deleted{Deleted text.} Text after deletion.
68
69 Text before deletion.
70 Text after deletion.
71
72 Text before replacement.
73 \replaced{}{Replaced text.}
74 Text after replacement.
75
76 Text before replacement. \replaced{}{Replaced text.} Text after replacement.
77
78 Text before replacement.
79 Text after replacement.
80
81 Text before replacement.
82 \replaced{}{}
83 Text after replacement.
84
85 Text before replacement. \replaced{}{} Text after replacement.
86
87 Text before replacement.
88 Text after replacement.
89
90 Text before addition.
91 \added{}
92 Text after addition.
93
94 Text before addition. \added{} Text after addition.
95
96 Text before addition.
97 Text after addition.
98
99 Text before comment.
100 \comment{Comment.}
101 Text after comment.
102
103 Text before comment. \comment{Comment.} Text after comment.
104
105 Text before comment.
106 Text after comment.
107
108 Text before empty comment.
109 \comment{}
110 Text after empty comment.
111
112 Text before empty comment. \comment{} Text after empty comment.
113
114 Text before empty comment.
115 Text after empty comment.
116
117 Text before highlight.
118 \highlight[comment={Highlight comment}]{Highlighted text.}
119 Text after highlight.
120
121 Text before highlight. \highlight[comment={Highlight comment}]{Highlighted text.} Text after highlight.
122
123 Text before highlight.
124 Highlighted text.
125 Text after highlight.
126
127 Text before empty highlight text.
128 \highlight[comment={Highlight comment}]{}
129 Text after empty highlight text.
130
131 Text before empty highlight text. \highlight[comment={Highlight comment}]{} Text after empty highlight text.
132
133 Text before empty highlight text.
134 Text after empty highlight text.
135
136 Text before empty highlight comment.
137 \highlight[comment={}]{Highlighted text.}
138 Text after empty highlight comment.
139
140 Text before empty highlight comment. \highlight[comment={}]{Highlighted text.} Text after empty highlight comment.
141
142 Text before empty highlight comment.
143 Highlighted text.
144 Text after empty highlight comment.
145
146 Text before empty highlight.
147 \highlight[comment={}]{}
148 Text after empty highlight.
149
150 Text before empty highlight. \highlight[comment={}]{} Text after empty highlight.
151
152 Text before empty highlight.
153 Text after empty highlight.
154
155
156 \section{No compile errors in any case}
157
158 \listofchanges
159 \listofchanges[style=summary]
160 \listofchanges[style=compactsummary]
161
162 \subsection*{Changes by default author}
163
164 You think water moves fast?
165 \added{You should see ice.}
166 It moves like it has a mind.
167 Like it knows it killed the world once and got a taste for murder.
168 \deleted[comment={No?}]{After the avalanche, it took us a week to climb out.}
169 Now, I don't know exactly \added{when} we turned on each other, but I know that seven of us survived the slide... and only five made it out.
170 \replaced{Now we took an oath, that I'm breaking now.}{We said we'd say it was the snow that killed the other two, but it wasn't.}
171 Nature is lethal but it doesn't hold a candle to man.
172 However unreal\comment{speaking of unreal\dots} it may seem, we are connected, you and I.
173 We're on the same curve, just on opposite ends.
174 You don't get \highlight[comment={Yes, sick.}]{sick}, I do.
175 That's also \highlight{clear}.
176
177 \subsection*{Changes by green author}
178
179 The lysine contingency - it's intended to prevent the spread of the animals is case they ever got off the island.
180 Dr. Wu inserted a gene \replaced[id=Green]{taht}{that} makes a \deleted[id=Green]{single} faulty enzyme in protein metabolism.
181 The animals can't manufacture the amino acid lysine.
182 Unless \replaced[id=Green]{they're}{continually} supplied with lysine by us, they'll slip into a coma and die.
183 We're on the same curve, just on opposite ends.
184 However unreal\comment[id=Green]{speaking of unreal\dots} it may seem, we are connected, you and I.
185 You don't get \highlight[id=Green, comment={Yes, sick.}]{sick}, I do.
186 That's also \highlight[id=Green]{clear}.
187
188 \subsection*{Changes by orange author with some comments}
189
190 Now that we know who you are, I know who I am.
191 \added[id=OA, comment={Yeah, I like animals better than people sometimes\dots}]{I'm not a mistake!}
192 It all makes sense!
193 In a comic, you know how you can tell who the arch-villain's going to be?
194 \deleted[id=OA, comment={Especially dogs. Dogs are the best.}]{He's the exact opposite of the hero.}
195 \deleted[id=OA]{And most times they're friends, like you and me!}
196 I should've known way back when...
197 You know why, David?
198 They called me Mr Glass.
199 However unreal\comment[id=OA]{just nice} it may seem, we are connected, you and I.
200 We're on the same curve, just on opposite ends.
201 You don't get \highlight[id=OA, comment={Yes, sick.}]{sick}, I do.
202 That's also \highlight[id=OA]{clear}.
203
204 \subsection*{No changes}
205
206 Your bones don't break, mine do.
207 \textbf{That's clear.}
208 Your cells react to bacteria and viruses differently than mine.
209 \textsl{You don't get sick, I do.}
210 That's also clear.
211 \textit{But for some reason, you and I react the exact same way to water.}
212 We swallow it too fast, we choke.
213 \emph{We get some in our lungs, we drown.}
214 However unreal it may seem, we are connected, you and I.
215 We're on the same curve, just on opposite ends.
216 You don't get sick, I do.
217 That's also clear.
218
219 \end{document}
220 %% Copyright 2007-2021 Ekkart Kleinod
221 %%
222 %% End of file `regression/changes.regression.final.tex'.