Skip to content

Commit

Permalink
updated cwls (#3271)
Browse files Browse the repository at this point in the history
* Update thm-restate.cwl

* Update newpxtext.cwl

* Update newtxtext.cwl

* Update verifiche.cwl

* Update mathfont.cwl

* Update numerica.cwl

* Update numerica-plus.cwl

* Update numerica-tables.cwl

* Update lualinalg.cwl

* Update luamaths.cwl

* Update expex-acro.cwl

* Update class-photobook.cwl

* Update hvextern.cwl

* Update ProfLycee.cwl

* Update xepersian.cwl

* Update piton.cwl

* Update exesheet.cwl

* Update class-novel.cwl

* Update class-brandeis-thesis.cwl

* Add files via upload

* Update completion.qrc

* Update pxchfon.cwl

* Update xetex.cwl
  • Loading branch information
mbertucci47 authored Aug 28, 2023
1 parent 6bfef14 commit bb5745a
Show file tree
Hide file tree
Showing 25 changed files with 364 additions and 136 deletions.
3 changes: 3 additions & 0 deletions completion.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -1111,6 +1111,7 @@
<file>completion/crbox.cwl</file>
<file>completion/createsudoku.cwl</file>
<file>completion/create-theorem.cwl</file>
<file>completion/CreationBoites.cwl</file>
<file>completion/crefthe.cwl</file>
<file>completion/crimson.cwl</file>
<file>completion/CrimsonPro.cwl</file>
Expand Down Expand Up @@ -2472,6 +2473,7 @@
<file>completion/newfloat.cwl</file>
<file>completion/newpax.cwl</file>
<file>completion/newproof.cwl</file>
<file>completion/newpx.cwl</file>
<file>completion/newpxmath.cwl</file>
<file>completion/newpxtext.cwl</file>
<file>completion/newspaper.cwl</file>
Expand Down Expand Up @@ -2657,6 +2659,7 @@
<file>completion/pdftexcmds.cwl</file>
<file>completion/pdfx.cwl</file>
<file>completion/penlight.cwl</file>
<file>completion/penlightplus.cwl</file>
<file>completion/perfectcut.cwl</file>
<file>completion/perltex.cwl</file>
<file>completion/permute.cwl</file>
Expand Down
29 changes: 29 additions & 0 deletions completion/CreationBoites.cwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# CreationBoites package
# Matthew Bertucci 2023/08/27 for v0.1.0

#include:tcolorbox
#include:tcolorboxlibraryfitting
#include:tcolorboxlibraryskins
#include:fontawesome5
#include:simplekv
#include:xstring

\CreationBoite{envname}{compteur}{icône}{libéllés}#N
\CreationBoite[color]{envname}{compteur}{icône}{libéllés}#N
\ParamBoites[clés%keyvals]

#keyvals:\tcbset
baseboite/.style={%<options%>}
#endkeyvals

\margeboite#*
\margeinttitreboite#*
\eptraitboite#*
\policetitreboite#*
\policesoustitreboite#*
\couleursoustitreboite#*
\tailleiconeboite#*
\TitreBoite#*
\SousTitreBoite#*
\LogoCoinDroit#*
\CreerCompteur{counter}#*
9 changes: 6 additions & 3 deletions completion/ProfLycee.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ProfLycee package
# Matthew Bertucci 2023/08/09 for v2.7.1
# Matthew Bertucci 2023/08/25 for v2.7.2

#include:mathtools
#include:amssymb
Expand Down Expand Up @@ -47,6 +47,7 @@
#include:cancel

#keyvals:\usepackage/ProfLycee#c
xcolor
build
nonamssymb
#endkeyvals
Expand Down Expand Up @@ -1019,9 +1020,9 @@ Label#true,false
\begin{tcpythontexcodenoalt}[width]{arg}#S
\end{tcpythontexcodenoalt}#S

#ifOption:xcolor
# from table option of xcolor
#include:colortbl

# from svgnames option of xcolor
AliceBlue#B
DarkKhaki#B
Expand Down Expand Up @@ -1174,6 +1175,7 @@ YellowGreen#B
Pink#B
Seashell#B
Teal#B
#endif

PLlinux#B
PLmgray#B
Expand All @@ -1184,6 +1186,7 @@ PLosxgray#B
PLterminal#B
PLwinblue#B
vertcapyt#B
CouleurVertForet#B

# not documented
\AleaSigneA#S
Expand Down Expand Up @@ -1372,7 +1375,7 @@ vertcapyt#B
\PLnoeud{arg1}{arg2}#S
\PLnuagepoints[opt]{arg}#S
\PLnuagepoints{arg}#S
\PLOSXGreen#S
\PLOSXgreen#S
\PLOSXLG#S
\PLOSXOrange#S
\PLOSXRed#S
Expand Down
8 changes: 4 additions & 4 deletions completion/class-brandeis-thesis.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# brandeis-thesis class
# Matthew Bertucci 2022/06/05 for v3.2
# Matthew Bertucci 2023/08/27 for v3.3

#include:class-book
#include:silence
Expand All @@ -21,12 +21,12 @@
\degreetype{type%text}

\maketitlepage
\makecopyright
\startbody

\begin{thesis-abstract}
\end{thesis-abstract}

\startbody
\sectionbreak#*

# from english option of babel
\captionsenglish#*
Expand All @@ -46,4 +46,4 @@
\seename#*
\alsoname#*
\proofname#*
\glossaryname#*
\glossaryname#*
6 changes: 3 additions & 3 deletions completion/class-novel.cwl
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# novel class
# Matthew Bertucci 2023/02/24 for v1.80
# Matthew Bertucci 2023/08/27 for v1.82

# Code broken into several sty files which are accounted
# for here rather than having their own cwls.

## from novel.cls ##
#include:luatex
#include:ifluatex
#include:ifxetex
#include:iftex
#include:luatex85
#include:pdftexcmds
#include:etoolbox
Expand Down Expand Up @@ -275,6 +274,7 @@ depth=%<integer%>
\novelyadayada*[integer]#*
\sidebyside{content1%text}{content2%text}
\sidebyside[a,b,c,d]{content1%text}{content2%text}
\myparindent{length}
\nfs#*
\nbs#*
\normalparindent#*
Expand Down
3 changes: 2 additions & 1 deletion completion/class-photobook.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# photobook class
# Matthew Bertucci 2023/06/26 for v0.1.23
# Matthew Bertucci 2023/08/25 for v0.1.25

#include:kvoptions
#include:class-book
Expand Down Expand Up @@ -189,6 +189,7 @@ roundprintedlengthsto=%<number%>
\BookSoftwareInfoPage
\BookSoftwareInfoPage[text]
\BookTitle
\BookType
\BookVersion
\BookYear
\ByNotice
Expand Down
6 changes: 5 additions & 1 deletion completion/exesheet.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# exesheet package
# Matthew Bertucci 2023/01/18 for v2.0
# Matthew Bertucci 2023/08/27 for v2.1

#include:kvoptions
#include:ifthen
Expand Down Expand Up @@ -130,10 +130,14 @@ mode=#unboxed,boxed
\begin{tablenuma}(cols)
\begin{tablenuma}[options%keyvals](cols)
\end{tablenuma}
\begin{tablenuma*}
\end{tablenuma*}
\begin{tablitem}
\begin{tablitem}(cols)
\begin{tablitem}[options%keyvals](cols)
\end{tablitem}
\begin{tablitem*}
\end{tablitem*}

#keyvals:\begin{tablenum1}
style=#itemize,enumerate
Expand Down
3 changes: 2 additions & 1 deletion completion/expex-acro.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# expex-acro package
# Matthew Bertucci 2022/05/18 for v0.0.2
# Matthew Bertucci 2023/08/24 for v0.0.3

#include:expex
#include:etoolbox
Expand All @@ -16,6 +16,7 @@ refmode=#expex,latex

\exref{tag}
\exref[tag1]{tag2}
\exref[range][tag1]{tag2}#*
\exrefnil{tag}
\exrefnil[tag1]{tag2}
\mexref{tag1,tag2,...}
Expand Down
5 changes: 3 additions & 2 deletions completion/hvextern.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# hvextern package
# Matthew Bertucci 2023/07/07 for v0.34
# Matthew Bertucci 2023/08/25 for v0.36

#include:shellesc
#include:xkeyval
Expand Down Expand Up @@ -55,6 +55,7 @@ usefancyvrb#true,false
showFilename#true,false
outerFN#true,false
code#true,false
vshift=##L
force#true,false
crop#true,false
tcbox#true,false
Expand Down Expand Up @@ -336,7 +337,7 @@ podcomment#true,false
\DoubleperCent#S
\NumChar#S
\DoubleNumChar#S
\hvExternDateiname#S
\hvExternFilename#S
\hvexternFileversion#S
\begin{WriteVerb}#SV
\end{WriteVerb}#S
Expand Down
4 changes: 3 additions & 1 deletion completion/lualinalg.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# lualinalg package
# Matthew Bertucci 2023/08/09 for v1.6
# Matthew Bertucci 2023/08/24 for v1.8

#include:xkeyval
#include:amsmath
Expand All @@ -12,6 +12,7 @@
\vectorGetCoordinate{vector}{index}
\vectorSetCoordinate{vector}{index}{value}
\vectorCopy{name}{vector}
\vectorEql{vector1}{vector2}
\vectorAdd{name}{vector1}{vector2}
\vectorSub{name}{vector1}{vector2}
\vectorMulNum{name}{vector}{number}
Expand Down Expand Up @@ -71,6 +72,7 @@ truncate=%<integer%>
\matrixConcatV{name}{matrix1}{matrix2}
\matrixOp{matrix}{expression}
\matrixCopy{name}{matrix}
\matrixEql{matrix1}{matrix2}
\matrixCreateRandom{name}{i}{j}{k}{l}
\matrixSwapRows{name}{matrix}{row1}{row2}
\matrixMulRow{name}{matrix}{row}{number}
Expand Down
3 changes: 2 additions & 1 deletion completion/luamaths.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# luamaths package
# Matthew Bertucci 2023/08/03 for v1.1
# Matthew Bertucci 2023/08/24 for v1.5

#include:xkeyval
#include:amsmath
Expand Down Expand Up @@ -27,3 +27,4 @@
\mathRound{number}{digits}
\imUnit#*
\complexRound{a+bi}{num digits}
\luaChkeqnum{num1}{num2}
6 changes: 4 additions & 2 deletions completion/mathfont.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# mathfont package
# Matthew Bertucci 2022/12/06 for v2.2a
# Matthew Bertucci 2023/08/22 for v2.2b

#keyvals:\usepackage/mathfont#c
easter-egg
Expand Down Expand Up @@ -288,7 +288,6 @@ italic
\Nearrow#m
\nequiv#m
\neswarrow#m
\ng#m
\ngeq#m
\ngsim#*m
\nin#m
Expand Down Expand Up @@ -449,6 +448,9 @@ italic
\Zeta#*m
\zigzagarrow#m

\ng
\mathng#*m
\textng#*
\surdbox#*
\radicandoffset#*
\setmathfontcommands{font name}#*
Expand Down
66 changes: 66 additions & 0 deletions completion/newpx.cwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# newpx package
# Matthew Bertucci 2023/08/22 for v1.51

#include:fontenc
#include:fontaxes
#include:ifthen
#include:iftex
#include:etoolbox
#include:scalefnt
#include:trimspaces
#include:kvoptions
#include:xstring
#include:newpxmath
#include:newpxtext

#keyvals:\usepackage/newpx#c
# passed to newpxmath
varg
subscriptcorrectionfile=%<file%>
nosubscriptcorrection
subscriptcorrection
bigdelims
varbb
vvarbb
nosymbolsc
cmintegrals
cmbraces
noamssymbols
amssymbols
uprightscript
uprightGreek
slantedGreek
frenchmath
upint
smallerops
noOT1
fracspacing
# passed to newpxtext
no-math#true,false
lining#true,false
lf#true,false
oldstyle#true,false
osf#true,false
tabular#true,false
t#true,false
proportional#true,false
p#true,false
scaled=%<factor%>
defaultsups#true,false
largesc#true,false
nohelv#true,false
helvratio=%<factor%>
spcfactor=%<factor%>
spacing=##L
stretch=##L
shrink=##L
oldSS
notextnu
slashedzero
theoremfont
thmlining
trueslanted
scosf
tighter
looser
#endkeyvals
Loading

0 comments on commit bb5745a

Please sign in to comment.