From 6af666087fec63c6cb2a8747f69688631abe1e5d Mon Sep 17 00:00:00 2001 From: mbertucci47 <61854785+mbertucci47@users.noreply.github.com> Date: Fri, 27 Sep 2024 08:57:01 -0600 Subject: [PATCH] Cwls (#3814) * 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 --- completion.qrc | 1 + completion/acronym.cwl | 11 +- completion/argumentation.cwl | 22 ++- completion/babel.cwl | 19 +- completion/beamerthemeTianQing.cwl | 9 +- completion/class-univie-ling-thesis.cwl | 5 +- completion/jupynotex.cwl | 7 +- completion/keytheorems.cwl | 34 +++- completion/libertinus-type1.cwl | 5 +- completion/lstdoc.cwl | 4 +- completion/minted.cwl | 156 ++++++++------- completion/minted2.cwl | 191 +++++++++++++++++++ completion/piton.cwl | 6 +- completion/plantuml.cwl | 12 +- completion/simpleicons.cwl | 29 ++- completion/tagpdf.cwl | 3 +- completion/tcolorboxlibrarydocumentation.cwl | 4 +- 17 files changed, 411 insertions(+), 107 deletions(-) create mode 100644 completion/minted2.cwl diff --git a/completion.qrc b/completion.qrc index 3ceb1f9bb5..637861c4d0 100644 --- a/completion.qrc +++ b/completion.qrc @@ -2424,6 +2424,7 @@ completion/MinionPro.cwl completion/minipage-marginpar.cwl completion/minted.cwl +completion/minted2.cwl completion/mintspirit2.cwl completion/mintspirit.cwl completion/minutes.cwl diff --git a/completion/acronym.cwl b/completion/acronym.cwl index 35d6ba2f8a..b95681bcc1 100644 --- a/completion/acronym.cwl +++ b/completion/acronym.cwl @@ -2,7 +2,7 @@ # 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 @@ -10,6 +10,7 @@ #keyvals:\usepackage/acronym#c footnote nohyperlinks +noforwardlinks noacroprefix printonlyused printonlyreused @@ -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}#* diff --git a/completion/argumentation.cwl b/completion/argumentation.cwl index c4d5be56d6..ee89be9aeb 100644 --- a/completion/argumentation.cwl +++ b/completion/argumentation.cwl @@ -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} @@ -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 diff --git a/completion/babel.cwl b/completion/babel.cwl index fa34fdbd25..7491fb13e3 100644 --- a/completion/babel.cwl +++ b/completion/babel.cwl @@ -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 % @@ -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} @@ -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}#* diff --git a/completion/beamerthemeTianQing.cwl b/completion/beamerthemeTianQing.cwl index 83aeb54d96..d1b51b7356 100644 --- a/completion/beamerthemeTianQing.cwl +++ b/completion/beamerthemeTianQing.cwl @@ -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 @@ -11,9 +11,14 @@ #include:tcolorboxlibraryskins #include:textpos +\TQTopDecoWidth#* +\TQBottomDecoWidth#* +\TQTopDecoOpacity#* +\TQBottomDecoOpacity#* + \romankai#S \bulletboxone#S \bulletboxtwo#S \bulletboxthree#S \topcornermotif#S -\bottomcornermotif#S \ No newline at end of file +\bottomcornermotif#S diff --git a/completion/class-univie-ling-thesis.cwl b/completion/class-univie-ling-thesis.cwl index 309ee29808..8a0c4b55bb 100644 --- a/completion/class-univie-ling-thesis.cwl +++ b/completion/class-univie-ling-thesis.cwl @@ -1,5 +1,5 @@ # 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 @@ -7,7 +7,7 @@ #include:fontenc # loads T1 option of fontenc #include:mathpazo -#include:uarial +#include:sourcesanspro #include:sourcecodepro #include:url #include:geometry @@ -39,6 +39,7 @@ polyglossia#true,false pdfa#true,false fonts=#ps,otf,none fontenc={%} +titlepage#true,false #endkeyvals #ifOption:apa diff --git a/completion/jupynotex.cwl b/completion/jupynotex.cwl index fe4c0c198c..1c5e7afbd0 100644 --- a/completion/jupynotex.cwl +++ b/completion/jupynotex.cwl @@ -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=% +#endkeyvals \jupynotex{file} \jupynotex[cells]{file} diff --git a/completion/keytheorems.cwl b/completion/keytheorems.cwl index b04d23ec37..857a0c0d62 100644 --- a/completion/keytheorems.cwl +++ b/completion/keytheorems.cwl @@ -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 @@ -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}#* @@ -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={%} +#endkeyvals #endif \keytheoremset{options%keyvals} @@ -41,6 +51,7 @@ store-all restate-counter qed-symbol=% auto-translate#true,false +store-sets-label #endkeyvals #keyvals:\keytheoremset#c @@ -50,17 +61,22 @@ continues-code=% \newkeytheorem{envname}#N \newkeytheorem{envname}[options%keyvals]#N +# keys that can't be used in styles #keyvals:\newkeytheorem#c,\declaretheorem#c name=% numbered=#true,false,unless-unique parent=% sibling=% +refname=% +Refname=% +#endkeyvals + +# keys that can be used in styles +#keyvals:\newkeytheorem#c,\declaretheorem#c,\newkeytheoremstyle#c,\renewkeytheoremstyle#c,\providekeytheoremstyle#c,\declarekeytheoremstyle#c,\declaretheoremstyle#c preheadhook=% postheadhook=% prefoothook=% postfoothook=% -refname=% -Refname=% qed qed=% tcolorbox @@ -85,8 +101,10 @@ postheadspace=##L break notefont=% notebraces={%}{%} -headstyle=#margin,swapnumber,% +headformat=#margin,swapnumber,% inherit-style=%