Skip to content

Commit

Permalink
new cwls (#3330)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbertucci47 authored Oct 16, 2023
1 parent 557763d commit 318a977
Show file tree
Hide file tree
Showing 23 changed files with 735 additions and 113 deletions.
11 changes: 11 additions & 0 deletions completion.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
<file>completion/adrlist.cwl</file>
<file>completion/adtrees.cwl</file>
<file>completion/advdate.cwl</file>
<file>completion/advice.cwl</file>
<file>completion/aeb-comment.cwl</file>
<file>completion/aeb_dad.cwl</file>
<file>completion/aeb_envelope.cwl</file>
Expand Down Expand Up @@ -508,6 +509,9 @@
<file>completion/Carrickc.cwl</file>
<file>completion/cartonaugh.cwl</file>
<file>completion/cascade.cwl</file>
<file>completion/CascadiaCodePL.cwl</file>
<file>completion/CascadiaMono.cwl</file>
<file>completion/CascadiaMonoPL.cwl</file>
<file>completion/cascadia-code.cwl</file>
<file>completion/cas-common.cwl</file>
<file>completion/cases.cwl</file>
Expand Down Expand Up @@ -581,6 +585,7 @@
<file>completion/circledsteps.cwl</file>
<file>completion/circledtext.cwl</file>
<file>completion/circuitikz.cwl</file>
<file>completion/circularglyphs.cwl</file>
<file>completion/citation-style-language.cwl</file>
<file>completion/citeall.cwl</file>
<file>completion/cite.cwl</file>
Expand Down Expand Up @@ -1033,6 +1038,7 @@
<file>completion/codesection.cwl</file>
<file>completion/coelacanth.cwl</file>
<file>completion/coffeestains.cwl</file>
<file>completion/collargs.cwl</file>
<file>completion/collcell.cwl</file>
<file>completion/collectbox.cwl</file>
<file>completion/collect.cwl</file>
Expand Down Expand Up @@ -2310,6 +2316,8 @@
<file>completion/memhangul-common.cwl</file>
<file>completion/memhangul-x.cwl</file>
<file>completion/memhfixc.cwl</file>
<file>completion/memoizable.cwl</file>
<file>completion/memoize.cwl</file>
<file>completion/memory.cwl</file>
<file>completion/memorygraphs.cwl</file>
<file>completion/memucs-setspace.cwl</file>
Expand Down Expand Up @@ -2519,6 +2527,7 @@
<file>completion/noindentafter.cwl</file>
<file>completion/noitcrul.cwl</file>
<file>completion/nolbreaks.cwl</file>
<file>completion/nomemoize.cwl</file>
<file>completion/nomencl.cwl</file>
<file>completion/nonfloat.cwl</file>
<file>completion/non-decimal-units.cwl</file>
Expand Down Expand Up @@ -3227,6 +3236,7 @@
<file>completion/shapepar.cwl</file>
<file>completion/shdoc.cwl</file>
<file>completion/shellesc.cwl</file>
<file>completion/shortlst.cwl</file>
<file>completion/shortmathj.cwl</file>
<file>completion/shorttoc.cwl</file>
<file>completion/shortvrb.cwl</file>
Expand Down Expand Up @@ -3733,6 +3743,7 @@
<file>completion/tikz-mirror-lens.cwl</file>
<file>completion/tikz-network.cwl</file>
<file>completion/tikz-opm.cwl</file>
<file>completion/tikz-osci.cwl</file>
<file>completion/tikzorbital.cwl</file>
<file>completion/tikzPackets.cwl</file>
<file>completion/tikz-page.cwl</file>
Expand Down
24 changes: 24 additions & 0 deletions completion/CascadiaCodePL.cwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# CascadiaCodePL package
# Matthew Bertucci 2023/10/07 for v0.0.2

#include:xkeyval
#include:fontenc
#include:ifthen
#include:mweights
#include:fontaxes

#keyvals:\usepackage/CascadiaCodePL#c
scale=%<factor%>
lining
tabular
mainfont
semibold
bold
regular
#endkeyvals

\sufigures
\supfigures#*
\textsu{text}
\textsup{text}#*
\textsuperior{text}#*
24 changes: 24 additions & 0 deletions completion/CascadiaMono.cwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# CascadiaMono package
# Matthew Bertucci 2023/10/07 for v0.0.2

#include:xkeyval
#include:fontenc
#include:ifthen
#include:mweights
#include:fontaxes

#keyvals:\usepackage/CascadiaMono#c
scale=%<factor%>
lining
tabular
mainfont
semibold
bold
regular
#endkeyvals

\sufigures
\supfigures#*
\textsu{text}
\textsup{text}#*
\textsuperior{text}#*
24 changes: 24 additions & 0 deletions completion/CascadiaMonoPL.cwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# CascadiaMonoPL package
# Matthew Bertucci 2023/10/07 for v0.0.2

#include:xkeyval
#include:fontenc
#include:ifthen
#include:mweights
#include:fontaxes

#keyvals:\usepackage/CascadiaMonoPL#c
scale=%<factor%>
lining
tabular
mainfont
semibold
bold
regular
#endkeyvals

\sufigures
\supfigures#*
\textsu{text}
\textsup{text}#*
\textsuperior{text}#*
35 changes: 29 additions & 6 deletions completion/PixelArtTikz.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# PixelArtTikz package
# Matthew Bertucci 2023/01/26 for v0.1.0
# Matthew Bertucci 2023/10/15 for v0.1.2

#keyvals:\usepackage/PixelArtTikz#c
csvii
Expand All @@ -15,14 +15,14 @@ csvii

# French commands
\PixelArtTikz{file}
\PixelArtTikz[options%keyvals]{file}
\PixelArtTikz[options%keyvals]<TikZ options>{file}
\PixelArtTikz[clés%keyvals]{file}
\PixelArtTikz[clés%keyvals]<TikZ options>{file}
\PixelArtTikz*{file}
\PixelArtTikz*[options%keyvals]{file}
\PixelArtTikz*[clés%keyvals]{file}

\begin{EnvPixelArtTikz}{file}#\pictureHighlight
\begin{EnvPixelArtTikz}[options%keyvals]{file}
\begin{EnvPixelArtTikz}[options%keyvals]<TikZ options>{file}
\begin{EnvPixelArtTikz}[clés%keyvals]{file}
\begin{EnvPixelArtTikz}[clés%keyvals]<TikZ options>{file}
\end{EnvPixelArtTikz}

#keyvals:\PixelArtTikz,\PixelArtTikz*,\begin{EnvPixelArtTikz}
Expand All @@ -36,6 +36,16 @@ Style=%<font commands%>
Unite=%<nombre%>
#endkeyvals

\MiniPixelArt{liste des couleurs}
\MiniPixelArt{liste des couleurs}<TikZ options>
\MiniPixelArt[clés%keyvals]{liste des couleurs}
\MiniPixelArt[clés%keyvals]{liste des couleurs}<TikZ options>

#keyvals:\MiniPixelArt
Unite=##L
Bord#true,false
#endkeyvals

# English commands
\PixlArtTikz{file}#*
\PixlArtTikz[options%keyvals]{file}#*
Expand All @@ -59,7 +69,20 @@ Style=%<font commands%>
Unit=%<number%>
#endkeyvals

\MiniPixlArt{list of colors}
\MiniPixlArt{list of colors}<TikZ options>
\MiniPixlArt[options%keyvals]{list of colors}
\MiniPixlArt[options%keyvals]{list of colors}<TikZ options>

#keyvals:\MiniPixlArt
Unit=##L
Border#true,false
#endkeyvals

# not documented
\DessineCarrePA{arg1}{arg2}{arg3}#S
\DrawSquarePA{arg1}{arg2}{arg3}#S
\minipaunit#S
\PATchiffres#S
\PATcouleurs#S
\PATlettres#S
Expand Down
25 changes: 23 additions & 2 deletions completion/ProfLycee.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ProfLycee package
# Matthew Bertucci 2023/09/29 for v2.7.7
# Matthew Bertucci 2023/10/08 for v2.7.8

#include:mathtools
#include:amssymb
Expand Down Expand Up @@ -48,6 +48,7 @@
#include:interval
#include:esvect
#include:xspace
#include:modulus

#keyvals:\usepackage/ProfLycee#c
xcolor
Expand Down Expand Up @@ -755,8 +756,10 @@ AffBase#true,false

\ConversionBinHex{nombre}
\ConversionBinHex[options%keyvals]{nombre}
\ConversionHexBin{nombre}
\ConversionHexBin[options%keyvals]{nombre}

#keyvals:\ConversionBinHex
#keyvals:\ConversionBinHex,\ConversionHexBin
AffBase#true,false
Details#true,false
#endkeyvals
Expand Down Expand Up @@ -812,6 +815,23 @@ Cadres#true,false
PresPGCD#true,false
#endkeyvals

## Diviseurs ##
\ListeDiviseurs{nombre}
\ListeDiviseurs[AffNom=false]{%<nombre%>}
\ListeDiviseurs*{nombre}
\ListeDiviseurs*[AffNom=false]{%<nombre%>}
\ArbreDiviseurs{nombre}
\ArbreDiviseurs[clés%keyvals]{nombre}

#keyvals:\ArbreDiviseurs
EspaceNiveau=%<nombre%>
EspaceFeuille=%<nombre%>
Details#true,false
CouleurDetails=#%color
Echelle=%<nombre%>
Fleches#true,false
#endkeyvals

## Fractions, ensembles ##
\ConversionFraction{calcul}
\ConversionFraction[option de formatage%keyvals]{calcul}
Expand Down Expand Up @@ -1737,4 +1757,5 @@ CouleurVertForet#B
\FctRepartExtremite#S
\HistoGrille#S
\HistoExtraGridY#S
\ConvHexBinBloc{arg}#S
\HistoPosLeg#S
29 changes: 29 additions & 0 deletions completion/advice.cwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# advice package
# Matthew Bertucci 2023/10/11 for v1.0.0

#include:collargs

\AdviceSetup{namespace}{command or env}{setup code}#*
\AdviceTracingOn#*
\AdviceTracingOff#*
\AdviceNamespace#*
\AdviceName#*
\AdviceReplaced#*
\AdviceOriginal#*
\AdviceGetOriginal{namespace}{control sequence}#*
\AdviceCollectTikZArguments#*

\ifAdviceRun#S
\AdviceRuntrue#S
\AdviceRunfalse#S
\AdviceRunConditions#S
\AdviceBailoutHandler#S
\AdviceOuterHandler#S
\AdviceCollector#S
\AdviceArgs#S
\AdviceCollectorOptions#S
\AdviceRawCollectorOptions#S
\AdviceInnerHandler#S
\AdviceOptions#S
\AdviceAfterSetup#S
\AdviceType#S
3 changes: 1 addition & 2 deletions completion/cascadia-code.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# cascadia-code package
# Matthew Bertucci 10/6/2021 for v0.0.1
# Matthew Bertucci 2023/10/07 for v0.0.2

#include:xkeyval
#include:fontenc
Expand All @@ -9,7 +9,6 @@

#keyvals:\usepackage/cascadia-code#c
scale=%<factor%>
scaled=%<factor%>
lining
tabular
mainfont
Expand Down
25 changes: 25 additions & 0 deletions completion/circularglyphs.cwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# circularglyphs package
# Matthew Bertucci 2023/10/07 for v0.1.1

#include:tikz
#include:xstring
#include:calc
#include:simplekv

\CircGlyph{text}
\CircGlyph[options%keyvals]{%<text%>}
\CircGlyph*{text}
\CircGlyph*[options%keyvals]{%<text%>}

#keyvals:\CircGlyph,\CircGlyph*
Inline#true,false
Ext#true,false
Color=#%color
#endkeyvals

# not documented
\GenereCircGlyp{arg1}{arg2}#S
\GenereCircGlypAux#S
\CircGlyphChar{arg}#S
\CircGlyphCharAux#S
\CircGlyphAux#S
3 changes: 2 additions & 1 deletion completion/class-acmart.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# acmart class
# Matthew Bertucci 2023/03/26 for v1.89
# Matthew Bertucci 2023/10/15 for v1.92

#include:xkeyval
#include:xstring
Expand Down Expand Up @@ -323,6 +323,7 @@ Position

\acmCodeLink{link%URL}#U
\acmDataLink{link%URL}#U
\acmContributions{contributions%text}

\Description{description%text}
\Description[short description%text]{description%text}
Expand Down
Loading

0 comments on commit 318a977

Please sign in to comment.