blob: b8fe9fe22dcda3cf453cbd8710dd15a143184dfc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
%%
%% This is file `regression/changes.regression.draft.id.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% regression.dtx (with options: `regression:draft:id')
%%
%% changes.dtx
%% Copyright 2007-2021 Ekkart Kleinod (ekleinod@edgesoft.de)
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license or any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
%%
%% This work has the LPPL maintenance status `maintained'.
%% The current maintainer of this work is Ekkart Kleinod.
%%
%% This work consists of the files
%% source/latex/changes/changes.drv
%% source/latex/changes/changes.dtx
%% source/latex/changes/changes.ins
%% source/latex/changes/examples.dtx
%% source/latex/changes/regression.dtx
%% source/latex/changes/README
%% source/latex/changes/userdoc/*.tex
%%
%% scripts/changes/pyMergeChanges.py
%% and the derived files
%% doc/latex/changes/changes.english.pdf
%% doc/latex/changes/changes.english.withcode.pdf
%% doc/latex/changes/changes.ngerman.pdf
%%
%% doc/latex/changes/examples/changes.example.*.tex
%% doc/latex/changes/examples/changes.example.*.pdf
%%
%% doc/latex/changes/regression/changes.regression.*.tex
%% doc/latex/changes/regression/changes.regression.*.pdf
%%
%% tex/latex/changes/changes.sty
%%
\documentclass[11pt, a4paper, notitlepage, english]{article}
\usepackage{babel}
\usepackage[authormarkuptext=id]{changes}
\definechangesauthor[color=green]{Green}
\definechangesauthor[name={Mister Orange}, color=orange]{OA}
\definechangesauthor{nochanges}
\begin{document}
\section{Test empty string}
Anonymous author should have no space before the \added[comment=no space]{number} in the comment.
Author name should \added[id=OA]{appear here} but \added[id=Green]{id here}.
\listofchanges[title={List of changes should not contain empty author brackets}]
\listofchanges[style=compactsummary, title={Summary should not contain empty author brackets either}]
\end{document}
%% Copyright 2007-2021 Ekkart Kleinod
%%
%% End of file `regression/changes.regression.draft.id.tex'.
|