Hong-Phuc Bui
2016-09-29 1aca9fc5ddc2b932991f1cf139755d8a38705067
add makefile
6 files added
1 files deleted
165 ■■■■■ changed files
.gitignore 51 ●●●●● patch | view | raw | blame | history
code/eigenemacro.tex 3 ●●●●● patch | view | raw | blame | history
eignemacro.tex 3 ●●●●● patch | view | raw | blame | history
img/.directory 4 ●●●● patch | view | raw | blame | history
latexmkrc 15 ●●●●● patch | view | raw | blame | history
listing-codelisting.tex 52 ●●●●● patch | view | raw | blame | history
makefile 37 ●●●●● patch | view | raw | blame | history
.gitignore
New file
@@ -0,0 +1,51 @@
*.aux
*.bbl
*.bbl
*.bcf
*.bcf
*.blg
*.fls
*.idx
*.ilg
*.ind
*.lof
*.lol
*.log
*.out
*.pdf
*.pyg.lst
*.pyg.sty
*.pyg.vrb
*.run.xml
*.fdb_latexmk
*.synctex.gz
*.toc
*.tdo
*.thm
*.pyg.lol
**/*.aux
**/*.bbl
**/*.bbl
**/*.bcf
**/*.bcf
**/*.blg
**/*.fls
**/*.idx
**/*.ilg
**/*.ind
**/*.lof
**/*.lol
**/*.log
**/*.out
**/*.pdf
**/*.pyg.lst
**/*.pyg.sty
**/*.pyg.vrb
**/*.run.xml
**/*.fdb_latexmk
**/*.synctex.gz
**/*.toc
**/*.tdo
**/*.thm
**/*.pyg.lol
code/eigenemacro.tex
New file
@@ -0,0 +1,3 @@
\newcommand{\bundesland}[1]{\textit{#1}}
% Nutzung: \bundesland{Saarland}
eignemacro.tex
New file
@@ -0,0 +1,3 @@
\newcommand{\bundesland}[1]{\textit{#1}}
% Nutzung: \bundesland{Saarland}
img/.directory
File was deleted
latexmkrc
New file
@@ -0,0 +1,15 @@
# Benutz okular als PDF Viewer
$pdf_previewer ="start okular %O %S";
# use pdf mode instead of dvi to compile files
$pdf_mode = 1;
# bbl soll entfernt werden
#$bibtex_use = 2;
# benutzt xindy um index zu generieren
$makeindex = "texindy -C utf8 -L german-duden -M page-ranges %O %S";
# erweitet die liste der extension von generierten dateien.
listing-codelisting.tex
New file
@@ -0,0 +1,52 @@
\usepackage{listings}
\lstset{basicstyle=\ttfamily,%
    tabsize=2,
  keywordstyle=\color{blue},%
  keywordstyle=[2]\color{keywords2}%
}
% definiert shortcut-Umgebung fuer latex code
\lstnewenvironment{latexcode}[1][]
 {\lstset{language={[LaTeX]TeX},%
%        backgroundcolor=\color[gray]{0.7},%
morekeywords={maketitle,titlehead,subject,subtitle,publishers,includegraphics},
         numbers=left,numberstyle=\small,#1}
 }{}
% definiert shoutcut fuer die Anbindung von Latex code aus Dateien
\newcommand{\inputtexcode}[2][]%
  {\lstinputlisting[language={[LaTeX]TeX},%
   numbers=left,%
%   backgroundcolor={\color{white}},%
morekeywords={maketitle,titlehead,subject,subtitle,publishers,includegraphics},
   fontadjust=true,
   numberstyle=\small,#1]
   {#2}
  }
\lstdefinelanguage{bibtex}
  {keywords={%
      @article,@book,@collectedbook,@conference,@electronic,@ieeetranbstctl,%
      @inbook,@incollectedbook,@incollection,@injournal,@inproceedings,%
      @manual,@mastersthesis,@misc,@patent,@periodical,@phdthesis,@preamble,%
      @proceedings,@standard,@string,@techreport,@unpublished,%
      @online,@collection,%
        @<literatur-type>%
      },
  keywords=[2]{author,year,title,subtitle,indexsorttitle,url,%
     urldate,editor,booktitle,publisher,address,isbn,%
     doi,crossref,booktitleadon,%
     edition,option,date,note,and
      },
   comment=[l][\itshape]{@comment},
   sensitive=false,
  }
\lstnewenvironment{bibtexcode}[1][]
 {\lstset{language={bibtex},%
%        backgroundcolor=\color[gray]{0.7},%
     keywordstyle=\color{blue},
         numbers=left,numberstyle=\small,#1}
 }{}
makefile
New file
@@ -0,0 +1,37 @@
#setup for latex
LATEX=lualatex
LATEXOPT=--shell-escape --synctex=1 -file-line-error
NONSTOP=--interaction=nonstopmode
LATEXMK=latexmk
LATEXMKOPT=-lualatex -bibtex
CONTINUOUS=-pvc
MAIN=zusammenfassung
PROJECT=project
SOURCES:=$(shell ls *.tex)
TEX_EXTENSION=aux bbl bcf blg fls idx ilg ind lof lol log out pdf pyg.lst pyg.sty pyg.vrb run.xml fdb_latexmk synctex.gz toc tdo thm pyg.lol
.PHONY:listing image clean debug
all:$(MAIN).pdf
$(MAIN).pdf:$(MAIN).tex $(SOURCES)
    $(LATEXMK) $(LATEXMKOPT) -pdflatex="$(LATEX) $(LATEXOPT) $(NONSTOP) %O %S" $<
debug: $(MAIN).tex
    $(LATEX) $(LATEXOPT) $<
interactive: $(MAIN).tex listing
    $(LATEXMK) $(LATEXMKOPT) $(CONTINUOUS) -pdflatex="$(LATEX) $(LATEXOPT)%O %S" $<
clean:
    rm -f *.pyc *.pyg
    rm -rf _minted-$(MAIN)
    rm -f $(addprefix $(MAIN).,$(TEX_EXTENSION))
    $(LATEXMK) -C