From f8ab4715acfcbee9e71cac3e7314920dd5078abf Mon Sep 17 00:00:00 2001 From: mbertucci47 <61854785+mbertucci47@users.noreply.github.com> Date: Mon, 29 Jul 2024 11:03:29 -0600 Subject: [PATCH] Cwls (#3748) * Update lete-sans-math.cwl * Update supertabular.cwl * Update mathastext.cwl * Update ebproof.cwl * Update bxjatoucs.cwl * Update captdef.cwl * Update paralist.cwl * Update caption.cwl * Update luamplib.cwl * Update tensind.cwl * Update simpleicons.cwl * Update class-asmejour.cwl * Update luamplib.cwl * Update mathastext.cwl * Add files via upload * Update completion.qrc --- completion.qrc | 5 +++ completion/bonum-otf.cwl | 58 +++++++++++++++++++++++++++ completion/bxjatoucs.cwl | 9 ++++- completion/captdef.cwl | 4 +- completion/caption.cwl | 4 -- completion/class-asmejour.cwl | 5 ++- completion/doibanner.cwl | 19 +++++++++ completion/ebproof.cwl | 8 ++-- completion/lete-sans-math.cwl | 6 ++- completion/ltcaption.cwl | 20 ++++++++++ completion/luamplib.cwl | 24 +++++++++++- completion/mathastext.cwl | 7 +++- completion/paralist.cwl | 6 +-- completion/pgfplotsthemebeamer.cwl | 13 ++++++ completion/simpleicons.cwl | 6 ++- completion/supertabular.cwl | 3 ++ completion/syntax.cwl | 63 ++++++++++++++++++++++++++++++ completion/tensind.cwl | 4 +- 18 files changed, 243 insertions(+), 21 deletions(-) create mode 100644 completion/bonum-otf.cwl create mode 100644 completion/doibanner.cwl create mode 100644 completion/ltcaption.cwl create mode 100644 completion/pgfplotsthemebeamer.cwl create mode 100644 completion/syntax.cwl diff --git a/completion.qrc b/completion.qrc index 2fbf6ac28d..86b9765ff8 100644 --- a/completion.qrc +++ b/completion.qrc @@ -430,6 +430,7 @@ completion/bondcolor.cwl completion/bondgraph.cwl completion/bondgraphs.cwl +completion/bonum-otf.cwl completion/booklet.cwl completion/bookmark.cwl completion/book-of-common-prayer.cwl @@ -1267,6 +1268,7 @@ completion/doctools.cwl completion/dogma.cwl completion/doi.cwl +completion/doibanner.cwl completion/doipubmed.cwl completion/domitian.cwl completion/domore.cwl @@ -2185,6 +2187,7 @@ completion/lstlinebgrd.cwl completion/lt3luabridge.cwl completion/ltablex.cwl +completion/ltcaption.cwl completion/ltj-base.cwl completion/ltj-latex.cwl completion/ltugcomn.cwl @@ -2773,6 +2776,7 @@ completion/pgfplotslibraryternary.cwl completion/pgfplotslibraryunits.cwl completion/pgfplotstable.cwl +completion/pgfplotsthemebeamer.cwl completion/pgfrcs.cwl completion/pgf-soroban.cwl completion/pgf-spectra.cwl @@ -3463,6 +3467,7 @@ completion/SympyCalc.cwl completion/sympytex.cwl completion/synproof.cwl +completion/syntax.cwl completion/syntaxdi.cwl completion/synthslant.cwl completion/syntonly.cwl diff --git a/completion/bonum-otf.cwl b/completion/bonum-otf.cwl new file mode 100644 index 0000000000..443b594580 --- /dev/null +++ b/completion/bonum-otf.cwl @@ -0,0 +1,58 @@ +# bonum-otf package +# Matthew Bertucci 2024/07/25 for v0.01 + +#include:iftex +#include:xkeyval +#include:unicode-math + +#keyvals:\usepackage/bonum-otf#c +lining +oldstyle +libertinus +tabular +proportional +ScaleRM=% +defaultfeatures={%} +#endkeyvals + +\bonum +\bonumOsF +\bonumTLF + +\Lss%<%>{%} +\LSS%<%> +\Lctosc{text} +\LCtoSC+ +\LCtoSC- +\Lctosmcp{text} +\LCtoSMCP+ +\LCtoSMCP- +\Lsalt{text} +\LSALT+ +\LSALT- +\Lliga{text} +\LLIGA+ +\LLIGA- +\Lhlig{text} +\LHLIG+ +\LHLIG- +\Ldlig{text} +\LDLIG+ +\LDLIG- + +# not documented +\sufigures#* +\textsup{text}#* +\textinit{text}#* +\Lsup{text}#* +\Lsinf{text}#* +\Land#* +\Lcase{text}#* +\LCASE+#* +\LCASE-#* +\Lfrac{text}#* +\LFRAC+#* +\LFRAC-#* +\Lcpsp{text}#* +\LCPSP+#* +\LCPSP-#* \ No newline at end of file diff --git a/completion/bxjatoucs.cwl b/completion/bxjatoucs.cwl index f293cf5634..52e1e55e9d 100644 --- a/completion/bxjatoucs.cwl +++ b/completion/bxjatoucs.cwl @@ -1,5 +1,5 @@ # bxjatoucs package -# Matthew Bertucci 2022/05/31 for v0.2 +# Matthew Bertucci 2024/07/22 for v0.3a #include:ltxcmds #include:infwarerr @@ -18,4 +18,9 @@ \bxjaFastJscToUcs{jsc} \bxjaFastCidToUcsHex{cid} -\bxjaFastJscToUcsHex{jsc} \ No newline at end of file +\bxjaFastJscToUcsHex{jsc} + +\bxjaUcsToJis{ucs} +\bxjaUcsToEuc{ucs} +\bxjaUcsToSjis{ucs} +\bxjaFastUcsToJsc{ucs} diff --git a/completion/captdef.cwl b/completion/captdef.cwl index 5a3886bbab..444a7af65d 100644 --- a/completion/captdef.cwl +++ b/completion/captdef.cwl @@ -3,4 +3,6 @@ \DeclareCaption{command}{counter}#d \figcaption{text} -\tabcaption{text} \ No newline at end of file +\figcaption[short text%text]{text} +\tabcaption{text} +\tabcaption[short text%text]{text} diff --git a/completion/caption.cwl b/completion/caption.cwl index 2d9320fe58..e3c2baaa21 100644 --- a/completion/caption.cwl +++ b/completion/caption.cwl @@ -151,10 +151,6 @@ config=% \subcaptionsetup*[float type]{options%keyvals}#* \subcaptionsetup*{options%keyvals}#* -# only available if longtable package loaded -\begin{longtable*}#S -\end{longtable*}#S - # deprecated \continuedfloat#S \thecontinuedfloat#S diff --git a/completion/class-asmejour.cwl b/completion/class-asmejour.cwl index a4a87a1e98..3f3d853ea5 100644 --- a/completion/class-asmejour.cwl +++ b/completion/class-asmejour.cwl @@ -1,5 +1,5 @@ # asmejour class -# Matthew Bertucci 2024/02/06 for v1.22 +# Matthew Bertucci 2024/07/29 for v1.23 #include:class-extarticle #include:etoolbox @@ -30,6 +30,7 @@ #include:hologo #include:fancyhdr #include:fnpos +#include:footmisc #include:titlesec #include:enumitem #include:hyperxmp @@ -48,6 +49,7 @@ govtsome hyphenate largesc lineno +main=% mono nocopyright nofoot @@ -55,6 +57,7 @@ nolists pdf-a pdfaconformance=#b,u pdfapart=#1,2,3 +singlecolumn var0 # options passed to babel (a few language options explicitly listed) activeacute diff --git a/completion/doibanner.cwl b/completion/doibanner.cwl new file mode 100644 index 0000000000..979a60d576 --- /dev/null +++ b/completion/doibanner.cwl @@ -0,0 +1,19 @@ +# doibanner package +# Matthew Bertucci 2024/07/29 for v0.3 + +#include:adjustbox +#include:hyperref +#include:tikz + +#keyvals:\usepackage/doibanner#c +label=% +urlbase=% +width=##L +#endkeyvals + +\doibanner{DOI} +\doibanner[options]{DOI} +\doibanner*{DOI} +\doibanner*[options]{DOI} +\doiurl{DOI} +\doiurl*{DOI} \ No newline at end of file diff --git a/completion/ebproof.cwl b/completion/ebproof.cwl index 0d08671d89..bfd76fc3ee 100644 --- a/completion/ebproof.cwl +++ b/completion/ebproof.cwl @@ -8,13 +8,13 @@ \begin{prooftree*}[options%keyvals]#\math \end{prooftree*} -\hypo{text}#/prooftree,prooftree* -\hypo[options%keyvals]{text}#/prooftree,prooftree* +\hypo{text%plain}#/prooftree,prooftree* +\hypo[options%keyvals]{text%plain}#/prooftree,prooftree* \infer%{%}#/prooftree,prooftree* \infer%[%]{%}#/prooftree,prooftree* \infer[%]%{%}#/prooftree,prooftree* \infer[%]%[%]{%}#/prooftree,prooftree* -\ellipsis{label}{text}#/prooftree,prooftree* +\ellipsis{label}{text%plain}#/prooftree,prooftree* \rewrite{code}#/prooftree,prooftree* \treebox#/prooftree,prooftree* \treemark{name}#/prooftree,prooftree* @@ -67,4 +67,4 @@ rule separation=##L rule dash length=##L rule dash space=##L rule code=% -#endkeyvals \ No newline at end of file +#endkeyvals diff --git a/completion/lete-sans-math.cwl b/completion/lete-sans-math.cwl index fa3c55c47e..7d73ebc6e6 100644 --- a/completion/lete-sans-math.cwl +++ b/completion/lete-sans-math.cwl @@ -1,5 +1,5 @@ # lete-sans-math package -# Matthew Bertucci 2024/05/13 for v0.40 +# Matthew Bertucci 2024/07/18 for v0.41 #include:iftex #include:unicode-math @@ -57,6 +57,10 @@ Scale=% \mbfimath#m \mbfjmath#m \mithbar#m +\mupvarg#m +\mbfvarg#m +\mitvarg#m +\mbfitvarg#m \ngeqq#m \ngeqqslant#m \ngeqslant#m diff --git a/completion/ltcaption.cwl b/completion/ltcaption.cwl new file mode 100644 index 0000000000..90f002b153 --- /dev/null +++ b/completion/ltcaption.cwl @@ -0,0 +1,20 @@ +# ltcaption package +# Matthew Bertucci 2024/07/25 for v1.4c + +\begin{longtable*}{preamble}#\tabular +\begin{longtable*}[alignment]{preamble}#\tabular +\end{longtable*} + +\LTcapskip#L +\LTcapleft#L +\LTcapright#L +\ifLTcapmargins#S +\LTcapmarginstrue#* +\LTcapmarginsfalse#* +\CaptionLabelFont#* +\CaptionLabelSeparator#* +\CaptionTextFont#* +\LTcaptype#* + +# not documented +\FBifLTcapwidth{arg}#S \ No newline at end of file diff --git a/completion/luamplib.cwl b/completion/luamplib.cwl index 1579130785..f79e761070 100644 --- a/completion/luamplib.cwl +++ b/completion/luamplib.cwl @@ -1,5 +1,5 @@ # luamplib package -# Matthew Bertucci 2024/06/11 for v2.32.0 +# Matthew Bertucci 2024/07/29 for v2.34.3 #include:luatex @@ -45,6 +45,13 @@ \mppattern{name}[options]#S \endmppattern#S \mplibsetformat{format name%keyvals} +\usemplibgroup{name} +\begin{mplibgroup}{name} +\begin{mplibgroup}{name}[options%keyvals] +\end{mplibgroup} +\mplibgroup{name}#S +\mplibgroup{name}[options]#S +\endmplibgroup#S #keyvals:\mpliblegacybehavior#c,\mplibtextextlabel#c,\mplibcodeinherit#c,\mplibglobaltextext#c,\mplibverbatim#c,\mplibshowlog#c enable @@ -73,10 +80,20 @@ plain metafun #endkeyvals +#keyvals:\begin{mplibgroup} +asgroup=% +bbox="%" +matrix="%" +resources=% +#endkeyvals + # not documented \domplibcolor{color}{arg}#S \ltxdomplibcode{arg}#S \ltxdomplibcodeindeed{arg}#S +\luamplibateveryshipout{arg}#S +\luamplibatfirstshipout{arg}#S +\luamplibatnextshipout{arg}#S \mplibdocancelnocache{arg}#S \mplibdocode{arg}#S \mplibdoeveryendmplib[instance name]{MetaPost code}#S @@ -85,6 +102,11 @@ metafun \mplibdomainmpfig#S \mplibdomakenocache{arg}#S \mplibdoprempfig#S +\mplibgroupbranch#S +\mplibgroupgetnexttok#S +\mplibgroupmain#S +\mplibgroupopts#S +\mplibgroupskipspace#S \mplibmainmpfig#S \mplibmpfigbranch#S \mplibpatternbranch#S diff --git a/completion/mathastext.cwl b/completion/mathastext.cwl index 6b6bc68de0..23a372f2b8 100644 --- a/completion/mathastext.cwl +++ b/completion/mathastext.cwl @@ -1,5 +1,5 @@ # mathastext package -# Matthew Bertucci 2024/01/01 for v1.3zb +# Matthew Bertucci 2024/07/29 for v1.4b #keyvals:\usepackage/mathastext#c italic @@ -26,8 +26,10 @@ asterisk nospecials basic nohbar +activedigits nodigits defaultimath +noletters mathaccents unimathaccents symboldelimiters @@ -60,6 +62,7 @@ defaultmathsizes 12pt fouriervec subdued +everymath #endkeyvals #ifOption:ncccomma @@ -150,6 +153,8 @@ subdued \MTrecordstandardgreek#* \MTresetnewmcodes#* \MTcustomizenewmcodes#* +\MTmathactivedigits#* +\MTmathstandarddigits#* \pmvec{arg}#m \Mathnormal{arg}#*m diff --git a/completion/paralist.cwl b/completion/paralist.cwl index 04740b82de..3d1e9e3f4b 100644 --- a/completion/paralist.cwl +++ b/completion/paralist.cwl @@ -24,7 +24,7 @@ nocfg \end{enumerate} \begin{asparaenum} \begin{asparaenum}[label] -\end{asparenum} +\end{asparaenum} \begin{inparaenum} \begin{inparaenum}[label] \end{inparaenum} @@ -33,7 +33,7 @@ nocfg \end{compactenum} \begin{asparaitem} \begin{asparaitem}[label] -\end{asparitem} +\end{asparaitem} \begin{inparaitem} \begin{inparaitem}[label] \end{inparaitem} @@ -41,7 +41,7 @@ nocfg \begin{compactitem}[label] \end{compactitem} \begin{asparadesc} -\end{aspardesc} +\end{asparadesc} \begin{inparadesc} \end{inparadesc} \begin{compactdesc} diff --git a/completion/pgfplotsthemebeamer.cwl b/completion/pgfplotsthemebeamer.cwl new file mode 100644 index 0000000000..423c679635 --- /dev/null +++ b/completion/pgfplotsthemebeamer.cwl @@ -0,0 +1,13 @@ +# pgfplotsthemebeamer package +# Matthew Bertucci 2024/07/29 for v0.1 + +#include:pgfopts +#include:pgfplots + +#keyvals:\usepackage/pgfplotsthemebeamer#c +all +#endkeyvals + +#keyvals:\begin{axis}#c,\begin{loglogaxis}#c,\begin{semilogxaxis}#c,\begin{semilogyaxis}#c,\addplot#c,\addplot3#c,\addplot+#c,\pgfplotsset#c,\begin{groupplot}#c,\nextgroupplot#c,\begin{smithchart}#c,\begin{polaraxis}#c,\begin{ternaryaxis}#c +beamercolors +#endkeyvals \ No newline at end of file diff --git a/completion/simpleicons.cwl b/completion/simpleicons.cwl index 783eef5596..9f29b627d2 100644 --- a/completion/simpleicons.cwl +++ b/completion/simpleicons.cwl @@ -1,5 +1,5 @@ # simpleicons package -# Matthew Bertucci 2024/07/12 for v13.1.0 +# Matthew Bertucci 2024/07/26 for v13.2.0 #include:iftex @@ -1083,6 +1083,7 @@ glide glitch globus glovo +gltf gmail gnome gnometerminal @@ -1590,12 +1591,14 @@ liquibase listmonk lit litecoin +literal litiengine livechat livejournal livewire llvm lmms +lobsters local lodash logitech @@ -1975,6 +1978,7 @@ oshkosh osmc osu otto +outline overcast overleaf ovh diff --git a/completion/supertabular.cwl b/completion/supertabular.cwl index f6baef90b4..693f7cea8c 100644 --- a/completion/supertabular.cwl +++ b/completion/supertabular.cwl @@ -1,11 +1,14 @@ # mode: supertabular.sty # dani/2006-02-18 # small changes: tbraun/2006-03-08 +# updated 2024/07/21 for v4.2c #keyvals:\usepackage/supertabular#c errorshow pageshow debugshow +estimate +calculate #endkeyvals \begin{mpsupertabular}{preamble}#\tabular diff --git a/completion/syntax.cwl b/completion/syntax.cwl new file mode 100644 index 0000000000..691afb7ddf --- /dev/null +++ b/completion/syntax.cwl @@ -0,0 +1,63 @@ +# syntax package +# Matthew Bertucci 2024/07/21 for v1.07 + +#keyvals:\usepackage/syntax#c +rounded +square +nounderscore +#endkeyvals + +\shortverb{\%<%>} +\begin{shortverb}{\%<%>} +\end{shortverb} +\unverb{\%<%>} +\synt{text} +\lit{text} +\lit*{text} +\syntax{syntax} +\synshorts +\begin{synshorts} +\end{synshorts} +\synshortsoff +\begin{grammar} +\end{grammar} +\alt +\grammarparsep#*L +\grammarindent#*L +\grammarlabel#* +\begin{syntdiag} +\begin{syntdiag}[commands] +\end{syntdiag} +\begin{syntdiag*} +\begin{syntdiag*}[commands] +\end{syntdiag*} +\tok{text} +\begin{stack} +\end{stack} +\begin{rep} +\end{rep} +\sdsize#* +\sdlengths#* +\sdstartspace#*L +\sdendspace#*L +\sdmidskip#*L +\sdtokskip#*L +\sdfinalskip#*L +\sdrulewidth#*L +\sdcirclediam#*L +\syntleft#* +\syntright#* +\litleft#* +\litright#* +\ulitleft#* +\ulitright#* + +# not documented +\addspecial{arg1}#S +\readupto{arg1}{arg2}{arg3}#S +\remspecial{arg1}#S +\begin{sdbox}{arg1}#S +\end{sdbox}#S +\syntaxShortcuts{arg1}{arg2}#S +\ttthickspace#S +\ttthinspace#S \ No newline at end of file diff --git a/completion/tensind.cwl b/completion/tensind.cwl index 93faa9f671..d057a92a8e 100644 --- a/completion/tensind.cwl +++ b/completion/tensind.cwl @@ -2,8 +2,8 @@ # Matthew Bertucci 8/31/2021 for v1.1 \tensordelimiter{symbol} -\tensorformat{format}#* +\tensorformat{format} \indexdot#* \whenindex{index}{new-index}{commands}#* \begin{tensor}#* -\end{tensor}#* \ No newline at end of file +\end{tensor}#*