Commit 7aece63d authored by Bernhard Heinloth's avatar Bernhard Heinloth
Browse files

Merge branch 'txs-autocompletion' into 'master'

Provide Auto-Completion for TeXStudio

See merge request !1
parents 34ef77b0 168861eb
Pipeline #30422 passed with stage
in 28 minutes and 12 seconds
TEXFILE = thesis.tex
PDFFILE = $(TEXFILE:.tex=.pdf)
DEPFILES = $(wildcard *.tex)
TXSCWLPATH = ~/.config/texstudio/completion/user
.PHONY: $(PDFFILE) all clean
.PHONY: $(PDFFILE) all clean mrproper txs-autocompletion
all: $(PDFFILE)
......@@ -11,8 +12,17 @@ $(PDFFILE): $(TEXFILE) $(DEPFILES)
# for gnuplot support: latexmk -pdf -pdflatex="pdflatex -interactive=nonstopmode --shell-escape" $(TEXFILE)
# For LuaTex: latexmk -pdf -pdflatex="lualatex -interactive=nonstopmode" $(TEXFILE)
$(TXSCWLPATH)/%: %
ln -s $(abspath $^) $@
# provides autocompletion support for TeXStudio
txs-autocompletion: $(TXSCWLPATH)/i4thesis.cwl $(TXSCWLPATH)/i4coverpage.cwl
clean:
latexmk -CA
rm -f $(TEXFILES:.tex=.synctex.gz) $(TEXFILE:.tex=.bbl) $(TEXFILE:.tex=.tdo)
rm -f generated/* plots/*.tex
mrproper: clean
rm -f $(TXSCWLPATH)/i4thesis.cwl
rm -f $(TXSCWLPATH)/i4coverpage.cwl
# Hand-written based on includes in i4coverpage.sty
# This file has to be placed in the "completions/user" directory of TeXStudio, usually
# found at "~/.config/texstudio/completion/user"
#include:ifthen
#include:csquotes
#include:helvet
#include:tikz
# Hand-written based on includes in i4thesis.cls
# This file has to be placed in the "completions/user" directory of TeXStudio, usually
# found at "~/.config/texstudio/completion/user"
#include:class-report
#include:ifthen
#include:iftex
#include:geometry
#include:setspace
#include:helvet
#include:inconsolata
#include:inputenc
#include:fontenc
#include:textcomp
#include:microtype
#include:hyphenat
#include:graphicx
#include:url
#include:float
#include:hyperref
#include:hypcap
#include:caption
#include:biblatex
#include:siunitx
#include:booktabs
#include:amsmath
#include:babel
#include:datetime
#include:cleveref
#include:isodate
#include:acronym
#include:emptypage
#include:ellipsis
#include:tikz
#include:pgf
#include:pgfplots
#include:pgfplotstable
#include:flafter
#include:placeins
#include:nag
#include:chngcntr
#include:algorithmic
#include:algorithm
#include:titlesec
#include:i4coverpage
#include:listing
#include:listings
#include:savemem
#include:tocbibind
#include:todonotes
#include:etoolbox
#ifOption:watermark
#include:currfile
#endIf
#ifOption:modernchapter
#include:calc
#include:textcase
#endIf
\germantitle{title}
\thesistype{text}
\thesiscite{text}
\birthday{arg1}
\birthplace{arg1}
\thesisstart{arg1}
\thesisend{arg1}
\advisors{arg1}
\dean{arg1}
\mypageheadfont
\myheadingfont
\thedate
\glossarytitlename
\listoftitlename
\timestamp
\thewatermark
\listlistingname
\listalgorithmname
\theauthor
\thetitle
\thegermantitle
\thethesistype
\thethesiscite
\thebirthday
\thebirthplace
\thethesisstart
\thethesisend
\theadvisors
\thedean
\TODO{text}
\FIXME{description}{text}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment