Skip to content

Commit

Permalink
Merge branch 'master' of github.com:texstudio-org/texstudio
Browse files Browse the repository at this point in the history
  • Loading branch information
sunderme committed Aug 2, 2024
2 parents 1d9f9e8 + f8ab471 commit 90e8eb8
Show file tree
Hide file tree
Showing 18 changed files with 243 additions and 21 deletions.
5 changes: 5 additions & 0 deletions completion.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@
<file>completion/bondcolor.cwl</file>
<file>completion/bondgraph.cwl</file>
<file>completion/bondgraphs.cwl</file>
<file>completion/bonum-otf.cwl</file>
<file>completion/booklet.cwl</file>
<file>completion/bookmark.cwl</file>
<file>completion/book-of-common-prayer.cwl</file>
Expand Down Expand Up @@ -1267,6 +1268,7 @@
<file>completion/doctools.cwl</file>
<file>completion/dogma.cwl</file>
<file>completion/doi.cwl</file>
<file>completion/doibanner.cwl</file>
<file>completion/doipubmed.cwl</file>
<file>completion/domitian.cwl</file>
<file>completion/domore.cwl</file>
Expand Down Expand Up @@ -2185,6 +2187,7 @@
<file>completion/lstlinebgrd.cwl</file>
<file>completion/lt3luabridge.cwl</file>
<file>completion/ltablex.cwl</file>
<file>completion/ltcaption.cwl</file>
<file>completion/ltj-base.cwl</file>
<file>completion/ltj-latex.cwl</file>
<file>completion/ltugcomn.cwl</file>
Expand Down Expand Up @@ -2773,6 +2776,7 @@
<file>completion/pgfplotslibraryternary.cwl</file>
<file>completion/pgfplotslibraryunits.cwl</file>
<file>completion/pgfplotstable.cwl</file>
<file>completion/pgfplotsthemebeamer.cwl</file>
<file>completion/pgfrcs.cwl</file>
<file>completion/pgf-soroban.cwl</file>
<file>completion/pgf-spectra.cwl</file>
Expand Down Expand Up @@ -3463,6 +3467,7 @@
<file>completion/SympyCalc.cwl</file>
<file>completion/sympytex.cwl</file>
<file>completion/synproof.cwl</file>
<file>completion/syntax.cwl</file>
<file>completion/syntaxdi.cwl</file>
<file>completion/synthslant.cwl</file>
<file>completion/syntonly.cwl</file>
Expand Down
58 changes: 58 additions & 0 deletions completion/bonum-otf.cwl
Original file line number Diff line number Diff line change
@@ -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=%<factor%>
defaultfeatures={%<font features%>}
#endkeyvals

\bonum
\bonumOsF
\bonumTLF

\Lss%<<x><x>%>{%<text%>}
\LSS%<<x><x>%>
\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-#*
9 changes: 7 additions & 2 deletions completion/bxjatoucs.cwl
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -18,4 +18,9 @@
\bxjaFastJscToUcs{jsc}

\bxjaFastCidToUcsHex{cid}
\bxjaFastJscToUcsHex{jsc}
\bxjaFastJscToUcsHex{jsc}

\bxjaUcsToJis{ucs}
\bxjaUcsToEuc{ucs}
\bxjaUcsToSjis{ucs}
\bxjaFastUcsToJsc{ucs}
4 changes: 3 additions & 1 deletion completion/captdef.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@

\DeclareCaption{command}{counter}#d
\figcaption{text}
\tabcaption{text}
\figcaption[short text%text]{text}
\tabcaption{text}
\tabcaption[short text%text]{text}
4 changes: 0 additions & 4 deletions completion/caption.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,6 @@ config=%<file name%>
\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
5 changes: 4 additions & 1 deletion completion/class-asmejour.cwl
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -30,6 +30,7 @@
#include:hologo
#include:fancyhdr
#include:fnpos
#include:footmisc
#include:titlesec
#include:enumitem
#include:hyperxmp
Expand All @@ -48,13 +49,15 @@ govtsome
hyphenate
largesc
lineno
main=%<language%>
mono
nocopyright
nofoot
nolists
pdf-a
pdfaconformance=#b,u
pdfapart=#1,2,3
singlecolumn
var0
# options passed to babel (a few language options explicitly listed)
activeacute
Expand Down
19 changes: 19 additions & 0 deletions completion/doibanner.cwl
Original file line number Diff line number Diff line change
@@ -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=%<string%>
urlbase=%<string%>
width=##L
#endkeyvals

\doibanner{DOI}
\doibanner[options]{DOI}
\doibanner*{DOI}
\doibanner*[options]{DOI}
\doiurl{DOI}
\doiurl*{DOI}
8 changes: 4 additions & 4 deletions completion/ebproof.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -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%<arity%>{%<text%>}#/prooftree,prooftree*
\infer%<arity%>[%<label%>]{%<text%>}#/prooftree,prooftree*
\infer[%<options%>]%<arity%>{%<text%>}#/prooftree,prooftree*
\infer[%<options%>]%<arity%>[%<label%>]{%<text%>}#/prooftree,prooftree*
\ellipsis{label}{text}#/prooftree,prooftree*
\ellipsis{label}{text%plain}#/prooftree,prooftree*
\rewrite{code}#/prooftree,prooftree*
\treebox#/prooftree,prooftree*
\treemark{name}#/prooftree,prooftree*
Expand Down Expand Up @@ -67,4 +67,4 @@ rule separation=##L
rule dash length=##L
rule dash space=##L
rule code=%<code%>
#endkeyvals
#endkeyvals
6 changes: 5 additions & 1 deletion completion/lete-sans-math.cwl
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -57,6 +57,10 @@ Scale=%<factor%>
\mbfimath#m
\mbfjmath#m
\mithbar#m
\mupvarg#m
\mbfvarg#m
\mitvarg#m
\mbfitvarg#m
\ngeqq#m
\ngeqqslant#m
\ngeqslant#m
Expand Down
20 changes: 20 additions & 0 deletions completion/ltcaption.cwl
Original file line number Diff line number Diff line change
@@ -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
24 changes: 23 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/06/11 for v2.32.0
# Matthew Bertucci 2024/07/29 for v2.34.3

#include:luatex

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -73,10 +80,20 @@ plain
metafun
#endkeyvals

#keyvals:\begin{mplibgroup}
asgroup=%<string%>
bbox="%<llx lly urx ury%>"
matrix="%<xx xy yx yy%>"
resources=%<PDF 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
Expand All @@ -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
Expand Down
7 changes: 6 additions & 1 deletion completion/mathastext.cwl
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -26,8 +26,10 @@ asterisk
nospecials
basic
nohbar
activedigits
nodigits
defaultimath
noletters
mathaccents
unimathaccents
symboldelimiters
Expand Down Expand Up @@ -60,6 +62,7 @@ defaultmathsizes
12pt
fouriervec
subdued
everymath
#endkeyvals

#ifOption:ncccomma
Expand Down Expand Up @@ -150,6 +153,8 @@ subdued
\MTrecordstandardgreek#*
\MTresetnewmcodes#*
\MTcustomizenewmcodes#*
\MTmathactivedigits#*
\MTmathstandarddigits#*

\pmvec{arg}#m
\Mathnormal{arg}#*m
Expand Down
6 changes: 3 additions & 3 deletions completion/paralist.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ nocfg
\end{enumerate}
\begin{asparaenum}
\begin{asparaenum}[label]
\end{asparenum}
\end{asparaenum}
\begin{inparaenum}
\begin{inparaenum}[label]
\end{inparaenum}
Expand All @@ -33,15 +33,15 @@ nocfg
\end{compactenum}
\begin{asparaitem}
\begin{asparaitem}[label]
\end{asparitem}
\end{asparaitem}
\begin{inparaitem}
\begin{inparaitem}[label]
\end{inparaitem}
\begin{compactitem}
\begin{compactitem}[label]
\end{compactitem}
\begin{asparadesc}
\end{aspardesc}
\end{asparadesc}
\begin{inparadesc}
\end{inparadesc}
\begin{compactdesc}
Expand Down
13 changes: 13 additions & 0 deletions completion/pgfplotsthemebeamer.cwl
Original file line number Diff line number Diff line change
@@ -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
Loading

0 comments on commit 90e8eb8

Please sign in to comment.