Debian Codegraph @

texmf-dist/doc/latex/changes/regression/changes.regression.draft.id.tex

raw
1 %%
2 %% This is file `regression/changes.regression.draft.id.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% regression.dtx (with options: `regression:draft:id')
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[authormarkuptext=id]{changes}
49 \definechangesauthor[color=green]{Green}
50 \definechangesauthor[name={Mister Orange}, color=orange]{OA}
51 \definechangesauthor{nochanges}
52 \begin{document}
53
54 \section{Test empty string}
55
56 Anonymous author should have no space before the \added[comment=no space]{number} in the comment.
57
58 Author name should \added[id=OA]{appear here} but \added[id=Green]{id here}.
59
60 \listofchanges[title={List of changes should not contain empty author brackets}]
61
62 \listofchanges[style=compactsummary, title={Summary should not contain empty author brackets either}]
63
64
65 \section{No compile errors in any case}
66
67 \listofchanges
68 \listofchanges[style=summary]
69 \listofchanges[style=compactsummary]
70
71 \subsection*{Changes by default author}
72
73 You think water moves fast?
74 \added{You should see ice.}
75 It moves like it has a mind.
76 Like it knows it killed the world once and got a taste for murder.
77 \deleted[comment={No?}]{After the avalanche, it took us a week to climb out.}
78 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.
79 \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.}
80 Nature is lethal but it doesn't hold a candle to man.
81 However unreal\comment{speaking of unreal\dots} it may seem, we are connected, you and I.
82 We're on the same curve, just on opposite ends.
83 You don't get \highlight[comment={Yes, sick.}]{sick}, I do.
84 That's also \highlight{clear}.
85
86 \subsection*{Changes by green author}
87
88 The lysine contingency - it's intended to prevent the spread of the animals is case they ever got off the island.
89 Dr. Wu inserted a gene \replaced[id=Green]{taht}{that} makes a \deleted[id=Green]{single} faulty enzyme in protein metabolism.
90 The animals can't manufacture the amino acid lysine.
91 Unless \replaced[id=Green]{they're}{continually} supplied with lysine by us, they'll slip into a coma and die.
92 We're on the same curve, just on opposite ends.
93 However unreal\comment[id=Green]{speaking of unreal\dots} it may seem, we are connected, you and I.
94 You don't get \highlight[id=Green, comment={Yes, sick.}]{sick}, I do.
95 That's also \highlight[id=Green]{clear}.
96
97 \subsection*{Changes by orange author with some comments}
98
99 Now that we know who you are, I know who I am.
100 \added[id=OA, comment={Yeah, I like animals better than people sometimes\dots}]{I'm not a mistake!}
101 It all makes sense!
102 In a comic, you know how you can tell who the arch-villain's going to be?
103 \deleted[id=OA, comment={Especially dogs. Dogs are the best.}]{He's the exact opposite of the hero.}
104 \deleted[id=OA]{And most times they're friends, like you and me!}
105 I should've known way back when...
106 You know why, David?
107 They called me Mr Glass.
108 However unreal\comment[id=OA]{just nice} it may seem, we are connected, you and I.
109 We're on the same curve, just on opposite ends.
110 You don't get \highlight[id=OA, comment={Yes, sick.}]{sick}, I do.
111 That's also \highlight[id=OA]{clear}.
112
113 \subsection*{No changes}
114
115 Your bones don't break, mine do.
116 \textbf{That's clear.}
117 Your cells react to bacteria and viruses differently than mine.
118 \textsl{You don't get sick, I do.}
119 That's also clear.
120 \textit{But for some reason, you and I react the exact same way to water.}
121 We swallow it too fast, we choke.
122 \emph{We get some in our lungs, we drown.}
123 However unreal it may seem, we are connected, you and I.
124 We're on the same curve, just on opposite ends.
125 You don't get sick, I do.
126 That's also clear.
127
128 \end{document}
129 %% Copyright 2007-2021 Ekkart Kleinod
130 %%
131 %% End of file `regression/changes.regression.draft.id.tex'.