From 36956fed7574436d7b85fb46a57ec7af8bef5f71 Mon Sep 17 00:00:00 2001 From: mbertucci47 <61854785+mbertucci47@users.noreply.github.com> Date: Thu, 16 Jan 2025 14:11:03 -0700 Subject: [PATCH] Cwls (#3955) * Update class-elsarticle.cwl * Update libertinus-type1.cwl * Update plantuml.cwl * Update simpleicons.cwl * Update class-xdupgthesis.cwl * Update skeldoc.cwl * Update schooldocs.cwl * Update jsonparse.cwl * Add files via upload * Update completion.qrc --- completion.qrc | 5 ++++ completion/beamertools.cwl | 15 +++++++++++ completion/cascadiamono-otf.cwl | 14 ++++++++++ completion/class-elsarticle.cwl | 3 +-- completion/class-xdupgthesis.cwl | 3 +-- completion/fillpages.cwl | 7 +++++ completion/gentium-otf.cwl | 46 ++++++++++++++++++++++++++++++++ completion/jetbrainsmono-otf.cwl | 16 +++++++++++ completion/jsonparse.cwl | 6 +++-- completion/libertinus-type1.cwl | 3 ++- completion/plantuml.cwl | 3 ++- completion/schooldocs.cwl | 4 +-- completion/simpleicons.cwl | 4 ++- completion/skeldoc.cwl | 6 +++-- 14 files changed, 122 insertions(+), 13 deletions(-) create mode 100644 completion/beamertools.cwl create mode 100644 completion/cascadiamono-otf.cwl create mode 100644 completion/fillpages.cwl create mode 100644 completion/gentium-otf.cwl create mode 100644 completion/jetbrainsmono-otf.cwl diff --git a/completion.qrc b/completion.qrc index ce63b99a44..7386be8f92 100644 --- a/completion.qrc +++ b/completion.qrc @@ -319,6 +319,7 @@ completion/beamerthemeTUDa.cwl completion/beamerthemeVerona.cwl completion/beamerthemeXiaoshan.cwl +completion/beamertools.cwl completion/bearwear.cwl completion/begingreek.cwl completion/begriff.cwl @@ -523,6 +524,7 @@ completion/CascadiaCodePL.cwl completion/CascadiaMono.cwl completion/CascadiaMonoPL.cwl +completion/cascadiamono-otf.cwl completion/cas-common.cwl completion/cases.cwl completion/casiofont.cwl @@ -1563,6 +1565,7 @@ completion/filemod.cwl completion/filemod-expmin.cwl completion/filesdo.cwl +completion/fillpages.cwl completion/fillwith.cwl completion/finstrut.cwl completion/firamath-otf.cwl @@ -1695,6 +1698,7 @@ completion/gensymb.cwl completion/gentiumbook.cwl completion/gentium.cwl +completion/gentium-otf.cwl completion/gentombow.cwl completion/geometry.cwl completion/german.cwl @@ -1985,6 +1989,7 @@ completion/iwonamath.cwl completion/jamtimes.cwl completion/javascripthttp.cwl +completion/jetbrainsmono-otf.cwl completion/JeuxCartes.cwl completion/jiazhu.cwl completion/jigsaw.cwl diff --git a/completion/beamertools.cwl b/completion/beamertools.cwl new file mode 100644 index 0000000000..391ef58bd7 --- /dev/null +++ b/completion/beamertools.cwl @@ -0,0 +1,15 @@ +# beamertools package +# Matthew Bertucci 2025/01/13 for v0.1 + +\redefbeamertemplate*{element name}{predefined option}[argument number][default optional argument]{predefined text}[action]{action command} +\redefbeamertemplate*{element name}{predefined option}[default optional argument]{predefined text}[action]{action command} +\redefbeamertemplate*{element name}{predefined option}{predefined text}[action]{action command} +\redefbeamertemplate*{element name}{predefined option}[argument number][default optional argument]{predefined text} +\redefbeamertemplate*{element name}{predefined option}[argument number]{predefined text} +\redefbeamertemplate*{element name}{predefined option}{predefined text} +\redefbeamertemplate{element name}{predefined option}[argument number][default optional argument]{predefined text}[action]{action command} +\redefbeamertemplate{element name}{predefined option}[default optional argument]{predefined text}[action]{action command} +\redefbeamertemplate{element name}{predefined option}{predefined text}[action]{action command} +\redefbeamertemplate{element name}{predefined option}[argument number][default optional argument]{predefined text} +\redefbeamertemplate{element name}{predefined option}[argument number]{predefined text} +\redefbeamertemplate{element name}{predefined option}{predefined text} \ No newline at end of file diff --git a/completion/cascadiamono-otf.cwl b/completion/cascadiamono-otf.cwl new file mode 100644 index 0000000000..84fd79fcf5 --- /dev/null +++ b/completion/cascadiamono-otf.cwl @@ -0,0 +1,14 @@ +# cascadiamono-otf package +# Matthew Bertucci 2025/01/13 for v0.3 + +#include:xkeyval +#include:fontspec + +\cascadiamono +\cascadiamonosemilight +\cascadiamonolight +\cascadiamonoextralight +\cascadiacode +\cascadiacodesemilight +\cascadiacodelight +\cascadiacodeextralight \ No newline at end of file diff --git a/completion/class-elsarticle.cwl b/completion/class-elsarticle.cwl index e65f56eb87..79aed2bfff 100644 --- a/completion/class-elsarticle.cwl +++ b/completion/class-elsarticle.cwl @@ -1,5 +1,5 @@ # elsarticle class -# Matthew Bertucci 3/22/2022 for v3.3 +# Matthew Bertucci 2025/01/12 for v3.4c #include:etoolbox #include:graphicx @@ -263,7 +263,6 @@ abstract \stmexpandonce{arg}#* \textmarker{color}{text}#* \theaffn#* -\theauthor#* \thecnote#* \theead#* \thefnote#* diff --git a/completion/class-xdupgthesis.cwl b/completion/class-xdupgthesis.cwl index dde1816350..0b68e15a09 100644 --- a/completion/class-xdupgthesis.cwl +++ b/completion/class-xdupgthesis.cwl @@ -1,5 +1,5 @@ # xdupgthesis class -# Matthew Bertucci 2023/03/05 for v6.1.0.1 +# Matthew Bertucci 2025/01/13 for v6.2.3.1 #include:l3keys2e #include:class-ctexbook @@ -102,7 +102,6 @@ info/supv-ent-title*={%<校外导师职称英文名称%>} info/student-id={%<作者学号%>} info/clc={%<中图分类号%>} info/secret-level=#秘密,公开 -info/secret-year={%<保密年限%>} info/submit-date={%} info/statement-scan={%<学位论文独创性声明和关于论文使用授权的说明页扫描文件路径%>} info/statement-sign={%<文件路径1,文件路径2,文件路径3,文件路径4,文件路径5,文件路径6%>} diff --git a/completion/fillpages.cwl b/completion/fillpages.cwl new file mode 100644 index 0000000000..c1822e24b0 --- /dev/null +++ b/completion/fillpages.cwl @@ -0,0 +1,7 @@ +# fillpages package +# Matthew Bertucci 2025/01/13 for v1.0.1 + +\pagesDivisibleBy{number} +\pagesDivisibleBy{number}[offset] +\setFillPage{number}{content%text} +\insertFillPages \ No newline at end of file diff --git a/completion/gentium-otf.cwl b/completion/gentium-otf.cwl new file mode 100644 index 0000000000..b29e8ae965 --- /dev/null +++ b/completion/gentium-otf.cwl @@ -0,0 +1,46 @@ +# gentium-otf package +# Matthew Bertucci 2025/01/13 for v0.01 + +#include:iftex +#include:xkeyval +#include:fontspec + +#keyvals:\usepackage/gentium-otf#c +book +ScaleRM=% +math=% +mathFeatures={%} +sans=% +sansFeatures={%} +mono=% +monoFeatures={%} +defaultfeatures={%} +#endkeyvals + +\Lctosc{text} +\LCtoSC- +\LCtoSC+ +\Lctosmcp{text} +\LCtoSMCP- +\LCtoSMCP+ +\Lliga{text} +\LLIGA- +\LLIGA+ +\Lss{num1}{num2}{text} +\LSS{num1}{num2} +\Lcv{num1}{num2}{text} +\LCV{num1}{num2} +\Lcv[opt]{num1}{num2}{text} +\LCV[opt]{num1}{num2} +\Lsup{text} +\LSUP- +\LSUP+ +\Lsub{text} +\LSUB- +\LSUB+ +\Lfrac{fraction} +\LFRAC- +\LFRAC+ + +# not documented +\Llang{arg}#S \ No newline at end of file diff --git a/completion/jetbrainsmono-otf.cwl b/completion/jetbrainsmono-otf.cwl new file mode 100644 index 0000000000..fab2c1f80b --- /dev/null +++ b/completion/jetbrainsmono-otf.cwl @@ -0,0 +1,16 @@ +# jetbrainsmono-otf package +# Matthew Bertucci 2025/01/13 for v0.1 + +#include:xkeyval +#include:fontspec + +\jetbrainsmono +\jetbrainsmonoextralight +\jetbrainsmonolight +\jetbrainsmonomedium +\jetbrainsmonothin +\jetbrainscode +\jetbrainscodeextralight +\jetbrainscodelight +\jetbrainscodemedium +\jetbrainscodethin \ No newline at end of file diff --git a/completion/jsonparse.cwl b/completion/jsonparse.cwl index 9f0fc21298..ef44acd319 100644 --- a/completion/jsonparse.cwl +++ b/completion/jsonparse.cwl @@ -1,5 +1,5 @@ # jsonparse package -# Matthew Bertucci 2024/11/29 for v0.9.8 +# Matthew Bertucci 2025/01/16 for v0.9.11 \JSONParse{token variable%cmd}{JSON string}#d \JSONParse[options%keyvals]{token variable%cmd}{JSON string}#d @@ -32,6 +32,8 @@ \JSONParseArrayKey \JSONParseArrayValue \JSONParseArrayCount{token variable}{key%plain} +\JSONParseSetArrayCount{token variable%cmd}{token variable}{key%plain}#d +\JSONParseArrayMapInline{token variable}{key%plain}{inline function} \JSONParseSet{keyvals} ## global @@ -73,4 +75,4 @@ rescan#true,false \jsonparse_if_num:nTF {%<⟨true code⟩%>} {%<⟨false code⟩%>} {%<⟨string⟩%>}#/%expl3 \jsonparse_if_num_p:n {%<⟨string⟩%>}#/%expl3 \jsonparse_parse:n {%<⟨JSON string⟩%>}#/%expl3 -\jsonparse_parse_to_prop:Nn %<⟨tl var⟩%> {%<⟨JSON string⟩%>}#/%expl3 \ No newline at end of file +\jsonparse_parse_to_prop:Nn %<⟨tl var⟩%> {%<⟨JSON string⟩%>}#/%expl3 diff --git a/completion/libertinus-type1.cwl b/completion/libertinus-type1.cwl index 6cfe1336dc..bb17301614 100644 --- a/completion/libertinus-type1.cwl +++ b/completion/libertinus-type1.cwl @@ -1,5 +1,5 @@ # libertinus-type1 package -# Matthew Bertucci 2024/09/23 +# Matthew Bertucci 2025/01/13 #include:ifxetex #include:ifluatex @@ -44,6 +44,7 @@ ScaleTT=% \LibertinusSansLF \LibertinusMono \LibertinusKeyboard +\libertinusDisplay \libertinusseriflgr#* \libertinussanslgr#* \sufigures diff --git a/completion/plantuml.cwl b/completion/plantuml.cwl index 114bbb006c..87386df1c2 100644 --- a/completion/plantuml.cwl +++ b/completion/plantuml.cwl @@ -1,5 +1,5 @@ # plantuml package -# Matthew Bertucci 2024/09/18 for v0.4.0 +# Matthew Bertucci 2025/01/13 for v0.5.0 #include:adjustbox #include:fancyvrb @@ -12,6 +12,7 @@ \begin{plantuml} \end{plantuml} +\CurrentDirectory#S \PlantUMLJobname#S \PlantUmlMode#S \maxwidth{width}#S diff --git a/completion/schooldocs.cwl b/completion/schooldocs.cwl index 9ac089c491..6c737674db 100644 --- a/completion/schooldocs.cwl +++ b/completion/schooldocs.cwl @@ -1,10 +1,10 @@ # schooldocs package -# Matthew Bertucci 2024/02/01 for v1.5 +# Matthew Bertucci 2025/01/16 for v1.6 #include:geometry #include:fancyhdr #include:ifthen -#include:lastpage +#include:totpages #include:fancybox #include:xcolor #include:translations diff --git a/completion/simpleicons.cwl b/completion/simpleicons.cwl index 708d96e3b5..63e55c51ee 100644 --- a/completion/simpleicons.cwl +++ b/completion/simpleicons.cwl @@ -1,5 +1,5 @@ # simpleicons package -# Matthew Bertucci 2024/12/28 for v14.0.0 +# Matthew Bertucci 2025/01/13 for v14.1.0 #include:iftex @@ -613,6 +613,7 @@ comma commerzbank commitlint commodore +commonlisp commonworkflowlanguage compilerexplorer composer @@ -1900,6 +1901,7 @@ nextflow nextra nextui nexusmods +nfcore nfc nginx nginxproxymanager diff --git a/completion/skeldoc.cwl b/completion/skeldoc.cwl index 8e1a687b60..16bfcac300 100644 --- a/completion/skeldoc.cwl +++ b/completion/skeldoc.cwl @@ -1,5 +1,5 @@ # skeldoc package -# Matthew Bertucci 2022/07/20 for v0.1.2 +# Matthew Bertucci 2025/01/16 for v0.1.3 #include:xcolor #include:tabularx @@ -45,6 +45,8 @@ bib-item-lines=% pseudo-lines=% pseudo-head= pseudo-newlines={%} +hide-notes#true,false +hide-all #endkeyvals \skelline @@ -167,4 +169,4 @@ newlines={%} skel-blue#B \skelversion#S -\skeldate#S \ No newline at end of file +\skeldate#S