Skip to content

Instantly share code, notes, and snippets.

@Rokko11
Last active September 10, 2019 21:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Rokko11/8d089afe910790a07d9b989c7666ed17 to your computer and use it in GitHub Desktop.
Save Rokko11/8d089afe910790a07d9b989c7666ed17 to your computer and use it in GitHub Desktop.
Um ein PDF-Beispiel-Dokument zu erstellen: Beispiel herunterladen und run.sh oder run.bat ausführen.
title author lang lof geometry
Dynamische Dokumentation
Simone Görner und Richard Vogel
de
true
margin=3cm, left=3cm

Pandoc

Pandoc Logo{width=15%}

Kurzvorstellung

Pandoc bietet dicke und schräge Features wie Fußnoten1, inline-Code sowie

// Codeblöcke
System.out.println("Mit Highlighting")

Da Markdown über $LaTeX$ zu PDF transformiert wird, bekommt man Features wie mathematische Formeln $$ e^{i\pi}=-1 $$ geschenkt. Hierzu gehören auch

  • Inhaltsverzeichnis
  • Abbildungsverzeichnis
  • Literaturverzeichnis

aber auch Tabellen und Abbildungen.

Literaturverzeichnis

Footnotes

  1. mehr siehe @book1.

@BOOK{book1,
title = {Der \LaTeX-Begleiter},
year = {1996},
author = {M. Goossens and F. Mittelbach and A. Samarin},
edition = {2.~korr.\ Nachdruck},
note = {Deutsche Übersetzung von~\cite{wonne-eng}},
publisher = {Addison-Wesley}
}
Display the source blob
Display the rendered blob
Raw
docker run -v %cd%:/data pandoc/latex:2.6 input.md -F pandoc-citeproc --bibliography references.bib --toc -o result.pdf
docker run -v `pwd`:/data \
pandoc/latex:2.6 \
input.md \
-F pandoc-citeproc \
--bibliography references.bib \
--toc \
-o result.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment