Skip to content

Commit

Permalink
Cwls (#3923)
Browse files Browse the repository at this point in the history
* Update tikzbricks.cwl

* Update nicematrix.cwl

* Update functional.cwl

* Update principia.cwl

* Update and rename beamertheme-light.cwl to beamerthemelight.cwl

* Update completion.qrc

* Update simpleicons.cwl

* Update clicks.cwl

* Update tuple.cwl

* update expl3-commands for l3kernel

* add listparskip
  • Loading branch information
mbertucci47 authored Dec 23, 2024
1 parent 5dd384e commit b307bba
Show file tree
Hide file tree
Showing 12 changed files with 152 additions and 38 deletions.
3 changes: 2 additions & 1 deletion completion.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@
<file>completion/beamerthemehohenheim.cwl</file>
<file>completion/beamerthemeIlmenau.cwl</file>
<file>completion/beamerthemelalic.cwl</file>
<file>completion/beamertheme-light.cwl</file>
<file>completion/beamerthemelight.cwl</file>
<file>completion/beamerthemeMadrid.cwl</file>
<file>completion/beamerthemeMarburg.cwl</file>
<file>completion/beamerthememetropolis.cwl</file>
Expand Down Expand Up @@ -2170,6 +2170,7 @@
<file>completion/listofanswers.cwl</file>
<file>completion/listofitems.cwl</file>
<file>completion/listofsymbols.cwl</file>
<file>completion/listparskip.cwl</file>
<file>completion/listpen.cwl</file>
<file>completion/llncsconf.cwl</file>
<file>completion/lltjcore.cwl</file>
Expand Down
21 changes: 0 additions & 21 deletions completion/beamertheme-light.cwl

This file was deleted.

19 changes: 19 additions & 0 deletions completion/beamerthemelight.cwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# light beamertheme
# Matthew Bertucci 2024/12/20 for v1.2

#keyvals:\usetheme/light#c
blue
red
purple
#endkeyvals

vertfonce#B
frenchblue#B
sanddune#B
darkmagenta#B
byzantium#B
sanddune#B
darkpastelred#B
desertsand#B

\thankframe{content%text}
6 changes: 3 additions & 3 deletions completion/clicks.cwl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# clicks package
# Matthew Bertucci 1/21/2022 for v0.2.0
# Matthew Bertucci 2024/12/22 for v0.4.2

#include:xkeyval
#include:pgfopts
#include:etoolbox

#keyvals:\usepackage/clicks#c
Expand All @@ -15,4 +15,4 @@ static
\plush{text}
\plush[minutes]{text}
\plick{text}
\plick[minutes]{text}
\plick[minutes]{text}
62 changes: 61 additions & 1 deletion completion/expl3-commands.cwl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# expl3 commands, l3kernel 2024-11-02
# expl3 commands, l3kernel 2024-12-09
# command list generated by https://github.com/James-Yu/LaTeX-Workshop/blob/master/dev/latex3command.py
# argument specifications added by Matthew Bertucci 2024/12/16

Expand Down Expand Up @@ -1614,6 +1614,10 @@
\int_gset_eq:Nc %<⟨integer1⟩%> {%<⟨integer2 name⟩%>}#/%expl3
\int_gset_eq:cN {%<⟨integer1 name⟩%>} %<⟨integer2⟩%>#/%expl3
\int_gset_eq:cc {%<⟨integer1 name⟩%>} {%<⟨integer2 name⟩%>}#/%expl3
\int_gset_regex_count:cNn {%<⟨integer name⟩%>} %<⟨regex var⟩%> {%<⟨tokens⟩%>}#/%expl3
\int_gset_regex_count:cnn {%<⟨integer name⟩%>} {%<⟨regex⟩%>} {%<⟨tokens⟩%>}#/%expl3
\int_gset_regex_count:NNn %<⟨integer⟩ ⟨regex var⟩%> {%<⟨tokens⟩%>}#/%expl3
\int_gset_regex_count:Nnn %<⟨integer⟩%> {%<⟨regex⟩%>} {%<⟨tokens⟩%>}#/%expl3
\int_gsub:Nn %<⟨integer⟩%> {%<⟨int expr⟩%>}#/%expl3
\int_gsub:cn {%<⟨integer name⟩%>} {%<⟨int expr⟩%>}#/%expl3
\int_gzero:N %<⟨integer⟩%>#/%expl3
Expand Down Expand Up @@ -1660,6 +1664,10 @@
\int_set_eq:Nc %<⟨integer1⟩%> {%<⟨integer2 name⟩%>}#/%expl3
\int_set_eq:cN {%<⟨integer1 name⟩%>} %<⟨integer2⟩%>#/%expl3
\int_set_eq:cc {%<⟨integer1 name⟩%>} {%<⟨integer2 name⟩%>}#/%expl3
\int_set_regex_count:cNn {%<⟨integer name⟩%>} %<⟨regex var⟩%> {%<⟨tokens⟩%>}#/%expl3
\int_set_regex_count:cnn {%<⟨integer name⟩%>} {%<⟨regex⟩%>} {%<⟨tokens⟩%>}#/%expl3
\int_set_regex_count:NNn %<⟨integer⟩ ⟨regex var⟩%> {%<⟨tokens⟩%>}#/%expl3
\int_set_regex_count:Nnn %<⟨integer⟩%> {%<⟨regex⟩%>} {%<⟨tokens⟩%>}#/%expl3
\int_show:N %<⟨integer⟩%>#/%expl3
\int_show:c {%<⟨integer name⟩%>}#/%expl3
\int_show:n {%<⟨int expr⟩%>}#/%expl3
Expand Down Expand Up @@ -2946,6 +2954,18 @@
\seq_gset_item:cnnTF {%<⟨seq var name⟩%>} {%<⟨int expr⟩%>} {%<⟨item⟩%>} {%<⟨true code⟩%>} {%<⟨false code⟩%>}#/%expl3
\seq_gset_map:NNn %<⟨seq var1⟩ ⟨seq var2⟩%> {%<⟨inline function⟩%>}#/%expl3
\seq_gset_map_e:NNn %<⟨seq var1⟩ ⟨seq var2⟩%> {%<⟨inline function⟩%>}#/%expl3
\seq_gset_regex_extract_all:cNn {%<⟨seq var name⟩%>} %<⟨regex var⟩%> {%<⟨tokens⟩%>}#/%expl3
\seq_gset_regex_extract_all:cnn {%<⟨seq var name⟩%>} {%<⟨regex⟩%>} {%<⟨tokens⟩%>}#/%expl3
\seq_gset_regex_extract_all:NNn %<⟨seq var⟩ ⟨regex var⟩%> {%<⟨tokens⟩%>}#/%expl3
\seq_gset_regex_extract_all:Nnn %<⟨seq var⟩%> {%<⟨regex⟩%>} {%<⟨tokens⟩%>}#/%expl3
\seq_gset_regex_extract_once:cNn {%<⟨seq var name⟩%>} %<⟨regex var⟩%> {%<⟨tokens⟩%>}#/%expl3
\seq_gset_regex_extract_once:cnn {%<⟨seq var name⟩%>} {%<⟨regex⟩%>} {%<⟨tokens⟩%>}#/%expl3
\seq_gset_regex_extract_once:NNn %<⟨seq var⟩ ⟨regex var⟩%> {%<⟨tokens⟩%>}#/%expl3
\seq_gset_regex_extract_once:Nnn %<⟨seq var⟩%> {%<⟨regex⟩%>} {%<⟨tokens⟩%>}#/%expl3
\seq_gset_regex_split:cNn {%<⟨seq var name⟩%>} %<⟨regex var⟩%> {%<⟨tokens⟩%>}#/%expl3
\seq_gset_regex_split:cnn {%<⟨seq var name⟩%>} {%<⟨regex⟩%>} {%<⟨tokens⟩%>}#/%expl3
\seq_gset_regex_split:NNn %<⟨seq var⟩ ⟨regex var⟩%> {%<⟨tokens⟩%>}#/%expl3
\seq_gset_regex_split:Nnn %<⟨seq var⟩%> {%<⟨regex⟩%>} {%<⟨tokens⟩%>}#/%expl3
\seq_gset_split:NVV %<⟨seq var⟩ ⟨delimiter var⟩ ⟨tl var⟩%>#/%expl3
\seq_gset_split:NVn %<⟨seq var⟩ ⟨delimiter var⟩%> {%<⟨tokens⟩%>}#/%expl3
\seq_gset_split:Nee %<⟨seq var⟩%> {%<⟨delimiter⟩%>} {%<⟨tokens⟩%>}#/%expl3
Expand Down Expand Up @@ -3119,6 +3139,18 @@
\seq_set_item:cnnTF {%<⟨seq var name⟩%>} {%<⟨int expr⟩%>} {%<⟨item⟩%>} {%<⟨true code⟩%>} {%<⟨false code⟩%>}#/%expl3
\seq_set_map:NNn %<⟨seq var1⟩ ⟨seq var2⟩%> {%<⟨inline function⟩%>}#/%expl3
\seq_set_map_e:NNn %<⟨seq var1⟩ ⟨seq var2⟩%> {%<⟨inline function⟩%>}#/%expl3
\seq_set_regex_extract_all:cNn {%<⟨seq var name⟩%>} %<⟨regex var⟩%> {%<⟨tokens⟩%>}#/%expl3
\seq_set_regex_extract_all:cnn {%<⟨seq var name⟩%>} {%<⟨regex⟩%>} {%<⟨tokens⟩%>}#/%expl3
\seq_set_regex_extract_all:NNn %<⟨seq var⟩ ⟨regex var⟩%> {%<⟨tokens⟩%>}#/%expl3
\seq_set_regex_extract_all:Nnn %<⟨seq var⟩%> {%<⟨regex⟩%>} {%<⟨tokens⟩%>}#/%expl3
\seq_set_regex_extract_once:cNn {%<⟨seq var name⟩%>} %<⟨regex var⟩%> {%<⟨tokens⟩%>}#/%expl3
\seq_set_regex_extract_once:cnn {%<⟨seq var name⟩%>} {%<⟨regex⟩%>} {%<⟨tokens⟩%>}#/%expl3
\seq_set_regex_extract_once:NNn %<⟨seq var⟩ ⟨regex var⟩%> {%<⟨tokens⟩%>}#/%expl3
\seq_set_regex_extract_once:Nnn %<⟨seq var⟩%> {%<⟨regex⟩%>} {%<⟨tokens⟩%>}#/%expl3
\seq_set_regex_split:cNn {%<⟨seq var name⟩%>} %<⟨regex var⟩%> {%<⟨tokens⟩%>}#/%expl3
\seq_set_regex_split:cnn {%<⟨seq var name⟩%>} {%<⟨regex⟩%>} {%<⟨tokens⟩%>}#/%expl3
\seq_set_regex_split:NNn %<⟨seq var⟩ ⟨regex var⟩%> {%<⟨tokens⟩%>}#/%expl3
\seq_set_regex_split:Nnn %<⟨seq var⟩%> {%<⟨regex⟩%>} {%<⟨tokens⟩%>}#/%expl3
\seq_set_split:NVV %<⟨seq var⟩ ⟨delimiter var⟩ ⟨tl var⟩%>#/%expl3
\seq_set_split:NVn %<⟨seq var⟩ ⟨delimiter var⟩%> {%<⟨tokens⟩%>}#/%expl3
\seq_set_split:Nee %<⟨seq var⟩%> {%<⟨delimiter⟩%>} {%<⟨tokens⟩%>}#/%expl3
Expand Down Expand Up @@ -3898,6 +3930,18 @@
\tl_if_novalue:nT {%<⟨tokens⟩%>} {%<⟨true code⟩%>}#/%expl3
\tl_if_novalue:nTF {%<⟨tokens⟩%>} {%<⟨true code⟩%>} {%<⟨false code⟩%>}#/%expl3
\tl_if_novalue_p:n {%<⟨tokens⟩%>}#/%expl3
\tl_if_regex_match:nNF {%<⟨tokens⟩%>} %<⟨regex var⟩%> {%<⟨false code⟩%>}#/%expl3
\tl_if_regex_match:nNT {%<⟨tokens⟩%>} %<⟨regex var⟩%> {%<⟨true code⟩%>}#/%expl3
\tl_if_regex_match:nNTF {%<⟨tokens⟩%>} %<⟨regex var⟩%> {%<⟨true code⟩%>} {%<⟨false code⟩%>}#/%expl3
\tl_if_regex_match:VNF %<⟨tl var⟩ ⟨regex var⟩%> {%<⟨false code⟩%>}#/%expl3
\tl_if_regex_match:VNT %<⟨tl var⟩ ⟨regex var⟩%> {%<⟨true code⟩%>}#/%expl3
\tl_if_regex_match:VNTF %<⟨tl var⟩ ⟨regex var⟩%> {%<⟨true code⟩%>} {%<⟨false code⟩%>}#/%expl3
\tl_if_regex_match:nnF {%<⟨tokens⟩%>} {%<⟨regex⟩%>} {%<⟨false code⟩%>}#/%expl3
\tl_if_regex_match:nnT {%<⟨tokens⟩%>} {%<⟨regex⟩%>} {%<⟨true code⟩%>}#/%expl3
\tl_if_regex_match:nnTF {%<⟨tokens⟩%>} {%<⟨regex⟩%>} {%<⟨true code⟩%>} {%<⟨false code⟩%>}#/%expl3
\tl_if_regex_match:VnF %<⟨tl var⟩%> {%<⟨regex⟩%>} {%<⟨false code⟩%>}#/%expl3
\tl_if_regex_match:VnT %<⟨tl var⟩%> {%<⟨regex⟩%>} {%<⟨true code⟩%>}#/%expl3
\tl_if_regex_match:VnTF %<⟨tl var⟩%> {%<⟨regex⟩%>} {%<⟨true code⟩%>} {%<⟨false code⟩%>}#/%expl3
\tl_if_single:NF %<⟨tl var⟩%> {%<⟨false code⟩%>}#/%expl3
\tl_if_single:NT %<⟨tl var⟩%> {%<⟨true code⟩%>}#/%expl3
\tl_if_single:NTF %<⟨tl var⟩%> {%<⟨true code⟩%>} {%<⟨false code⟩%>}#/%expl3
Expand Down Expand Up @@ -3963,6 +4007,22 @@
\tl_rand_item:n {%<⟨tokens⟩%>}#/%expl3
\tl_range:Nnn %<⟨tl var⟩%> {%<⟨start index⟩%>} {%<⟨end index⟩%>}#/%expl3
\tl_range:nnn {%<⟨tokens⟩%>} {%<⟨start index⟩%>} {%<⟨end index⟩%>}#/%expl3
\tl_regex_greplace_all:cNn {%<⟨tl var name⟩%>} %<⟨regex var⟩%> {%<⟨replacement⟩%>}#/%expl3
\tl_regex_greplace_all:cnn {%<⟨tl var name⟩%>} {%<⟨regex⟩%>} {%<⟨replacement⟩%>}#/%expl3
\tl_regex_greplace_all:NNn %<⟨tl var⟩ ⟨regex var⟩%> {%<⟨replacement⟩%>}#/%expl3
\tl_regex_greplace_all:Nnn %<⟨tl var⟩%> {%<⟨regex⟩%>} {%<⟨replacement⟩%>}#/%expl3
\tl_regex_greplace_once:cNn {%<⟨tl var name⟩%>} %<⟨regex var⟩%> {%<⟨replacement⟩%>}#/%expl3
\tl_regex_greplace_once:cnn {%<⟨tl var name⟩%>} {%<⟨regex⟩%>} {%<⟨replacement⟩%>}#/%expl3
\tl_regex_greplace_once:NNn %<⟨tl var⟩ ⟨regex var⟩%> {%<⟨replacement⟩%>}#/%expl3
\tl_regex_greplace_once:Nnn %<⟨tl var⟩%> {%<⟨regex⟩%>} {%<⟨replacement⟩%>}#/%expl3
\tl_regex_replace_all:cNn {%<⟨tl var name⟩%>} %<⟨regex var⟩%> {%<⟨replacement⟩%>}#/%expl3
\tl_regex_replace_all:cnn {%<⟨tl var name⟩%>} {%<⟨regex⟩%>} {%<⟨replacement⟩%>}#/%expl3
\tl_regex_replace_all:NNn %<⟨tl var⟩ ⟨regex var⟩%> {%<⟨replacement⟩%>}#/%expl3
\tl_regex_replace_all:Nnn %<⟨tl var⟩%> {%<⟨regex⟩%>} {%<⟨replacement⟩%>}#/%expl3
\tl_regex_replace_once:cNn {%<⟨tl var name⟩%>} %<⟨regex var⟩%> {%<⟨replacement⟩%>}#/%expl3
\tl_regex_replace_once:cnn {%<⟨tl var name⟩%>} {%<⟨regex⟩%>} {%<⟨replacement⟩%>}#/%expl3
\tl_regex_replace_once:NNn %<⟨tl var⟩ ⟨regex var⟩%> {%<⟨replacement⟩%>}#/%expl3
\tl_regex_replace_once:Nnn %<⟨tl var⟩%> {%<⟨regex⟩%>} {%<⟨replacement⟩%>}#/%expl3
\tl_remove_all:NV %<⟨tl var1⟩ ⟨tl var2⟩%>#/%expl3
\tl_remove_all:Ne %<⟨tl var⟩%> {%<⟨tokens⟩%>}#/%expl3
\tl_remove_all:Nn %<⟨tl var⟩%> {%<⟨tokens⟩%>}#/%expl3
Expand Down
4 changes: 2 additions & 2 deletions completion/functional.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# functional package
# Matthew Bertucci 2024/12/14 for v2024B
# Matthew Bertucci 2024/12/18 for v2024C

# Note on cwl: the package author Jianrui Lyu encourages use of spaces between
# args which along with the need to have proper "\newcommand" completion
Expand Down Expand Up @@ -1132,10 +1132,10 @@ tracing#true,false
\clistMapBreak#*
\clistVarSort{arg1}{arg2}#*
\cNoValueTl#*
\colorFromSpec{arg1}{arg2}#*
\expOnce{arg}#*
\expPartial{arg}#*
\fileInputStop#*
\funColor{arg1}{arg2}#*
\prgLocal#*
\noExpand{tokens}#*
\onlyOnce{tokens}#*
Expand Down
4 changes: 4 additions & 0 deletions completion/listparskip.cwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# listparskip package
# Matthew Bertucci 2024/12/19 for v1.0

\nullline
8 changes: 5 additions & 3 deletions completion/nicematrix.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# nicematrix package
# Matthew Bertucci 2024/10/24 for v6.29
# Matthew Bertucci 2024/12/16 for v7.0a

#include:amsmath
#include:array
Expand Down Expand Up @@ -139,8 +139,6 @@ extra-margin=##L
parallelize-diags#true,false
delimiters/max-width
vlines-in-sub-matrix=%<letter%>
colortbl-like
color-inside
rounded-corners
rounded-corners=##L
no-cell-nodes
Expand Down Expand Up @@ -277,6 +275,10 @@ cell-space-limits=##L
rowcolor=#%color
color=#%color
bold
fill=#%color
opacity=%<factor%>
rounded-corners
rounded-corners=##L
#endkeyvals

\begin{NiceMatrixBlock}
Expand Down
26 changes: 25 additions & 1 deletion completion/principia.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# principia package
# Matthew Bertucci 2023/03/15 for v2.0
# Matthew Bertucci 2024/12/19 for v3.0

#include:amssymb
#include:amsmath
Expand Down Expand Up @@ -580,3 +580,27 @@
\pmtheb{arg1}{arg2}#*m
\pmTranc{arg1}{arg2}#*m
\pmVfm#*m
\pmd#*
\pmdd#*m
\pmclsb{arg1}{arg2}#*
\pmrelb{arg1}{arg2}{arg3}#*
\pmrstm{arg1}{arg2}#*
\pmrtsm{arg1}{arg2}#*
\pmpotidm{arg1}{arg2}#*
\pmancm{arg1}{arg2}#*
\pmrrfanc{arg1}{arg2}#*
\pmrrfancm{arg1}{arg2}{arg3}#*
\pmrrlanc{arg1}{arg2}#*
\pmrrlancm{arg1}{arg2}{arg3}#*
\pmclso{arg1}{arg2}{arg3}#*
\pmclsbo{arg1}{arg2}{arg3}#*
\pmrorderzero{arg}#*
\pmrorderm{arg1}{arg2}#*
\pmcorderzero{arg}#*
\pmcorderm{arg1}{arg2}#*
\pmporderzero{arg}#*
\pmporderm{arg1}{arg2}#*
\pmIntoo{arg1}{arg2}#*
\pmIntoc{arg1}{arg2}#*
\pmIntco{arg1}{arg2}#*
\pmIntcc{arg1}{arg2}#*
Loading

0 comments on commit b307bba

Please sign in to comment.