diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2013-07-21 12:16:52 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2013-07-21 12:16:52 -0700 |
commit | 6f99ad80135c06d30d92ad275d482e841ef1e872 (patch) | |
tree | a6c55a634c4b59c3bc5df312eeb759bee76f4bff /src/Text/Pandoc.hs | |
parent | 800c5490ec080520268c9c3348f2b4199a21e6db (diff) | |
download | pandoc-6f99ad80135c06d30d92ad275d482e841ef1e872.tar.gz |
Biblio: Tweaks to improve default behavior.
* A suffix beginning with a digit gets 'p' inserted before it
before passing to citeproc-hs, so that bare numbers are treated
as page numbers by default.
* A suffix not beginning with punctuation has a space added at
the beginning (rather than a comma and space, as was done before).
* This adding occurs not just in author-in-text citations, but in
all citations.
The result of these changes (and the last commit) is that
`\citep[23]{item1}` in LaTeX will be interpreted properly,
with '23' treated as a locator of type 'page'.
Diffstat (limited to 'src/Text/Pandoc.hs')
0 files changed, 0 insertions, 0 deletions