Skip to content

Commit

Permalink
cwls (#3795)
Browse files Browse the repository at this point in the history
* Update verifycommand.cwl

* Update suanpan-l3.cwl

* Update scrhack.cwl

* Update newcomputermodern.cwl

* Update suanpan-l3.cwl

* Update luatexja-ruby.cwl

* Update fourier-orns.cwl

* Update spelatex.cwl

* Update circledtext.cwl

* Update pgf-PeriodicTable.cwl

* Update simpleicons.cwl

* Update class-mla.cwl

* Add files via upload

* Update completion.qrc

* Update gitinfo-lua.cwl

* Update pas-tableur.cwl

* Update fvextra.cwl
  • Loading branch information
mbertucci47 authored Sep 15, 2024
1 parent 61f92ee commit 02e4c9d
Show file tree
Hide file tree
Showing 17 changed files with 314 additions and 45 deletions.
2 changes: 2 additions & 0 deletions completion.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -2015,6 +2015,7 @@
<file>completion/keyparse.cwl</file>
<file>completion/keyreader.cwl</file>
<file>completion/keystroke.cwl</file>
<file>completion/keytheorems.cwl</file>
<file>completion/keyval.cwl</file>
<file>completion/keyvaltable.cwl</file>
<file>completion/Kinigcap.cwl</file>
Expand Down Expand Up @@ -4236,6 +4237,7 @@
<file>completion/zref-user.cwl</file>
<file>completion/zref-vario.cwl</file>
<file>completion/zref-xr.cwl</file>
<file>completion/zugferd.cwl</file>
<file>completion/zwgetfdate.cwl</file>
<file>completion/zwpagelayout.cwl</file>
<file>completion/zxbase.cwl</file>
Expand Down
7 changes: 5 additions & 2 deletions completion/circledtext.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# circledtext package
# Matthew Bertucci 4/27/2022 for v1.0.0
# Matthew Bertucci 2024/09/09 for v1.1.1

#include:xtemplate
#include:l3keys2e
Expand Down Expand Up @@ -27,7 +27,10 @@ charcolor=#%color
boxfill=#%color
charstroke=#none,solid,dashed,invisible
dashpattern={%<len1,len2,...%>}
lowerbgcolor=#%color
upperbgcolor=#%color
shadowcolor=#%color
#endkeyvals

\charboxwd#*
\charboxht#*
\charboxht#*
5 changes: 3 additions & 2 deletions completion/class-mla.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# mla class
# Matthew Bertucci 2/3/2022 for v1.0
# Matthew Bertucci 2024/09/13 for v1.1

#include:enumitem
#include:fancyhdr
Expand Down Expand Up @@ -32,6 +32,7 @@ nopageheader
noheaders
plainheadings
fullpage
notimes
#endkeyvals

#ifOption:microtype
Expand Down Expand Up @@ -90,4 +91,4 @@ mladraft
\headlessfullcite{bibid}#C
\titleandsubtitle[prenote][postnote]{bibid}#*C
\titleandsubtitle[postnote]{bibid}#*C
\titleandsubtitle{bibid}#*C
\titleandsubtitle{bibid}#*C
12 changes: 10 additions & 2 deletions completion/fourier-orns.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# fourier-orns package
# Matthew Bertucci 2/8/2022 for v2.3
# Matthew Bertucci 2024/09/10 for v2.4

#include:iftex

Expand Down Expand Up @@ -39,11 +39,19 @@ noOTF
\leafleft
\leafright
\aldinesmall
\aldinesmallup
\aldinesmallrevert
\aldineleft
\aldineright
\aldine
\lefthand
\righthand
\leftblackhand
\rightblackhand

# unicode only
\grappe
\leftgrappe
\rightgrappe

\FourierOrns#*
\texorpdfstring{TeX string}{PDF string}#*
21 changes: 19 additions & 2 deletions completion/fvextra.cwl
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
# fvextra package
# Matthew Bertucci 2024/05/16 for v1.7.0
# Matthew Bertucci 2024/09/14 for v1.8.0

#include:etoolbox
#include:fancyvrb
#include:upquote
#include:lineno

#keyvals:\Verb,\Verb*,\DefineShortVerb,\begin{Verbatim},\begin{Verbatim*},\begin{BVerbatim},\begin{BVerbatim*},\begin{LVerbatim},\begin{LVerbatim*},\fvset,\DefineVerbatimEnvironment,\CustomVerbatimEnvironment,\RecustomVerbatimEnvironment,\CustomVerbatimCommand,\RecustomVerbatimCommand,\SaveVerb,\SaveVerb*,\UseVerb,\UseVerb*,\begin{SaveVerbatim},\UseVerbatim,\BUseVerbatim,\LUseVerbatim,\VerbatimInput,\BVerbatimInput,\LLVerbatimInput,\fvinlineset,\EscVerb,\EscVerb*,\begin{VerbEnv},\VerbatimInsertBuffer,\VerbatimClearBuffer,\RobustVerb,\RobustVerb*,\RobustUseVerb,\RobustUseVerb*,\RobustEscVerb,\RobustEscVerb*
backgroundcolor=#%color
backgroundcolorpadding=##L
backgroundcolorvphantom=%<macro%>
bgcolor=#%color
bgcolorpadding=##L
bgcolorvphantom=%<macro%>
beameroverlays#true,false
curlyquotes#true,false
extra#true,false
Expand All @@ -24,12 +30,14 @@ stepnumberfromfirst#true,false
stepnumberoffsetvalues#true,false
tab=%<macro%>
tabcolor=#%color
vargsingleline#true,false
breakafter=%<string%>
breakafterinrun#true,false
breakaftersymbolpre=%<string%>
breakaftersymbolpost=%<string%>
breakanywhere#true,false
breakanywheresymbolpre=%<string%>
breakanywhereinlinestretch=##L
breakanywheresymbolpost=%<string%>
breakautoindent#true,false
breakbefore=%<string%>
Expand All @@ -41,6 +49,7 @@ breakindent=##L
breakindentnchars=%<integer%>
breaklines#true,false
breaknonspaceingroup#true,false
breakpreferspaces#true,false
breaksymbol=%<string%>
breaksymbolleft=%<string%>
breaksymbolright=%<string%>
Expand Down Expand Up @@ -149,7 +158,7 @@ writer=%<macro%>
\VerbatimClearBuffer
\VerbatimClearBuffer[options%keyvals]

#keyvals:\begin{VerbatimBuffer},\VerbatimInsertBuffer,\VerbatimClearBuffer
#keyvals:\begin{VerbatimBuffer},\VerbatimInsertBuffer,\VerbatimClearBuffer,\fvset
afterbuffer=%<macro%>
bufferer=%<macro%>
bufferlengthname=%<string%>
Expand All @@ -158,6 +167,10 @@ buffername=%<string%>
globalbuffer#true,false
#endkeyvals

#keyvals:\VerbatimInsertBuffer
insertenvname=%<string%>
#endkeyvals

\FancyVerbBreakStart#*
\FancyVerbBreakStop#*
\FancyVerbBreakAnywhereBreak#*
Expand All @@ -175,6 +188,7 @@ FancyVerbHighlightColor#B
\FVExtraReadOArgBeforeVEnv{arg}#*
\FVExtraReadOArgBeforeVEnv[opt]{arg}#*
\FVExtraReadVArg{arg}#*
\FVExtraReadVArgSingleLine{arg}#*
\FVExtrapdfstringdef{arg1}{arg2}#*
\FVExtrapdfstringdefDisableCommands#*
\FVExtraAlwaysUnexpanded{arg}#*
Expand Down Expand Up @@ -232,3 +246,6 @@ FancyVerbHighlightColor#B
\FancyVerbBreakAfterSymbolPre#*
\FancyVerbBreakAfterSymbolPost#*
\FancyVerbSpaceBreak#*
\FancyVerbBackgroundColor#*
\FancyVerbBackgroundColorVPhantom#*
\FancyVerbBackgroundColorPadding#*
3 changes: 2 additions & 1 deletion completion/gitinfo-lua.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# gitinfo-lua package
# Matthew Bertucci 2024/04/12 for v1.1.0
# Matthew Bertucci 2024/09/14 for v1.2.0

#include:luacode
#include:pgfopts
Expand All @@ -15,6 +15,7 @@ rootdir
\gitdirectory{path%definition}
\gitunsetdirectory
\gitversion
\ifgitdirty{true code}{false code}
\gitdate
\gitauthor
\gitemail
Expand Down
138 changes: 138 additions & 0 deletions completion/keytheorems.cwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
# keytheorems package
# Matthew Bertucci 2024/09/12 for v0.1.1

#include:aliascnt
#include:amsthm
#include:refcount
#include:translations

#keyvals:\usepackage/key-theorems#c
overload
thmtools-compat
store-all
#endkeyvals

#ifOption:thmtools-compat
\declaretheorem{envname}#N
\declaretheorem[options%keyvals]{envname}#N
\declaretheoremstyle{style}
\declaretheoremstyle[options%keyvals]{style}
\begin{restatable}{envname}{tag}
\begin{restatable}[options%keyvals]{envname}{tag}
\end{restatable}
\listoftheorems
\listoftheorems[options%keyvals]
\addtotheorempreheadhook{code}#*
\addtotheorempreheadhook[envname]{code}#*
\addtotheorempostheadhook{code}#*
\addtotheorempostheadhook[envname]{code}#*
\addtotheoremprefoothook{code}#*
\addtotheoremprefoothook[envname]{code}#*
\addtotheorempostfoothook{code}#*
\addtotheorempostfoothook[envname]{code}#*
#endif

\keytheoremset{options%keyvals}

#keyvals:\usepackage/keytheorems#c,\keytheoremset#c
overload
thmtools-compat
store-all
restate-counter
qed-symbol=%<symbol%>
auto-translate#true,false
#endkeyvals

#keyvals:\keytheoremset#c
continues-code=%<code%>
#endkeyvals

\newkeytheorem{envname}#N
\newkeytheorem{envname}[options%keyvals]#N

#keyvals:\newkeytheorem#c,\declaretheorem#c
name=%<display name%>
numbered=#true,false,unless-unique
parent=%<counter%>
sibling=%<counter%>
preheadhook=%<code%>
postheadhook=%<code%>
prefoothook=%<code%>
postfoothook=%<code%>
refname=%<ref name%>
Refname=%<ref name%>
qed
qed=%<symbol%>
tcolorbox
tcolorbox={%<tcolorbox options%>}
tcolorbox-no-titlebar
tcolorbox-no-titlebar={%<tcolorbox options%>}
#endkeyvals

\newkeytheoremstyle{style}{options%keyvals}#s#%keytheoremstyle
\renewkeytheoremstyle{style}{options%keyvals}
\providekeytheoremstyle{style}{options%keyvals}#s#%keytheoremstyle
\declarekeytheoremstyle{style}{options%keyvals}#s#%keytheoremstyle

#keyvals:\newkeytheoremstyle#c,\renewkeytheoremstyle#c,\providekeytheoremstyle#c,\declarekeytheoremstyle#c,\declaretheoremstyle#c
spaceabove=##L
spacebelow=##L
bodyfont=%<font commands%>
headindent=##L
headfont=%<font commands%>
headpunct=%<code%>
postheadspace=##L
break
notefont=%<font commands%>
notebraces={%<left brace%>}{%<right brace%>}
headstyle=#margin,swapnumber,%<code%>
inherit-style=%<style name%>
#endkeyvals

\NAME#*
\NUMBER#*
\NOTE#*

\getkeytheorem{tag}
\getkeytheorem[property%keyvals]{tag}

#keyvals:\getkeytheorem#c
body
#endkeyvals

\IfRestatingTF{true}{false}#*

\listofkeytheorems
\listofkeytheorems[options%keyvals]
\keytheoremlistset{options%keyvals}

#keyvals:\listofkeytheorems#c,\keytheoremlistset#c,\listoftheorems#c
numwidth=##L
ignore={%<env1,env2,...%>}
show={%<env1,env2,...%>}
onlynamed
onlynamed={%<env1,env2,...%>}
ignoreall
showall
title=%<text%>
swapnumber#true,false
onlynumbered
onlynumbered={%<env1,env2,...%>}
seq=%<name%>
title-code=%<code%>
no-title#true,false
note-code=%<code%>
print-body
no-continues#true,false
no-chapter-skip#true,false
chapter-skip-length=##L
#endkeyvals

\addtheoremcontentsline{level}{text}#*
\addtotheoremcontents{code}#*

\addtotheoremhook{hook name}{code}
\addtotheoremhook[envname]{hook name}{code}

\Autoref{label}#r
\Autoref*{label}#r
5 changes: 3 additions & 2 deletions completion/luatexja-ruby.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# luatexja-ruby package
# Matthew Bertucci 2022/07/04 for v0.53
# Matthew Bertucci 2024/09/10 for v0.7

#include:luatexja

Expand Down Expand Up @@ -38,6 +38,7 @@ trubydepth=%<real%>
rubydepth=%<real%>
kenten=%<command%>
fontcmd=%<command%>
always_highlight_protrusion#true,false
naka
kata
#endkeyvals
Expand All @@ -50,4 +51,4 @@ rubypostintrusion={%<chr_code,post_int%>}
#keyvals:\ltjgetparameter
rubypreintrusion
rubypostintrusion
#endkeyvals
#endkeyvals
5 changes: 4 additions & 1 deletion completion/newcomputermodern.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# newcomputermodern package
# Matthew Bertucci 2024/01/12 for v5.1
# Matthew Bertucci 2024/09/10 for v6.0.0

#include:fontspec
#include:unicode-math
Expand Down Expand Up @@ -331,6 +331,7 @@
\congdot#m
\conictaper#m
\conjquant#m
\convolution#m
\csub#m
\csube#m
\csup#m
Expand Down Expand Up @@ -1040,6 +1041,8 @@
\turnediota#m
\twocaps#m
\twocups#m
\twoheadhookleftarrow#m
\twoheadhookrightarrow#m
\twoheadleftarrowtail#m
\twoheadleftdbkarrow#m
\twoheadmapsfrom#m
Expand Down
3 changes: 2 additions & 1 deletion completion/pas-tableur.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# pas-tableur package
# Matthew Bertucci 2023/04/16 for v2.05
# Matthew Bertucci 2024/09/14 for v2.06

#include:tikz
#include:tikzlibrarycalc
Expand Down Expand Up @@ -42,6 +42,7 @@ font=%<font commands%>

\selecCell{colonne}{ligne}
\multiSelec{colonnes}{lignes}
\multimultiSelec{ligne1}{ligne2}{ligne3}

\fileversion#S
\filedate#S
4 changes: 2 additions & 2 deletions completion/pgf-PeriodicTable.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# pgf-PeriodicTable package
# Matthew Bertucci 2024/07/18 for v2.1.1
# Matthew Bertucci 2024/09/10 for v2.1.4

#include:tikz
#include:tikzlibraryfadings
Expand Down Expand Up @@ -61,7 +61,7 @@ cell line color=#%color
cell style=#pgfPT2lang,pgfPT3lang,pgfPTR,pgfPTEi,pgfPTeaff,pgfPTREi,pgfPTdisc,%pgfPTcellstyle
cell={%<keyvals%>}
font=%<font family%>
back color scheme=#Soft,Jmol,CPK,Rasmol,RasmolNew,Wikipedia,MNM,PS,Radio,Blocks,solid,%pgfPTcolorscheme
back color scheme=#pgfPTSoft,pgfPTJmol,pgfPTCPK,pgfPTRasmol,pgfPTRasmolNew,pgfPTWikipedia,pgfPTMNM,pgfPTPS,pgfPTRadio,pgfPTBlocks,solid,%pgfPTcolorscheme
back color=#%color
csSolid
csSolid=#%color
Expand Down
Loading

0 comments on commit 02e4c9d

Please sign in to comment.