File: changes.cwl

package info (click to toggle)
texstudio 4.3.1%2Bds-2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 74,980 kB
  • sloc: cpp: 102,721; xml: 17,126; ansic: 8,143; sh: 194; javascript: 177; makefile: 28
file content (108 lines) | stat: -rw-r--r-- 2,709 bytes parent folder | download
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# package changes
# fkastner 2021/03/17 for changes v4.0.1
# updated 2021/12/16 for v4.2.1
# URL: https://ctan.org/tex-archive/macros/latex/contrib/changes

#include:todonotes
#include:truncate
#include:ulem
#include:xcolor
#include:xkeyval
#include:xstring
#include:etoolbox

#keyvals:\usepackage/changes#c
draft
final
commandnameprefix=#none,ifneeded,always
markup=#default,underlined,bfit,nocolor
addedmarkup=#colored,uline,uuline,uwave,dashuline,dotuline,bf,it,sl,em
deletedmarkup=#sout,xout,colored,uline,uuline,uwave,dashuline,dotuline,bf,it,sl,em
highlightmarkup=#background,uuline,uwave
commentmarkup=#todo,margin,footnote,uwave
authormarkup=#superscript,subscript,brackets,footnote,none
authormarkupposition=#right,left
authormarkuptext=#id,name
defaultcolor=#%color
todonotes={%<todonotes options%>}
truncate={%<truncate options%>}
ulem={%<ulem options%>}
xcolor={%<xcolor options%>}
#endkeyvals

\definechangesauthor[keyvals]{authorid}#s#%authorid
\definechangesauthor{authorid}#s#%authorid
#keyvals:\definechangesauthor
name=%<name%>
color=#%color
#endkeyvals

\added[keyvals]{text}
\added{text}
\deleted[keyvals]{text}
\deleted{text}
\replaced[keyvals]{new%text}{old%text}
\replaced{new%text}{old%text}
\highlight[keyvals]{text}
\highlight{text}
#keyvals:\added,\deleted,\replaced,\highlight
id=#%authorid
comment=%<comment%>
#endkeyvals

\comment[keyvals]{text%todo}#D
\comment{text%todo}#D
#keyvals:\comment
id=#%authorid
#endkeyvals

\listofchanges
\listofchanges[keyvals]
#keyvals:\listofchanges
style=#list,summary,compactsummary
title=%<title%>
show=#all,added,deleted,replaced,highlight,comment
#endkeyvals

authorcolor#B

\setaddedmarkup{definition}
\setdeletedmarkup{definition}
\sethighlightmarkup{definition}
\setcommentmarkup{definition}
\setauthormarkup{definition}
\setauthormarkupposition{left/right}
\setauthormarkuptext{id/name}
\setanonymousname{name}
\settruncatewidth{width}
\setsummarywidth{width}
\setsummarytowidth{text}
\setsocextension{ext}
\setlocextension{ext}

# not documented
\dopsvlist#S
\forpsvlist#S
\IfIsInList{arg}{item1|item2|...}{true}{false}#*
\IfIsColored{true}{false}#*
\IfIsEmpty{arg}{true}{false}#*
\IfIsAnonymous{arg}{true}{false}#*
\IfIsAuthorEmptyAtPosition{arg}{position}{true}{false}#*
\IfIsAuthorOutputEmpty{arg}{true}{false}#*
\listofchangesname#*
\summaryofchangesname#*
\compactsummaryofchangesname#*
\changesaddedname#*
\changesdeletedname#*
\changesreplacedname#*
\changeshighlightname#*
\changescommentname#*
\changesauthorname#*
\changesanonymousname#*
\changesnochanges#*
\changesnoloc#*
\changesnosoc#*
\theauthorcommentcount#S
\Changestruncatewidth#S
\ChangesListline{arg1}{arg2}{arg3}{arg4}#S
\origcontentsline{arg1}{arg2}{arg3}{arg4}#S