git-vendor-name: pandoc-latex-template
git-vendor-dir: vendor/git.knownelement.com/ExternalVendorCode/pandoc-latex-template
git-vendor-repository: https://git.knownelement.com/ExternalVendorCode/pandoc-latex-template.git
git-vendor-ref: master
This commit is contained in:
Charles N Wyble 2024-12-09 12:37:41 -06:00
commit 7b590fdfa5
142 changed files with 5309 additions and 0 deletions

View File

@ -0,0 +1,75 @@
name: Build Example PDF files
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
- name: Setup pandoc
env:
PANDOC_VERSION: "3.4"
run: |
wget -qO- https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-linux-amd64.tar.gz | sudo tar xzf - --strip-components 1 -C /usr/local/
- name: Setup TexLive
env:
REMOTE: http://mirror.ctan.org/systems/texlive/tlnet
INSTALL: '/tmp/install-texlive'
run: |
mkdir -p ${INSTALL}
curl -sSL ${REMOTE}/install-tl-unx.tar.gz | tar -xzv -C $INSTALL --strip-components=1
sudo ${INSTALL}/install-tl -no-gui -profile .texlife.profile
VERSION=$($INSTALL/install-tl --version | grep 'version' | grep -o '[0-9]\{4\}')
PLATFORM=$($INSTALL/install-tl --print-platform)
TEXLIVE_DIR="/usr/local/texlive/${VERSION}"
TEXBIN="/usr/local/texlive/${VERSION}/bin/${PLATFORM}"
echo "${TEXBIN}" >> $GITHUB_PATH
sudo chown -hR $(whoami) "$TEXLIVE_DIR"
- name: Initialization for tlmgr
run: |
sudo apt-get update -qq && sudo apt-get install xzdec -y
tlmgr init-usertree
- name: Setup fonts and image convertion tool
run: sudo apt-get update -qq && sudo apt-get install fonts-noto-cjk poppler-utils -y
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.12'
- name: Install python filters
run: |
python -m pip install --upgrade pip
pip install pandoc-latex-environment
- name: Install LaTeX packages
run: |
tlmgr install adjustbox background bidi csquotes footmisc footnotebackref fvextra mdframed pagecolor sourcecodepro sourcesanspro titling ulem upquote xurl hardwrap catchfile
# trial and error
tlmgr install letltxmacro zref everypage framed collectbox
# packages needed for the template
tlmgr install xecjk filehook unicode-math ucharcat pagecolor babel-german ly1 mweights sourcecodepro sourcesanspro mdframed needspace fvextra footmisc footnotebackref background
# packages only needed for some examples (that include packages via header-includes)
tlmgr install awesomebox fontawesome5
# packages only needed for some examples (example boxes-with-pandoc-latex-environment-and-tcolorbox)
tlmgr install tcolorbox pgf etoolbox environ trimspaces
- name: Build examples
run: cd examples && bash build-examples.sh && cd ..
- name: Add generated example files
uses: actions/upload-artifact@v4
with:
name: build-files
path: |
examples/*/document.pdf
examples/*/preview.png
- name: Commit files
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit -m "Add generated example files" -a
- name: Push changes
uses: ad-m/github-push-action@master
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}

View File

@ -0,0 +1,358 @@
# contains all sorts of unfinished changes
private/
# build folder
dist/
.idea
# contains unit tests (incomplete at the moment, so don't include them)
test/
test/.idea/
test/eisvogel-tests.iml
# Created by https://www.gitignore.io/api/linux,macos,latex,windows
# Edit at https://www.gitignore.io/?templates=linux,macos,latex,windows
### LaTeX ###
## Core latex/pdflatex auxiliary files:
*.aux
*.lof
*.log
*.lot
*.fls
*.out
*.toc
*.fmt
*.fot
*.cb
*.cb2
.*.lb
## Intermediate documents:
*.dvi
*.xdv
*-converted-to.*
# these rules might exclude image files for figures etc.
# *.ps
# *.eps
# *.pdf
## Generated if empty string is given at "Please type another file name for output:"
.pdf
## Bibliography auxiliary files (bibtex/biblatex/biber):
*.bbl
*.bcf
*.blg
*-blx.aux
*-blx.bib
*.run.xml
## Build tool auxiliary files:
*.fdb_latexmk
*.synctex
*.synctex(busy)
*.synctex.gz
*.synctex.gz(busy)
*.pdfsync
## Build tool directories for auxiliary files
# latexrun
latex.out/
## Auxiliary and intermediate files from other packages:
# algorithms
*.alg
*.loa
# achemso
acs-*.bib
# amsthm
*.thm
# beamer
*.nav
*.pre
*.snm
*.vrb
# changes
*.soc
# comment
*.cut
# cprotect
*.cpt
# elsarticle (documentclass of Elsevier journals)
*.spl
# endnotes
*.ent
# fixme
*.lox
# feynmf/feynmp
*.mf
*.mp
*.t[1-9]
*.t[1-9][0-9]
*.tfm
#(r)(e)ledmac/(r)(e)ledpar
*.end
*.?end
*.[1-9]
*.[1-9][0-9]
*.[1-9][0-9][0-9]
*.[1-9]R
*.[1-9][0-9]R
*.[1-9][0-9][0-9]R
*.eledsec[1-9]
*.eledsec[1-9]R
*.eledsec[1-9][0-9]
*.eledsec[1-9][0-9]R
*.eledsec[1-9][0-9][0-9]
*.eledsec[1-9][0-9][0-9]R
# glossaries
*.acn
*.acr
*.glg
*.glo
*.gls
*.glsdefs
# uncomment this for glossaries-extra (will ignore makeindex's style files!)
# *.ist
# gnuplottex
*-gnuplottex-*
# gregoriotex
*.gaux
*.gtex
# htlatex
*.4ct
*.4tc
*.idv
*.lg
*.trc
*.xref
# hyperref
*.brf
# knitr
*-concordance.tex
# TODO Comment the next line if you want to keep your tikz graphics files
*.tikz
*-tikzDictionary
# listings
*.lol
# luatexja-ruby
*.ltjruby
# makeidx
*.idx
*.ilg
*.ind
# minitoc
*.maf
*.mlf
*.mlt
*.mtc[0-9]*
*.slf[0-9]*
*.slt[0-9]*
*.stc[0-9]*
# minted
_minted*
*.pyg
# morewrites
*.mw
# nomencl
*.nlg
*.nlo
*.nls
# pax
*.pax
# pdfpcnotes
*.pdfpc
# sagetex
*.sagetex.sage
*.sagetex.py
*.sagetex.scmd
# scrwfile
*.wrt
# sympy
*.sout
*.sympy
sympy-plots-for-*.tex/
# pdfcomment
*.upa
*.upb
# pythontex
*.pytxcode
pythontex-files-*/
# tcolorbox
*.listing
# thmtools
*.loe
# TikZ & PGF
*.dpth
*.md5
*.auxlock
# todonotes
*.tdo
# vhistory
*.hst
*.ver
# easy-todo
*.lod
# xcolor
*.xcp
# xmpincl
*.xmpi
# xindy
*.xdy
# xypic precompiled matrices
*.xyc
# endfloat
*.ttt
*.fff
# Latexian
TSWLatexianTemp*
## Editors:
# WinEdt
*.bak
*.sav
# Texpad
.texpadtmp
# LyX
*.lyx~
# Kile
*.backup
# KBibTeX
*~[0-9]*
# auto folder when using emacs and auctex
./auto/*
*.el
# expex forward references with \gathertags
*-tags.tex
# standalone packages
*.sta
### LaTeX Patch ###
# glossaries
*.glstex
### Linux ###
*~
# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*
# KDE directory preferences
.directory
# Linux trash folder which might appear on any partition or disk
.Trash-*
# .nfs files are created when an open file is removed but is still being accessed
.nfs*
### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
### Windows ###
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
# Dump file
*.stackdump
# Folder config file
[Dd]esktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp
# Windows shortcuts
*.lnk
# End of https://www.gitignore.io/api/linux,macos,latex,windows

View File

@ -0,0 +1,15 @@
selected_scheme scheme-basic
instopt_adjustpath 1
collection-basic 1
collection-bibtexextra 0
collection-fontsextra 0
collection-fontsrecommended 1
collection-langchinese 0
collection-latex 1
collection-latexextra 0
collection-latexrecommended 1
collection-mathscience 0
collection-xetex 1
tlpdbopt_autobackup 0
tlpdbopt_install_docfiles 0
tlpdbopt_install_srcfiles 0

View File

@ -0,0 +1,202 @@
# Changelog
All notable changes to this project are documented in this file. On the [releases page](https://github.com/Wandmalfarbe/pandoc-latex-template/releases/) you can see all released versions of the Eisvogel template and download the [latest version](https://github.com/Wandmalfarbe/pandoc-latex-template/releases/latest).
## [2.5.0] - 2024-10-03
- Merge changes from the pandoc default LaTeX template from version 3.4 ([7e8aafa](https://github.com/jgm/pandoc-templates/commit/7e8aafa049700a849b41c53cf1afeb17324040c7)).
## [2.4.2] - 2023-11-25
- Merge changes from the pandoc default LaTeX template from version 3.1.9 ([f7d8b62](https://github.com/jgm/pandoc-templates/commit/f7d8b629330074a4400d1f2795b101d14491c968)).
- Merge changes from the pandoc default LaTeX template from version 3.1.8 ([2d42e04](https://github.com/jgm/pandoc-templates/commit/2d42e04cbd65dd36c4469156b00f636e7f31623e)) (#364, David Mehren).
- Add fix for `table-use-row-colors` which previously stopped working (#301, Chris Fenner).
## [2.4.1] - 2023-09-06
- Merge changes from the pandoc default LaTeX template from version 3.1.7 (as of 2023-08-31, [8a5b381](https://github.com/jgm/pandoc-templates/blob/8a5b381c156c974b485197208c6dc86fce94b5c3/default.latex)).
## [2.4.0] - 2023-04-17
- Merge changes from the pandoc default LaTeX template (as of 2023-03-29, [a5159c2](https://github.com/jgm/pandoc/blob/a5159c2c505cd9a87856877b3287aa0b88e4e0ba/data/templates/default.latex)).
- Fix placement of float figures (tables, images, etc.). Float figures should now appear
exactly where they are included. The option `float-placement-figure` is also restored.
- Remove Travis CI build
- Fix wrong font sizes on the title page. The problem went away on its own, likely because
of an updated LaTeX package.
## [2.3.0] - 2023-03-13
The Eisvogel template is now available in the Docker image [pandoc/extra](https://hub.docker.com/r/pandoc/extra)!
For more Information refer to the [documentation in the Readme](https://github.com/Wandmalfarbe/pandoc-latex-template#docker-image) or
the [documentation on docker hub](https://hub.docker.com/r/pandoc/extra).
- Merge changes from the pandoc default LaTeX template (as of 2023-03-10, [9b04036](https://github.com/jgm/pandoc/blob/9b04036f6b0745c6ce0cb027683e94b648da3a9c/data/templates/default.latex)).
- Add `CJKsansfont` and `CJKmonofont` for XeLaTeX. `CJKsansfont` and `CJKmonofont` will be set
for XeLaTeX only if `CJKmainfont` is also provided (#328, Yudong Jin).
- Add documentation in the README on how to use the `pandoc/extra` docker image (#319, damien clochard).
- Fix wrong literate of characters `è` and `È` in listings. The character `è` was wrongly
converted to `é` and `È` to `É` (#324, damien clochard).
## [2.2.0] - 2023-01-22
- Merge changes from the pandoc default LaTeX template (as of 2023-01-13, [909ced5](https://github.com/jgm/pandoc/blob/909ced5153e2c7cefd5018c39f83231824940fb8/data/templates/default.latex)).
- This change adds support for pandoc 3.
## [2.1.0] - 2022-12-04
- Merge changes from the pandoc default LaTeX template (as of 2022-11-19, [144bf90ab9](https://github.com/jgm/pandoc/blob/144bf90ab92b517dd721baf80f121f86187ccd61/data/templates/default.latex)).
- Restructure the examples. Any example folder now contains at least the following files:
- `document.md`: the Markdown document to convert to a PDF
- `document.pdf`: the resulting PDF document
- `build.sh`: a shell script to convert the document `document.md` with pandoc. This script might call pandoc with additional arguments (e.g. filters or template variables).
- `preview.png`: a PNG image of the resulting PDF document intended as a quick preview
- Use the Koma-Script package `scrlayer-scrpage` for the headers and footers instead of the package `fancyhdr` (#174, khaveesh).
- Fix a header and footer bug when using `oneside` introduced by the migration to `scrlayer-scrpage` (#248, ret2src).
- Restore pagestyle `plain` for chapters (#275). Headers and footers are removed from chapter pages, as it has been before the migration to `scrlayer-scrpage`.
- Correct the examples and documentation (#239, mprobson), (#261, supcik).
- Exclude title page from page count (#230, shmalebx9).
- Make code-block-font-size not affect inline listings (#229, LudvigHz).
- Rename the Eisvogel template variable `logo` to `titlepage-logo`.
- `logo` is already used by beamer, and one might want to use both
formats (beamer and latex) without the logo appearing as a
background image on beamer slides.
- Add an example for a table of contents (#283).
## [2.0.0] - 2021-01-31
**This release includes breaking changes.**
- Merged changes from the pandoc default LaTeX template.
- Fix broken travis build by modifying the `--resource-path`
When specifying the resource path via `--resource-path` the template will be searched there since pandoc 2.9.2.1.
To fix the broken travis build (`Could not find data file templates/eisvogel.latex`) the current working directory `.` is included in the resource path for pandoc to find the template again.
For more information visit the pandoc issue <https://github.com/jgm/pandoc/issues/6618>.
- Rename template to `eisvogel.latex` after release (#182). There is no need for renaming the template file after the download.
This is a breaking change because there will be no file `eisvogel.latex` in the released artifacts anymore.
- Option `logo-width` has no hard coded unit `pt` anymore (#221).
The width of the logo can be specified with various units e.g. `pt`, `in`, `mm`.
This is a breaking change because a previously specified `logo-width` without a unit needs a unit now. If there is no unit LaTeX will emit an error `Illegal unit of measure (pt inserted)` and no document will be created.
The default value for `logo-width` has also changed from `100pt` to `35mm`.
## [1.6.1] - 2020-11-26
- Merged changes from the pandoc default LaTeX template (https://github.com/jgm/pandoc/blob/master/data/templates/default.latex).
- This merge should fix a compilation error when using tables because of the missing `calc` package.
## [1.6.0] - 2020-11-02
- Merged changes from the pandoc default LaTeX template (https://github.com/jgm/pandoc/blob/master/data/templates/default.latex).
- This merge should fix problems related to using CSL bibliographies (#201).
- Added documentation about common errors to the readme.
- The command `\thedate` can be used in the source document or metadata fields (#163).
## [1.5.0] - 2020-06-14
- Create release assets with and without version number for easy access (#175).
- Added example `boxes-with-pandoc-latex-environment-and-tcolorbox` This example shows how to render beautiful boxes with the filter `pandoc-latex-environment` and the package `tcolorbox`.
- Fix LaTeX installation problems on Travis by installing everything manually.
- Fixed a couple of LuaLaTeX warnings (#169, khaveesh)
- Mention required LaTeX package for option `footnotes-disable-backlinks` in the Readme (#148, salim-b).
- Remove `graphicx` dependency (#149, noraj). Please see https://github.com/jgm/pandoc/issues/5848 for the full discussion.
## [1.4.0] - 2020-02-02
- Added support for a page background (#138, evildead).
- The variable `page-background` specifies the path to a background image for any page. The background image is scaled to cover the entire page.
- The variable `page-background-opacity` specifies the background image opacity.
- Added an example on how to generate admonition boxes (#115). The example demonstrates the use of the filter `pandoc-latex-environments` to create custom admonition boxes with the `awesomebox` package.
- Added an example on how to compile Chinese documents (#140).
- Added a section on *required LaTeX packages* to the readme (#141). The section explains how to install the required packages with TeX Live and MiKtEX.
- Corrected the command `tlmgr` in `README.md` (#143).
## [1.3.1] - 2019-12-08
- Fixed wrong margins when not using the titlepage option (#135).
## [1.3.0] - 2019-10-26
- Clarified the location of the pandoc templates directory in the readme.
- Added missing `$endif$` that caused a compilation failure (#125, 0az).
- Merged changes from the pandoc default LaTeX template.
- Fixed a bug where specifying a font via `mainfont` when using pdfLaTeX would not apply the default font Source Sans Pro.
- Improve formatting of footnotes with the variables `footnotes-pretty` and `footnotes-disable-backlinks` (#107, salim-b).
- Added the variable `code-block-font-size` to change the font size for code blocks via the supplied LaTeX command (#123, #17).
- Improve Japanese dummy text (#86, JKPOKE)
- Added an example on how to change header and footer (#109).
- Added example backgrounds to the titlepage example.
- Added support for background images on the title page with the variable `titlepage-background` (#31, #41).
- Disabled striped tables per default. Enable them with the variable `table-use-row-colors: true` (#29).
- Updated listings definition for Java which is the default language when using listings. This means that more keywords such as `var` from Java 10 are highlighted.
- Added support for additional keyword colors when using `listings` for syntax highlighting. The support depends on the used language. Some languages like `motorola68k`, `x86masm`, `inform`, `llvm`, `lua`, `metapost`, `mupad`, `ocl`, `python`, `verrilog`, `basic`, `cil`, `fortran` and `hansl` will have additional colors for some keywords.
- Fixed: Long lines in code blocks (verbatim environment) wrap automatically (#2).
## [1.2.4] - 2019-06-16
- Fixed: The template now compiles with the output format `beamer` (#99). The styling for the generated slides is currently not customized.
## [1.2.3] - 2019-06-12
- Fixed: Code blocks were too close to the text above.
- Fixed: The default float placement of figures can be changed with the variable `float-placement-figure`.
- Changed: Merged changes from the pandoc default LaTeX template.
- Added: A changelog is available as `CHANGELOG.md`.
- Changed: Updated installation instructions in the README with new XDG support (#89, Andrew Zhou).
## [1.2.2] - 2019-04-09
- Merged changes from the pandoc default LaTeX template.
- Fixed: Support custom values for `secnumdepth` and `toc-depth` (#87, Juan Grigera).
## [1.2.1] - 2019-03-10
- Removed double inclusion of package `xcolor` and cleaned up some comments.
- Removed unused `\captionsetup[longtable]`.
- Moved listing colors to the listings block in the template.
- Changed the top and bottom spacing of listings.
- Merged changes from the pandoc default LaTeX template.
- Changed the release script to also create a `tar.gz` archive.
## [1.2.0] - 2019-03-03
- Fixed curly quotes in code listings under XeTeX engine (#79, Andrew Hodgkinson).
- Merged changes from the pandoc default LaTeX template `default.latex`.
- Updated the installation instructions in the README and moved the release script to the `tools` folder.
## [1.1.0] - 2019-02-17
- Defined a default pagestyle to make it easier to change the pagestyle on certain pages or define a custom one (#77).
- Add support for `first-chapter` variable in case it's desirable for a book not to begin with chapter 1 (#74, umanovskis).
## [1.0.0] - 2018-12-07
- First release of the template as a ZIP file with the examples.
[2.5.0]: https://github.com/Wandmalfarbe/pandoc-latex-template/compare/v2.4.2...v2.5.0
[2.4.2]: https://github.com/Wandmalfarbe/pandoc-latex-template/compare/v2.4.1...v2.4.2
[2.4.1]: https://github.com/Wandmalfarbe/pandoc-latex-template/compare/v2.4.0...v2.4.1
[2.4.0]: https://github.com/Wandmalfarbe/pandoc-latex-template/compare/v2.3.0...v2.4.0
[2.3.0]: https://github.com/Wandmalfarbe/pandoc-latex-template/compare/v2.2.0...v2.3.0
[2.2.0]: https://github.com/Wandmalfarbe/pandoc-latex-template/compare/v2.1.0...v2.2.0
[2.1.0]: https://github.com/Wandmalfarbe/pandoc-latex-template/compare/v2.0.0...v2.1.0
[2.0.0]: https://github.com/Wandmalfarbe/pandoc-latex-template/compare/v1.6.1...v2.0.0
[1.6.1]: https://github.com/Wandmalfarbe/pandoc-latex-template/compare/v1.6.0...v1.6.1
[1.6.0]: https://github.com/Wandmalfarbe/pandoc-latex-template/compare/v1.5.0...v1.6.0
[1.5.0]: https://github.com/Wandmalfarbe/pandoc-latex-template/compare/v1.4.0...v1.5.0
[1.4.0]: https://github.com/Wandmalfarbe/pandoc-latex-template/compare/v1.3.1...v1.4.0
[1.3.1]: https://github.com/Wandmalfarbe/pandoc-latex-template/compare/v1.3.0...v1.3.1
[1.3.0]: https://github.com/Wandmalfarbe/pandoc-latex-template/compare/v1.2.4...v1.3.0
[1.2.4]: https://github.com/Wandmalfarbe/pandoc-latex-template/compare/v1.2.3...v1.2.4
[1.2.3]: https://github.com/Wandmalfarbe/pandoc-latex-template/compare/v1.2.2...v1.2.3
[1.2.2]: https://github.com/Wandmalfarbe/pandoc-latex-template/compare/v1.2.1...v1.2.2
[1.2.1]: https://github.com/Wandmalfarbe/pandoc-latex-template/compare/v1.2.0...v1.2.1
[1.2.0]: https://github.com/Wandmalfarbe/pandoc-latex-template/compare/1.1.0...v1.2.0
[1.1.0]: https://github.com/Wandmalfarbe/pandoc-latex-template/compare/v1.0.0...1.1.0
[1.0.0]: https://github.com/Wandmalfarbe/pandoc-latex-template/releases/tag/v1.0.0

View File

@ -0,0 +1,28 @@
Copyright (c) 2017 - 2021, Pascal Wagler;
Copyright (c) 2014 - 2021, John MacFarlane
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@ -0,0 +1,481 @@
<img src="icon.png" align="right" height="110"/>
# Eisvogel
A clean **pandoc LaTeX template** to convert your markdown files to PDF or LaTeX. It is designed for lecture notes and exercises with a focus on computer science. The template is compatible with pandoc 3.
## Preview
| A custom title page | A basic example page |
| :------------------: | :------------------: |
| [![A custom title page](examples/title-page-custom/preview.png)](examples/title-page-custom/document.pdf) | [![A basic example page](examples/basic-example/preview.png)](examples/basic-example/document.pdf) |
## Installation
1. Install pandoc from <http://pandoc.org/>. You also need to install [LaTeX](https://en.wikibooks.org/wiki/LaTeX/Installation#Distributions).
2. Download the latest version of the Eisvogel template from [the release page](https://github.com/Wandmalfarbe/pandoc-latex-template/releases/latest).
3. Extract the downloaded ZIP archive and open the folder.
4. Move the template `eisvogel.latex` to your pandoc templates folder. The location of the templates folder depends on your operating system:
- Unix, Linux, macOS: `/Users/USERNAME/.local/share/pandoc/templates/` or `/Users/USERNAME/.pandoc/templates/`
- Windows Vista or later: `C:\Users\USERNAME\AppData\Roaming\pandoc\templates\`
If there are no folders called `templates` or `pandoc` you need to create them and put the template `eisvogel.latex` inside. You can find the default user data directory on your system by looking at the output of `pandoc --version`.
### Docker image
Alternatively, if you don't want to install LaTeX, you can use the Docker
image named [pandoc/extra]. The image contains pandoc, LaTeX and a curated
selection of components such as the eisvogel template, pandoc filters and
open source fonts. A common use of the image looks like this
(line breaks for readability):
``` bash
docker run --rm \
--volume "$(pwd):/data" \
--user $(id -u):$(id -g) \
pandoc/extra example.md -o example.pdf --template eisvogel --listings
```
For frequent command line use, you can define the following shell alias:
``` bash
alias pandock='docker run --rm -v "$(pwd):/data" -u $(id -u):$(id -g) pandoc/extra'
```
The example invocation with Docker from above now looks like this:
``` bash
pandock example.md -o example.pdf --template eisvogel --listings
```
[pandoc/extra]: https://hub.docker.com/r/pandoc/extra
## Usage
1. Open the terminal and navigate to the folder where your markdown file is located.
2. Execute the following command
``` bash
pandoc example.md -o example.pdf --from markdown --template eisvogel --listings
```
where `example.md` is the markdown file you want to convert to PDF.
In order to have nice headers and footers you need to supply metadata to your document. You can do that with a [YAML metadata block](http://pandoc.org/MANUAL.html#extension-yaml_metadata_block) at the top of your markdown document (see the [example markdown file](examples/basic-example/document.md)). Your markdown document may look like the following:
``` markdown
---
title: "The Document Title"
author: [Example Author, Another Author]
date: "2017-02-20"
keywords: [Markdown, Example]
...
Here is the actual document text...
```
### Custom Template Variables
This template defines some new variables to control the appearance of the resulting PDF document. The existing template variables from pandoc are all supported and their documentation can be found in [the pandoc manual](https://pandoc.org/MANUAL.html#variables-for-latex).
- `titlepage` (defaults to `false`)
turns on the title page when `true`
- `titlepage-color`
the background color of the title page. The color value must be given as an HTML hex color like `D8DE2C` without the leading number sign (`#`). When specifying the color in YAML, it is advisable to enclose it in quotes like so `titlepage-color: "D8DE2C"` to avoid the truncation of the color (e.g. `000000` becoming `0`).
- `titlepage-text-color` (defaults to `5F5F5F`)
the text color of the title page
- `titlepage-rule-color` (defaults to `435488`)
the color of the rule on the top of the title page
- `titlepage-rule-height` (defaults to `4`)
the height of the rule on the top of the title page (in points)
- `titlepage-logo`
path to an image that will be displayed on the title page. The path is always relative to where pandoc is executed. The option `--resource-path` has no effect.
- `titlepage-background`
the path to a background image for the title page. The background image is scaled to cover the entire page. In the examples folder under `titlepage-background` are a few example background images.
- `page-background`
the path to a background image for any page. The background image is scaled to cover the entire page. In the examples folder under `page-background` are a few example background images.
- `page-background-opacity` (defaults to `0.2`)
the background image opacity
- `caption-justification` (defaults to `raggedright`)
justification setting for captions (uses the `justification` parameter of the [caption](https://ctan.org/pkg/caption?lang=en) package)
- `toc-own-page` (defaults to `false`)
begin new page after table of contents, when `true`
- `listings-disable-line-numbers` (defaults to `false`)
disables line numbers for all listings
- `listings-no-page-break` (defaults to `false`)
avoid page break inside listings
- `disable-header-and-footer` (default to `false`)
disables the header and footer completely on all pages
- `header-left` (defaults to the title)
the text on the left side of the header
- `header-center`
the text in the center of the header
- `header-right` (defaults to the date)
the text on the right side of the header
- `footer-left` (defaults to the author)
the text on the left side of the footer
- `footer-center`
the text in the center of the footer
- `footer-right` (defaults to the page number)
the text on the right side of the footer
- `footnotes-pretty` (defaults to `false`)
prettifies formatting of footnotes (requires package `footmisc`)
- `footnotes-disable-backlinks` (defaults to `false`)
disables making the reference from the footnote at the bottom of the page into a link back to the occurrence of the footnote in the main text (enabling requires package `footnotebackref`).
- `book` (defaults to `false`)
typeset as book
- `logo-width` (defaults to `35mm`)
the width of the logo. One needs to specify the width with a (TeX) unit e.g. `100pt` or `35mm`. The following units can be used:
- `pt`: Point
- `pc`: pica (12 `pt`)
- `in`: inch (72.27 `pt`)
- `bp`: Big point (72 `bp` = 1 `in`)
- `cm`: Centimeter
- `mm`: Millimeter
- `dd`: Didot point
- `cc`: cicero (12 `dd`)
- `sp`: Scaled point (65,536 `sp` = 1 `pt`)
- `ex`: Nomimal x-height
- `em`: Nominal m-width
- `px`: Pixel (only for pdfTeX and LuaTeX) The dimension given to the `\pdfpxdimen` primitive; default value is 1 `bp`, corresponding to a pixel density of 72 dpi.
A visual overview of the length units is available at <https://github.com/tweh/tex-units>.
- `first-chapter` (defaults to `1`)
if typesetting a book with chapter numbers, specifies the number that will be assigned to the first chapter
- `float-placement-figure` (defaults to `H`)
Reset the default placement specifier for figure environments to the supplied value e.g. `htbp`. The available specifiers are listed below. The first four placement specifiers can be combined.
1. `h`: Place the float *here*, i.e., approximately at the same point it occurs in the source text.
2. `t`: Place the float at the *top* of the page.
3. `b`: Place the float at the *bottom* of the page.
4. `p`: Place the float on the next *page* that will contain only floats like figures and tables.
5. `H`: Place the float *HERE* (exactly where it occurs in the source text). The `H` specifier is provided by the [float package](https://ctan.org/pkg/float) and may not be used in conjunction with any other placement specifiers.
- `table-use-row-colors` (defaults to `false`)
enables row colors for tables. The default value is `false` because the coloring extends beyond the edge of the table and there is currently no way to change that.
- `code-block-font-size` (defaults to `\small`)
LaTeX command to change the font size for code blocks. The available values are `\tiny`, `\scriptsize`, `\footnotesize`, `\small`, `\normalsize`, `\large`, `\Large`, `\LARGE`, `\huge` and `\Huge`. This option will change the font size for default code blocks using the verbatim environment and for code blocks generated with listings.
## Required LaTeX Packages
LaTeX manages addons and additional functionality in so called packages. You
might get the following error when compiling a document with the Eisvogel
template:
``` sh
! LaTeX Error: File `footnotebackref.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name:
! Emergency stop.
<read *>
```
LaTeX informs you that the additional package `footnotebackref` is required to
render the document.
### Texlive
Eisvogel requires a full texlive distribution that can be installed by running
`apt-get install texlive-full` in the terminal. Because `texlive-full` is very
large (about 5 Gigabytes) you can also install the smaller texlive bundles and
add any missing packages manually.
A smaller texlive bundle is `texlive-latex-extra`. With `texlive-latex-extra`
you also need to install these packages manually:
```
adjustbox babel-german background bidi collectbox csquotes everypage filehook
footmisc footnotebackref framed fvextra letltxmacro ly1 mdframed mweights
needspace pagecolor sourcecodepro sourcesanspro titling ucharcat ulem
unicode-math upquote xecjk xurl zref
```
Install them with the following command:
``` sh
tlmgr install soul adjustbox babel-german background bidi collectbox csquotes everypage filehook footmisc footnotebackref framed fvextra letltxmacro ly1 mdframed mweights needspace pagecolor sourcecodepro sourcesanspro titling ucharcat ulem unicode-math upquote xecjk xurl zref
```
Additional information about the different texlive packages can be found at
this TeX-StackExchange answer: <https://tex.stackexchange.com/a/504566>
### MiKTeX
If you don't want to install all missing packages manually, [MiKTeX might be
an alternative](https://miktex.org/howto/miktex-console).
> MiKTeX has the ability to automatically install missing packages.
> You can turn this feature on or off. And you can let MiKTeX ask you each time a package has to be installed:
>
> - Click `Settings` to navigate to the settings page.
> - Click the `General` tab.
> - Click one of the radio buttons:
> - `Ask me`
> - `Always install missing packages on-the-fly`
> - `Never install missing packages on-the-fly`
## Examples
### Numbered Sections
For PDFs with [numbered sections](http://pandoc.org/MANUAL.html#options-affecting-specific-writers) use the `--number-sections` or `-N` option.
``` bash
pandoc example.md -o example.pdf --template eisvogel --number-sections
```
### Syntax Highlighting with Listings
You can get syntax highlighting of delimited code blocks by using the LaTeX package listings with the option `--listings`. This example will produce the same syntax highlighting as in the example PDF.
``` bash
pandoc example.md -o example.pdf --template eisvogel --listings
```
### Syntax Highlighting Without Listings
The following examples show [syntax highlighting of delimited code blocks](http://pandoc.org/MANUAL.html#syntax-highlighting) without using listings. To see a list of all the supported highlight styles, type `pandoc --list-highlight-styles`.
``` bash
pandoc example.md -o example.pdf --template eisvogel --highlight-style pygments
```
``` bash
pandoc example.md -o example.pdf --template eisvogel --highlight-style kate
```
``` bash
pandoc example.md -o example.pdf --template eisvogel --highlight-style espresso
```
``` bash
pandoc example.md -o example.pdf --template eisvogel --highlight-style tango
```
### Standalone LaTeX Document
To produce a standalone LaTeX document for compiling with any LaTeX editor use `.tex` as an output file extension.
``` bash
pandoc example.md -o example.tex --template eisvogel
```
### Changing the Document Language
The default language of this template is American English. The `lang` variable identifies the main language of the document, using a code according to [BCP 47](https://tools.ietf.org/html/bcp47) (e.g. `en` or `en-GB`). For an incomplete list of the supported language codes see [the documentation for the hyph-utf8 package (Section 2)](http://mirrors.ctan.org/language/hyph-utf8/doc/generic/hyph-utf8/hyph-utf8.pdf). The following example changes the language to British English:
``` bash
pandoc example.md -o example.pdf --template eisvogel -V lang=en-GB
```
The following example changes the language to German:
``` bash
pandoc example.md -o example.pdf --template eisvogel -V lang=de
```
### Typesetting a Book
To typeset a book supply the template variable `-V book` from the command line or via `book: true` in the metadata.
To get the correct chapter headings you need to tell pandoc that it should convert first level headings (indicated by one `#` in markdown) to chapters with the command line option `--top-level-division=chapter`. Chapter numbers start at 1. If you need to change that, specify `first-chapter` in the template variables.
There will be one blank page before each chapter because the template is two-sided per default. So if you plan to publish your book as a PDF and dont need a blank page you should add the class option `onesided` which can be done by supplying a template variable `-V classoption=oneside`.
### Example Images
| A green title page | A background image on the title page |
| :----------------: | :----------------: |
| [![A green title page](examples/title-page-green/preview.png)](examples/title-page-green/document.pdf) | [![A background image on the title page](examples/title-page-background/preview.png)](examples/title-page-background/document.pdf) |
| images and tables | Code blocks styled without listings |
| :---------------: | :---------------: |
| [![images and tables](examples/images-and-tables/preview.png)](examples/images-and-tables/document.pdf) | [![Code blocks styled without listings](examples/code-blocks-without-listings/preview.png)](examples/code-blocks-without-listings/document.pdf) |
| A book | Code blocks styled with listings |
| :----: | :----: |
| [![A book](examples/book/preview.png)](examples/book/document.pdf) | [![Code blocks styled with listings](examples/code-blocks-listings/preview.png)](examples/code-blocks-listings/document.pdf) |
| A background images on all pages | CJK Support (when using XeLaTeX) |
| :----: | :----: |
| [![A background images on all pages](examples/page-background/preview.png)](examples/page-background/document.pdf) | [![CJK Support (when using XeLaTeX)](examples/language-japanese/preview.png)](examples/language-japanese/document.pdf) |
## Common Errors / Issues
The following section lists common errors and their solutions when using the
Eisvogel template.
### LaTeX Errors `Missing endcsname inserted` or `File x not found` when using `titlepage-background`, `logo`, or `titlepage-logo`.
``` latex
Error producing PDF.
! Missing endcsname inserted.
<to be read again>
protect
```
``` latex
Error producing PDF.
! Package pdftex.def Error: File `logo\T1\textunderscoreimage.pdf' not fou
nd: using draft setting.
See the pdftex.def package documentation for explanation.
Type H <return> for immediate help.
```
These errors occur when one includes a background image on the title page or a
logo that has an underscore (`_`) in the filename.
A quick fix would be to replace all underscores in the filename of the image
with a hyphen (`-`). If the background image is specified in your YAML front
matter like so,
``` yaml
titlepage-background: "background_image.pdf"
```
you can advise pandoc to interpret this as LaTeX and include it in the document
without parsing.
``` yaml
titlepage-background: "`background_image.pdf`{=latex}"
```
The same fix can be used for the logo image as well:
``` yaml
logo: "`logo_image.pdf`{=latex}"
```
Corresponding issues:
- [Wandmalfarbe/pandoc-latex-template#100](https://github.com/Wandmalfarbe/pandoc-latex-template/issues/100)
- [Wandmalfarbe/pandoc-latex-template#166](https://github.com/Wandmalfarbe/pandoc-latex-template/issues/166)
### LaTeX Error `Missing \begin{document}`
```
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.7 <
!DOCTYPE html>
! ==> Fatal error occurred, no output PDF file produced!
```
This error indicates that you try to use some text file for conversion that is
not the Eisvogel template. Please download the [latest Eisvogel template](https://github.com/Wandmalfarbe/pandoc-latex-template/releases/latest) from the releases page and start the conversion again.
### LaTeX Error `auto expansion is only possible with scalable fonts`
``` latex
Error producing PDF.
! pdfTeX error (font expansion): auto expansion is only possible with scalable
fonts.
\AtBegShi@Output ...ipout \box \AtBeginShipoutBox
\fi \fi
l.643 \begin{lstlisting}
```
This error likely occurs on Windows with MiKTeX installed. StackOverflow user
[Krebto provided the following fix](https://tex.stackexchange.com/a/392467):
> To solve the problem navigate to `C:\Program Files\MiKTeX 2.9\miktex\bin\x64` and run `updmap.exe`. The program may seem as it hangs for a while, but its probably because it tries to update the whole font tree. This solved the problem for me. After re-compiling everything should work fine.
Corresponding issue:
- [Wandmalfarbe/pandoc-latex-template#133](https://github.com/Wandmalfarbe/pandoc-latex-template/issues/133)
### LaTeX Error `cannot find image file`
``` latex
Error producing PDF.
! error: (file "/tmp/tex2pdf.-be734e802ef6d0c3/""fdcfc29edcf252186f1b0a52f18f50
43abaeb2d0".png) (pdf backend): cannot find image file '"/tmp/tex2pdf.-be734e802
ef6d0c3/""fdcfc29edcf252186f1b0a52f18f5043abaeb2d0".png'
! ==> Fatal error occurred, no output PDF file produced!
```
In general this error means that LaTeX is unable to find the included image
file. Please check all image references and file names for correctness.
This error also occurs if you use an old version of Eisvogel with the package
`grffile` and have an old LaTeX distribution installed. Please update Eisvogel
and your LaTeX distribution.
Corresponding issues:
- [jgm/pandoc#5848](https://github.com/jgm/pandoc/issues/5848)
- [Wandmalfarbe/pandoc-latex-template#149](https://github.com/Wandmalfarbe/pandoc-latex-template/issues/149)
## Credits
- This template includes code for styling block quotations from [pandoc-letter](https://github.com/aaronwolen/pandoc-letter) by [Aaron Wolen](https://github.com/aaronwolen).
## License
This project is open source licensed under the BSD 3-Clause License. Please see the [LICENSE file](LICENSE) for more information.

View File

@ -0,0 +1,3 @@
theme: jekyll-theme-cayman
title: Eisvogel
description: A clean pandoc LaTeX template to convert your markdown files to PDF or LaTeX.

View File

@ -0,0 +1,436 @@
<img src="icon.png" align="right" height="110"/>
# Eisvogel
A clean **pandoc LaTeX template** to convert your markdown files to PDF or LaTeX. It is designed for lecture notes and exercises with a focus on computer science. The template is compatible with pandoc 2.
## Preview
| A custom title page | A basic example page |
| :------------------: | :------------------: |
| [![A custom title page](../examples/custom-titlepage/custom-titlepage.png)](../examples/custom-titlepage/custom-titlepage.pdf) | [![A basic example page](../examples/basic-example/basic-example.png)](../examples/basic-example/basic-example.pdf) |
## Installation
1. Install pandoc from <http://pandoc.org/>. You also need to install [LaTeX](https://en.wikibooks.org/wiki/LaTeX/Installation#Distributions).
2. Download the latest version of the Eisvogel template from [the release page](https://github.com/Wandmalfarbe/pandoc-latex-template/releases/latest).
3. Extract the downloaded ZIP archive and open the folder.
4. Move the template `eisvogel.tex` to your pandoc templates folder and rename the file to `eisvogel.latex`. The location of the templates folder depends on your operating system:
- Unix, Linux, macOS: `/Users/USERNAME/.local/share/pandoc/templates/` or `/Users/USERNAME/.pandoc/templates/`
- Windows Vista or later: `C:\Users\USERNAME\AppData\Roaming\pandoc\templates\`
If there are no folders called `templates` or `pandoc` you need to create them and put the template `eisvogel.latex` inside. You can find the default user data directory on your system by looking at the output of `pandoc --version`.
## Usage
1. Open the terminal and navigate to the folder where your markdown file is located.
2. Execute the following command
``` bash
pandoc example.md -o example.pdf --from markdown --template eisvogel --listings
```
where `example.md` is the markdown file you want to convert to PDF.
In order to have nice headers and footers you need to supply metadata to your document. You can do that with a [YAML metadata block](http://pandoc.org/MANUAL.html#extension-yaml_metadata_block) at the top of your markdown document (see the [example markdown file](../examples/basic-example/basic-example.md)). Your markdown document may look like the following:
``` markdown
---
title: "The Document Title"
author: [Example Author, Another Author]
date: "2017-02-20"
keywords: [Markdown, Example]
...
Here is the actual document text...
```
### Custom Template Variables
This template defines some new variables to control the appearance of the resulting PDF document. The existing template variables from pandoc are all supported and their documentation can be found in [the pandoc manual](https://pandoc.org/MANUAL.html#variables-for-latex).
- `titlepage` (defaults to `false`)
turns on the title page when `true`
- `titlepage-color`
the background color of the title page. The color value must be given as an HTML hex color like `D8DE2C` without the leading number sign (`#`). When specifying the color in YAML, it is advisable to enclose it in quotes like so `titlepage-color: "D8DE2C"` to avoid the truncation of the color (e.g. `000000` becoming `0`).
- `titlepage-text-color` (defaults to `5F5F5F`)
the text color of the title page
- `titlepage-rule-color` (defaults to `435488`)
the color of the rule on the top of the title page
- `titlepage-rule-height` (defaults to `4`)
the height of the rule on the top of the title page (in points)
- `titlepage-background`
the path to a background image for the title page. The background image is scaled to cover the entire page. In the examples folder under `titlepage-background` are a few example background images.
- `page-background`
the path to a background image for any page. The background image is scaled to cover the entire page. In the examples folder under `page-background` are a few example background images.
- `page-background-opacity` (defaults to `0.2`)
the background image opacity
- `caption-justification` (defaults to `raggedright`)
justification setting for captions (uses the `justification` parameter of the [caption](https://ctan.org/pkg/caption?lang=en) package)
- `toc-own-page` (defaults to `false`)
begin new page after table of contents, when `true`
- `listings-disable-line-numbers` (defaults to `false`)
disables line numbers for all listings
- `listings-no-page-break` (defaults to `false`)
avoid page break inside listings
- `disable-header-and-footer` (default to `false`)
disables the header and footer completely on all pages
- `header-left` (defaults to the title)
the text on the left side of the header
- `header-center`
the text in the center of the header
- `header-right` (defaults to the date)
the text on the right side of the header
- `footer-left` (defaults to the author)
the text on the left side of the footer
- `footer-center`
the text in the center of the footer
- `footer-right` (defaults to the page number)
the text on the right side of the footer
- `footnotes-pretty` (defaults to `false`)
prettifies formatting of footnotes (requires package `footmisc`)
- `footnotes-disable-backlinks` (defaults to `false`)
disables making the reference from the footnote at the bottom of the page into a link back to the occurrence of the footnote in the main text (enabling requires package `footnotebackref`).
- `book` (defaults to `false`)
typeset as book
- `logo`
path to an image that will be displayed on the title page. The path is always relative to where pandoc is executed. The option `--resource-path` has no effect.
- `logo-width` (defaults to `100`)
the width of the logo (in points)
- `first-chapter` (defaults to `1`)
if typesetting a book with chapter numbers, specifies the number that will be assigned to the first chapter
- `float-placement-figure` (defaults to `H`)
Reset the default placement specifier for figure environments to the supplied value e.g. `htbp`. The available specifiers are listed below. The first four placement specifiers can be combined.
1. `h`: Place the float *here*, i.e., approximately at the same point it occurs in the source text.
2. `t`: Place the float at the *top* of the page.
3. `b`: Place the float at the *bottom* of the page.
4. `p`: Place the float on the next *page* that will contain only floats like figures and tables.
5. `H`: Place the float *HERE* (exactly where it occurs in the source text). The `H` specifier is provided by the [float package](https://ctan.org/pkg/float) and may not be used in conjunction with any other placement specifiers.
- `table-use-row-colors` (defaults to `false`)
enables row colors for tables. The default value is `false` because the coloring extends beyond the edge of the table and there is currently no way to change that.
- `code-block-font-size` (defaults to `\small`)
LaTeX command to change the font size for code blocks. The available values are `\tiny`, `\scriptsize`, `\footnotesize`, `\small`, `\normalsize`, `\large`, `\Large`, `\LARGE`, `\huge` and `\Huge`. This option will change the font size for default code blocks using the verbatim environment and for code blocks generated with listings.
## Required LaTeX Packages
LaTeX manages addons and additional functionality in so called packages. You
might get the following error when compiling a document with the Eisvogel
template:
``` sh
! LaTeX Error: File `footnotebackref.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name:
! Emergency stop.
<read *>
```
LaTeX informs you that the additional package `footnotebackref` is required to
render the document.
### Texlive
Eisvogel requires a full texlive distribution that can be installed by running
`apt-get install texlive-full` in the terminal. Because `texlive-full` is very
large (about 5 Gigabytes) you can also install the smaller texlive bundles and
add any missing packages manually.
A smaller texlive bundle is `texlive-latex-extra`. With `texlive-latex-extra`
you also need to install these packages manually:
```
adjustbox babel-german background bidi collectbox csquotes everypage filehook
footmisc footnotebackref framed fvextra letltxmacro ly1 mdframed mweights
needspace pagecolor sourcecodepro sourcesanspro titling ucharcat ulem
unicode-math upquote xecjk xurl zref
```
Install them with the following command:
``` sh
tlmgr install adjustbox babel-german background bidi collectbox csquotes everypage filehook footmisc footnotebackref framed fvextra letltxmacro ly1 mdframed mweights needspace pagecolor sourcecodepro sourcesanspro titling ucharcat ulem unicode-math upquote xecjk xurl zref
```
Additional information about the different texlive packages can be found at
this TeX-StackExchange answer: <https://tex.stackexchange.com/a/504566>
### MiKTeX
If you don't want to install all missing packages manually, [MiKTeX might be
an alternative](https://miktex.org/howto/miktex-console).
> MiKTeX has the ability to automatically install missing packages.
> You can turn this feature on or off. And you can let MiKTeX ask you each time a package has to be installed:
>
> - Click `Settings` to navigate to the settings page.
> - Click the `General` tab.
> - Click one of the radio buttons:
> - `Ask me`
> - `Always install missing packages on-the-fly`
> - `Never install missing packages on-the-fly`
## Examples
### Numbered Sections
For PDFs with [numbered sections](http://pandoc.org/MANUAL.html#options-affecting-specific-writers) use the `--number-sections` or `-N` option.
``` bash
pandoc example.md -o example.pdf --template eisvogel --number-sections
```
### Syntax Highlighting with Listings
You can get syntax highlighting of delimited code blocks by using the LaTeX package listings with the option `--listings`. This example will produce the same syntax highlighting as in the example PDF.
``` bash
pandoc example.md -o example.pdf --template eisvogel --listings
```
### Syntax Highlighting Without Listings
The following examples show [syntax highlighting of delimited code blocks](http://pandoc.org/MANUAL.html#syntax-highlighting) without using listings. To see a list of all the supported highlight styles, type `pandoc --list-highlight-styles`.
``` bash
pandoc example.md -o example.pdf --template eisvogel --highlight-style pygments
```
``` bash
pandoc example.md -o example.pdf --template eisvogel --highlight-style kate
```
``` bash
pandoc example.md -o example.pdf --template eisvogel --highlight-style espresso
```
``` bash
pandoc example.md -o example.pdf --template eisvogel --highlight-style tango
```
### Standalone LaTeX Document
To produce a standalone LaTeX document for compiling with any LaTeX editor use `.tex` as an output file extension.
``` bash
pandoc example.md -o example.tex --template eisvogel
```
### Changing the Document Language
The default language of this template is American English. The `lang` variable identifies the main language of the document, using a code according to [BCP 47](https://tools.ietf.org/html/bcp47) (e.g. `en` or `en-GB`). For an incomplete list of the supported language codes see [the documentation for the hyph-utf8 package (Section 2)](http://mirrors.ctan.org/language/hyph-utf8/doc/generic/hyph-utf8/hyph-utf8.pdf). The following example changes the language to British English:
``` bash
pandoc example.md -o example.pdf --template eisvogel -V lang=en-GB
```
The following example changes the language to German:
``` bash
pandoc example.md -o example.pdf --template eisvogel -V lang=de
```
### Typesetting a Book
To typeset a book supply the template variable `-V book` from the command line or via `book: true` in the metadata.
To get the correct chapter headings you need to tell pandoc that it should convert first level headings (indicated by one `#` in markdown) to chapters with the command line option `--top-level-division=chapter`. Chapter numbers start at 1. If you need to change that, specify `first-chapter` in the template variables.
There will be one blank page before each chapter because the template is two-sided per default. So if you plan to publish your book as a PDF and dont need a blank page you should add the class option `onesided` which can be done by supplying a template variable `-V classoption=oneside`.
### Example Images
| A green title page | A background image on the title page |
| :----------------: | :----------------: |
| [![A green title page](../examples/green-titlepage/green-titlepage.png)](../examples/green-titlepage/green-titlepage.pdf) | [![A background image on the title page](../examples/titlepage-background/titlepage-background.png)](../examples/titlepage-background/titlepage-background.pdf) |
| images and tables | Code blocks styled without listings |
| :---------------: | :---------------: |
| [![images and tables](../examples/images-and-tables/images-and-tables.png)](../examples/images-and-tables/images-and-tables.pdf) | [![Code blocks styled without listings](../examples/without-listings/without-listings.png)](../examples/without-listings/without-listings.pdf) |
| A book | Code blocks styled with listings |
| :----: | :----: |
| [![A book](../examples/book/book.png)](../examples/book/book.pdf) | [![Code blocks styled with listings](../examples/listings/listings.png)](../examples/listings/listings.pdf) |
| A background images on all pages | CJK Support (when using XeLaTeX) |
| :----: | :----: |
| [![A background images on all pages](../examples/page-background/page-background.png)](../examples/page-background/page-background.pdf) | [![CJK Support (when using XeLaTeX)](../examples/japanese/japanese.png)](../examples/japanese/japanese.pdf) |
## Common Errors / Issues
The following section lists common errors and their solutions when using the
Eisvogel template.
### LaTeX Errors `Missing endcsname inserted` or `File x not found` when using `titlepage-background` or `logo`
``` latex
Error producing PDF.
! Missing endcsname inserted.
<to be read again>
protect
```
``` latex
Error producing PDF.
! Package pdftex.def Error: File `logo\T1\textunderscoreimage.pdf' not fou
nd: using draft setting.
See the pdftex.def package documentation for explanation.
Type H <return> for immediate help.
```
These errors occur when one includes a background image on the title page or a
logo that has an underscore (`_`) in the filename.
A quick fix would be to replace all underscores in the filename of the image
with a hyphen (`-`). If the background image is specified in your YAML front
matter like so,
``` yaml
titlepage-background: "background_image.pdf"
```
you can advise pandoc to interpret this as LaTeX and include it in the document
without parsing.
``` yaml
titlepage-background: "`background_image.pdf`{=latex}"
```
The same fix can be used for the logo image as well:
``` yaml
logo: "`logo_image.pdf`{=latex}"
```
Corresponding issues:
- [Wandmalfarbe/pandoc-latex-template#100](https://github.com/Wandmalfarbe/pandoc-latex-template/issues/100)
- [Wandmalfarbe/pandoc-latex-template#166](https://github.com/Wandmalfarbe/pandoc-latex-template/issues/166)
### LaTeX Error `Missing \begin{document}`
```
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.7 <
!DOCTYPE html>
! ==> Fatal error occurred, no output PDF file produced!
```
This error indicates that you try to use some text file for conversion that is
not the Eisvogel template. Please download the [latest Eisvogel template](https://github.com/Wandmalfarbe/pandoc-latex-template/releases/latest) from the releases page and start the conversion again.
### LaTeX Error `auto expansion is only possible with scalable fonts`
``` latex
Error producing PDF.
! pdfTeX error (font expansion): auto expansion is only possible with scalable
fonts.
\AtBegShi@Output ...ipout \box \AtBeginShipoutBox
\fi \fi
l.643 \begin{lstlisting}
```
This error likely occurs on Windows with MiKTeX installed. StackOverflow user
[Krebto provided the following fix](https://tex.stackexchange.com/a/392467):
> To solve the problem navigate to `C:\Program Files\MiKTeX 2.9\miktex\bin\x64` and run `updmap.exe`. The program may seem as it hangs for a while, but its probably because it tries to update the whole font tree. This solved the problem for me. After re-compiling everything should work fine.
Corresponding issue:
- [Wandmalfarbe/pandoc-latex-template#133](https://github.com/Wandmalfarbe/pandoc-latex-template/issues/133)
### LaTeX Error `cannot find image file`
``` latex
Error producing PDF.
! error: (file "/tmp/tex2pdf.-be734e802ef6d0c3/""fdcfc29edcf252186f1b0a52f18f50
43abaeb2d0".png) (pdf backend): cannot find image file '"/tmp/tex2pdf.-be734e802
ef6d0c3/""fdcfc29edcf252186f1b0a52f18f5043abaeb2d0".png'
! ==> Fatal error occurred, no output PDF file produced!
```
In general this error means that LaTeX is unable to find the included image
file. Please check all image references and file names for correctness.
This error also occurs if you use an old version of Eisvogel with the package
`grffile` and have an old LaTeX distribution installed. Please update Eisvogel
and your LaTeX distribution.
Corresponding issues:
- [jgm/pandoc#5848](https://github.com/jgm/pandoc/issues/5848)
- [Wandmalfarbe/pandoc-latex-template#149](https://github.com/Wandmalfarbe/pandoc-latex-template/issues/149)
## Credits
- This template includes code for styling block quotations from [pandoc-letter](https://github.com/aaronwolen/pandoc-letter) by [Aaron Wolen](https://github.com/aaronwolen).
## License
This project is open source licensed under the BSD 3-Clause License. Please see the [LICENSE file](LICENSE) for more information.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1 @@
pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --listings

View File

@ -0,0 +1,57 @@
---
title: "Example PDF"
author: [Author]
date: "2017-02-20"
subject: "Markdown"
keywords: [Markdown, Example]
lang: "en"
...
# Vinaque sanguine metuenti cuiquam Alcyone fixus
## Aesculeae domus vincemur et Veneris adsuetus lapsum
Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab
esse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi **medias
commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros
hamos ire arceor mandere spicula, in licet aliquando.
```java
public class Example implements LoremIpsum {
public static void main(String[] args) {
if(args.length < 2) {
System.out.println("Lorem ipsum dolor sit amet");
}
} // Obscura atque coniuge, per de coniunx
}
```
Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur.
Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva virtus! Acrota
destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente
Pirithoi abstulit, lapides.
## Lydia caelo recenti haerebat lacerum ratae at
Te concepit pollice fugit vias alumno **oras** quam potest
[rursus](http://example.com#rursus) optat. Non evadere orbem equorum, spatiis,
vel pede inter si.
1. De neque iura aquis
2. Frangitur gaudia mihi eo umor terrae quos
3. Recens diffudit ille tantum
\begin{equation}\label{eq:neighbor-propability}
p_{ij}(t) = \frac{\ell_j(t) - \ell_i(t)}{\sum_{k \in N_i(t)}^{} \ell_k(t) - \ell_i(t)}
\end{equation}
Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae
adessent arbor. Florente perque at condeturque saxa et ferarum promittis tendebat. Armos nisi obortas refugit me.
> Et nepotes poterat, se qui. Euntem ego pater desuetaque aethera Maeandri, et
[Dardanio geminaque](http://example.com#Dardanio_geminaque) cernit. Lassaque poenas
nec, manifesta $\pi r^2$ mirantia captivarum prohibebant scelerato gradus unusque
dura.
- Permulcens flebile simul
- Iura tum nepotis causa motus diva virtus Acrota. Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae adessent arbor. Florente perque at ire arcum.

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 KiB

View File

@ -0,0 +1 @@
pandoc "document.md" -o "document.pdf" --from markdown --to beamer --template "../../eisvogel.tex" --listings

View File

@ -0,0 +1,52 @@
---
title: "Example PDF"
author: [Author]
date: "2019-06-16"
subject: "Markdown"
keywords: [Markdown, Example]
lang: "en"
...
# Vinaque sanguine metuenti cuiquam Alcyone fixus
Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab
esse, obstat gravitate.
```java
public class Example implements LoremIpsum {
public static void main(String[] args) {
if(args.length < 2) {
System.out.println("Lorem ipsum dolor sit amet");
}
} // Obscura atque coniuge, per de coniunx
}
```
# Obscura atque coniuge, per de coniunx
- Vertitur iura tum nepotis causa motus.
```html
<!DOCTYPE html>
<html>
<head>
<title>This is the title of the page.</title>
</head>
<body>
<img src="./image.jpg" alt="This is an image.">
</body>
</html>
```
# Scyrumve spiro subitusque mente
```{.sql caption="Pallas nuper longusque cratere habuisse sepulcro pectore fertur."}
CREATE TYPE person_t AS (
firstName VARCHAR(50) NOT NULL,
lastName VARCHAR(50) NOT NULL
);
CREATE Or REPLACE FUNCTION getFormattedName(person) RETURNS text AS
$$ SELECT 'P: ' || initcap($1.firstName); $$
LANGUAGE SQL;
```

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 KiB

View File

@ -0,0 +1 @@
pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --listings --top-level-division="chapter"

View File

@ -0,0 +1,104 @@
---
title: "Example PDF"
author: [Author]
date: "2017-02-20"
subject: "Markdown"
keywords: [Markdown, Example]
book: true
classoption: [oneside]
...
# Crinis mixtaque factisque ille
## Aut nunc furori ad latarumque Philomela
Lorem markdownum includite volenti monticolae videre vocem hac sparsit puta
gelidis vestros egressus sex. Undis eris per auguris armis. Est saevior pater.
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
## Gaudet Silenus iuvenis
Mulciber denique faces ingratus, in umeros umeri cum, iram ira custos non.
Pariterque admissa nubes, in ait ecce setae summis sacrorum me gaudete tellus.
Ille tu perire ille, artificis caede.
```scala
def sumLeaves(t: Tree): Int = t match {
case Branch(l, r) => sumLeaves(l) + sumLeaves(r)
case Leaf(x) => x
}
```
Cephea rector minorque, quem corpora,
Argus. Superi hoc tenuavit timebant ossibus totque non serpere animo corpore
superas gelidae, comitate deus Iunonigenaeque
pectora.
- Tuis Cereris armiferae fugiunt suus derepta vel
- Veniam mea cum sollertior arbore flore
- Ceae saecula
- Tamen est
## Dies tunc in enim
Gerunt urimur violaeque agricolis iussa locis puppis
simul cognita, vertentia Romana
obprobrium pignora superem est certe nondum suffuderat. Nox Pasiphaeia domo:
**abiit** catenas utro crimine gramina ingemuere mixtae. Quem trabibus etiamnum
orbe addita, eiaculatur videri cervo artus. Nutritur cupidine silentia Maeoniam
aere enim gemuit adgreditur, telasque *annis* nos cum Arctonque ingens lateri
cum iaculoque ferus.
## Et dextra utque per lenius portus eburnae
Cui vittas aris ibi putat dicere; factum sedere antiqua? Cognita Lyncides iuste
insuetum lacerum in sinamus arces; aves aevum spatiumque de utrumque moveret in?
Tertia ordine, Epidaurius, *has sed et* et novat: quod superare concubitusque
retia quoque, ne totiens.
Est paenitet Cerealia sparsit; carne insignia in maris; tibi Nec, que Peleu meum
buxus. Propoetides formae magna auro ad gerat cohibentur facienda partem at
nunc, foret? **Ad stirpe**! Ut latius pararet: vestibus cumque pedibus ficta
prior summas cancer ipsa Marte Buten es
terruit. Opifex dixit oculos Oete quoque, quot silvarum abrepti nutrix concita
obsidis consistere fibula saxum, Antigonen minabitur tota.
# Vagata eiectatamque sidera satis reducet
## Talem ex aliquo ingemuit
Lorem markdownum solus miserabile sitae. Tantum Syron limenque cupidine: litore
modo coniuge: in huc, illo crimen novena, vocisque gratia, quae. Sua manusque
patris nec meritorum pedibus hominis virgine, ruere tamen virtus aliter. Tunc
ego. Solitaque remittant fagus omnia eat.
$$r_d^i(t+1) = \min\{r_s,\max\{0, r_d^i(t) + \beta(n_t - \lvert N_i(t)\rvert)\}\}$$
Obstitit silentia et novi non, huic metitur, coronantur lucos. Bracchia aura;
donis quod volucris illi futurae, ut
*venturorumque tellus* arma: saxumque.
## Vera tum est putes adspicit noxque
Hora et vidit figere tangi! Omni bis *prior nunc* capilli, pulsat tuam Pallante,
*suis*. Solae decore ipso armorum coitusque paro audita *viveret tibi* apparuit
flammasque lapides. Cursu anas usus eundo anticipata, intabescere quae concita
fallit. Dea corpore fabrae: nec Neptunus membris, falsa murice; fac Marte quam
in.
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et.
## Arachnes deus tum penetralia tempore aurea populante
Lentae spissisque *carne*. Fixit inquit cautes et iugis novus sim quisquam nisi
haesurum vel deorum fetibus virgo.
Sub nautae, tegebat clamat. Credas Parrhasio. Commemorat nescio liceatque
excipit! Uris clipeo ego visa amplexas meos ibitis condidit Taenaria, si. Tua
ora tempus patrio revulsos, tellus curru facies, Gange gemit agitata!
Ruinam ipsaque sibi ovis Teucer Iovis tibi; erat versus neque victa attonitus
doque, quod! Dixit carmina, eo, per capillis quid lina, qua, ille. Siqua
caelestum flammas ferre super et saevissime inmisit quoque suis sic aspergine
vis praerupit. Et puellae summa eventu.
Placeat ut medio *plectrumque inferni* Talia; pertimui opem.

Binary file not shown.

After

Width:  |  Height:  |  Size: 555 KiB

View File

@ -0,0 +1 @@
pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --filter pandoc-latex-environment --listings

View File

@ -0,0 +1,130 @@
---
title: "Boxes with pandoc-latex-environment and awesomebox"
author: [Author]
date: "2020-01-01"
subject: "Markdown"
keywords: [Markdown, Example]
lang: "en"
colorlinks: true
header-includes:
- |
```{=latex}
\usepackage{awesomebox}
```
pandoc-latex-environment:
noteblock: [note]
tipblock: [tip]
warningblock: [warning]
cautionblock: [caution]
importantblock: [important]
...
# Boxes with `pandoc-latex-environment` and `awesomebox`
This example demonstrates the use of the filter [`pandoc-latex-environments`] to create custom boxes with the [`awesomebox`] package. *pandoc-latex-environment* is a pandoc filter for adding LaTeX environment on specific HTML div tags.
## Box Types
For a list of all available boxes and options visit the [`awesomebox` documentation](https://ctan.org/pkg/awesomebox).
```markdown
::: note
Lorem ipsum dolor ...
:::
```
::: note
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet libero
quis lectus elementum fermentum.
Fusce aliquet augue sapien, non efficitur mi ornare sed. Morbi at dictum
felis. Pellentesque tortor lacus, semper et neque vitae, egestas commodo nisl.
:::
```markdown
::: tip
Lorem ipsum dolor ...
:::
```
::: tip
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet libero
quis lectus elementum fermentum.
Fusce aliquet augue sapien, non efficitur mi ornare sed. Morbi at dictum
felis. Pellentesque tortor lacus, semper et neque vitae, egestas commodo nisl.
:::
```markdown
::: warning
Lorem ipsum dolor ...
:::
```
::: warning
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet libero
quis lectus elementum fermentum.
Fusce aliquet augue sapien, non efficitur mi ornare sed. Morbi at dictum
felis. Pellentesque tortor lacus, semper et neque vitae, egestas commodo nisl.
:::
```markdown
::: caution
Lorem ipsum dolor ...
:::
```
::: caution
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet libero
quis lectus elementum fermentum.
Fusce aliquet augue sapien, non efficitur mi ornare sed. Morbi at dictum
felis. Pellentesque tortor lacus, semper et neque vitae, egestas commodo nisl.
:::
```markdown
::: important
Lorem ipsum dolor ...
:::
```
::: important
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet libero
quis lectus elementum fermentum.
Fusce aliquet augue sapien, non efficitur mi ornare sed. Morbi at dictum
felis. Pellentesque tortor lacus, semper et neque vitae, egestas commodo nisl.
:::
One can also use raw HTML `div` tags to create the custom environments.
```markdown
<div class="important">
Lorem ipsum dolor ...
</div>
```
<div class="important">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet libero
quis lectus elementum fermentum.
</div>
Markdown formatting inside the environments is supported.
::: important
**Lorem ipsum dolor** sit amet, `consectetur adipiscing` elit.
```
if(args.length < 2) {
System.out.println("Lorem ipsum dolor sit amet");
}
```
*Nam aliquet libero
quis lectus elementum fermentum.*
:::
[`pandoc-latex-environments`]: https://github.com/chdemko/pandoc-latex-environment/
[`awesomebox`]: https://ctan.org/pkg/awesomebox

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 KiB

View File

@ -0,0 +1 @@
pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --filter pandoc-latex-environment --listings

View File

@ -0,0 +1,78 @@
---
title: "Boxes with pandoc-latex-environment and tcolorbox"
author: [Author]
date: "2020-01-01"
subject: "Markdown"
keywords: [Markdown, Example]
lang: "en"
colorlinks: true
header-includes:
- |
```{=latex}
\usepackage{tcolorbox}
\newtcolorbox{info-box}{colback=cyan!5!white,arc=0pt,outer arc=0pt,colframe=cyan!60!black}
\newtcolorbox{warning-box}{colback=orange!5!white,arc=0pt,outer arc=0pt,colframe=orange!80!black}
\newtcolorbox{error-box}{colback=red!5!white,arc=0pt,outer arc=0pt,colframe=red!75!black}
```
pandoc-latex-environment:
tcolorbox: [box]
info-box: [info]
warning-box: [warning]
error-box: [error]
...
# Boxes with `pandoc-latex-environment` and `tcolorbox`
This example demonstrates the use of the filter [`pandoc-latex-environments`]
to create custom boxes with the [`tcolorbox`] package.
*pandoc-latex-environment* is a pandoc filter for adding LaTeX environment on
specific HTML div tags. For a list of all available options visit the
[`tcolorbox` documentation](https://ctan.org/pkg/tcolorbox).
## Simple Box
::: box
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet libero
quis lectus elementum fermentum.
:::
## Markdown inside the Box
Markdown formatting inside the environment is supported.
::: box
Lorem ipsum **dolor** sit amet, `consectetur adipiscing` elit.
```
if(args.length < 2) {
System.out.println("Lorem ipsum dolor sit amet");
}
```
*Nam aliquet libero
quis lectus elementum fermentum.*
:::
## Custom Box
One can define custom boxes in the LaTeX preamble with the variable
`header-includes` at the top of this document.
::: info
**Info**: This is a custom box that may be used to show info messages in your
document.
:::
::: warning
**Warning**: This is a custom box that may be used to show warning messages in
your document.
:::
::: error
**Error**: This is a custom box that may be used to show error messages in your
document.
:::
[`pandoc-latex-environments`]: https://github.com/chdemko/pandoc-latex-environment/
[`tcolorbox`]: https://ctan.org/pkg/tcolorbox

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 KiB

View File

@ -0,0 +1,38 @@
#!/bin/bash
set -e
echo "##"
echo "# building examples"
echo "##"
echo ""
containsElement () {
local e match="$1"
shift
for e; do [[ "$e" == "$match" ]] && return 0; done
return 1
}
# these examples are skipped because they don't run in CI builds (for now)
skippedExamples=("language-chinese" "language-japanese")
# loop all files in the current folder
for f in *; do
# run only for folders
if [ -d "$f" ]; then
if containsElement "$f" "${skippedExamples[@]}"; then
echo "skipping '$f'"
echo ""
else
echo "building '$f'"
cd "$f"
echo " - running pandoc build script"
bash "$PWD/build.sh"
echo " - generating preview"
pdftoppm -r 150 -png "document.pdf" > "preview.png"
echo ""
cd ".."
fi
fi
done

View File

@ -0,0 +1 @@
pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --listings

View File

@ -0,0 +1,55 @@
---
title: "Example PDF"
author: [Author]
date: "2017-02-20"
subject: "Markdown"
keywords: [Markdown, Example]
...
# Vinaque sanguine metuenti cuiquam Alcyone fixus
## Aesculeae domus vincemur et Veneris adsuetus lapsum
Lorem markdownum Letoia, et alios -- "figurae flectentem annis aliquid Peneosque" ab
esse, 'obstat' gravitate.
```java
public class Example implements LoremIpsum {
public static void main(String[] args) {
if(args.length < 2) {
System.out.println("Lorem ipsum dolor sit amet");
}
} // Obscura atque coniuge, per de coniunx
}
```
Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur. Obscura atque coniuge, per de coniunx, sibi medias
commentaque virgine anima tamen comitemque petis, sed.
```{.html caption="Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur. Obscura atque coniuge, per de coniunx, sibi medias
commentaque virgine anima tamen comitemque petis, sed."}
<!DOCTYPE html>
<html>
<head>
<title>This is the title of the page.</title>
</head>
<body>
<a href="http://example.com">This is a link.</a>
<img src="./image.jpg" alt="This is an image.">
</body>
</html>
```
Vertitur iura tum nepotis causa; motus. Diva virtus! Acrota
destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente
Pirithoi abstulit, lapides.
```sql
CREATE TYPE person_t AS (
firstName VARCHAR(50) NOT NULL,
lastName VARCHAR(50) NOT NULL
);
CREATE Or REPLACE FUNCTION getFormattedName(person) RETURNS text AS
$$ SELECT 'P: ' || initcap($1.firstName); $$
LANGUAGE SQL;
```

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 KiB

View File

@ -0,0 +1 @@
pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --highlight-style kate

View File

@ -0,0 +1,52 @@
---
title: "Example PDF"
author: [Author]
date: "2017-02-20"
subject: "Markdown"
keywords: [Markdown, Example]
lang: "en"
...
# Vinaque sanguine metuenti cuiquam Alcyone fixus
Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque
abesse obstat.
```java
public class Example implements LoremIpsum {
public static void map(String[] sortedLeft, Long[] sortedRight, int splitIndex) {
if(sortedLeft == null || sortedRight == null) {
System.err.println("Lorem ipsum dolor sit amet");
}
} // Obscura atque coniuge, per de coniunx
}
```
Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur
obscura atque coniuge.
```html
<!DOCTYPE html>
<html>
<head>
<title>This is the title of the page.</title>
</head>
<body>
<a href="http://example.com">This is a link.</a>
<img src="./image.jpg" alt="This is an image.">
</body>
</html>
```
Vertitur iura tum nepotis causa; motus. Diva virtus! Acrota destruitis vos
iubet quo et classis excessere.
```sql
CREATE TYPE person_t AS (
firstName VARCHAR(50) NOT NULL,
);
CREATE Or REPLACE FUNCTION getFormattedName(person) RETURNS text AS
$$ SELECT 'P: ' || initcap($1.firstName); $$
LANGUAGE SQL;
```

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 KiB

View File

@ -0,0 +1 @@
pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --listings

View File

@ -0,0 +1,62 @@
---
title: "Example PDF"
author: [Author]
date: "2017-02-20"
subject: "Markdown"
keywords: [Markdown, Example]
header-left: "\\hspace{1cm}"
header-center: "\\leftmark"
header-right: "Page \\thepage"
footer-left: "\\thetitle"
footer-center: "This is \\LaTeX{}"
footer-right: "\\theauthor"
...
# Vinaque sanguine metuenti cuiquam Alcyone fixus
## Aesculeae domus vincemur et Veneris adsuetus lapsum
Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab
esse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi **medias
commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros
hamos ire arceor mandere spicula, in licet aliquando.
```java
public class Example implements LoremIpsum {
public static void main(String[] args) {
if(args.length < 2) {
System.out.println("Lorem ipsum dolor sit amet");
}
} // Obscura atque coniuge, per de coniunx
}
```
Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur.
Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva virtus! Acrota
destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente
Pirithoi abstulit, lapides.
## Lydia caelo recenti haerebat lacerum ratae at
Te concepit pollice fugit vias alumno **oras** quam potest
[rursus](http://example.com#rursus) optat. Non evadere orbem equorum, spatiis,
vel pede inter si.
1. De neque iura aquis
2. Frangitur gaudia mihi eo umor terrae quos
3. Recens diffudit ille tantum
\begin{equation}\label{eq:neighbor-propability}
p_{ij}(t) = \frac{\ell_j(t) - \ell_i(t)}{\sum_{k \in N_i(t)}^{} \ell_k(t) - \ell_i(t)}
\end{equation}
Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae
adessent arbor. Florente perque at condeturque saxa et ferarum promittis tendebat. Armos nisi obortas refugit me.
> Et nepotes poterat, se qui. Euntem ego pater desuetaque aethera Maeandri, et
[Dardanio geminaque](http://example.com#Dardanio_geminaque) cernit. Lassaque poenas
nec, manifesta $\pi r^2$ mirantia captivarum prohibebant scelerato gradus unusque
dura.
- Permulcens flebile simul
- Iura tum nepotis causa motus diva virtus Acrota. Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae adessent arbor. Florente perque at ire arcum.

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 KiB

View File

@ -0,0 +1 @@
pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --listings

View File

@ -0,0 +1,65 @@
---
title: "Example PDF"
author: [Author]
date: "2017-02-20"
subject: "Markdown"
keywords: [Markdown, Example]
lang: "en"
table-use-row-colors: false
...
# Images and Tables
## LaTeX Table with Caption
At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr.
\begin{longtable}[]{llllllll}
\caption[Nam liber tempor cum soluta nobis eleifend option congue.]{Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.} \\
\toprule
Test Nr. & Position & Radius & Rot & Grün & Blau &
beste Fitness & Abweichung\tabularnewline
\midrule
\endhead
1 & 20 \% & 20 \% & 20 \% & 20 \% & 20 \% & 7,5219 &
0,9115\tabularnewline
2 & 0 \% & 25 \% & 25 \% & 25 \% & 25 \% & 8,0566 &
1,4462\tabularnewline
3 & 0 \% & 0 \% & 33 \% & 33 \% & 33 \% & 8,7402 & 2,1298\tabularnewline
4 & 50 \% & 20 \% & 10 \% & 10 \% & 10 \% & 6,6104 &
0,0000\tabularnewline
5 & 70 \% & 0 \% & 10 \% & 10 \% & 10 \% & 7,0696 &
0,4592\tabularnewline
6 & 20 \% & 50 \% & 10 \% & 10 \% & 10 \% & 7,0034 &
0,3930\tabularnewline
\bottomrule
\end{longtable}
At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr.
## Image with Caption
![Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.](image.png)
## Markdown Table without Caption
Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque abesse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi medias
commentaque virgine anima tamen comitemque petis, sed. In Amphion vestros
hamos ire arceor mandere spicula, in licet aliquando.
Test Nr. | Position | Radius | Rot | Grün | Blau | beste Fitness | Abweichung |
|---|---|---|---|---|---|---|---|
1 | 20 % | 20 % | 20 % | 20 % | 20 % | 7,5219 | 0,9115 |
2 | 0 % | 25 % | 25 % | 25 % | 25 % | 8,0566 | 1,4462 |
3 | 0 % | 0 % | 33 % | 33 % | 33 % | 8,7402 | 2,1298 |
4 | 50 % | 20 % | 10 % | 10 % | 10 % | 6,6104 | 0,0000 |
5 | 70 % | 0 % | 10 % | 10 % | 10 % | 7,0696 | 0,4592 |
6 | 20 % | 50 % | 10 % | 10 % | 10 % | 7,0034 | 0,3930 |
7 | 40 % | 15 % | 15 % | 15 % | 15 % | 6,9122 | 0,3018 |
Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur.
Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva virtus! Acrota destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente Pirithoi abstulit, lapides.
## Image without Caption
![](image.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 597 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 442 KiB

View File

@ -0,0 +1,2 @@
# No lang option (-V lang=zh) here because Chinese is unsupported in polyglossia and babel.
pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --listings --pdf-engine "xelatex" -V CJKmainfont="HiraginoSans-W4"

View File

@ -0,0 +1,27 @@
---
title: "価備手述改陸夜数木田了転由。"
author: [作者日期]
date: "2019-01-10"
subject: "Markdown"
keywords: [Markdown, Example]
...
# 陣委百三秋康経重示面合雪減背井足府迷根間。
陣委百三秋康経重示面合雪減背井足府迷根間。米式十良提馬紀研園要中募用刊。考稿協中写万捜寄三誠女文惑応担。動忍負陣表要回厳盛質属全任。意渡稿針当京注合在成唱皇月諸感丘売。業暮題武同海変公飯伝習真質期込者。読性聞点社質求庫勢応系飛。読有約求不政球県台却観展明来連使。暗双属場證北日増吉望団私録写日奈惑紙。
賞方広選付疑京将主豊祉歳兆。亮行災視民信軒全太当刑際大。設紙校系顔実困講将用求年作。禁査調線無聞銅案性約会有整兄名城敬番棋。催題趣蔵今権全演権専治整。記査調埼毎断読犬石川年実作問情設情経。地面観参軽地多愛提帯瀬面側天側。価備手述改陸夜数木田了転由。上転為護吾載何研防著取足調出声的与歯。
## 参街能業南達伊市無百兆無聞手覧常努団他。
参街能業南達伊市無百兆無聞手覧常努団他。応臨覧処面板施盛会同交展安期。善無継東約知紙地言展掲世起都幕紙仕。配稿理第心酸知月勝庭上図真全。本顕品毎信稿蓄秀神池課道。空米打資級油週報白受支写住文科権初航逮政。売打込箕長陳雪択選男真庭。改取確育迎田袴者豊尾京毎景終彦思。意試役能五子込宙転知校細。内速排索医林経一応係古測辺水。
紋正介市及早拒木霊記済複治中。了岐都援盛手価民選覧必庭温背木済円力治。年生算純投器小市系統出字明稚喫部秘集。背伝歳適虫解無集園意明属賞方社件。公紹情高無主考全度監授掲。三退新田面封一基会功康売詳夜増義芸。特積夫紀北赤子演載識顔産済再測質。新岐張年読原体畑住郎門当合止吹士天意藤。明延立派購新政医士定速農。
神図先名当揃存工紙広渡民晩記各面得続告増。将枝素実更造藤胞界投健記室申張講訴。店裁山党手政者校訓会清終定浪案。普大的比将響認経変度与合兄退景意経。歌池京割覧製断訳載割写載女作想用魂覚申。舞夜負亡古特在事準催進不全先自代上業後者。学上育手係真最芋本代定作供下能読分。
- 汁酬英性向竹室比著給稿刻学年機稿生写。投面記偏回必写際著危女競林思。対事管現馬打能夜月顧身最恵共谷盟社必出。事退問更理併裏少切写禁権丁金提限最写求。者打記舎作馬研作辞家地子無遠者情島。諸井訓団取転燃大広応毎断略並。力持極業育権者住今展線際玉。集政謙期伝変争一他拉方海話連委下混必。囲渡園早位形量英酒椅食始発児政。
- 年京船装街論初維器送遂考都連。携訪後細断点洋再説月間必道休光事築河。聞直電原竹銭報発興埼校球米口暮定奨重芸聞。京和使検聞服運加航認著著真技事実。弘断機試勢感金換稼治山谷皇真人肥霧。夜需崎影書属葉総登抜見発養内日現際園。場小行評歳映徹浸力政中募暮日朝金子武東。映申地換方無次記暮動練供事惑部意喜半戦壇。
- 勝技枝図辞決受温見会図休自意少帰質者栄。務単時幹典盟園先入販江紀聞択色務。逮人覇品努博関復際部給体寛明理。限袖住教催広州係響体回接決治過銀。世提応枝録少説営援紙遠勤災宿。試電重捕切譜練治真戦将東。在最真休治義地杉調掲参親平。必整能怒哲希存雪注気付終表転県横隊早。覧教夕徹八学然害犬米無調億立図平受受位編。
昌手挨一主要入削禁図送無高慕収後毎投業。感心台観道際町存更団打目今。生記投報重東点回際護高田独東。球野技検業大芸聞共最集飛禁。無黄手著凱縮産総智幕配示。名旧合提丼畿幅間任問場投悪変団。津地全真罪禁友容崩図新足連問完。域勲市録関写気意傷遣米安極漢。個疑調尾陸能案相浮接格校田新本下能。日銭信茶岡実締繰先分読独娘製商損真情。

Binary file not shown.

After

Width:  |  Height:  |  Size: 625 KiB

View File

@ -0,0 +1 @@
pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --listings

View File

@ -0,0 +1,57 @@
---
title: "Vinaque sanguine metuenti cuiquam Alcyone fixus"
author: [Author Name]
date: "2017-02-20"
subject: "Markdown"
keywords: [Markdown, Example]
lang: "de"
...
# Vinaque sanguine metuenti cuiquam Alcyone fixus
## Aesculeae domus vincemur et Veneris adsuetus lapsum
Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab
esse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi **medias
commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros
hamos ire arceor mandere spicula, in licet aliquando.
```java
public class Example implements LoremIpsum {
public static void main(String[] args) {
if(args.length < 2) {
System.out.println("Lorem ipsum dolor sit amet");
}
} // Obscura atque coniuge, per de coniunx
}
```
Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur.
Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva virtus! Acrota
destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente
Pirithoi abstulit, lapides.
## Lydia caelo recenti haerebat lacerum ratae at
Te concepit pollice fugit vias alumno **oras** quam potest
[rursus](http://example.com#rursus) optat. Non evadere orbem equorum, spatiis,
vel pede inter si.
1. De neque iura aquis
2. Frangitur gaudia mihi eo umor terrae quos
3. Recens diffudit ille tantum
\begin{equation}\label{eq:neighbor-propability}
p_{ij}(t) = \frac{\ell_j(t) - \ell_i(t)}{\sum_{k \in N_i(t)}^{} \ell_k(t) - \ell_i(t)}
\end{equation}
Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae
adessent arbor. Florente perque at condeturque saxa et ferarum promittis tendebat. Armos nisi obortas refugit me.
Et nepotes poterat, se qui. Euntem ego pater desuetaque aethera Maeandri, et
[Dardanio geminaque](http://example.com#Dardanio_geminaque) cernit. Lassaque poenas
nec, manifesta $\pi r^2$ mirantia captivarum prohibebant scelerato gradus unusque
dura.
- Permulcens flebile simul
- Iura tum nepotis causa motus diva virtus Acrota. Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae adessent arbor. Florente perque at ire arcum.

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 KiB

View File

@ -0,0 +1,2 @@
# No lang option (-V lang=jp) here because Japanese unsupported in polyglossia.
pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --listings --pdf-engine "xelatex" -V CJKmainfont="HiraginoSans-W4"

View File

@ -0,0 +1,32 @@
---
title: "よ派にへたひ素ヘムナフュてるあてっはれねね区露。巣擢"
author: [むて絵ヤイヤ手津絵]
date: "2017-02-20"
subject: "Markdown"
keywords: [Markdown, Example]
...
# よ派にへたひ素ヘムナフュてるあてっはれねね区露。巣擢
もに氏留列阿ゃけんリヌョソュろまけやほこまネクフコテユうめね瀬雲舳目ょ舳鵜みやいみま。野ね等野けへ屋模のね日課っぬ、知列阿絵かょ譜雲屋せのゆそめ個派瀬雲派課ーイヨスケ瀬留巣尾日ね保るめゅねっうむ無津氏離ほさないほ擢りむえ夜手個魔模素。
よ派にへたひ素ヘムナフュてるあてっはれねね区露。巣擢。むて絵ヤイヤ手津絵舳ふち屋区根っクキオ氏露すムフヘゅ二遊むねれみらなまそ瀬ぬゆたヘクアウはてとしまる知。
むゆくら雲津手都あもは日遊れりゅへらっ日保留鵜絵す。の露日無ゆ遊二日りスツ毛留御遊擢御無模無ょやゆ樹毛阿留等、樹ルキテひょとて区列屋。うかるゃええま二擢きかしあんつ擢、っさく遊手名区列手ウヌマ区根以擢模擢素けせのれひんほおはよこふきなろ樹舳野尾尾ゃほふ列擢瀬舳名個区等こに名津、根夜、お。ろやほ保素根列らゆやしえろむっンサハラオ。
## とほ知他え目絵樹せ津素舳雲巣魔氏派夜列魔
まの課譜都手、やいゆぬてほめてよかおそふおょこ尾夜く阿差課根ぬナヒメケ舳二しけやろこち譜は巣津やれま、ネョセカあきあメシみ根根るあ、ろへ離都課ろうらくぬさにせぬ尾模等せ樹魔いそょ毛もし御名氏知。
課瀬毛御都列ヒャマナカフモ絵区区遊譜ほ、ほすゃもキウぬノサクサめろそなる他他津ふまお、譜阿手派夜っ他個かたか舳鵜日魔日雲派二離、にひ巣氏めすおひふめへな区っ鵜名瀬むう。ヨツミメ区素他都めすそか課区なうよ以遊へ。いり他譜けっへつ。保阿模野列魔てえ。以区素。
離擢留舳区クツコこつろと魔、ょもさよ尾うとほ知他え目絵樹せ津素舳雲巣魔氏派夜列魔氏絵夜課阿ふ知知区擢魔野さうにりよりうゅ個課列野ゃす毛二絵手ぬえ派尾樹屋夜。夜絵毛毛すりおいし遊手夜毛無とゆ瀬野毛名個ふふえゃ無都名無他氏等ふこたも。
以たろきお都ゆし阿列鵜擢おんか、ッロマオゅ露他野列せ譜模ョー鵜尾野手毛素、ひす素野ろ氏御氏屋ほはもらりむふ離個とろいそつむ差手こつけっとへせっ。りぬ目無舳めむや離離ょほんく阿せえのんやや離雲雲魔はゃれひ。りそさ無阿樹さかん屋絵氏、つ区差。しレヨオキホテゆもお尾巣けのすもめきむやひけ。尾御津区列列課都雲り樹めぬやむては、舳名夜ッラチユ列都、保露、魔鵜。
1. りぬ目無舳めむや離離ょほんく阿せえのんやや離雲雲魔はゃれひ。りそさ無阿樹さかん屋絵氏、つ区差。しレヨオキホテゆもお
2. へ舳列っに「屋素留御以根」露派差離鵜けきうっ雲目以ナシ。日氏すゅともむ樹留素ふりう氏日夜れと
3. 他根かかぬ、くきれみけおへえほん保派絵くけよ譜モヌッアアウカ留譜絵目課離根以名阿さ樹他クッカクラ無課課瀬めつ列氏課そ目知屋舳手らへ舳列っに「屋素留御以根」露派差離鵜けきうっ雲目以ナシ。日氏すゅともむ樹留素ふりう氏日夜れとせさ鵜知めっゃ瀬露めゅむに遊雲舳野ひひよやめほくさめう舳名都とにてめは無めもはすにちひ遊モシルもねたらやょや。知以ほ以名さきにまむろせちょったか毛御差巣夜氏、きまむこ列模模阿。
阿瀬鵜屋さねや、う他列舳ヤマりれえんか、尾瀬カコノヒ名課巣鵜津せやおひく知二保手、そ派毛遊へろへよ。みす派毛はうよ樹二御派派等メノコせ区さ巣屋名のせ野毛。

Binary file not shown.

After

Width:  |  Height:  |  Size: 510 KiB

View File

@ -0,0 +1,70 @@
%PDF-1.5
%µí®û
3 0 obj
<< /Length 4 0 R
/Filter /FlateDecode
>>
stream
xœeŽAÂ@E÷s
. Ã#¸°í¢.¬÷OœÑ¤©iØ<69>Ïÿïó* ®wù]B#XŠ;\~‚Ãö€©JMá„îbš}‰j: {¦1<wEÃ1½Á
´_WXÊ91:"¤ZíVªFN ˜ªÝ¤,È\¨ìÑû}šÙ›}<7D><06>=°ËÀ¤HœÝz„œ+rNLåV>±mB
endstream
endobj
4 0 obj
162
endobj
2 0 obj
<<
/ExtGState <<
/a0 << /CA 1 /ca 1 >>
>>
>>
endobj
5 0 obj
<< /Type /Page
/Parent 1 0 R
/MediaBox [ 0 0 595.275574 841.889771 ]
/Contents 3 0 R
/Group <<
/Type /Group
/S /Transparency
/I true
/CS /DeviceRGB
>>
/Resources 2 0 R
>>
endobj
1 0 obj
<< /Type /Pages
/Kids [ 5 0 R ]
/Count 1
>>
endobj
6 0 obj
<< /Creator (cairo 1.14.8 (http://cairographics.org))
/Producer (cairo 1.14.8 (http://cairographics.org))
>>
endobj
7 0 obj
<< /Type /Catalog
/Pages 1 0 R
>>
endobj
xref
0 8
0000000000 65535 f
0000000576 00000 n
0000000276 00000 n
0000000015 00000 n
0000000254 00000 n
0000000348 00000 n
0000000641 00000 n
0000000768 00000 n
trailer
<< /Size 8
/Root 7 0 R
/Info 6 0 R
>>
startxref
820
%%EOF

View File

@ -0,0 +1,69 @@
%PDF-1.5
%µí®û
3 0 obj
<< /Length 4 0 R
/Filter /FlateDecode
>>
stream
xœeŽKÂ@@÷s
. Â8†GpaÛE]¨÷OdÒØÖ4,ø=^xï ®wéS\=@C±šÁeí“yÀ˜kBsX²p1ÒèÇLHÄðÜ*†a  ßr<C39F>¹œøÕ¬VUb/ÒLPÝ1D®È<ì¢?ç‘\u¢Þ³·jÚmlŽœïp$Ž$Š“~.g~,·òž·>å
endstream
endobj
4 0 obj
150
endobj
2 0 obj
<<
/ExtGState <<
/a0 << /CA 1 /ca 1 >>
>>
>>
endobj
5 0 obj
<< /Type /Page
/Parent 1 0 R
/MediaBox [ 0 0 595.275574 841.889771 ]
/Contents 3 0 R
/Group <<
/Type /Group
/S /Transparency
/I true
/CS /DeviceRGB
>>
/Resources 2 0 R
>>
endobj
1 0 obj
<< /Type /Pages
/Kids [ 5 0 R ]
/Count 1
>>
endobj
6 0 obj
<< /Creator (cairo 1.14.8 (http://cairographics.org))
/Producer (cairo 1.14.8 (http://cairographics.org))
>>
endobj
7 0 obj
<< /Type /Catalog
/Pages 1 0 R
>>
endobj
xref
0 8
0000000000 65535 f
0000000564 00000 n
0000000264 00000 n
0000000015 00000 n
0000000242 00000 n
0000000336 00000 n
0000000629 00000 n
0000000756 00000 n
trailer
<< /Size 8
/Root 7 0 R
/Info 6 0 R
>>
startxref
808
%%EOF

View File

@ -0,0 +1,69 @@
%PDF-1.5
%µí®û
3 0 obj
<< /Length 4 0 R
/Filter /FlateDecode
>>
stream
xœeNË Â0 ½{
/€±'vÆ`´=”e‰Xˆ(¨Š"==¿ß ã+^ïŒë]…Ü+V(™áåK\ºžÉûgÎ-I±°e ^ð9u£fwäqÝqƒ³c<C2B3>Ž¤U¶HO<48>hl9JSrjª]¬H$Oÿñ³6{Ê¥Çå_Á<_ÌIúHa<48> Ý3§<33>»68;¸Ás+Ck
endstream
endobj
4 0 obj
158
endobj
2 0 obj
<<
/ExtGState <<
/a0 << /CA 1 /ca 1 >>
>>
>>
endobj
5 0 obj
<< /Type /Page
/Parent 1 0 R
/MediaBox [ 0 0 595.275574 841.889771 ]
/Contents 3 0 R
/Group <<
/Type /Group
/S /Transparency
/I true
/CS /DeviceRGB
>>
/Resources 2 0 R
>>
endobj
1 0 obj
<< /Type /Pages
/Kids [ 5 0 R ]
/Count 1
>>
endobj
6 0 obj
<< /Creator (cairo 1.14.8 (http://cairographics.org))
/Producer (cairo 1.14.8 (http://cairographics.org))
>>
endobj
7 0 obj
<< /Type /Catalog
/Pages 1 0 R
>>
endobj
xref
0 8
0000000000 65535 f
0000000572 00000 n
0000000272 00000 n
0000000015 00000 n
0000000250 00000 n
0000000344 00000 n
0000000637 00000 n
0000000764 00000 n
trailer
<< /Size 8
/Root 7 0 R
/Info 6 0 R
>>
startxref
816
%%EOF

View File

@ -0,0 +1,70 @@
%PDF-1.5
%µí®û
3 0 obj
<< /Length 4 0 R
/Filter /FlateDecode
>>
stream
xœmŽ;Â@ Dû=…/€±½þí18 „ûKì¢D
ráÑÈóƯÂ0f™á|%˜ß… •1ÓÁš¡DÀég,7˜
!iÂjÒ”»P µ/c<>h¶pxr‰<C382>ˆá±1Wã^Ž™Qd£%qó!º9ZDj¿¥ UÅѪíÙûËAµp<C2B5>ñr$Õ&]x_ìƒÊȽŸI±WÿÃ?f¦r)Ì6EU
endstream
endobj
4 0 obj
168
endobj
2 0 obj
<<
/ExtGState <<
/a0 << /CA 1 /ca 1 >>
>>
>>
endobj
5 0 obj
<< /Type /Page
/Parent 1 0 R
/MediaBox [ 0 0 595.275574 841.889771 ]
/Contents 3 0 R
/Group <<
/Type /Group
/S /Transparency
/I true
/CS /DeviceRGB
>>
/Resources 2 0 R
>>
endobj
1 0 obj
<< /Type /Pages
/Kids [ 5 0 R ]
/Count 1
>>
endobj
6 0 obj
<< /Creator (cairo 1.14.8 (http://cairographics.org))
/Producer (cairo 1.14.8 (http://cairographics.org))
>>
endobj
7 0 obj
<< /Type /Catalog
/Pages 1 0 R
>>
endobj
xref
0 8
0000000000 65535 f
0000000582 00000 n
0000000282 00000 n
0000000015 00000 n
0000000260 00000 n
0000000354 00000 n
0000000647 00000 n
0000000774 00000 n
trailer
<< /Size 8
/Root 7 0 R
/Info 6 0 R
>>
startxref
826
%%EOF

View File

@ -0,0 +1,68 @@
%PDF-1.5
%µí®û
3 0 obj
<< /Length 4 0 R
/Filter /FlateDecode
>>
stream
<EFBFBD><EFBFBD>1nAEû908†<38><E280A0>qçþR@–µ+mŠhÄðßÿð=ú=nðöNpû¡Œ , Å.φÃã¶A˜2 Ý$•«à ™Ò<E284A2>—FÃ1}ÁÕ7\¾vè«ñ9Κvf_í":ÛeRˆ¦jÍÒŽš²Ð*Ù<>}œÜFSVe—„©Ìl~Œ-ÆÈ%½KÐþ{×tìÙ'ÂkÛhÏüåÂXK“"qž<71>óÇgÍ6®ãlXÒ
endstream
endobj
4 0 obj
198
endobj
2 0 obj
<<
/ExtGState <<
/a0 << /CA 1 /ca 1 >>
>>
>>
endobj
5 0 obj
<< /Type /Page
/Parent 1 0 R
/MediaBox [ 0 0 595.275574 841.889771 ]
/Contents 3 0 R
/Group <<
/Type /Group
/S /Transparency
/I true
/CS /DeviceRGB
>>
/Resources 2 0 R
>>
endobj
1 0 obj
<< /Type /Pages
/Kids [ 5 0 R ]
/Count 1
>>
endobj
6 0 obj
<< /Creator (cairo 1.14.8 (http://cairographics.org))
/Producer (cairo 1.14.8 (http://cairographics.org))
>>
endobj
7 0 obj
<< /Type /Catalog
/Pages 1 0 R
>>
endobj
xref
0 8
0000000000 65535 f
0000000612 00000 n
0000000312 00000 n
0000000015 00000 n
0000000290 00000 n
0000000384 00000 n
0000000677 00000 n
0000000804 00000 n
trailer
<< /Size 8
/Root 7 0 R
/Info 6 0 R
>>
startxref
856
%%EOF

View File

@ -0,0 +1,69 @@
%PDF-1.5
%µí®û
3 0 obj
<< /Length 4 0 R
/Filter /FlateDecode
>>
stream
<EFBFBD>PKn1Ýû\`(`0pŒ!L²h<17>Ü_ŠQÍHÓEå…ÑÓûÁwc¨·ÝáãJp6ˆ–†âËà°Ý`m„îbš@È6bôú„¬LÞ턃 ¾€ÅÑ`!$bøÜMßÀ£<C380>5•ÂC<C382>F™‡vÖr<>ˆ¦êäÒnÕe u;z™ëÜu&eÌ¿v 9vQÌÌÉìFö¿Ö»ªZûì]eõ7‡ež)+G¸£ƒ'
ëù4Ô?IÖvi/ïXG
endstream
endobj
4 0 obj
195
endobj
2 0 obj
<<
/ExtGState <<
/a0 << /CA 1 /ca 1 >>
>>
>>
endobj
5 0 obj
<< /Type /Page
/Parent 1 0 R
/MediaBox [ 0 0 595.275574 841.889771 ]
/Contents 3 0 R
/Group <<
/Type /Group
/S /Transparency
/I true
/CS /DeviceRGB
>>
/Resources 2 0 R
>>
endobj
1 0 obj
<< /Type /Pages
/Kids [ 5 0 R ]
/Count 1
>>
endobj
6 0 obj
<< /Creator (cairo 1.14.8 (http://cairographics.org))
/Producer (cairo 1.14.8 (http://cairographics.org))
>>
endobj
7 0 obj
<< /Type /Catalog
/Pages 1 0 R
>>
endobj
xref
0 8
0000000000 65535 f
0000000609 00000 n
0000000309 00000 n
0000000015 00000 n
0000000287 00000 n
0000000381 00000 n
0000000674 00000 n
0000000801 00000 n
trailer
<< /Size 8
/Root 7 0 R
/Info 6 0 R
>>
startxref
853
%%EOF

View File

@ -0,0 +1 @@
pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --listings

View File

@ -0,0 +1,59 @@
---
title: "Vinaque sanguine metuenti cuiquam Alcyone fixus"
author: [Author Name]
date: "2017-02-20"
subject: "Markdown"
keywords: [Markdown, Example]
subtitle: "Aesculeae domus vincemur et Veneris adsuetus lapsum"
lang: "en"
page-background: "backgrounds/background1.pdf"
...
# Vinaque sanguine metuenti cuiquam Alcyone fixus
## Aesculeae domus vincemur et Veneris adsuetus lapsum
Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab
esse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi **medias
commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros
hamos ire arceor mandere spicula, in licet aliquando.
```java
public class Example implements LoremIpsum {
public static void main(String[] args) {
if(args.length < 2) {
System.out.println("Lorem ipsum dolor sit amet");
}
} // Obscura atque coniuge, per de coniunx
}
```
Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur.
Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva virtus! Acrota
destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente
Pirithoi abstulit, lapides.
## Lydia caelo recenti haerebat lacerum ratae at
Te concepit pollice fugit vias alumno **oras** quam potest
[rursus](http://example.com#rursus) optat. Non evadere orbem equorum, spatiis,
vel pede inter si.
1. De neque iura aquis
2. Frangitur gaudia mihi eo umor terrae quos
3. Recens diffudit ille tantum
\begin{equation}\label{eq:neighbor-propability}
p_{ij}(t) = \frac{\ell_j(t) - \ell_i(t)}{\sum_{k \in N_i(t)}^{} \ell_k(t) - \ell_i(t)}
\end{equation}
Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae
adessent arbor. Florente perque at condeturque saxa et ferarum promittis tendebat. Armos nisi obortas refugit me.
Et nepotes poterat, se qui. Euntem ego pater desuetaque aethera Maeandri, et
[Dardanio geminaque](http://example.com#Dardanio_geminaque) cernit. Lassaque poenas
nec, manifesta $\pi r^2$ mirantia captivarum prohibebant scelerato gradus unusque
dura.
- Permulcens flebile simul
- Iura tum nepotis causa motus diva virtus Acrota. Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae adessent arbor. Florente perque at ire arcum.

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 KiB

View File

@ -0,0 +1 @@
pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex"

View File

@ -0,0 +1,59 @@
---
title: "Example PDF"
author: [Author]
date: "2022-03-04"
subject: "Markdown"
keywords: [Markdown, Example]
lang: "en"
toc: true
toc-own-page: true
...
# Vinaque sanguine metuenti cuiquam Alcyone fixus
## Aesculeae domus vincemur et Veneris adsuetus lapsum
Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab
esse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi **medias
commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros
hamos ire arceor mandere spicula, in licet aliquando.
```java
public class Example implements LoremIpsum {
public static void main(String[] args) {
if(args.length < 2) {
System.out.println("Lorem ipsum dolor sit amet");
}
} // Obscura atque coniuge, per de coniunx
}
```
Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur.
Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva virtus! Acrota
destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente
Pirithoi abstulit, lapides.
## Lydia caelo recenti haerebat lacerum ratae at
Te concepit pollice fugit vias alumno **oras** quam potest
[rursus](http://example.com#rursus) optat. Non evadere orbem equorum, spatiis,
vel pede inter si.
1. De neque iura aquis
2. Frangitur gaudia mihi eo umor terrae quos
3. Recens diffudit ille tantum
\begin{equation}\label{eq:neighbor-propability}
p_{ij}(t) = \frac{\ell_j(t) - \ell_i(t)}{\sum_{k \in N_i(t)}^{} \ell_k(t) - \ell_i(t)}
\end{equation}
Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae
adessent arbor. Florente perque at condeturque saxa et ferarum promittis tendebat. Armos nisi obortas refugit me.
> Et nepotes poterat, se qui. Euntem ego pater desuetaque aethera Maeandri, et
[Dardanio geminaque](http://example.com#Dardanio_geminaque) cernit. Lassaque poenas
nec, manifesta $\pi r^2$ mirantia captivarum prohibebant scelerato gradus unusque
dura.
- Permulcens flebile simul
- Iura tum nepotis causa motus diva virtus Acrota. Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae adessent arbor. Florente perque at ire arcum.

Binary file not shown.

After

Width:  |  Height:  |  Size: 265 KiB

View File

@ -0,0 +1,70 @@
%PDF-1.5
%µí®û
3 0 obj
<< /Length 4 0 R
/Filter /FlateDecode
>>
stream
xœeŽAÂ@E÷s
. Ã#¸°í¢.¬÷OœÑ¤©iØ<69>Ïÿïó* ®wù]B#XŠ;\~‚Ãö€©JMá„îbš}‰j: {¦1<wEÃ1½Á
´_WXÊ91:"¤ZíVªFN ˜ªÝ¤,È\¨ìÑû}šÙ›}<7D><06>=°ËÀ¤HœÝz„œ+rNLåV>±mB
endstream
endobj
4 0 obj
162
endobj
2 0 obj
<<
/ExtGState <<
/a0 << /CA 1 /ca 1 >>
>>
>>
endobj
5 0 obj
<< /Type /Page
/Parent 1 0 R
/MediaBox [ 0 0 595.275574 841.889771 ]
/Contents 3 0 R
/Group <<
/Type /Group
/S /Transparency
/I true
/CS /DeviceRGB
>>
/Resources 2 0 R
>>
endobj
1 0 obj
<< /Type /Pages
/Kids [ 5 0 R ]
/Count 1
>>
endobj
6 0 obj
<< /Creator (cairo 1.14.8 (http://cairographics.org))
/Producer (cairo 1.14.8 (http://cairographics.org))
>>
endobj
7 0 obj
<< /Type /Catalog
/Pages 1 0 R
>>
endobj
xref
0 8
0000000000 65535 f
0000000576 00000 n
0000000276 00000 n
0000000015 00000 n
0000000254 00000 n
0000000348 00000 n
0000000641 00000 n
0000000768 00000 n
trailer
<< /Size 8
/Root 7 0 R
/Info 6 0 R
>>
startxref
820
%%EOF

View File

@ -0,0 +1,69 @@
%PDF-1.5
%µí®û
3 0 obj
<< /Length 4 0 R
/Filter /FlateDecode
>>
stream
xœeŽKÂ@@÷s
. Â8†GpaÛE]¨÷OdÒØÖ4,ø=^xï ®wéS\=@C±šÁeí“yÀ˜kBsX²p1ÒèÇLHÄðÜ*†a  ßr<C39F>¹œøÕ¬VUb/ÒLPÝ1D®È<ì¢?ç‘\u¢Þ³·jÚmlŽœïp$Ž$Š“~.g~,·òž·>å
endstream
endobj
4 0 obj
150
endobj
2 0 obj
<<
/ExtGState <<
/a0 << /CA 1 /ca 1 >>
>>
>>
endobj
5 0 obj
<< /Type /Page
/Parent 1 0 R
/MediaBox [ 0 0 595.275574 841.889771 ]
/Contents 3 0 R
/Group <<
/Type /Group
/S /Transparency
/I true
/CS /DeviceRGB
>>
/Resources 2 0 R
>>
endobj
1 0 obj
<< /Type /Pages
/Kids [ 5 0 R ]
/Count 1
>>
endobj
6 0 obj
<< /Creator (cairo 1.14.8 (http://cairographics.org))
/Producer (cairo 1.14.8 (http://cairographics.org))
>>
endobj
7 0 obj
<< /Type /Catalog
/Pages 1 0 R
>>
endobj
xref
0 8
0000000000 65535 f
0000000564 00000 n
0000000264 00000 n
0000000015 00000 n
0000000242 00000 n
0000000336 00000 n
0000000629 00000 n
0000000756 00000 n
trailer
<< /Size 8
/Root 7 0 R
/Info 6 0 R
>>
startxref
808
%%EOF

View File

@ -0,0 +1,69 @@
%PDF-1.5
%µí®û
3 0 obj
<< /Length 4 0 R
/Filter /FlateDecode
>>
stream
xœeNË Â0 ½{
/€±'vÆ`´=”e‰Xˆ(¨Š"==¿ß ã+^ïŒë]…Ü+V(™áåK\ºžÉûgÎ-I±°e ^ð9u£fwäqÝqƒ³c<C2B3>Ž¤U¶HO<48>hl9JSrjª]¬H$Oÿñ³6{Ê¥Çå_Á<_ÌIúHa<48> Ý3§<33>»68;¸Ás+Ck
endstream
endobj
4 0 obj
158
endobj
2 0 obj
<<
/ExtGState <<
/a0 << /CA 1 /ca 1 >>
>>
>>
endobj
5 0 obj
<< /Type /Page
/Parent 1 0 R
/MediaBox [ 0 0 595.275574 841.889771 ]
/Contents 3 0 R
/Group <<
/Type /Group
/S /Transparency
/I true
/CS /DeviceRGB
>>
/Resources 2 0 R
>>
endobj
1 0 obj
<< /Type /Pages
/Kids [ 5 0 R ]
/Count 1
>>
endobj
6 0 obj
<< /Creator (cairo 1.14.8 (http://cairographics.org))
/Producer (cairo 1.14.8 (http://cairographics.org))
>>
endobj
7 0 obj
<< /Type /Catalog
/Pages 1 0 R
>>
endobj
xref
0 8
0000000000 65535 f
0000000572 00000 n
0000000272 00000 n
0000000015 00000 n
0000000250 00000 n
0000000344 00000 n
0000000637 00000 n
0000000764 00000 n
trailer
<< /Size 8
/Root 7 0 R
/Info 6 0 R
>>
startxref
816
%%EOF

View File

@ -0,0 +1,70 @@
%PDF-1.5
%µí®û
3 0 obj
<< /Length 4 0 R
/Filter /FlateDecode
>>
stream
xœmŽ;Â@ Dû=…/€±½þí18 „ûKì¢D
ráÑÈóƯÂ0f™á|%˜ß… •1ÓÁš¡DÀég,7˜
!iÂjÒ”»P µ/c<>h¶pxr‰<C382>ˆá±1Wã^Ž™Qd£%qó!º9ZDj¿¥ UÅѪíÙûËAµp<C2B5>ñr$Õ&]x_ìƒÊȽŸI±WÿÃ?f¦r)Ì6EU
endstream
endobj
4 0 obj
168
endobj
2 0 obj
<<
/ExtGState <<
/a0 << /CA 1 /ca 1 >>
>>
>>
endobj
5 0 obj
<< /Type /Page
/Parent 1 0 R
/MediaBox [ 0 0 595.275574 841.889771 ]
/Contents 3 0 R
/Group <<
/Type /Group
/S /Transparency
/I true
/CS /DeviceRGB
>>
/Resources 2 0 R
>>
endobj
1 0 obj
<< /Type /Pages
/Kids [ 5 0 R ]
/Count 1
>>
endobj
6 0 obj
<< /Creator (cairo 1.14.8 (http://cairographics.org))
/Producer (cairo 1.14.8 (http://cairographics.org))
>>
endobj
7 0 obj
<< /Type /Catalog
/Pages 1 0 R
>>
endobj
xref
0 8
0000000000 65535 f
0000000582 00000 n
0000000282 00000 n
0000000015 00000 n
0000000260 00000 n
0000000354 00000 n
0000000647 00000 n
0000000774 00000 n
trailer
<< /Size 8
/Root 7 0 R
/Info 6 0 R
>>
startxref
826
%%EOF

View File

@ -0,0 +1,68 @@
%PDF-1.5
%µí®û
3 0 obj
<< /Length 4 0 R
/Filter /FlateDecode
>>
stream
<EFBFBD><EFBFBD>1nAEû908†<38><E280A0>qçþR@–µ+mŠhÄðßÿð=ú=nðöNpû¡Œ , Å.φÃã¶A˜2 Ý$•«à ™Ò<E284A2>—FÃ1}ÁÕ7\¾vè«ñ9Κvf_í":ÛeRˆ¦jÍÒŽš²Ð*Ù<>}œÜFSVe—„©Ìl~Œ-ÆÈ%½KÐþ{×tìÙ'ÂkÛhÏüåÂXK“"qž<71>óÇgÍ6®ãlXÒ
endstream
endobj
4 0 obj
198
endobj
2 0 obj
<<
/ExtGState <<
/a0 << /CA 1 /ca 1 >>
>>
>>
endobj
5 0 obj
<< /Type /Page
/Parent 1 0 R
/MediaBox [ 0 0 595.275574 841.889771 ]
/Contents 3 0 R
/Group <<
/Type /Group
/S /Transparency
/I true
/CS /DeviceRGB
>>
/Resources 2 0 R
>>
endobj
1 0 obj
<< /Type /Pages
/Kids [ 5 0 R ]
/Count 1
>>
endobj
6 0 obj
<< /Creator (cairo 1.14.8 (http://cairographics.org))
/Producer (cairo 1.14.8 (http://cairographics.org))
>>
endobj
7 0 obj
<< /Type /Catalog
/Pages 1 0 R
>>
endobj
xref
0 8
0000000000 65535 f
0000000612 00000 n
0000000312 00000 n
0000000015 00000 n
0000000290 00000 n
0000000384 00000 n
0000000677 00000 n
0000000804 00000 n
trailer
<< /Size 8
/Root 7 0 R
/Info 6 0 R
>>
startxref
856
%%EOF

View File

@ -0,0 +1,69 @@
%PDF-1.5
%µí®û
3 0 obj
<< /Length 4 0 R
/Filter /FlateDecode
>>
stream
<EFBFBD>PKn1Ýû\`(`0pŒ!L²h<17>Ü_ŠQÍHÓEå…ÑÓûÁwc¨·ÝáãJp6ˆ–†âËà°Ý`m„îbš@È6bôú„¬LÞ턃 ¾€ÅÑ`!$bøÜMßÀ£<C380>5•ÂC<C382>F™‡vÖr<>ˆ¦êäÒnÕe u;z™ëÜu&eÌ¿v 9vQÌÌÉìFö¿Ö»ªZûì]eõ7‡ež)+G¸£ƒ'
ëù4Ô?IÖvi/ïXG
endstream
endobj
4 0 obj
195
endobj
2 0 obj
<<
/ExtGState <<
/a0 << /CA 1 /ca 1 >>
>>
>>
endobj
5 0 obj
<< /Type /Page
/Parent 1 0 R
/MediaBox [ 0 0 595.275574 841.889771 ]
/Contents 3 0 R
/Group <<
/Type /Group
/S /Transparency
/I true
/CS /DeviceRGB
>>
/Resources 2 0 R
>>
endobj
1 0 obj
<< /Type /Pages
/Kids [ 5 0 R ]
/Count 1
>>
endobj
6 0 obj
<< /Creator (cairo 1.14.8 (http://cairographics.org))
/Producer (cairo 1.14.8 (http://cairographics.org))
>>
endobj
7 0 obj
<< /Type /Catalog
/Pages 1 0 R
>>
endobj
xref
0 8
0000000000 65535 f
0000000609 00000 n
0000000309 00000 n
0000000015 00000 n
0000000287 00000 n
0000000381 00000 n
0000000674 00000 n
0000000801 00000 n
trailer
<< /Size 8
/Root 7 0 R
/Info 6 0 R
>>
startxref
853
%%EOF

View File

@ -0,0 +1 @@
pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --listings

View File

@ -0,0 +1,61 @@
---
title: "Vinaque sanguine metuenti cuiquam Alcyone fixus"
author: [Author Name]
date: "2017-02-20"
subject: "Markdown"
keywords: [Markdown, Example]
subtitle: "Aesculeae domus vincemur et Veneris adsuetus lapsum"
lang: "en"
titlepage: true,
titlepage-rule-color: "360049"
titlepage-background: "backgrounds/background1.pdf"
...
# Vinaque sanguine metuenti cuiquam Alcyone fixus
## Aesculeae domus vincemur et Veneris adsuetus lapsum
Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab
esse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi **medias
commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros
hamos ire arceor mandere spicula, in licet aliquando.
```java
public class Example implements LoremIpsum {
public static void main(String[] args) {
if(args.length < 2) {
System.out.println("Lorem ipsum dolor sit amet");
}
} // Obscura atque coniuge, per de coniunx
}
```
Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur.
Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva virtus! Acrota
destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente
Pirithoi abstulit, lapides.
## Lydia caelo recenti haerebat lacerum ratae at
Te concepit pollice fugit vias alumno **oras** quam potest
[rursus](http://example.com#rursus) optat. Non evadere orbem equorum, spatiis,
vel pede inter si.
1. De neque iura aquis
2. Frangitur gaudia mihi eo umor terrae quos
3. Recens diffudit ille tantum
\begin{equation}\label{eq:neighbor-propability}
p_{ij}(t) = \frac{\ell_j(t) - \ell_i(t)}{\sum_{k \in N_i(t)}^{} \ell_k(t) - \ell_i(t)}
\end{equation}
Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae
adessent arbor. Florente perque at condeturque saxa et ferarum promittis tendebat. Armos nisi obortas refugit me.
Et nepotes poterat, se qui. Euntem ego pater desuetaque aethera Maeandri, et
[Dardanio geminaque](http://example.com#Dardanio_geminaque) cernit. Lassaque poenas
nec, manifesta $\pi r^2$ mirantia captivarum prohibebant scelerato gradus unusque
dura.
- Permulcens flebile simul
- Iura tum nepotis causa motus diva virtus Acrota. Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae adessent arbor. Florente perque at ire arcum.

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 KiB

View File

@ -0,0 +1,70 @@
%PDF-1.5
%µí®û
4 0 obj
<< /Length 5 0 R
/Filter /FlateDecode
>>
stream
xœe<EFBFBD>Í Ã0FïžcÆèUÕ$‡äÐv©¦?Q¢È ßã™<C3A3>ú9q¿š0¶æf ·%=!±W²„9ª(¤p±ÏÎWñ•zÔ³Ù<C2B3>bð¼Ãðif1R<31>¨/¢»YgXÖ—ì<05>æ¿OïÎ0¥cb¿l¢]Kf­±£®zª]´Ï
gd.âž¾<C5BE>ýJÇw s [C¶
Õ …ÁqÜ0¥cbH—ôNêK2
endstream
endobj
5 0 obj
181
endobj
3 0 obj
<<
/ExtGState <<
/a0 << /CA 1 /ca 1 >>
>>
>>
endobj
2 0 obj
<< /Type /Page % 1
/Parent 1 0 R
/MediaBox [ 0 0 595.275574 841.889771 ]
/Contents 4 0 R
/Group <<
/Type /Group
/S /Transparency
/I true
/CS /DeviceRGB
>>
/Resources 3 0 R
>>
endobj
1 0 obj
<< /Type /Pages
/Kids [ 2 0 R ]
/Count 1
>>
endobj
6 0 obj
<< /Producer (cairo 1.16.0 (https://cairographics.org))
/CreationDate (D:20190804184551+02'00)
>>
endobj
7 0 obj
<< /Type /Catalog
/Pages 1 0 R
>>
endobj
xref
0 8
0000000000 65535 f
0000000599 00000 n
0000000367 00000 n
0000000295 00000 n
0000000015 00000 n
0000000273 00000 n
0000000664 00000 n
0000000780 00000 n
trailer
<< /Size 8
/Root 7 0 R
/Info 6 0 R
>>
startxref
832
%%EOF

View File

@ -0,0 +1 @@
pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex" --listings

View File

@ -0,0 +1,63 @@
---
title: "Vinaque sanguine metuenti cuiquam Alcyone fixus"
author: [Author Name]
date: "2017-02-20"
subject: "Markdown"
keywords: [Markdown, Example]
subtitle: "Aesculeae domus vincemur et Veneris adsuetus lapsum"
lang: "en"
titlepage: true,
titlepage-text-color: "FFFFFF"
titlepage-rule-color: "360049"
titlepage-rule-height: 0
titlepage-background: "background.pdf"
...
# Vinaque sanguine metuenti cuiquam Alcyone fixus
## Aesculeae domus vincemur et Veneris adsuetus lapsum
Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab
esse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi **medias
commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros
hamos ire arceor mandere spicula, in licet aliquando.
```java
public class Example implements LoremIpsum {
public static void main(String[] args) {
if(args.length < 2) {
System.out.println("Lorem ipsum dolor sit amet");
}
} // Obscura atque coniuge, per de coniunx
}
```
Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur.
Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva virtus! Acrota
destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente
Pirithoi abstulit, lapides.
## Lydia caelo recenti haerebat lacerum ratae at
Te concepit pollice fugit vias alumno **oras** quam potest
[rursus](http://example.com#rursus) optat. Non evadere orbem equorum, spatiis,
vel pede inter si.
1. De neque iura aquis
2. Frangitur gaudia mihi eo umor terrae quos
3. Recens diffudit ille tantum
\begin{equation}\label{eq:neighbor-propability}
p_{ij}(t) = \frac{\ell_j(t) - \ell_i(t)}{\sum_{k \in N_i(t)}^{} \ell_k(t) - \ell_i(t)}
\end{equation}
Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae
adessent arbor. Florente perque at condeturque saxa et ferarum promittis tendebat. Armos nisi obortas refugit me.
Et nepotes poterat, se qui. Euntem ego pater desuetaque aethera Maeandri, et
[Dardanio geminaque](http://example.com#Dardanio_geminaque) cernit. Lassaque poenas
nec, manifesta $\pi r^2$ mirantia captivarum prohibebant scelerato gradus unusque
dura.
- Permulcens flebile simul
- Iura tum nepotis causa motus diva virtus Acrota. Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae adessent arbor. Florente perque at ire arcum.

View File

@ -0,0 +1,60 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
width="512"
height="512"
viewBox="0 0 512 512"
sodipodi:docname="icon.svg"
inkscape:export-filename="/Users/Pascal/Documents/Git/pandoc-latex-template/icon.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<metadata
id="metadata8">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs6" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="640"
inkscape:window-height="480"
id="namedview4"
showgrid="false"
inkscape:zoom="1"
inkscape:cx="90.96511"
inkscape:cy="209.72179"
inkscape:current-layer="svg2"
showguides="false" />
<path
style="opacity:1;fill:white;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 317.8541,168.28222 c 107.04137,49.95384 134.89565,215.61196 123.72876,270.90143 -11.99713,-9.22027 -24.59842,-23.05059 -37.6714,-40.47946 3.16686,20.54618 -31.32169,-3.46355 -55.82092,-15.65335 6.0478,9.63339 2.00381,10.20181 -1.08626,11.6271 5.3559,-7.31437 -12.40779,-11.5986 -28.21684,-16.13904 -8.24779,-1.78969 -11.57016,12.53757 -28.6829,24.11855 0.34304,-3.55636 -1.81518,-6.55719 -4.22642,-4.85236 -0.91466,0.64669 -1.7104,1.95019 -2.6472,4.18713 -3.6666,-5.90489 2.65484,-8.99631 8.85178,-12.1228 l 5.99916,-6.00661 c -4.49026,-2.39586 -9.35874,-7.67747 -12.72075,-1.46496 0.19311,-7.52858 4.26365,-10.46918 14.92563,-5.61043 7.15205,3.88856 3.3636,-1.41047 4.93039,-2.21229 -43.14176,-18.24239 -125.62289,-117.32588 -106.818,-169.75541 -6.34493,-11.12337 -13.67762,-21.5071 -39.91119,-17.73854 -40.36073,14.92481 -82.672132,35.48346 -118.361258,36.91617 30.94401,-29.21429 74.892278,-44.24651 112.045878,-73.15275 18.22017,-38.16418 34.94997,-50.0523 51.33838,-55.921318 16.22,-6.187829 32.16137,-8.064263 48.11806,-3.811072 36.53733,9.96607 50.7517,44.25392 66.2251,77.17001 z"
id="path7171"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccsccccccccccccc" />
</svg>

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 KiB

Some files were not shown because too many files have changed in this diff Show More