Skip to content

Instantly share code, notes, and snippets.

@majorgreys
Last active Aug 29, 2015
Embed
What would you like to do?
pandoc bibliography formatting issues
all: pandocpdf pandoctexcsl pandoctexbiblatex
pandocpdf: test.md
pandoc -s -S --bibliography=test.bib -o pandocpdf.pdf test.md
pandoctexcsl: test.md
pandoc -s -S --bibliography=test.bib -o pandoctexcsl.tex test.md
pdflatex pandoctexcsl.tex
pandoctexbiblatex: test.md
pandoc -s -S --biblatex --bibliography=test.bib -o pandoctexbiblatex.tex test.md
pdflatex pandoctexbiblatex.tex
biber pandoctexbiblatex
pdflatex pandoctexbiblatex.tex
pdflatex pandoctexbiblatex.tex
clean:
rm pandoc*.*
@book{key1,
title = {Book title},
publisher = {Publisher},
author = {Last, First},
date = {1981},
}
@book{key2,
title = {Book title 2},
publisher = {Publisher},
author = {Last, First},
date = {2001},
}
title linestretch header-includes include-before include-after
This is a test
1.5
\usepackage{fullpage}
\setlength{\parindent}{15pt}
\setlength{\parindent}{0pt}
\setstretch{1}

Introduction

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean nec urna in eros tincidunt euismod. Quisque finibus cursus arcu sed lobortis. Vestibulum sed nunc non neque auctor hendrerit. Praesent ac libero sapien. Fusce tincidunt sagittis scelerisque. Nulla vulputate, quam vel cursus molestie, eros ligula condimentum nulla, in mattis ligula diam sit amet ligula. Aenean ac ante lorem. Sed dignissim, mi eget tincidunt commodo, est nibh euismod sapien, in rutrum libero leo quis libero. Phasellus sed interdum tortor, at sagittis nibh. Sed vel tempus sem, dignissim ullamcorper augue. Donec vulputate luctus ipsum gravida feugiat. Donec varius porta sem nec volutpat. Cras vitae ex varius, volutpat erat quis, varius diam. Etiam euismod odio nec dictum egestas. Vivamus hendrerit, lectus nec pharetra ultricies, tortor mi consequat sapien, nec accumsan ligula nunc non arcu. [@key1]

Sed ac porttitor nibh. Etiam in ipsum quis libero maximus tristique quis pharetra massa. Curabitur nec accumsan ex, ut eleifend mi. Nam tincidunt faucibus nisl, et sagittis odio consectetur quis. Duis luctus risus diam, nec volutpat ligula cursus eu. Cras sit amet tempor erat. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Quisque metus lectus, venenatis ac felis vitae, condimentum efficitur urna. [@key2]

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment