Skip to content

Commit

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

* Update tagpdf.cwl

* Update plantuml.cwl

* Update keytheorems.cwl

* Update acronym.cwl

* Update keytheorems.cwl

* Update simpleicons.cwl

* Update class-univie-ling-thesis.cwl

* Update piton.cwl

* Update keytheorems.cwl

* Update minted.cwl

* Update lstdoc.cwl

* Update beamerthemeTianQing.cwl

* Update libertinus-type1.cwl

* Update jupynotex.cwl

* Update argumentation.cwl

* Add files via upload

* Update completion.qrc

* Update tcolorboxlibrarydocumentation.cwl
  • Loading branch information
mbertucci47 authored Sep 27, 2024
1 parent 3679098 commit 6af6660
Show file tree
Hide file tree
Showing 17 changed files with 411 additions and 107 deletions.
1 change: 1 addition & 0 deletions completion.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -2424,6 +2424,7 @@
<file>completion/MinionPro.cwl</file>
<file>completion/minipage-marginpar.cwl</file>
<file>completion/minted.cwl</file>
<file>completion/minted2.cwl</file>
<file>completion/mintspirit2.cwl</file>
<file>completion/mintspirit.cwl</file>
<file>completion/minutes.cwl</file>
Expand Down
11 changes: 10 additions & 1 deletion completion/acronym.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
# ygrange 04/16/2007, Moritz Struebe 21/03/2013, GenosseFlosse 26/03/2021
# URL: http://www.ctan.org/tex-archive/help/Catalogue/entries/acronym.html
# URL: https://www.ctan.org/pkg/acronym
# updated 3/18/2022 for v1.47
# updated 2024/09/19 for v1.49

#include:suffix
#include:xstring

#keyvals:\usepackage/acronym#c
footnote
nohyperlinks
noforwardlinks
noacroprefix
printonlyused
printonlyreused
Expand Down Expand Up @@ -53,6 +54,14 @@ nolinebreak
\Acfi[linebreak penalty]{acronym}
\acfi{acronym}
\Acfi{acronym}
\acfip[linebreak penalty]{acronym}
\acfip{acronym}
\Acfip[linebreak penalty]{acronym}
\Acfip{acronym}
\acfip*[linebreak penalty]{acronym}
\acfip*{acronym}
\Acfip*[linebreak penalty]{acronym}
\Acfip*{acronym}
\acfia[linebreak penalty]{acronym}#*
\Acfia[linebreak penalty]{acronym}#*
\acfia{acronym}#*
Expand Down
22 changes: 19 additions & 3 deletions completion/argumentation.cwl
Original file line number Diff line number Diff line change
@@ -1,20 +1,32 @@
# argumentation package
# Matthew Bertucci 2024/06/11 for v1.2
# Matthew Bertucci 2024/09/26 for v1.3

#include:amsbsy
#include:amsmath
#include:pgfopts
#include:xspace
#include:xcolor
#include:tikz
#include:tikzlibrarypositioning
#include:tikzlibrarydecorations.markings

#keyvals:\usepackage/argumentation#c
namestyle=#none,math,italics,bold,monospace
argumentstyle=#standard,large,thick
namestyle=#none,math,bold,monospace,monoemph
argumentstyle=#standard,large,thick,gray,colored
attackstyle=#standard,large,modern
supportstyle=#standard,dashed,double
macros=true
#endkeyvals

#ifOption:macros=true
\AF
\arguments
\attacks
\AFcomplete
\afref{label}#r
\fullafref{label}#r
#endif

\setargumentstyle{style}
\setattackstyle{style}
\setsupportstyle{style}
Expand Down Expand Up @@ -45,7 +57,11 @@ supportstyle=#standard,dashed,double
\annotation{id}{text}
\annotation[options]{id}{text}

aigyellow#B
aigblue#B

# not documented
\argstyle{text}#S
\theaf#S
\theargument#S
\ifmacros#S
19 changes: 14 additions & 5 deletions 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 2024/08/19 for v24.8
# tbraun 4.11.2008; Matthew Bertucci 2024/09/18 for v24.10

#keyvals:\usepackage/babel#c
%<language%>
Expand Down Expand Up @@ -187,7 +187,9 @@ convert
\babelcalendar{calendar}{year-macro%cmd}{month-macro%cmd}{day-macro%cmd}#d
\babelcalendar[YYYY-MM-DD]{calendar}{year-macro%cmd}{month-macro%cmd}{day-macro%cmd}#d

\languagename
\localename
\mainlocalename
\languagename#*
\iflanguage{language}{true}{false}
\localeinfo{field%keyvals}
\localeinfo*{field%keyvals}
Expand Down Expand Up @@ -220,11 +222,18 @@ extension.u.tag.bcp47
\babelnullhyphen#*
\babelhyphenation{exceptions}#*
\babelhyphenation[lang1,lang2,...]{exceptions}#*
\begin{hyphenrules}{language}
\end{hyphenrules}
\babelpatterns{patterns}#*
\babelpatterns[lang1,lang2,...]{patterns}#*

\babelhyphenmins{left}{right}#*
\babelhyphenmins{left}{right}[hyphenationmin]#*
\babelhyphenmins[lang1,lang2,...]{left}{right}#*
\babelhyphenmins[lang1,lang2,...]{left}{right}[hyphenationmin]#*
\babelhyphenmins*{left}{right}#*
\babelhyphenmins*{left}{right}[hyphenationmin]#*
\babelhyphenmins*[lang1,lang2,...]{left}{right}#*
\babelhyphenmins*[lang1,lang2,...]{left}{right}[hyphenationmin]#*
\begin{hyphenrules}{language}
\end{hyphenrules}
\babelposthyphenation{hypenrules-name}{lua-pattern}{replacement}#*
\babelposthyphenation[options%keyvals]{hypenrules-name}{lua-pattern}{replacement}#*
\babelprehyphenation{locale-name}{lua-pattern}{replacement}#*
Expand Down
9 changes: 7 additions & 2 deletions completion/beamerthemeTianQing.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# TianQing beamertheme
# Matthew Bertucci 2023/04/24 for v1.0
# Matthew Bertucci 2024/09/23 for v1.02

#include:cncolours
#include:pgfornament-han
Expand All @@ -11,9 +11,14 @@
#include:tcolorboxlibraryskins
#include:textpos

\TQTopDecoWidth#*
\TQBottomDecoWidth#*
\TQTopDecoOpacity#*
\TQBottomDecoOpacity#*

\romankai#S
\bulletboxone#S
\bulletboxtwo#S
\bulletboxthree#S
\topcornermotif#S
\bottomcornermotif#S
\bottomcornermotif#S
5 changes: 3 additions & 2 deletions completion/class-univie-ling-thesis.cwl
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# univie-ling-thesis class
# Matthew Bertucci 2024/06/28 for v.2.6
# Matthew Bertucci 2024/09/22 for v.2.8

#include:class-scrreprt
#include:array
#include:translator
#include:fontenc
# loads T1 option of fontenc
#include:mathpazo
#include:uarial
#include:sourcesanspro
#include:sourcecodepro
#include:url
#include:geometry
Expand Down Expand Up @@ -39,6 +39,7 @@ polyglossia#true,false
pdfa#true,false
fonts=#ps,otf,none
fontenc={%<enc1,enc2,...%>}
titlepage#true,false
#endkeyvals

#ifOption:apa
Expand Down
7 changes: 6 additions & 1 deletion completion/jupynotex.cwl
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# jupynotex package
# Matthew Bertucci 1/18/2022 for v0.1
# Matthew Bertucci 2024/09/24 for v1.0

#include:tcolorbox
#include:pgfopts

#keyvals:\usepackage/jupynotex#c
output-text-limit=%<integer%>
#endkeyvals

\jupynotex{file}
\jupynotex[cells]{file}
34 changes: 28 additions & 6 deletions completion/keytheorems.cwl
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# keytheorems package
# Matthew Bertucci 2024/09/12 for v0.1.1
# Matthew Bertucci 2024/09/23 for v0.1.4

#include:aliascnt
#include:amsthm
#include:refcount
#include:translations
#include:unique

#keyvals:\usepackage/key-theorems#c
overload
Expand All @@ -20,6 +21,9 @@ store-all
\begin{restatable}{envname}{tag}
\begin{restatable}[options%keyvals]{envname}{tag}
\end{restatable}
\begin{restatable*}{envname}{tag}
\begin{restatable*}[options%keyvals]{envname}{tag}
\end{restatable*}
\listoftheorems
\listoftheorems[options%keyvals]
\addtotheorempreheadhook{code}#*
Expand All @@ -30,6 +34,12 @@ store-all
\addtotheoremprefoothook[envname]{code}#*
\addtotheorempostfoothook{code}#*
\addtotheorempostfoothook[envname]{code}#*
#keyvals:\newkeytheorem#c,\declaretheorem#c,\newkeytheoremstyle#c,\renewkeytheoremstyle#c,\providekeytheoremstyle#c,\declarekeytheoremstyle#c,\declaretheoremstyle#c
thmbox
thmbox=#L,M,S
shaded
shaded={%<shade options%>}
#endkeyvals
#endif

\keytheoremset{options%keyvals}
Expand All @@ -41,6 +51,7 @@ store-all
restate-counter
qed-symbol=%<symbol%>
auto-translate#true,false
store-sets-label
#endkeyvals

#keyvals:\keytheoremset#c
Expand All @@ -50,17 +61,22 @@ continues-code=%<code%>
\newkeytheorem{envname}#N
\newkeytheorem{envname}[options%keyvals]#N

# keys that can't be used in styles
#keyvals:\newkeytheorem#c,\declaretheorem#c
name=%<display name%>
numbered=#true,false,unless-unique
parent=%<counter%>
sibling=%<counter%>
refname=%<ref name%>
Refname=%<ref name%>
#endkeyvals

# keys that can be used in styles
#keyvals:\newkeytheorem#c,\declaretheorem#c,\newkeytheoremstyle#c,\renewkeytheoremstyle#c,\providekeytheoremstyle#c,\declarekeytheoremstyle#c,\declaretheoremstyle#c
preheadhook=%<code%>
postheadhook=%<code%>
prefoothook=%<code%>
postfoothook=%<code%>
refname=%<ref name%>
Refname=%<ref name%>
qed
qed=%<symbol%>
tcolorbox
Expand All @@ -85,8 +101,10 @@ postheadspace=##L
break
notefont=%<font commands%>
notebraces={%<left brace%>}{%<right brace%>}
headstyle=#margin,swapnumber,%<code%>
headformat=#margin,swapnumber,%<code%>
inherit-style=%<style name%>
noteseparator=%<separator%>
numberfont=%<font commands%>
#endkeyvals

\NAME#*
Expand All @@ -100,14 +118,17 @@ inherit-style=%<style name%>
body
#endkeyvals

\IfRestatingTF{true}{false}#*
\IfRestatingTF{true code}{false code}#*
\IfRestatingT{true code}#*
\IfRestatingF{false code}#*

\listofkeytheorems
\listofkeytheorems[options%keyvals]
\keytheoremlistset{options%keyvals}

#keyvals:\listofkeytheorems#c,\keytheoremlistset#c,\listoftheorems#c
numwidth=##L
indent=##L
ignore={%<env1,env2,...%>}
show={%<env1,env2,...%>}
onlynamed
Expand All @@ -126,6 +147,7 @@ print-body
no-continues#true,false
no-chapter-skip#true,false
chapter-skip-length=##L
no-toc#true,false
#endkeyvals

\addtheoremcontentsline{level}{text}#*
Expand All @@ -135,4 +157,4 @@ chapter-skip-length=##L
\addtotheoremhook[envname]{hook name}{code}

\Autoref{label}#r
\Autoref*{label}#r
\Autoref*{label}#r
5 changes: 1 addition & 4 deletions completion/libertinus-type1.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# libertinus-type1 package
# Matthew Bertucci 6/21/2021
# Matthew Bertucci 2024/09/23

#include:ifxetex
#include:ifluatex
Expand Down Expand Up @@ -43,10 +43,7 @@ ScaleTT=%<factor%>
\LibertinusSansTLF
\LibertinusSansLF
\LibertinusMono
\LibertinusDisplay
\LibertinusInitials
\LibertinusKeyboard
\Libertinusinitials#*
\libertinusseriflgr#*
\libertinussanslgr#*
\sufigures
Expand Down
4 changes: 2 additions & 2 deletions completion/lstdoc.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# lstdoc package
# Matthew Bertucci 2023/02/27 for v1.9
# Matthew Bertucci 2024/09/23 for v1.10c

#include:listings
#include:fancyvrb
Expand All @@ -8,7 +8,7 @@
#include:algorithmic
#include:lgrind
#include:nameref
#include:url
#include:xurl

\filedate#S
\fileversion#S
Expand Down
Loading

0 comments on commit 6af6660

Please sign in to comment.