Basic bibliography support
This commit is contained in:
parent
857a0c67c7
commit
685e76862f
2
Makefile
2
Makefile
@ -4,7 +4,7 @@ ASCIIMATH=filters/asciimath/pandoc-asciimath
|
||||
|
||||
HS_FILTERS_NAMES =
|
||||
PY_FILTERS_NAMES = pandoc-svg.py
|
||||
EXT_FILTERS = pandoc-crossref $(ASCIIMATH)
|
||||
EXT_FILTERS = pandoc-crossref pandoc-citeproc $(ASCIIMATH)
|
||||
|
||||
HS_FILTERS = $(addprefix filters/, $(HS_FILTERS_NAMES))
|
||||
PY_FILTERS = $(addprefix filters/, $(PY_FILTERS_NAMES))
|
||||
|
@ -13,3 +13,8 @@ include them in the document easily.
|
||||
easy numbering and referencing.
|
||||
|
||||
* Include [asciimath](https://github.com/Kerl13/AsciiMath) for easy math typing.
|
||||
|
||||
* Include [pandoc-citeproc](https://github.com/jgm/pandoc-citeproc) for
|
||||
bibliography management and citation. See [this part of Pandoc
|
||||
README](http://pandoc.org/README.html#citations) as well for more infos on
|
||||
this.
|
||||
|
13
notes.bib
Normal file
13
notes.bib
Normal file
@ -0,0 +1,13 @@
|
||||
@article{foobar,
|
||||
doi = {10.1209/0295-5075/111/40005},
|
||||
url = {http://dx.doi.org/10.1209/0295-5075/111/40005},
|
||||
year = {2015},
|
||||
month = {aug},
|
||||
publisher = {{IOP} Publishing},
|
||||
volume = {111},
|
||||
number = {4},
|
||||
pages = {40005},
|
||||
author = {Lucas Verney and Lev Pitaevskii and Sandro Stringari},
|
||||
title = {Hybridization of first and second sound in a weakly interacting Bose gas},
|
||||
journal = {{EPL}}
|
||||
}
|
8
notes.md
8
notes.md
@ -6,6 +6,12 @@ date: \today
|
||||
# Pandoc-crossref options
|
||||
cref: True
|
||||
chapters: True
|
||||
# Pandoc-citeproc options
|
||||
bibliography: notes.bib
|
||||
link-citations: True
|
||||
lang: en-US
|
||||
reference-section-title: References
|
||||
nocite:
|
||||
---
|
||||
|
||||
\pagebreak
|
||||
@ -19,3 +25,5 @@ The following asciimath code
|
||||
will be rendered the following way
|
||||
|
||||
$$ sum_(k=1)^n k^3 = ((n(n+1))/2)^2 $$
|
||||
|
||||
this is a citation [@foobar].
|
||||
|
Loading…
Reference in New Issue
Block a user