Skip to content

Commit

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

* Update testhyphens.cwl

* Update acronym.cwl

* Update beamerthememoloch.cwl

* Update jsonparse.cwl

* Update mathalpha.cwl

* Update class-mitthesis.cwl

* Update jsonparse.cwl

* Update fillpages.cwl

* Update jsonparse.cwl

* Update pdfpages.cwl

* Update tracklang.cwl

* Update tikzdotncross.cwl

* Update pmdraw.cwl

* Update simpleicons.cwl

* Update newpxmath.cwl

* Update tikzdotncross.cwl

* Update class-aomart.cwl

* Update class-mitthesis.cwl

* Update markdown.cwl

* Update expl3-commands.cwl

* Update class-asmeconf.cwl

* Update hrefhide.cwl

* Update jslectureplanner.cwl

* Update lineno.cwl

* Update pagecolor.cwl

* Update romanbar.cwl

* Update latex-dev.cwl

* Add files via upload

* Update completion.qrc
  • Loading branch information
mbertucci47 authored Jan 30, 2025
1 parent ebb3a05 commit 7c83bdb
Show file tree
Hide file tree
Showing 26 changed files with 268 additions and 142 deletions.
2 changes: 2 additions & 0 deletions completion.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@
<file>completion/asyprocess.cwl</file>
<file>completion/atbegshi.cwl</file>
<file>completion/at.cwl</file>
<file>completion/atableau.cwl</file>
<file>completion/atendofenv.cwl</file>
<file>completion/athnum.cwl</file>
<file>completion/atkinson.cwl</file>
Expand Down Expand Up @@ -4009,6 +4010,7 @@
<file>completion/undolabl.cwl</file>
<file>completion/unfontsxe.cwl</file>
<file>completion/uni8.cwl</file>
<file>completion/unibidi-lua.cwl</file>
<file>completion/unicode-alphabets.cwl</file>
<file>completion/unicodefonttable.cwl</file>
<file>completion/unicode-math.cwl</file>
Expand Down
3 changes: 2 additions & 1 deletion completion/acronym.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
# ygrange 04/16/2007, Moritz Struebe 21/03/2013, GenosseFlosse 26/03/2021
# URL: http://www.ctan.org/tex-archive/help/Catalogue/entries/acronym.html
# URL: https://www.ctan.org/pkg/acronym
# updated 2024/09/19 for v1.49
# updated 2025/01/17 for v1.50

#include:suffix
#include:xstring

#keyvals:\usepackage/acronym#c
error
footnote
nohyperlinks
noforwardlinks
Expand Down
59 changes: 59 additions & 0 deletions completion/atableau.cwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# atableau package
# Matthew Bertucci 2025/01/23 for v2.0.2

#include:tikz
#include:tikzlibraryshapes.geometric
#include:tikzlibrarymatrix
#include:amsfonts

\Abacus{number of runners}{bead spec}
\Abacus[options]{number of runners}{bead spec}
\Abacus(x,y){number of runners}{bead spec}
\Abacus(x,y)[options]{number of runners}{bead spec}
\Diagram{partition spec}
\Diagram[options]{partition spec}
\Diagram(x,y){partition spec}
\Diagram(x,y)[options]{partition spec}
\Multidiagram{multipartition spec}
\Multidiagram[options]{multipartition spec}
\Multidiagram(x,y){multipartition spec}
\Multidiagram(x,y)[options]{multipartition spec}
\Multitableau{multitableau spec}
\Multitableau[options]{multitableau spec}
\Multitableau(x,y){multitableau spec}
\Multitableau(x,y)[options]{multitableau spec}
\RibbonTableau{ribbon spec}
\RibbonTableau[options]{ribbon spec}
\RibbonTableau(x,y){ribbon spec}
\RibbonTableau(x,y)[options]{ribbon spec}
\ShiftedDiagram{partition spec}
\ShiftedDiagram[options]{partition spec}
\ShiftedDiagram(x,y){partition spec}
\ShiftedDiagram(x,y)[options]{partition spec}
\ShiftedTableau{tableau spec}
\ShiftedTableau[options]{tableau spec}
\ShiftedTableau(x,y){tableau spec}
\ShiftedTableau(x,y)[options]{tableau spec}
\SkewDiagram{skew shape}{partition spec}
\SkewDiagram[options]{skew shape}{partition spec}
\SkewDiagram(x,y){skew shape}{partition spec}
\SkewDiagram(x,y)[options]{skew shape}{partition spec}
\SkewTableau{skew shape}{tableau spec}
\SkewTableau[options]{skew shape}{tableau spec}
\SkewTableau(x,y){skew shape}{tableau spec}
\SkewTableau(x,y)[options]{skew shape}{tableau spec}
\Tableau{tableau spec}
\Tableau[options]{tableau spec}
\Tableau(x,y){tableau spec}
\Tableau(x,y)[options]{tableau spec}
\Tabloid{partition spec}
\Tabloid[options]{partition spec}
\Tabloid(x,y){partition spec}
\Tabloid(x,y)[options]{partition spec}
\aTabset{options%keyvals}

aTableauMain#B
aTableauInner#B
aTableauSkew#B
aTableauSkewFill#B
aTableauStarStyle#B
3 changes: 2 additions & 1 deletion completion/beamerthememoloch.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# moloch beamertheme
# Matthew Bertucci 2024/07/10 for v0.4.0
# Matthew Bertucci 2025/01/17 for v0.6.0

#include:etoolbox
#include:pgfopts
Expand All @@ -11,6 +11,7 @@ titleformat=#regular,smallcaps,allsmallcaps,allcaps
titleformat plain=#regular,smallcaps,allsmallcaps,allcaps
sectionpage=#none,simple,progressbar
subsectionpage=#none,simple,progressbar
standoutnumbering=#none,hide,show
numbering=#none,counter,fraction
progressbar=#none,head,frametitle,foot
block=#transparent,fill
Expand Down
12 changes: 10 additions & 2 deletions completion/class-aomart.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# aomart class
# Matthew Bertucci 2024/06/11 for v1.28
# Matthew Bertucci 2025/01/27 for v1.32

#include:class-amsart
#include:fancyhdr
Expand Down Expand Up @@ -82,7 +82,13 @@ twoside
\arxivnumber{number}
\oldsubsections#*
\widebar{arg}#m
\EditorialComment{comment%todo}#D
\EditorialComment{comments%todo}#D
\EditorialComment[audience]{comments%todo}#D
\Highlight{text}
\Highlight[audience]{text}
\ECSelect{audiences}
\HSelect{audience}
\HSelect[color]{audience}
\fullref{word%text}{label}#r
\pfullref{word%text}{label}#r
\bfullref{word%text}{label}#r
Expand All @@ -91,6 +97,8 @@ twoside
\fullpageref[prefix text%text]{label}#r
\newtheorem[code]{envname}{caption}#*N
\newtheorem*[code]{envname}{caption}#*N
\includecolorgraphics{color file%imagefile}{bw file%imagefile}#g
\includecolorgraphics[options%keyvals]{color file%imagefile}{bw file%imagefile}#g
\funding{sponsor}{grant-id}
\funding[text]{sponsor}{grant-id}
\doi{DOI%URL}#U
Expand Down
23 changes: 5 additions & 18 deletions completion/class-asmeconf.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# asmeconf class
# Matthew Bertucci 2024/08/02 for v1.38
# Matthew Bertucci 2025/01/30 for v1.40

#include:etoolbox
#include:ifthen
Expand All @@ -25,7 +25,6 @@
#include:newtxmath
#include:mathalfa
#include:bm
#include:metalogo
#include:hologo
#include:fancyhdr
#include:footmisc
Expand Down Expand Up @@ -1957,18 +1956,13 @@ SuppressWarning#true,false

# asmeconf class commands
\affil{number}
\AffiliationBlock#*
\AffiliationsBlock#*
\appendicesname#*
\arabicabstractname#S
\authorblock#*
\AuthorBlock#*
\begin{abstract*}
\begin{nomenclature}
\begin{nomenclature}[dimen%l]
\begin{nomenclature}[dimen%l][title%text]
\CAwords#*
\coffinsep#*
\ConfAcronym{acronym}
\ConfCity{city}
\ConfDate{date}
Expand All @@ -1978,11 +1972,8 @@ SuppressWarning#true,false
\end{nomenclature}
\entry{entry}{text}
\EntryHeading{heading%text}
\fifthrowauthorblock#*
\firstrowauthorblock#*
\fontspecloadedfalse#*
\fontspecloadedtrue#*
\fourthrowauthorblock#*
\fontspecloadedfalse#S
\fontspecloadedtrue#S
\hrefurl{URL}{text%plain}#U
\iffontspecloaded#*
\JAwords#*
Expand All @@ -2002,7 +1993,6 @@ SuppressWarning#true,false
\savitemsep#*
\scaption[short text%text]{text}#*
\scaption{text}#*
\secondrowauthorblock#*
\SetAffiliation{number}{address}
\SetAuthors{name1,name2,...}
\sfalpha#m
Expand Down Expand Up @@ -2052,12 +2042,9 @@ SuppressWarning#true,false
\sfxi#m
\sfzeta#m
\shortcaption#*
\theauthorcnt#*
\theauthorno#*
\thirdrowauthorblock#*
\versiondate#*
\versiondate#S
\versionfootnote{text}
\versionno#*
\versionno#S

# from dvipsnames option of xcolor
Apricot#B
Expand Down
4 changes: 2 additions & 2 deletions completion/class-mitthesis.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# mitthesis class
# Matthew Bertucci 2024/07/03 for v1.13
# Matthew Bertucci 2025/01/28 for v1.19

#include:class-report
#include:etoolbox
Expand Down Expand Up @@ -45,6 +45,7 @@ twoside
\begin{nomenclature}[space]
\begin{nomenclature}[space][heading%text]
\begin{nomenclature}[space][heading%text][level]
\begin{nomenclature}[space][heading%text][level][style]
\end{nomenclature}

\EntryHeading{text}
Expand Down Expand Up @@ -117,7 +118,6 @@ twoside
# loads dvipsnames, svgnames, and x11names options of xcolor
#include:caption
#include:subcaption
#include:titlesec
# from dvipsnames option of xcolor
Apricot#B
Aquamarine#B
Expand Down
5 changes: 4 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-12-25
# expl3 commands, l3kernel 2025-01-18
# 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 @@ -1679,6 +1679,9 @@
\int_step_inline:nn {%<⟨final val⟩%>} {%<⟨inline function⟩%>}#/%expl3
\int_step_inline:nnn {%<⟨init val⟩%>} {%<⟨final val⟩%>} {%<⟨inline function⟩%>}#/%expl3
\int_step_inline:nnnn {%<⟨init val⟩%>} {%<⟨step⟩%>} {%<⟨final val⟩%>} {%<⟨inline function⟩%>}#/%expl3
\int_step_tokens:nn {%<⟨final val⟩%>} {%<⟨code⟩%>}#/%expl3
\int_step_tokens:nnn {%<⟨init val⟩%>} {%<⟨final val⟩%>} {%<⟨code⟩%>}#/%expl3
\int_step_tokens:nnnn {%<⟨init val⟩%>} {%<⟨step⟩%>} {%<⟨final val⟩%>} {%<⟨code⟩%>}#/%expl3
\int_step_variable:nNn {%<⟨final val⟩%>} %<⟨tl var⟩%> {%<⟨code⟩%>}#/%expl3
\int_step_variable:nnNn {%<⟨init val⟩%>} {%<⟨final val⟩%>} %<⟨tl var⟩%> {%<⟨code⟩%>}#/%expl3
\int_step_variable:nnnNn {%<⟨init val⟩%>} {%<⟨step⟩%>} {%<⟨final val⟩%>} %<⟨tl var⟩%> {%<⟨code⟩%>}#/%expl3
Expand Down
5 changes: 3 additions & 2 deletions completion/fillpages.cwl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# fillpages package
# Matthew Bertucci 2025/01/13 for v1.0.1
# Matthew Bertucci 2025/01/21 for v1.1.0

\pagesDivisibleBy{number}
\pagesDivisibleBy{number}[offset]
\setFillPage{number}{content%text}
\insertFillPages
\setDefaultFillPage{content%text}
\insertFillPages
3 changes: 1 addition & 2 deletions completion/hrefhide.cwl
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# hrefhide package
# Matthew Bertucci 2023/02/26 for v1.1a
# Matthew Bertucci 2025/01/30 for v1.1b

#include:xcolor
#include:hyperref
#include:kvoptions

#keyvals:\usepackage/hrefhide#c
linktextcolour=#%color
Expand Down
4 changes: 3 additions & 1 deletion completion/jslectureplanner.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# jslectureplanner package
# Matthew Bertucci 2024/03/08 for v1.13
# Matthew Bertucci 2025/01/30 for v1.14

#include:etoolbox
#include:datetime2
Expand Down Expand Up @@ -162,6 +162,7 @@ span=%<span%>
\end{labeling}

\makeprogram
\makeprogram*
\makeexamprogram
\makebeamerprogram
\makebeamerprogram[options%keyvals]
Expand All @@ -172,6 +173,7 @@ span=%<span%>
title=%<title%>
blocksonly#true,false
uncover#true,false
instructors#true,false
options={%<frame options%>}
overlayarg=%<overlay specification%>
#endkeyvals
Expand Down
6 changes: 4 additions & 2 deletions completion/jsonparse.cwl
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# jsonparse package
# Matthew Bertucci 2025/01/16 for v0.9.11
# Matthew Bertucci 2025/01/21 for v1.0.1

\JSONParse{token variable%cmd}{JSON string}#d
\JSONParse[options%keyvals]{token variable%cmd}{JSON string}#d
\JSONParseFromFile{token variable%cmd}{JSON file%file}#d
\JSONParseFromFile[options%keyvals]{token variable%cmd}{JSON file%file}#d
\JSONParseKeys{token variable}{token variable%cmd}#d
\JSONParseKeys{token variable}{key%plain}
\JSONParseSetKeys{token variable%cmd}{token variable}{key%plain}#d
\JSONParseFilter{token variable%cmd}{token variable}{key%plain}#d
\JSONParseValue{token variable}{key%plain}
\JSONParseValue[options%keyvals]{token variable}{key%plain}
\JSONParseExpandableValue{token variable}{key%plain}
Expand Down
3 changes: 2 additions & 1 deletion completion/latex-dev.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -551,13 +551,14 @@ debug={%<options%>}
\stockheight#*L
\stockwidth#*L

# pdftex 2023-02-11
# pdftex 2025-01-25
\efcode#*
\expanded#*
\ifincsname#*
\ifpdfabsdim#*
\ifpdfabsnum#*
\ifpdfprimitive#*
\ignoreprimitiveerror#*
\knaccode#*
\knbccode#*
\knbscode#*
Expand Down
3 changes: 2 additions & 1 deletion completion/lineno.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# lineno package
# Matthew Bertucci 2023/05/20 for v5.3
# Matthew Bertucci 2025/01/30 for v5.4

#include:etoolbox
#include:kvoptions
Expand All @@ -22,6 +22,7 @@ modulo*
mathlines
sep=##L
width=##L
nolinelabelerror
#endkeyvals

#ifOption:addpageno
Expand Down
5 changes: 3 additions & 2 deletions completion/markdown.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# markdown package
# Matthew Bertucci 2024/11/25 for v3.9.0
# Matthew Bertucci 2025/01/28 for v3.10.0

#include:paralist
#include:amsmath
Expand Down Expand Up @@ -42,7 +42,7 @@

#keyvals:\usepackage/markdown#c,\begin{markdown}#c,\begin{yaml}#c,\markinline#c,\markdownInput#c,\yamlInput#c,\markdownSetup#c,\markdownSetupSnippet#c,\yamlSetup#c
plain#true,false
import=#witiko/dot,witiko/graphicx/http,witiko/tilde,witiko/markdown/defaults
import=#witiko/diagrams@v1,witiko/diagrams@v2,witiko/graphicx/http,witiko/tilde,witiko/markdown/defaults
snippet=#%markdownsnippet
helperScriptFileName=%<file name%>
inputTempFileName=%<file name%>
Expand Down Expand Up @@ -106,6 +106,7 @@ stripPercentSigns#true,false
finalizeCache#true,false
frozenCache#true,false
frozenCacheFileName=%<file name%>
jekyllDataKeyValue=%<module%>
#endkeyvals

#keyvals:\begin{markdown}#c,\markinline#c,\markdownInput#c,\markdownSetup#c,\markdownSetupSnippet#c
Expand Down
12 changes: 10 additions & 2 deletions completion/mathalpha.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# mathalpha package
# Matthew Bertucci 11/2/2021 for v1.142
# Matthew Bertucci 2025/01/19 for v1.145

#include:xkeyval

Expand All @@ -16,7 +16,7 @@ frak=#euler,lucida,mathpi,mma,mt,esstix,boondox,pxtx,stixtwo
frakscaled=%<factor%>
bffrak
fraksymbols
bb=#ams,lucida,mathpi,mma,mt,mth,pazo,fourier,esstix,boondox,px,tx,txof,libus,dsserif,bboldx,bboldx-light,dsfontserif,dsfontsans,stixtwo,stix
bb=#ams,lucida,mathpi,mma,mt,mth,pazo,fourier,esstix,boondox,px,tx,txof,libus,dsserif,bboldx,bboldxLight,dsfontserif,dsfontsans,stixtwo,stix,ncmbbr,ncmbbk
bbscaled=%<factor%>
bfbb
bbsymbols
Expand Down Expand Up @@ -367,6 +367,14 @@ showoptions
\bbLparen#m
\bbRparen#m
#endif
#ifOption:bb=ncmbbr
\mathbb{text%plain}#m
\mathbfbb{text%plain}#m
#endif
#ifOption:bb=ncmbbk
\mathbb{text%plain}#m
\mathbfbb{text%plain}#m
#endif

\mathalphaVersion#S
\mathalphaDate#S
Expand Down
Loading

0 comments on commit 7c83bdb

Please sign in to comment.