Skip to content

Commit

Permalink
Cwls (#3955)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
mbertucci47 authored Jan 16, 2025
1 parent 8fbae4e commit 36956fe
Show file tree
Hide file tree
Showing 14 changed files with 122 additions and 13 deletions.
5 changes: 5 additions & 0 deletions completion.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@
<file>completion/beamerthemeTUDa.cwl</file>
<file>completion/beamerthemeVerona.cwl</file>
<file>completion/beamerthemeXiaoshan.cwl</file>
<file>completion/beamertools.cwl</file>
<file>completion/bearwear.cwl</file>
<file>completion/begingreek.cwl</file>
<file>completion/begriff.cwl</file>
Expand Down Expand Up @@ -523,6 +524,7 @@
<file>completion/CascadiaCodePL.cwl</file>
<file>completion/CascadiaMono.cwl</file>
<file>completion/CascadiaMonoPL.cwl</file>
<file>completion/cascadiamono-otf.cwl</file>
<file>completion/cas-common.cwl</file>
<file>completion/cases.cwl</file>
<file>completion/casiofont.cwl</file>
Expand Down Expand Up @@ -1563,6 +1565,7 @@
<file>completion/filemod.cwl</file>
<file>completion/filemod-expmin.cwl</file>
<file>completion/filesdo.cwl</file>
<file>completion/fillpages.cwl</file>
<file>completion/fillwith.cwl</file>
<file>completion/finstrut.cwl</file>
<file>completion/firamath-otf.cwl</file>
Expand Down Expand Up @@ -1695,6 +1698,7 @@
<file>completion/gensymb.cwl</file>
<file>completion/gentiumbook.cwl</file>
<file>completion/gentium.cwl</file>
<file>completion/gentium-otf.cwl</file>
<file>completion/gentombow.cwl</file>
<file>completion/geometry.cwl</file>
<file>completion/german.cwl</file>
Expand Down Expand Up @@ -1985,6 +1989,7 @@
<file>completion/iwonamath.cwl</file>
<file>completion/jamtimes.cwl</file>
<file>completion/javascripthttp.cwl</file>
<file>completion/jetbrainsmono-otf.cwl</file>
<file>completion/JeuxCartes.cwl</file>
<file>completion/jiazhu.cwl</file>
<file>completion/jigsaw.cwl</file>
Expand Down
15 changes: 15 additions & 0 deletions completion/beamertools.cwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# beamertools package
# Matthew Bertucci 2025/01/13 for v0.1

\redefbeamertemplate<mode specification>*{element name}{predefined option}[argument number][default optional argument]{predefined text}[action]{action command}
\redefbeamertemplate<mode specification>*{element name}{predefined option}[default optional argument]{predefined text}[action]{action command}
\redefbeamertemplate<mode specification>*{element name}{predefined option}{predefined text}[action]{action command}
\redefbeamertemplate<mode specification>*{element name}{predefined option}[argument number][default optional argument]{predefined text}
\redefbeamertemplate<mode specification>*{element name}{predefined option}[argument number]{predefined text}
\redefbeamertemplate<mode specification>*{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}
14 changes: 14 additions & 0 deletions completion/cascadiamono-otf.cwl
Original file line number Diff line number Diff line change
@@ -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
3 changes: 1 addition & 2 deletions completion/class-elsarticle.cwl
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -263,7 +263,6 @@ abstract
\stmexpandonce{arg}#*
\textmarker{color}{text}#*
\theaffn#*
\theauthor#*
\thecnote#*
\theead#*
\thefnote#*
Expand Down
3 changes: 1 addition & 2 deletions completion/class-xdupgthesis.cwl
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -102,7 +102,6 @@ info/supv-ent-title*={%<校外导师职称英文名称%>}
info/student-id={%<作者学号%>}
info/clc={%<中图分类号%>}
info/secret-level=#秘密,公开
info/secret-year={%<保密年限%>}
info/submit-date={%<yyyy-mm%>}
info/statement-scan={%<学位论文独创性声明和关于论文使用授权的说明页扫描文件路径%>}
info/statement-sign={%<文件路径1,文件路径2,文件路径3,文件路径4,文件路径5,文件路径6%>}
Expand Down
7 changes: 7 additions & 0 deletions completion/fillpages.cwl
Original file line number Diff line number Diff line change
@@ -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
46 changes: 46 additions & 0 deletions completion/gentium-otf.cwl
Original file line number Diff line number Diff line change
@@ -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=%<factor%>
math=%<font name%>
mathFeatures={%<fontspec features%>}
sans=%<font name%>
sansFeatures={%<fontspec features%>}
mono=%<font name%>
monoFeatures={%<fontspec features%>}
defaultfeatures={%<fontspec features%>}
#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
16 changes: 16 additions & 0 deletions completion/jetbrainsmono-otf.cwl
Original file line number Diff line number Diff line change
@@ -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
6 changes: 4 additions & 2 deletions completion/jsonparse.cwl
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
\jsonparse_parse_to_prop:Nn %<⟨tl var⟩%> {%<⟨JSON string⟩%>}#/%expl3
3 changes: 2 additions & 1 deletion completion/libertinus-type1.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# libertinus-type1 package
# Matthew Bertucci 2024/09/23
# Matthew Bertucci 2025/01/13

#include:ifxetex
#include:ifluatex
Expand Down Expand Up @@ -44,6 +44,7 @@ ScaleTT=%<factor%>
\LibertinusSansLF
\LibertinusMono
\LibertinusKeyboard
\libertinusDisplay
\libertinusseriflgr#*
\libertinussanslgr#*
\sufigures
Expand Down
3 changes: 2 additions & 1 deletion completion/plantuml.cwl
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -12,6 +12,7 @@
\begin{plantuml}
\end{plantuml}

\CurrentDirectory#S
\PlantUMLJobname#S
\PlantUmlMode#S
\maxwidth{width}#S
Expand Down
4 changes: 2 additions & 2 deletions completion/schooldocs.cwl
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 3 additions & 1 deletion completion/simpleicons.cwl
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -613,6 +613,7 @@ comma
commerzbank
commitlint
commodore
commonlisp
commonworkflowlanguage
compilerexplorer
composer
Expand Down Expand Up @@ -1900,6 +1901,7 @@ nextflow
nextra
nextui
nexusmods
nfcore
nfc
nginx
nginxproxymanager
Expand Down
6 changes: 4 additions & 2 deletions completion/skeldoc.cwl
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -45,6 +45,8 @@ bib-item-lines=%<integer%>
pseudo-lines=%<integer%>
pseudo-head=
pseudo-newlines={%<cmd1,cmd2,...%>}
hide-notes#true,false
hide-all
#endkeyvals

\skelline
Expand Down Expand Up @@ -167,4 +169,4 @@ newlines={%<cmd1,cmd2,...%>}
skel-blue#B

\skelversion#S
\skeldate#S
\skeldate#S

0 comments on commit 36956fe

Please sign in to comment.