Skip to content

Commit d991e02

Browse files
authored
Update cwls (#4231)
* Update expl3-commands.cwl * update cwls * Update bodeplot.cwl * update cwls * update cwls * update cwls for new latex
1 parent 0a603c9 commit d991e02

21 files changed

+828
-117
lines changed

completion/babel.cwl

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# babel.sty
22
# available from ctan
3-
# tbraun 4.11.2008; Matthew Bertucci 2025/08/04 for v25.12
3+
# tbraun 4.11.2008; Matthew Bertucci 2025/10/24 for v25.14
44

55
#keyvals:\usepackage/babel#c
66
%<language%>
@@ -20,9 +20,9 @@ silent
2020
hyphenmap=#off,first,select,other,other*
2121
bidi=#default,basic,basic-r,bidi-l,bidi-r
2222
layout=#sectioning,counters,counters*,lists,contents,footnotes,captions,columns,graphics,extras,pars,nopars
23-
provide=*
24-
provide+=*
25-
provide*=*
23+
provide=#*,!
24+
provide+=#*,!
25+
provide*=#*,!
2626
base
2727
ensureinfo=off
2828
#endkeyvals
@@ -400,6 +400,7 @@ select.encoding=#off
400400
\addto{cmd}{code}#S
401401
\AfterBabelCommands{code}#S
402402
\allowhyphens#S
403+
\BabelBeforeIni{arg1}{arg2}#S
403404
\BabelCJKGlue#S
404405
\BabelCJKSpace#S
405406
\BabelDated{arg}#S

completion/bodeplot.cwl

Lines changed: 61 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# bodeplot package
2-
# Matthew Bertucci 2025/09/30 for v2.1
2+
# Matthew Bertucci 2025/10/24 for v3.0
33

44
#include:tikz
55
#include:pdftexcmds
@@ -14,21 +14,27 @@ rad
1414
Hz
1515
#endkeyvals
1616

17-
\BodeZPK{%<z/{zeros},p/{poles},k/{gain},d/{delay}%>}{%<min-freq%>}{%<max-freq%>}
18-
\BodeZPK[%<obj1/typ1/{opt1},...%>]{%<z/{zeros},p/{poles},k/{gain},d/{delay}%>}{%<min-freq%>}{%<max-freq%>}
19-
\BodeTF{%<num/{coeffs},den/{coeffs},d/{delay}%>}{%<min-freq%>}{%<max-freq%>}
20-
\BodeTF[%<obj1/typ1/{opt1},...%>]{%<num/{coeffs},den/{coeffs},d/{delay}%>}{%<min-freq%>}{%<max-freq%>}
21-
\begin{BodePlot}{%<min-freq%>}{%<max-freq%>}
22-
\begin{BodePlot}[%<obj1/{opt1},...%>]{%<min-freq%>}{%<max-freq%>}
23-
\end{BodePlot}
24-
\addBodeZPKPlots{%<plot-type%>}{%<z/{zeros},p/{poles},k/{gain},d/{delay}%>}
25-
\addBodeZPKPlots[%<approx1/{opt1}%>]{%<plot-type%>}{%<z/{zeros},p/{poles},k/{gain},d/{delay}%>}
26-
\addBodeTFPlot{%<plot-type%>}{%<num/{coeffs},den/{coeffs},d/{delay}%>}
27-
\addBodeTFPlot[%<plot-options%>]{%<plot-type%>}{%<num/{coeffs},den/{coeffs},d/{delay}%>}
17+
\BodeZPK{zpk-spec}
18+
\BodeZPK[options%keyvals]{zpk-spec}
19+
\BodeTF{tf-spec}
20+
\BodeTF[options%keyvals]{tf-spec}
21+
\begin{BodeMagPlot}
22+
\begin{BodeMagPlot}[options%keyvals]
23+
\end{BodeMagPlot}
24+
\begin{BodePhPlot}
25+
\begin{BodePhPlot}[options%keyvals]
26+
\end{BodePhPlot}
27+
\addBodeZPKPlots{plot-type}{zpk-spec}
28+
\addBodeZPKPlots[options%keyvals]{plot-type}{zpk-spec}
29+
\addBodeTFPlot{plot-type}{tf-spec}
30+
\addBodeTFPlot[options%keyvals]{plot-type}{tf-spec}
2831
\addBodeComponentPlot{plot-command}
29-
\addBodeComponentPlot[plot-options]{plot-command}
30-
\addBodePlot{system-type}{system-data}
31-
\addBodePlot[plot-options]{system-type}{system-data}
32+
\addBodeComponentPlot[options%keyvals]{plot-command}
33+
\addBodePlot{system-data}
34+
\addBodePlot[options%keyvals]{system-data}
35+
\begin{BodePlot}
36+
\begin{BodePlot}[options%keyvals]
37+
\end{BodePlot}
3238
\MagK{real-part}{imaginary-part}
3339
\MagKAsymp{real-part}{imaginary-part}
3440
\MagKLin{real-part}{imaginary-part}
@@ -49,22 +55,6 @@ Hz
4955
\PhZero{real-part}{imaginary-part}
5056
\PhZeroLin{real-part}{imaginary-part}
5157
\PhZeroAsymp{real-part}{imaginary-part}
52-
\MagCSPoles{zeta}{omega-n}
53-
\MagCSPolesLin{zeta}{omega-n}
54-
\MagCSPolesAsymp{zeta}{omega-n}
55-
\PhCSPoles{zeta}{omega-n}
56-
\PhCSPolesLin{zeta}{omega-n}
57-
\PhCSPolesAsymp{zeta}{omega-n}
58-
\MagCSZeros{zeta}{omega-n}
59-
\MagCSZerosLin{zeta}{omega-n}
60-
\MagCSZerosAsymp{zeta}{omega-n}
61-
\PhCSZeros{zeta}{omega-n}
62-
\PhCSZerosLin{zeta}{omega-n}
63-
\PhCSZerosAsymp{zeta}{omega-n}
64-
\MagCSPolesPeak{zeta}{omega-n}
65-
\MagCSPolesPeak[draw-options]{zeta}{omega-n}
66-
\MagCSZerosPeak{zeta}{omega-n}
67-
\MagCSZerosPeak[draw-options]{zeta}{omega-n}
6858
\MagSOPoles{a1}{a0}
6959
\MagSOPolesLin{a1}{a0}
7060
\MagSOPolesAsymp{a1}{a0}
@@ -78,30 +68,46 @@ Hz
7868
\PhSOZerosLin{a1}{a0}
7969
\PhSOZerosAsymp{a1}{a0}
8070
\MagSOPolesPeak{a1}{a0}
81-
\MagSOPolesPeak[draw-options]{a1}{a0}
71+
\MagSOPolesPeak[options%keyvals]{a1}{a0}
8272
\MagSOZerosPeak{a1}{a0}
83-
\MagSOZerosPeak[draw-options]{a1}{a0}
84-
\NyquistZPK{%<z/{zeros},p/{poles},k/{gain},d/{delay}%>}{%<min-freq%>}{%<max-freq%>}
85-
\NyquistZPK[%<plot/{opt},axes/{opt}%>]{%<z/{zeros},p/{poles},k/{gain},d/{delay}%>}{%<min-freq%>}{%<max-freq%>}
86-
\NyquistTF{%<num/{coeffs},den/{coeffs},d/{delay}%>}{%<min-freq%>}{%<max-freq%>}
87-
\NyquistTF[%<plot/{opt},axes/{opt}%>]{%<num/{coeffs},den/{coeffs},d/{delay}%>}{%<min-freq%>}{%<max-freq%>}
88-
\begin{NyquistPlot}{%<min-freq%>}{%<max-freq%>}
89-
\begin{NyquistPlot}[%<obj1/{opt1},...%>]{%<min-freq%>}{%<max-freq%>}
73+
\MagSOZerosPeak[options%keyvals]{a1}{a0}
74+
\MagCSPoles{zeta}{omega-n}
75+
\MagCSPolesLin{zeta}{omega-n}
76+
\MagCSPolesAsymp{zeta}{omega-n}
77+
\PhCSPoles{zeta}{omega-n}
78+
\PhCSPolesLin{zeta}{omega-n}
79+
\PhCSPolesAsymp{zeta}{omega-n}
80+
\MagCSZeros{zeta}{omega-n}
81+
\MagCSZerosLin{zeta}{omega-n}
82+
\MagCSZerosAsymp{zeta}{omega-n}
83+
\PhCSZeros{zeta}{omega-n}
84+
\PhCSZerosLin{zeta}{omega-n}
85+
\PhCSZerosAsymp{zeta}{omega-n}
86+
\MagCSPolesPeak{zeta}{omega-n}
87+
\MagCSPolesPeak[options%keyvals]{zeta}{omega-n}
88+
\MagCSZerosPeak{zeta}{omega-n}
89+
\MagCSZerosPeak[options%keyvals]{zeta}{omega-n}
90+
\NyquistZPK{zpk-spec}
91+
\NyquistZPK[options%keyvals]{zpk-spec}
92+
\NyquistTF{tf-spec}
93+
\NyquistTF[options%keyvals]{tf-spec}
94+
\begin{NyquistPlot}
95+
\begin{NyquistPlot}[options%keyvals]
9096
\end{NyquistPlot}
91-
\addNyquistZPKPlot{%<z/{zeros},p/{poles},k/{gain},d/{delay}%>}
92-
\addNyquistZPKPlot[%<plot-options%>]{%<z/{zeros},p/{poles},k/{gain},d/{delay}%>}
93-
\addNyquistTFPlot{%<num/{coeffs},den/{coeffs},d/{delay}%>}
94-
\addNyquistTFPlot[%<plot-options%>]{%<num/{coeffs},den/{coeffs},d/{delay}%>}
95-
\NicholsZPK{%<z/{zeros},p/{poles},k/{gain},d/{delay}%>}{%<min-freq%>}{%<max-freq%>}
96-
\NicholsZPK[%<plot/{opt},axes/{opt}%>]{%<z/{zeros},p/{poles},k/{gain},d/{delay}%>}{%<min-freq%>}{%<max-freq%>}
97-
\NicholsTF{%<num/{coeffs},den/{coeffs},d/{delay}%>}{%<min-freq%>}{%<max-freq%>}
98-
\NicholsTF[%<plot/{opt},axes/{opt}%>]{%<num/{coeffs},den/{coeffs},d/{delay}%>}{%<min-freq%>}{%<max-freq%>}
99-
\begin{NicholsChart}{%<min-freq%>}{%<max-freq%>}
100-
\begin{NicholsChart}[%<obj1/{opt1},...%>]{%<min-freq%>}{%<max-freq%>}
97+
\addNyquistZPKPlot{zpk-spec}
98+
\addNyquistZPKPlot[options%keyvals]{zpk-spec}
99+
\addNyquistTFPlot{tf-spec}
100+
\addNyquistTFPlot[options%keyvals]{tf-spec}
101+
\NicholsZPK{zpk-spec}
102+
\NicholsZPK[options%keyvals]{zpk-spec}
103+
\NicholsTF{tf-spec}
104+
\NicholsTF[options%keyvals]{tf-spec}
105+
\begin{NicholsChart}
106+
\begin{NicholsChart}[options%keyvals]
101107
\end{NicholsChart}
102-
\addNicholsZPKChart{%<z/{zeros},p/{poles},k/{gain},d/{delay}%>}
103-
\addNicholsZPKChart[%<plot-options%>]{%<z/{zeros},p/{poles},k/{gain},d/{delay}%>}
104-
\addNicholsTFChart{%<num/{coeffs},den/{coeffs},d/{delay}%>}
105-
\addNicholsTFChart[%<plot-options%>]{%<num/{coeffs},den/{coeffs},d/{delay}%>}
106-
\PoleZeroMapZPK{%<z/{zeros},p/{poles},k/{gain}%>}
107-
\PoleZeroMapZPK[%<plot/{opt},axes/{opt},scale/{log}%>]{%<z/{zeros},p/{poles},k/{gain}%>}
108+
\addNicholsZPKChart{zpk-spec}
109+
\addNicholsZPKChart[options%keyvals]{zpk-spec}
110+
\addNicholsTFChart{tf-spec}
111+
\addNicholsTFChart[options%keyvals]{tf-spec}
112+
\PoleZeroMapZPK{zpk-spec}
113+
\PoleZeroMapZPK[options%keyvals]{zpk-spec}

completion/chemfig.cwl

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# chemfig package
2-
# Matthew Bertucci 2023/06/30 for v1.6e
2+
# Matthew Bertucci 2025/10/27 for v1.7
33

44
#include:simplekv
55
#include:tikz
@@ -24,7 +24,7 @@ double bond sep=##L
2424
angle increment=%<degrees%>
2525
node style={%<TikZ keys%>}
2626
bond style={%<TikZ keys%>}
27-
cycle radius coeff=
27+
cycle radius coeff=%<coefficient%>
2828
stack sep=##L
2929
show cntcycle#true,false
3030
autoreset cntcycle#true,false
@@ -35,7 +35,7 @@ arrow angle=%<degrees%>
3535
arrow coeff=%<decimal%>
3636
arrow style={%<TikZ keys%>}
3737
arrow double sep=##L
38-
arrow double coeff=
38+
arrow double coeff=%<coefficient%>
3939
arrow double harpoon#true,false
4040
arrow label sep=##L
4141
arrow head=
@@ -74,7 +74,7 @@ scheme debug#true,false
7474

7575
#keyvals:\setcharge
7676
debug#true,false
77-
macro atom=%<cmd%>
77+
macro atom=%<command%>
7878
circle#true,false
7979
macro charge=%<cmd%>
8080
extra sep=##L
@@ -154,6 +154,29 @@ indice=%<integer%>
154154
\merge{%<dir%>}(%<n1.a1%>)%<(n2.a2)...(ni.ai)%>--(%<n.a[s]%>)[%<c1,c2,c,style%>]
155155
\merge{%<dir%>}[%<labelup%>][%<labeldown%>](%<n1.a1%>)%<(n2.a2)...(ni.ai)%>--(%<n.a[s]%>)[%<c1,c2,c,style%>]
156156
157+
\hreac
158+
\hreac[options%keyvals]
159+
\endhreac
160+
161+
#keyvals:\hreac,\setchemfig
162+
harrow minwidth=##L
163+
label xsep=##L
164+
label align=#c,r,l
165+
name sep=##L
166+
hreac anchor=%<anchor%>
167+
hreac sep=##L
168+
hreac debug#true,false
169+
#endkeyvals
170+
171+
#keyvals:\hreac
172+
arrow label sep=##L
173+
arrow style={%<TikZ keys%>}
174+
arrow double sep=##L
175+
arrow double coeff=%<coefficient%>
176+
arrow double harpoon#true,false
177+
arrow head=
178+
#endkeyvals
179+
157180
\CFver#S
158181
\CFname#S
159182
\CFver#S

completion/class-letgut.cwl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# letgut class
2-
# Matthew Bertucci 2024/10/08 for v0.10
2+
# Matthew Bertucci 2025/10/27 for v0.9.13
33

44
#include:luatex
55
#include:fontspec
@@ -11,6 +11,7 @@
1111
#include:biolinum
1212
#include:array
1313
#include:etoc
14+
#include:typicons
1415
#include:enumitem
1516
#include:titlesec
1617
#include:xcolor
@@ -116,6 +117,7 @@ watermark scale=%<factor%>
116117
\Assogut
117118
\lettres
118119
\lettresgut
120+
\listegut
119121
\cahier
120122
\cahiers
121123
\Cahier#S
@@ -128,6 +130,7 @@ watermark scale=%<factor%>
128130
\lamport
129131
\tl
130132
\tugboat
133+
\dtk
131134
\linux
132135
\macos
133136
\windows

completion/class-ltugboat.cwl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ltugboat class
2-
# Matthew Bertucci 2024/10/28 for v2.33
2+
# Matthew Bertucci 2025/10/29 for v2.35
33

44
#include:mflogo
55
#include:gettitlestring
@@ -65,6 +65,8 @@ runningoff
6565
\begin{reviewitem}#*
6666
\begin{SafeSection}#*
6767
\begin{verbatim}[before code]
68+
\bfBib#*
69+
\bfBibLaTeX#*
6870
\bfBibTeX#*
6971
\Bib
7072
\BibJustification#*
@@ -266,6 +268,7 @@ runningoff
266268
\pdflatex#*
267269
\pdfTeX
268270
\pdftex#*
271+
\PDFUA
269272
\personalURL{URL}#U
270273
\PGF
271274
\phone#*
@@ -340,6 +343,7 @@ runningoff
340343
\TB
341344
\tbcode{text%plain}
342345
\tbcodebreak{text%plain}
346+
\tbdebug{text}#*
343347
\TBdriver#*
344348
\TBecircacute#*
345349
\TBEnableRemarks#*
@@ -348,6 +352,7 @@ runningoff
348352
\tbhurl{URL}#U
349353
\tbhurlfootnote{URL}#U
350354
\TBInfo{text}#*
355+
\tbloggingall#*
351356
\tbotregister#*
352357
\tbppkernfoot#*
353358
\TBremark{text}#*

0 commit comments

Comments
 (0)