Skip to content

Commit

Permalink
new cwls (#3382)
Browse files Browse the repository at this point in the history
* Update babel.cwl

* Update tkz-elements.cwl

* Update newpx.cwl

* Update newpxmath.cwl

* Update hitex.cwl

* Update worldflags.cwl

* Update xcolor.cwl

* Update luarandom.cwl

* Update cochineal.cwl

* Update robust-externalize.cwl

* Update diffcoeff.cwl

* Update pmdraw.cwl

* remove \oldstylenums

Remove `\oldstylenums` from multiple cwls since it is defined by the LaTeX kernel

* Update postnotes.cwl

* Update class-unbtex.cwl

* Update WriteOnGrid.cwl

* Update simpleicons.cwl

* Update fvextra.cwl

* Update logoetalab.cwl

* Update uni-titlepage.cwl

* Add files via upload

* Update completion.qrc
  • Loading branch information
mbertucci47 authored Nov 21, 2023
1 parent 2eb6c05 commit ad08262
Show file tree
Hide file tree
Showing 41 changed files with 266 additions and 100 deletions.
2 changes: 2 additions & 0 deletions completion.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -1678,6 +1678,7 @@
<file>completion/gincltex.cwl</file>
<file>completion/gindex.cwl</file>
<file>completion/gitfile-info.cwl</file>
<file>completion/gitinfo-lua.cwl</file>
<file>completion/gitinfo2.cwl</file>
<file>completion/gitlog.cwl</file>
<file>completion/gitstatus.cwl</file>
Expand Down Expand Up @@ -2037,6 +2038,7 @@
<file>completion/lapdf.cwl</file>
<file>completion/latex-209.cwl</file>
<file>completion/latex2man.cwl</file>
<file>completion/latex2pydata.cwl</file>
<file>completion/latexalpha2.cwl</file>
<file>completion/latexbangla.cwl</file>
<file>completion/latexcolors.cwl</file>
Expand Down
1 change: 0 additions & 1 deletion completion/CormorantGaramond.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ medium
light
#endkeyvals

\oldstylenums{text}
\liningnums{text}
\tabularnums{text}
\proportionalnums{text}
Expand Down
1 change: 0 additions & 1 deletion completion/CrimsonPro.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ extralight
\crimsonproproportional
\tabularnums{text}
\proportionalnums{text}
\oldstylenums{text}
\liningnums{text}
\textsu{text}
\sufigures
Expand Down
15 changes: 11 additions & 4 deletions completion/WriteOnGrid.cwl
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# WriteOnGrid package
# Matthew Bertucci 2023/08/09 for v0.1.4
# Matthew Bertucci 2023/11/15 for v0.1.5

#include:tikz
#include:simplekv
#include:xstring
#include:tikzlibrarycalc
#include:tikzlibrarypositioning
#include:setspace

TyrianPurple#B
PapierRose#B
Expand Down Expand Up @@ -63,6 +64,7 @@ AffBarre#true,false
Elargir=%<L/R%>
Cadre#true,false
Grille=#5x5,Seyes,Ruled
ReglureSeyes=%<nombre%>
CouleurBarreSeyes=#%color
#endkeyvals

Expand All @@ -88,6 +90,8 @@ CouleurP=#%color
CouleurS=#%color
CouleurMarge=#%color
NumLignes#true,false
ReglureSeyes=%<nombre%>
FormatPapier=#A4,A5,lxh
#endkeyvals

\LignePapierSeyes{text}
Expand All @@ -111,7 +115,7 @@ Largeur=%<nombre%>
#keyvals:\ParagraphePapierSeyes
Couleur=#%color
Ligne=%<numéro%>
TaillePolice=%<nombre%>
Echelle=%<nombre%>
Espacement=%<nombre%>
Largeur=%<nombre%>
#endkeyvals
Expand All @@ -124,6 +128,7 @@ Largeur=%<nombre%>
Couleur=#%color
CouleurMarge=#%color
NumLignes#true,false
FormatPapier=#A4,A5,lxh
#endkeyvals

\LignePapierCinqCinq{text}
Expand All @@ -147,7 +152,7 @@ Largeur=%<nombre%>
#keyvals:\ParagraphePapierCinqCinq
Couleur=#%color
Ligne=%<numéro%>
TaillePolice=%<nombre%>
Echelle=%<nombre%>
Espacement=%<nombre%>
Largeur=%<nombre%>
#endkeyvals
Expand All @@ -160,6 +165,7 @@ Largeur=%<nombre%>
Couleur=#%color
CouleurMarge=#%color
NumLignes#true,false
FormatPapier=#A4,A5,lxh
#endkeyvals

\LignePapierRuled{text}
Expand All @@ -183,7 +189,7 @@ Largeur=%<nombre%>
#keyvals:\ParagraphePapierRuled
Couleur=#%color
Ligne=%<numéro%>
TaillePolice=%<nombre%>
Echelle=%<nombre%>
Espacement=%<nombre%>
Largeur=%<nombre%>
#endkeyvals
Expand All @@ -209,6 +215,7 @@ Largeur=%<nombre%>
\QuadElarG#S
\QuadNbCar#S
\QuadNbLig#S
\QuadReglureSeyes#S
\QuadType#S
\RuledFullCoul#S
\RuledFullCoulMarge#S
Expand Down
1 change: 0 additions & 1 deletion completion/XCharter.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ Scale=%<factor%>
\nufigures
\nustyle#*
\oldstyleInums#S
\oldstylenums
\osfstyle
\proportionalnums
\sufigures
Expand Down
13 changes: 12 additions & 1 deletion completion/babel.cwl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# babel.sty
# available from ctan
# tbraun 4.11.2008; Matthew Bertucci 2023/10/31 for v3.96
# tbraun 4.11.2008; Matthew Bertucci 2023/11/11 for v3.97

#keyvals:\usepackage/babel#c
%<language%>
Expand Down Expand Up @@ -260,6 +260,17 @@ kashida.plain

\localeprehyphenation{string}#*

\babelcharclass{locale}{name}{char-list}#*
\babelinterchar{locale}{class-first}{class-second}{code}#*
\babelinterchar[options%keyvals]{locale}{class-first}{class-second}{code}#*

#keyvals:\babelinterchar
label=%<label%>
#endkeyvals

\enablelocaleinterchar{label}#*
\disablelocaleinterchar{label}#*

\ensureascii{text}#*
\asciiencoding#*

Expand Down
1 change: 0 additions & 1 deletion completion/beton.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ oldstyle-equation-numbers
concrete-math
#endkeyvals

\oldstylenums{text}
\TextOldstyle#*
\MathOldstyle#*
\dash#*
Expand Down
1 change: 0 additions & 1 deletion completion/biolinum.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ defaultfeatures={%<fontspec features%>}
\sufigures#n
\textsu{text}#n
\textsuperior{text}#*n
\oldstylenums{text}#n
\liningnums{text}#*n
\oldstylenumsf{text}#n
\liningnumsf{text}#n
Expand Down
44 changes: 11 additions & 33 deletions completion/class-unbtex.cwl
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
# unbtex class
# Matthew Bertucci 2023/10/17 for v1.3
# Matthew Bertucci 2023/11/15 for v1.4

#include:class-abntex2
#include:fontenc
# loads T1 option of fontenc
#include:inputenc
#include:stix2
#include:helvet
#include:graphicx
#include:subcaption
#include:icomma
#include:indentfirst
#include:microtype
#include:subfig
#include:multirow
#include:icomma
#include:xcolor
# loads dvipsnames and table options of xcolor
#include:tocbasic
Expand All @@ -28,6 +21,14 @@
#include:mdframed
#include:eso-pic
#include:xstring
#include:stickstootext
#include:newtxmath
#include:helvet
#include:inconsolata
#include:indentfirst
#include:microtype
#include:fvextra
#include:cleveref

# options passed to abntex2 class
#keyvals:\documentclass/unbtex#c
Expand Down Expand Up @@ -223,29 +224,6 @@ azulunb#B
mygreen#B
mylilas#B

# from T1 option of fontenc
\DH#n
\dh#n
\dj#n
\DJ#n
\guillemetleft#n
\guillemetright#n
\guillemotleft#*n
\guillemotright#*n
\guilsinglleft#n
\guilsinglright#n
\Hwithstroke#n
\hwithstroke#n
\k{arg}#n
\NG#n
\ng#n
\quotedblbase#n
\quotesinglbase#n
\textogonekcentered{arg}#n
\textquotedbl#n
\th#n
\TH#n

# from dvipsnames option of xcolor
Apricot#B
Aquamarine#B
Expand Down
10 changes: 6 additions & 4 deletions completion/cochineal.cwl
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# cochineal package
# Matthew Bertucci 2/7/2022 for v1.076
# Matthew Bertucci 2023/11/14 for v1.08

#include:fontenc
#include:ifxetex
#include:ifluatex
#include:iftex
#include:xkeyval
#include:etoolbox
#include:ifthen
Expand All @@ -14,7 +13,6 @@

#keyvals:\usepackage/cochineal#c
type1#true,false
nofontspec#true,false
defaultfeatures={%<fontspec options%>}
lining#true,false
lf#true,false
Expand All @@ -30,6 +28,7 @@ altQ
altJ
oldSS
theoremfont
otfmath
thmtabular
thmlining
swashQ
Expand All @@ -51,12 +50,14 @@ aftsolidus=##L
\infigures
\lfstyle
\liningnums{text}
\nufigures#*
\nustyle#*
\osfstyle
\proportionalnums{text}
\Qnoswash#*
\Qswash
\sufigures
\sustyle#*
\swshape
\tabularnums{text}
\textde{text}
Expand All @@ -66,6 +67,7 @@ aftsolidus=##L
\textinf{text}
\textinferior{text}#*
\textlf{text}
\textnu{text}#*
\textosf{text}
\textsu{text}
\textsuperior{text}#*
Expand Down
1 change: 0 additions & 1 deletion completion/coelacanth.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ sb
h
#endkeyvals

\oldstylenums{text}
\liningnums{text}
\tabularnums{text}
\proportionalnums{text}
10 changes: 8 additions & 2 deletions completion/diffcoeff.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# diffcoeff package
# Matthew Bertucci 2023/04/12 for v5.3
# Matthew Bertucci 2023/11/14 for v5.4

#include:xtemplate
#include:mleftright
Expand Down Expand Up @@ -245,7 +245,7 @@ DIF={%<keyvals%>}
\difdef{id-list}{variant-name}{keyvals}

#keyvals:\difdef
style=#frac,tfrac,dfrac,/,auto,big,Big,bigg,Bigg,_,dl
style=#frac,tfrac,dfrac,/,auto,big,Big,bigg,Bigg,_,dl,d^
slash-tok=%<token(s)%>
slash-sep=##L
derivand-sep=##L
Expand Down Expand Up @@ -279,9 +279,15 @@ op-sub-nudge=##L
\dl[%<order-spec%>]{%<variable(s)%>}#m
\dl.%<name%>.{%<variable(s)%>}#m
\dl.%<name%>.[%<order-spec%>]{%<variable(s)%>}#m
\difl{%<variable(s)%>}#m
\difl[%<order-spec%>]{%<variable(s)%>}#m
\difl.%<name%>.{%<variable(s)%>}#m
\difl.%<name%>.[%<order-spec%>]{%<variable(s)%>}#m

\jacob{%<numer%>}{%<denom%>}#m
\jacob.%<name%>.{%<numer%>}{%<denom%>}#m
\difj{%<numer%>}{%<denom%>}#m
\difj.%<name%>.{%<numer%>}{%<denom%>}#m

\DeclareChildTemplate{object type}{parent template}{new template}{parameters}{new defaults}#*

Expand Down
1 change: 0 additions & 1 deletion completion/ebgaramond.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ eb
#endkeyvals

\ebgaramond
\oldstylenums{text}
\liningnums{text}
\tabularnums{text}
\proportionalnums{text}
Expand Down
1 change: 0 additions & 1 deletion completion/fontspec.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ silent
#endif

## Sec. I.4 Interaction with LaTeX2e and other packages
\oldstylenums{text}
\liningnums{text}
\strong{text}
\begin{strongenv}
Expand Down
Loading

0 comments on commit ad08262

Please sign in to comment.