Skip to content

Commit

Permalink
Cwls (#3937)
Browse files Browse the repository at this point in the history
* Update class-acmart.cwl

* Update scripture.cwl

* Update ffcode.cwl

* Update fancyhdr.cwl

* Update class-bithesis.cwl

* Update tikzlings-addons.cwl

* Update tikzlings-bats.cwl

* Update tikzlings-bears.cwl

* Update tikzlings-bees.cwl

* Update tikzlings-bugs.cwl

* Update tikzlings-cats.cwl

* Update tikzlings-hippos.cwl

* Update tikzlings-koalas.cwl

* Update tikzlings-marmots.cwl

* Update tikzlings-meerkats.cwl

* Update tikzlings-moles.cwl

* Update tikzlings-pandas.cwl

* Update tikzlings-pigs.cwl

* Update tikzlings-rhinos.cwl

* Update tikzlings-sloths.cwl

* Update tikzlings-snowmen.cwl

* Update tikzlings-squirrels.cwl

* Update nlctuserguide.cwl

* Update zugferd.cwl

* Update glossaries-extra-bib2gls.cwl

* Update glossary-bookindex.cwl

* Update glossaries-extra.cwl

* Update mahjong.cwl

* Update fancyhdr.cwl

* Update scrlayer-fancyhdr.cwl

* Add files via upload

* Update completion.qrc
  • Loading branch information
mbertucci47 authored Jan 7, 2025
1 parent 45f684b commit 8004cc6
Show file tree
Hide file tree
Showing 32 changed files with 159 additions and 35 deletions.
2 changes: 2 additions & 0 deletions completion.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -1096,6 +1096,7 @@
<file>completion/commutative-diagrams.cwl</file>
<file>completion/competences.cwl</file>
<file>completion/complexity.cwl</file>
<file>completion/complexpolylongdiv.cwl</file>
<file>completion/compsci.cwl</file>
<file>completion/concepts.cwl</file>
<file>completion/concmath.cwl</file>
Expand Down Expand Up @@ -1575,6 +1576,7 @@
<file>completion/fixfoot.cwl</file>
<file>completion/fixjfm.cwl</file>
<file>completion/fixlatvian.cwl</file>
<file>completion/fixltxhyph.cwl</file>
<file>completion/fixmath.cwl</file>
<file>completion/fixme.cwl</file>
<file>completion/fjodor.cwl</file>
Expand Down
3 changes: 1 addition & 2 deletions completion/class-acmart.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# acmart class
# Matthew Bertucci 2024/04/14 for v2.06
# Matthew Bertucci 2025/01/06 for v2.12

#include:xkeyval
#include:xstring
Expand All @@ -12,7 +12,6 @@
#include:totpages
#include:environ
#include:setspace
#include:textcase
#include:natbib
#include:hyperxmp
#include:hyperref
Expand Down
3 changes: 2 additions & 1 deletion completion/class-bithesis.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# bithesis class
# Matthew Bertucci 2024/10/08 for v3.8.0
# Matthew Bertucci 2025/01/06 for v3.8.1

#include:l3keys2e
#include:class-ctexbook
Expand Down Expand Up @@ -209,6 +209,7 @@ const/heading={%<键值列表%>}
\MakeTitle
\MakeTOC
\pubsection{text}
\pubsection*{text}
\SecretInfo{arg}
\SecretInfo{arg}[opt]

Expand Down
7 changes: 7 additions & 0 deletions completion/complexpolylongdiv.cwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# complexpolylongdiv package
# Matthew Bertucci 2024/01/06 for v0.2

\begin{complexpolylongdiv}#m
\begin{complexpolylongdiv}[pos]#m
\end{complexpolylongdiv}#m
\complexpolyquotient{quotient}#m
22 changes: 20 additions & 2 deletions completion/fancyhdr.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@
# dani/2006-02-18
# modified Edson 30-12-2010
# modified T. Hoffmann 15-05-2014
# modified Matthew Bertucci 2022/11/09 for v4.1
# modified Matthew Bertucci 2025/01/06 for v5.0

#keyvals:\usepackage/fancyhdr#c
nocheck
compatV3
twoside
myheadings
headings
Expand All @@ -28,8 +27,19 @@ headings
\fancyhfoffset[places]{length}
\fancyhfoffset{length}

\fancyheadwidth{length}
\fancyheadwidth[places]{length}
\fancyfootwidth{length}
\fancyfootwidth[places]{length}
\fancyhfwidth{length}
\fancyhfwidth[places]{length}

\fancypagestyle{style name}[base style]{definitions%text}
\fancypagestyle{style name%specialDef}{definitions%text}#s#%fancypagestyle
\fancypagestyle*{style name}[base style]{definitions%text}
\fancypagestyle*{style name}{definitions%text}

\fancypagestyleassign{style1%specialDef}{style2}#s#%fancypagestyle

#keyvals:\pagestyle#c,\thispagestyle#c
fancy
Expand All @@ -53,10 +63,18 @@ fancy
\fancyfootinit{code}
\fancyhfinit{code}

\fancyfootalign{length}

\fancycenter[distance%l][stretch]{left-mark%text}{center-mark%text}{right-mark%text}
\fancycenter[distance%l]{left-mark%text}{center-mark%text}{right-mark%text}
\fancycenter{left-mark%text}{center-mark%text}{right-mark%text}

\fancyhdrbox{content%text}
\fancyhdrbox[alignment]{content%text}
\fancyhdrbox[alignment][width]{content%text}

\fancyhdrsettoheight{length}{header/footer}

\nouppercase{text}#*

# deprecated
Expand Down
5 changes: 4 additions & 1 deletion completion/ffcode.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ffcode package
# Matthew Bertucci 2024/01/10 for v0.9.0
# Matthew Bertucci 2025/01/06 for v0.10.0

#include:pgfopts
#include:xcolor
Expand All @@ -13,9 +13,12 @@ nonumbers
nocn
bold
sf
samepage
#endkeyvals

\ff{code%definition}
\begin{ffcode}#V
\begin{ffcode}[listings options]#V
\end{ffcode}
\ffinput{file}
\ffinput[listings options]{file}
6 changes: 6 additions & 0 deletions completion/fixltxhyph.cwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# fixltxhyph package
# Matthew Bertucci 2025/01/06 for v0.5

#include:etoolbox

\hz
5 changes: 4 additions & 1 deletion completion/glossaries-extra-bib2gls.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# glossaries-extra-bib2gls package
# Matthew Bertucci 2023/04/25 for v1.51
# Matthew Bertucci 2025/01/06 for v1.54

\dgls{label}#r
\dgls[options%keyvals]{label}#r
Expand Down Expand Up @@ -113,6 +113,8 @@ local#true,false
\glsxtrcombiningdiacriticIIrules#*
\glsxtrcombiningdiacriticIIIrules#*
\glsxtrcombiningdiacriticIVrules#*
\glsxtrcontrolIrules#*
\glsxtrcontrolIIrules#*
\glsxtrhyphenrules#*
\glsxtrgeneralpuncrules#*
\glsxtrgeneralpuncIrules#*
Expand Down Expand Up @@ -234,6 +236,7 @@ local#true,false
\glsxtrUpXi#*
\glsxtrUpZeta#*
\IfTeXParserLib{TeX-parser-lib-code}{TeX-code}#*
\IfNotBibGls{LaTeX code}{bib2gls code}#*
\glshashchar#*
\glsxtrrecentanchor#*
\glsxtrlocationanchor#*
Expand Down
15 changes: 14 additions & 1 deletion completion/glossaries-extra.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# glossaries-extra package
# Matthew Bertucci 2023/04/25 for v1.51
# Matthew Bertucci 2025/01/06 for v1.54

#include:glossaries

Expand Down Expand Up @@ -1590,6 +1590,7 @@ theHvalue=%<<prefix><location>%>
\glsxtrinitwrglosstrue#*
\glsxtrinitwrglossfalse#*
\glsxtrsupphypernumber{location}#*
\glspdfsentencecase{text}#*

## Entries in Sectioning Titles, Headers, Captions and Contents ##
\glsxtrRevertMarks
Expand Down Expand Up @@ -1761,6 +1762,7 @@ theHvalue=%<<prefix><location>%>
## Hyperlinks ##
\glsxtrtarget{label}{text}#*
\glsxtrtargetfield#*
\glsxtrtargetdup{label}{text}#*r

## Label Prefixes ##
\glsxtrnewgls{prefix}{cmd}#*d
Expand Down Expand Up @@ -2326,21 +2328,31 @@ leveloffset=%<<n> or ++<n>%>

## Standalone Entry Items ##
\glsxtrglossentry{label}#*r
\Glsxtrglossentry{label}#*r
\GlsXtrStandaloneGlossaryType#*
\GlsXtrStandaloneSubEntryItem{label}#*r
\GlsXtrStandaloneEntryName{label}#*r
\GlsXtrStandaloneEntryNameFirstUc{label}#*r
\glsxtractivatenopost#*
\glsxtrglossentryother{header}{label}{field}#*r
\Glsxtrglossentryother{header}{label}{field}#*r
\GlsXtrStandaloneEntryOther{label}{field}#*r
\GlsXtrStandaloneEntryOtherFirstUc{label}{field}#*r
\GlsXtrStandaloneEntryPdfName{label}#*r
\GlsXtrStandaloneEntryHeadName{label}#*r
\GlsXtrStandaloneEntryPdfNameFirstUc{label}#*r
\GlsXtrStandaloneEntryHeadNameFirstUc{label}#*r
\GlsXtrStandaloneEntryPdfOther{label}{field}#*r
\GlsXtrStandaloneEntryHeadOther{label}{field}#*r
\GlsXtrStandaloneEntryPdfOtherFirstUc{label}{field}#*r
\GlsXtrStandaloneEntryHeadOtherFirstUc{label}{field}#*r

## Glossary Style Modifications ##
\glsxtrpreglossarystyle#*
\glsentrypdfsymbol{label}#*r
\glossentrynameother{label}{field}#*r
\Glossentrynameother{label}{field}#*r
\glsxtrprenamehook{label}#*r
\glsxtrpostnamehook{label}#*r
\glsdefpostname{category}{definition}#*
\glsextrapostnamehook{label}#*r
Expand Down Expand Up @@ -2557,6 +2569,7 @@ topicmcols
\glsifcategoryattributehasitem{category}{attribute}{item}{true}{false}#*

### 11 bib2gls: Managing Reference Databases ###
\BibGlsOptions{options}
\glsxtrresourcefile{filename%file}
\glsxtrresourcefile[options%keyvals]{filename%file}
\GlsXtrLoadResources
Expand Down
5 changes: 4 additions & 1 deletion completion/glossary-bookindex.cwl
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# glossary-bookindex package
# Matthew Bertucci 2022/10/19 for v1.49
# Matthew Bertucci 2025/01/06 for v1.54

#include:multicol
#include:glossary-tree

\glsxtrbookindexcols#*
\glsxtrbookindexcolspread#*
\glsxtrbookindexmulticolsenv#*
\glsxtrbookindextarget{label}{text}#*r
\glsxtrbookindexsubtarget{label}{text}#*r
\glsxtrbookindexname{label}#*r
\glsxtrbookindexsubname{label}#*r
\glsxtrbookindexprelocation{label}#*r
Expand All @@ -21,6 +23,7 @@
\glsxtrbookindexsubsubatendgroup{sub-sub-label}#*
\glsxtrbookindexsubatendgroup{sub-label}#*
\glsxtrbookindexatendgroup{label}#*r
\glsxtrbookindexsubsubitem{level}#*
\glsxtrbookindexbookmark{group title}{name}#*
\glsxtrbookindexformatheader{group title}
\glsxtrbookindexmarkentry{label}#*r
Expand Down
12 changes: 9 additions & 3 deletions completion/mahjong.cwl
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
# mahjong package
# Matthew Bertucci 9/16/2021 for v1.0
# Matthew Bertucci 2024/01/07 for v1.1

#include:l3keys2e
#include:graphicx
#include:stackengine

\mahjong{tile-code}
\mahjong[height]{tile-code}
#keyvals:\usepackage/mahjong#c
height=##L
scale=%<factor%>
#endkeyvals

\mahjong{tile sequence}
\mahjong[height]{tile sequence}
\mahjong[height][scale]{tile sequence}
6 changes: 5 additions & 1 deletion completion/nlctuserguide.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# nlctuserguide package
# Matthew Bertucci 2024/11/09 for v1.11
# Matthew Bertucci 2025/01/06 for v1.12

#include:iftex
#include:etoolbox
Expand Down Expand Up @@ -496,6 +496,7 @@ longpluralaccess=%<text%>
\note{text}
\oarg{arg}
\oargm{arg}
\oargnobr{arg}
\opt{option}
\opt{option}[suffix]#*
\optdefsyntax{keyvals}{option}
Expand Down Expand Up @@ -545,6 +546,7 @@ longpluralaccess=%<text%>
\settabcolsep{length}
\shortargfmt{arg}
\Slash
\smcode{code}
\starredcs{csname}
\starredenv{envname}
\sty{package}
Expand Down Expand Up @@ -1964,6 +1966,8 @@ style6#B
\nlctindexlastmark#*
\nlctprebookindex#*
\nlctindexmarkfmt{arg}#*
\exmarginfont#*
\summarytagfill#*

# from record=nameref option of glossaries-extra
#include:glossaries-extra-bib2gls
Expand Down
Loading

0 comments on commit 8004cc6

Please sign in to comment.