Skip to content

Commit

Permalink
new cwls (texstudio-org#3498)
Browse files Browse the repository at this point in the history
* Update class-pagelayout.cwl

* Update pythonimmediate.cwl

* Update unicode-math-input.cwl

* contentsline takes 4 args

* Update simpleicons.cwl

* Update simpleicons.cwl

* Update csvsimple-l3.cwl

* Update csvsimple.cwl

* Update attachfile2.cwl

* Update hyperref.cwl

* Update wrapfig2.cwl

* Update babel.cwl

* Update bclogo.cwl

* Update non-decimal-units.cwl

* Update simpleicons.cwl

* Update class-memoir.cwl

* Update hvqrurl.cwl

* Update pst-solarsystem.cwl

* Add files via upload

* Update completion.qrc
  • Loading branch information
mbertucci47 authored Jan 30, 2024
1 parent f0f4089 commit a273d93
Show file tree
Hide file tree
Showing 21 changed files with 396 additions and 105 deletions.
4 changes: 4 additions & 0 deletions completion.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@
<file>completion/beamerthemeMadrid.cwl</file>
<file>completion/beamerthemeMarburg.cwl</file>
<file>completion/beamerthememetropolis.cwl</file>
<file>completion/beamerthememoloch.cwl</file>
<file>completion/beamerthemeNord.cwl</file>
<file>completion/beamerthemePaloAlto.cwl</file>
<file>completion/beamerthemepureminimalistic.cwl</file>
Expand Down Expand Up @@ -611,6 +612,7 @@
<file>completion/class-acmart.cwl</file>
<file>completion/class-acm-book.cwl</file>
<file>completion/class-altacv.cwl</file>
<file>completion/class-amnestyreport.cwl</file>
<file>completion/class-amsart.cwl</file>
<file>completion/class-amsbkrev.cwl</file>
<file>completion/class-amsbook.cwl</file>
Expand Down Expand Up @@ -1653,6 +1655,7 @@
<file>completion/gckanbun.cwl</file>
<file>completion/gelasio.cwl</file>
<file>completion/genealogytree.cwl</file>
<file>completion/genealogy-profiles.cwl</file>
<file>completion/gensymb.cwl</file>
<file>completion/gentiumbook.cwl</file>
<file>completion/gentium.cwl</file>
Expand Down Expand Up @@ -2587,6 +2590,7 @@
<file>completion/ocgx.cwl</file>
<file>completion/ocr.cwl</file>
<file>completion/octave.cwl</file>
<file>completion/odesandpdes.cwl</file>
<file>completion/odsfile.cwl</file>
<file>completion/ogonek.cwl</file>
<file>completion/okumacro.cwl</file>
Expand Down
27 changes: 14 additions & 13 deletions completion/attachfile2.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# attachfile2 package
# Matthew Bertucci 10/17/2021 for v2.11
# Matthew Bertucci 2024/01/20 for v2.12

#include:iftex
#include:keyval
Expand All @@ -12,6 +12,18 @@
#include:hyperref
#include:hycolor

#keyvals:\usepackage/attachfile2#c
draft
final
nofiles
pdftex
luatex
dvips
dvipdfmx
xetex
driverfallback=%<driver%>
#endkeyvals

\attachfile{file}
\attachfile[options%keyvals]{file}
\noattachfile
Expand All @@ -37,19 +49,8 @@ size=%<integer%>
subject=%<text%>
timezone=%<offset%>
zoom#true,false
locked#true,false
scale=%<factor%>
ucfilespec=
annotname=%<name%>
#endkeyvals

#keyvals:\usepackage/attachfile2#c
draft
final
nofiles
pdftex
luatex
dvips
dvipdfmx
xetex
driverfallback=%<driver%>
#endkeyvals
14 changes: 13 additions & 1 deletion completion/babel.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -1766,7 +1766,7 @@ SuppressWarning#true,false
#repl:"! ¡
#endif

### germanb.ldf v2.13 (and associated austrian.ldf and swissgerman.ldf) ###
### germanb.ldf v2.14 (and associated austrian.ldf and swissgerman.ldf) ###
#ifOption:german
\captionsgerman#*
\dategerman#*
Expand All @@ -1789,6 +1789,10 @@ SuppressWarning#true,false
\mdqon#*
\mdqoff#*
\ck#*
\ifcapsz#*
\capsztrue#S
\capszfalse#S
\mkngender#*
#repl:"a ä
#repl:"e ë
#repl:"i ï
Expand Down Expand Up @@ -1851,6 +1855,10 @@ SuppressWarning#true,false
\mdqon#*
\mdqoff#*
\ck#*
\ifcapsz#*
\capsztrue#S
\capszfalse#S
\mkngender#*
#repl:"a ä
#repl:"e ë
#repl:"i ï
Expand Down Expand Up @@ -1913,6 +1921,10 @@ SuppressWarning#true,false
\mdqon#*
\mdqoff#*
\ck#*
\ifcapsz#*
\capsztrue#S
\capszfalse#S
\mkngender#*
#repl:"a ä
#repl:"e ë
#repl:"i ï
Expand Down
26 changes: 9 additions & 17 deletions completion/bclogo.cwl
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# bclogo package
# Matthew Bertucci 2/23/2022 for v3.1
# Matthew Bertucci 2024/01/24 for v3.15

#include:xkeyval
#include:ifthen
#include:graphicx
#include:mdframed
#include:ifpdf
#include:etoolbox
#include:pst-blur

#keyvals:\usepackage/bclogo#c
tikz
pstricks
blur
#endkeyvals

#ifOption:tikz
Expand All @@ -26,11 +26,6 @@ blur
#include:pst-coil
#endif

#ifOption:blur
#include:pst-blur
\pagecolorOLD{color}#S
#endif

\begin{bclogo}{titre%text}
\begin{bclogo}[options%keyvals]{titre%text}
\end{bclogo}
Expand Down Expand Up @@ -131,17 +126,14 @@ ombre#true,false
\logowidth#L
\listofbclogo
\titrebclogo#*
\bccaption{text}#*
\bclogotitre#*
\bccaption{text}#S
\bclogotitre#S
\styleSousTitre{text}#S
\thebclogocompteur#*

\ifbclogotikz#*
\bclogotikztrue#*
\bclogotikzfalse#*
\ifbclogoblur#*
\bclogoblurtrue#*
\bclogoblurfalse#*
\thebclogocompteur#S
\pagecolorOLD{color}#S
\ifbclogotikz#S
\bclogotikztrue#S
\bclogotikzfalse#S
\PackageName#S
\filedate#S
\fileversion#S
21 changes: 21 additions & 0 deletions completion/beamerthememoloch.cwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# moloch beamertheme
# Matthew Bertucci 2024/01/25 for v0.1.0

#include:pgfopts
#include:calc
#include:tikz

#keyvals:\usetheme/moloch#c,\molochset
sectionpage=#none,simple,progressbar
subsectionpage=#none,simple,progressbar
progressbar=#none,head,frametitle,foot
background=#dark,light
#endkeyvals

\molochset{options%keyvals}
\mreducelistspacing#S

mDarkBrown#B
mDarkTeal#B
mLightBrown#B
mLightGreen#B
63 changes: 63 additions & 0 deletions completion/class-amnestyreport.cwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# amnestyreport class
# Matthew Bertucci 2024/01/19 for v1.2

#include:geometry
#include:hyphenat
#include:hyperref
#include:graphicx
#include:biblatex
#include:placeins
#include:framed
#include:sidecap
#include:fontspec
#include:fontawesome5
#include:xcolor
#include:soul
#include:fancyhdr
#include:caption
#include:longtable
#include:booktabs

#keyvals:\documentclass/
a4paper
letterpaper
amnestyfonts
freefonts
logo
nologo
#endkeyvals

\citep[prenote][postnote]{bibid}#*C
\citep[postnote]{bibid}#*C
\citep{bibid}#*C
\citet[prenote][postnote]{bibid}#*C
\citet[postnote]{bibid}#*C
\citet{bibid}#*C
\condensed#S
AmnestyYellow#B
AmnestyGray1#B
AmnestyGray2#B
AmnestyGray3#B
AmnestyGray4#B
AmnestyGray4#B
\titleimage{imagefile}#g
\titleimagecaption{text}
\subtitle{text}
\copyrightyear{year}
\firstpublicationyear{year}
\reportyear{year}
\reportmonth{month}
\reportindex{index}
\blurb{text}
\frontmatter#S
\mainmatter
\sideTableCaptions
\normalTableCaptions
\sideFigureCaptions
\normalFigureCaptions
\backmatter
\begin{AmnestyGlossary}
\begin{AmnestyGlossary}[width]
\end{AmnestyGlossary}
\attribution{text}
\tightlist#S
26 changes: 12 additions & 14 deletions completion/class-memoir.cwl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# updated 2023/08/13 for v3.8
# updated 2024/01/26 for v3.8.2

#include:iftex
#include:array
Expand All @@ -10,6 +10,8 @@
#include:etoolbox
#include:xpatch
#include:nameref
#include:verbatim
#include:shortvrb

#keyvals:\documentclass/memoir
10pt
Expand Down Expand Up @@ -586,7 +588,6 @@ right
\defaultlists#*
\defaultsecnum#*
\deleted{change-id}#*
\DeleteShortVerb{\%<character%>}#*
\DisemulatePackage{package}#*
\doccoltocetc#*
\DoubleSpacing#*
Expand Down Expand Up @@ -968,7 +969,6 @@ right
\makerunningheadwidth{pagestyle%keyvals}{width}#*
\makerunningwidth{pagestyle%keyvals}{headwidth%l}#*
\makerunningwidth{pagestyle%keyvals}[footwidth%l]{headwidth%l}#*
\MakeShortVerb{\%<character%>}#*
\makesidefootmark{text}#*
\makesidefootmarkhook#*
\makethanksmark#*
Expand Down Expand Up @@ -1542,7 +1542,6 @@ none
\setulmargins{upper%l}{lower%l}{ratio}#*
\setulmarginsandblock{upper%l}{lower%l}{ratio}#*
\setupcomment#*
\setverbatimbreak#*
\setverbatimfont{font}#*
\setverselinenums{first}{start at}#*
\setxlvchars#*
Expand Down Expand Up @@ -1691,9 +1690,6 @@ none
\symbollabel{arg}#*
\symbolthanksmark#*
\tablerefname#*
\tabsoff#*
\tabson#*
\tabson[number]#*
\tamark#*
\teennumbername{arg}#*
\teenordinalname{arg}#*
Expand Down Expand Up @@ -1790,10 +1786,6 @@ none
\uppercaseheads#*
\uppermargin#*
\usethanksrule#*
\verbatimbreakchar#*
\verbatimindent#*
\verbatiminput{file}
\verbatiminput*{file}
\verbfootnote#*
\verselinebreak#*
\verselinebreak[length]#*
Expand All @@ -1809,9 +1801,6 @@ none
\vleftskip#*
\vlvnumfont#*
\vrightskip#*
\wrappingoff#*
\wrappingon#*
\wrapright#*
\xindyindex#*
\xlvchars#*
\zerotrivseps#*
Expand Down Expand Up @@ -1841,3 +1830,12 @@ title
titlingpage
%pagestyle
#endkeyvals

# deprecated
\tabsoff#S
\tabson#S
\setverbatimbreak#S
\verbatimbreakchar#S
\wrappingoff#S
\wrappingon#S
\wrapright#S
12 changes: 11 additions & 1 deletion completion/class-pagelayout.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# pagelayout class
# Matthew Bertucci 2023/01/24 for v1.0.3
# Matthew Bertucci 2024/01/18 for v1.1.0

#include:pgfopts
#include:tikz
Expand Down Expand Up @@ -141,6 +141,9 @@ back cover
#keyvals:\setpagegraphic,\newgraphic
file=%<imagefile%>
scale=%<factor%>
orientation=%<number%>
hflip
vflip
vpos=%<number 0-1%>
hpos=%<number 0-1%>
unsharp=
Expand Down Expand Up @@ -192,6 +195,7 @@ leftrule=##L
height=##L
parbox
breakable
baselinesnap=##L
border radius=##L
arc=##L
border width=##L
Expand All @@ -216,6 +220,9 @@ shadow yshift=##L
#keyvals:\graphic
file=%<imagefile%>
scale=%<factor%>
orientation=%<number%>
hflip
vflip
vpos=%<number 0-1%>
hpos=%<number 0-1%>
unsharp=
Expand Down Expand Up @@ -302,3 +309,6 @@ downsample threshold=%<number%>
\setcolor{color}#S
\setgraphpaper{arg}#S
\pagelayoutversion#S
\togglesnapv#S
\togglesnaph#S
\togglepos#S
Loading

0 comments on commit a273d93

Please sign in to comment.