Skip to content

Commit

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

* Update hep-float.cwl

* Update hep-math.cwl

* Update hep-graphic.cwl

* Update hep-text.cwl

* Update verifiche.cwl

* Update luamplib.cwl

* Update tikzpingus.cwl

* Update simpleicons.cwl

* Update jsonparse.cwl

* Update dejavu-otf.cwl

* Update class-suftesi.cwl

* Update fontsize.cwl

* Update postnotes.cwl

* Update langsci-gb4e.cwl

* Update langsci-affiliations.cwl

* Update postnotes.cwl

* Update plex-otf.cwl

* Update genealogy-profiles.cwl

* Update class-suftesi.cwl

* Update simpleicons.cwl

* Update siunitx.cwl

* Update spbmark.cwl

* Add files via upload

* Update completion.qrc
  • Loading branch information
mbertucci47 authored Dec 7, 2024
1 parent 837a8d2 commit 5617ded
Show file tree
Hide file tree
Showing 22 changed files with 212 additions and 85 deletions.
1 change: 1 addition & 0 deletions completion.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -1445,6 +1445,7 @@
<file>completion/etoolbox.cwl</file>
<file>completion/etruscan.cwl</file>
<file>completion/eucal.cwl</file>
<file>completion/euclidean-lattice.cwl</file>
<file>completion/euclideangeometry.cwl</file>
<file>completion/euflag.cwl</file>
<file>completion/eufrak.cwl</file>
Expand Down
12 changes: 8 additions & 4 deletions completion/class-suftesi.cwl
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# suftesi class
# Matthew Bertucci 2023/09/07 for v3.2.1
# Matthew Bertucci 2024/12/06 for v3.2.6

#include:xkeyval
#include:class-book
#include:fontsize
#include:geometry
#include:enumitem
# loads inline option of enumitem
Expand Down Expand Up @@ -32,11 +31,15 @@
\rhoAlt#*m

## Class options ##
#ifOption:loadfontsize
#include:fontsize
#endif

#ifOption:fewfootnotes=true
#include:zref-perpage
#include:footnpag
#endif
#ifOption:fewfootnotes
#include:zref-perpage
#include:footnpag
#endif

#ifOption:defaultfont=standard
Expand Down Expand Up @@ -99,6 +102,7 @@
structure=#book,article,collection
pagelayout=#standard,standardaureo,periodical,periodicalaureo,compact,compactaureo,supercompact,supercompactaureo,pocketa,pocketb,pocketc
version=#screen,cscreen,draft,final
loadfontsize
parindent=##L
defaultfont=#none,cochineal,libertine,palatino,standard
fontsize=##L
Expand Down
5 changes: 2 additions & 3 deletions completion/dejavu-otf.cwl
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# dejavu-otf package
# Matthew Bertucci 4/17/2021 for v0.04
# Matthew Bertucci 2024/11/30 for v0.06

#include:ifxetex
#include:ifluatex
#include:iftex
#include:xkeyval
#include:unicode-math

Expand Down
7 changes: 7 additions & 0 deletions completion/euclidean-lattice.cwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# euclidean-lattice package
# Matthew Bertucci 2024/11/29 for v1.0

#include:tikz

\lattice[%<options%>](%<a,b%>)(%<c,d%>);
\lattice<%<overlay specification%>>[%<options%>](%<a,b%>)(%<c,d%>);
4 changes: 3 additions & 1 deletion completion/fancyqr.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# fancyqr package
# Matthew Bertucci 2024/10/08 for v2.1
# Matthew Bertucci 2024/11/29 for v2.2

#include:pict2e
#include:qrcode
Expand All @@ -13,6 +13,7 @@
#keyvals:\fancyqr,\fancyqrset,\fancyqr*
classic#true,false
color=#%color
compensate=##L
gradient#true,false
gradient angle=%<degrees%>
image=%<graphics code%>
Expand Down Expand Up @@ -40,6 +41,7 @@ nolink
#endkeyvals

\FancyQrDoNotPrintSquare{x}{y}
\FancyQrDoNotPrintRadius{factor}
\FancyQrRoundCut
\FancyQrHardCut

Expand Down
8 changes: 6 additions & 2 deletions completion/fontsize.cwl
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# fontsize package
# Matthew Bertucci 12/13/2021 for v0.8.5
# Matthew Bertucci 2024/12/04 for v0.9

#include:xkeyval

#keyvals:\usepackage/fontsize#c
fontsize=##L
parindent=##L
cloname=%<name%>
fsround=%<integer%>
#endkeyvals

\changefontsize{fontsize}
Expand Down Expand Up @@ -52,4 +53,7 @@ cloname=%<name%>
\HUGE
\HUGEr
\HUGErr
\HUGErrr
\HUGErrr

# not documented
\fscalc{arg}#S
24 changes: 14 additions & 10 deletions completion/genealogy-profiles.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# genealogy-profiles package
# Matthew Bertucci 2024/01/25 for v2024/01/24
# Matthew Bertucci 2024/12/05 for v2024/12/05

#include:genealogytree
#include:hyperref
Expand All @@ -17,17 +17,16 @@ begin header=%<code%>
end header=%<code%>
begin life events=%<code%>
end life events=%<code%>
begin content=%<code%>
end content=%<code%>
layout preset=#clear,tcolorbox
reference style=
unknown reference style=
page number style=
givenname style=%<style%>
patronymic style=%<style%>
surname style=%<style%>
byname style=%<style%>
header format=%<code%>
auto header#true,false
id index=
fullname index=
full name index=
patronymic index=
surname index=
byname index=
Expand All @@ -49,8 +48,8 @@ include ambiguous in index#true,false

#keyvals:\begin{gprProfile},\begin{gprProfile*}
id=
fullname=
givenname=
full name=
given name=
patronymic=
surname=
byname=
Expand All @@ -69,12 +68,17 @@ no index#true,false
\gprYears{year range}
\gprYears*{year range}

\gprCreateNamePart{name part}
\gprCreateNamePart{name part}[macro name]

\gprHeader
\gprID
\gprStyledName
\gprFullName
\gprGivenName
\gprPatronymic
\gprSurname
\gprByname
\gprSpouse
\gprSpouse

# deprecated
\gprStyledName#S
3 changes: 2 additions & 1 deletion completion/hep-float.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# hep-float package
# Matthew Bertucci 2023/07/14 for v1.2
# Matthew Bertucci 2024/11/29 for v1.3

#include:kvoptions
#include:subcaption
Expand Down Expand Up @@ -34,3 +34,4 @@ manualplacement#true,false
\tablehspace#*
\tablevspace#*
\tikzsetnextfilename{imagefile}#*g
\header{text}#*
15 changes: 8 additions & 7 deletions completion/hep-graphic.cwl
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
# hep-graphic package
# Matthew Bertucci 2023/07/16 for v1.0
# Matthew Bertucci 2024/11/29 for v1.3

#include:kvoptions
#include:tikz
#include:tikzlibraryexternal
#include:standalone
#include:tikzscale

#keyvals:\usepackage/hep-graphic#c
plot#true,false
feynman#true,false
extern=
#endkeyvals

#ifOption:plot
Expand All @@ -26,8 +27,8 @@ feynman#true,false
#endif

\graphicpath{path%definition}
\includetikz{file}
\includetikz[width%plain]{file}
\includetikz*{file}
\includetikz*[width%plain]{file}
\includefeynman{file}
\includepgf{file}
\includepgf[width%plain]{file}
\includepgf*{file}
\includepgf*[width%plain]{file}
\includefeynman{file}
7 changes: 5 additions & 2 deletions completion/hep-math.cwl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# hep-math package
# Matthew Bertucci 2022/11/03 for v1.1
# Matthew Bertucci 2024/11/29 for v1.3

#include:mathtools
#include:soulutf8
#include:soul
#include:amssymb
#include:units
#include:cancel
Expand Down Expand Up @@ -141,3 +141,6 @@
\imaginaryunit#*
\ceil{arg}#m
\floor{arg}#m

\slashedpartialdifferential#*m
\spd#*m
4 changes: 2 additions & 2 deletions completion/hep-text.cwl
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# hep-text package
# Matthew Bertucci 2022/11/03 for v1.1
# Matthew Bertucci 2024/11/29 for v1.3

#include:kvoptions
#include:babel
#include:csquotes
#include:soulutf8
#include:soul
#include:pdftexcmds
#include:foreign
# foreign loaded with all option
Expand Down
4 changes: 3 additions & 1 deletion completion/jsonparse.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# jsonparse package
# Matthew Bertucci 2024/11/04 for v0.9.6
# Matthew Bertucci 2024/11/29 for v0.9.8

\JSONParse{token variable%cmd}{JSON string}#d
\JSONParse[options%keyvals]{token variable%cmd}{JSON string}#d
Expand All @@ -9,6 +9,8 @@
\JSONParseValue{token variable}{key%plain}
\JSONParseValue[options%keyvals]{token variable}{key%plain}
\JSONParseExpandableValue{token variable}{key%plain}
\JSONParseSetValue{token variable%cmd}{token variable}{key%plain}#d
\JSONParseSetRescanValue{token variable%cmd}{token variable}{key%plain}#d
\JSONParseArrayValues{token variable}{key%plain}{string}
\JSONParseArrayValues{token variable}{key%plain}[subkey]{string}
\JSONParseArrayValues[options%keyvals]{token variable}{key%plain}{string}
Expand Down
5 changes: 4 additions & 1 deletion completion/langsci-affiliations.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# langsci-affiliations package
# Matthew Bertucci 2024/02/21 for v1.2
# Matthew Bertucci 2024/12/04 for v1.4

\ResolveAffiliations{author}
\ResolveAffiliations[options%keyvals]{author}
Expand All @@ -18,8 +18,11 @@ separator between multiple=%<separator%>
separator between final two=%<separator%>
separator between indices=%<separator%>
separator between affiliations=%<separator%>
output authors paragraph format=
output authors font=%<font commands%>
output affiliation paragraph format=
output affiliation font=%<font commands%>
input names separator=%<separator%>
input affiliation separator=%<separator%>
author affiliation skip=##L
#endkeyvals
3 changes: 2 additions & 1 deletion completion/langsci-gb4e.cwl
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# langsci-gb4e package
# Matthew Bertucci 2023/02/12 for v2022-10-21
# Matthew Bertucci 2024/12/04 for v2024/12/03

#include:etoolbox

#keyvals:\usepackage/langsci-gb4e#c
nocgloss
nojambox
manualexewidth
lowerpenalty
#endkeyvals

Expand Down
8 changes: 7 additions & 1 deletion completion/luamplib.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# luamplib package
# Matthew Bertucci 2024/11/12 for v2.35
# Matthew Bertucci 2024/11/29 for v2.35.2

#include:luatex

Expand Down Expand Up @@ -150,3 +150,9 @@ resources=%<PDF resources%>
\luamplibtaggingbegin#S
\luamplibtaggingend#S
\luamplibtaggingBBox#S
\mplibstarttousemplibgroup#S
\mplibstoptousemplibgroup#S
\luamplibtagasgroupbegin#S
\luamplibtagasgroupend#S
\mplibstarttousemplibgrouporiginal#S
\mplibstoptousemplibgrouporiginal#S
11 changes: 6 additions & 5 deletions completion/plex-otf.cwl
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
# plex-otf package
# Matthew Bertucci 2023/09/09 for v0.08
# Matthew Bertucci 2024/12/05 for v0.09

#include:ifxetex
#include:ifluatex
#include:iftex
#include:xkeyval
#include:fontspec
#include:unicode-math

#keyvals:\usepackage/plex-otf#c
usefilenames#true,false
mono#true,false
sans#true,false
serif#true,false
math#true,false
RMstyle={%<style list%>}
SSstyle={%<style list%>}
SSconstyle={%<style list%>}
Expand All @@ -22,6 +21,8 @@ RM={%<fontspec options%>}
SS={%<fontspec options%>}
SScon={%<fontspec options%>}
TT={%<fontspec options%>}
MM={%<fontspec options%>}
MMbold={%<fontspec options%>}
DefaultFeatures={%<fontspec options%>}
#endkeyvals

Expand Down
37 changes: 26 additions & 11 deletions completion/postnotes.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# postnotes package
# Matthew Bertucci 2024/11/05 for v0.4.0
# Matthew Bertucci 2024/12/05 for v0.5.1

#keyvals:\usepackage/postnotes#c
deprecatedheadervars#true,false
#endkeyvals

#ifOption:deprecatedheadervars
\pnhdchapfirst#*
\pnhdchaplast#*
\pnhdnamefirst#*
\pnhdnamelast#*
\pnhdpagefirst#*
\pnhdpagelast#*
\pnhdsectfirst#*
\pnhdsectlast#*
#endif
#ifOption:deprecatedheadervars=true
\pnhdchapfirst#*
\pnhdchaplast#*
\pnhdnamefirst#*
\pnhdnamelast#*
\pnhdpagefirst#*
\pnhdpagelast#*
\pnhdsectfirst#*
\pnhdsectlast#*
#endif

\postnote{text}
\postnote[options%keyvals]{text}
Expand Down Expand Up @@ -50,17 +75,7 @@ maybemulti#true,false
counteraux#true,false
#endkeyvals

\pnhdchapfirst#*
\pnhdchaplast#*
\pnhdnamefirst#*
\pnhdnamefirst#*
\pnhdnamelast#*
\pnhdnamelast#*
\pnhdnotes#*
\pnhdpagefirst#*
\pnhdpagelast#*
\pnhdsectfirst#*
\pnhdsectlast#*
\pnhdtopage#*
\pnhdtopages#*
\pnheaderdefault#*
Expand Down
Loading

0 comments on commit 5617ded

Please sign in to comment.