Skip to content

Commit

Permalink
input
Browse files Browse the repository at this point in the history
  • Loading branch information
daniw committed Sep 12, 2015
1 parent c8dbeed commit 88fa912
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions input/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
input.pdf
12 changes: 12 additions & 0 deletions input/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.PHONY: all build clean

all: build clean

build:
pdflatex input.tex
pdflatex input.tex
pdflatex input.tex

clean:
rm -f *.aux
rm -f *.log
12 changes: 12 additions & 0 deletions input/input.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
\documentclass[a4paper, 10pt, fleqn]{article}

\usepackage{lipsum}

\includeonly{input_include}

\begin{document}
\section{Hauptdokument}
\lipsum[1]
\input{input_input}
\include{input_include}
\end{document}
2 changes: 2 additions & 0 deletions input/input_include.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
\section{Include}
\lipsum[1]
2 changes: 2 additions & 0 deletions input/input_input.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
\section{Input}
\lipsum[1]
1 change: 1 addition & 0 deletions pres/content.tex
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@
\input{reference}
\input{index}
\input{code}
\input{input}
\input{end}
7 changes: 7 additions & 0 deletions pres/input.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
\begin{frame}
\frametitle{Aufteilung}
\begin{block}{Inhalt aus anderen *.tex einfügen}
\lstsettinglatex
\lstinputlisting[linerange={5-12}]{../input/input.tex}
\end{block}
\end{frame}

0 comments on commit 88fa912

Please sign in to comment.