aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNathan Gass <gass@search.ch>2010-12-15 12:06:14 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2010-12-15 10:21:53 -0800
commit8f60176511d006cc1c9fb8146f4e38cb9b760dc6 (patch)
tree757453e22dd396cc0ffe0521206fd122cd4065a5 /tests
parent43fee5e7f797b442e0290e9f6e788a6ad67a18b5 (diff)
downloadpandoc-8f60176511d006cc1c9fb8146f4e38cb9b760dc6.tar.gz
Remove punctuation at start of suffix for natbib and biblatex output.
This is necessary as the latex citation commands include there own punctuation, which resulted in doubled commas for markdown documents where citeproc output works correctly.
Diffstat (limited to 'tests')
-rw-r--r--tests/biblatex-citations.latex6
-rw-r--r--tests/markdown-citations.txt6
-rw-r--r--tests/natbib-citations.latex6
3 files changed, 9 insertions, 9 deletions
diff --git a/tests/biblatex-citations.latex b/tests/biblatex-citations.latex
index 88c441234..05fe00f48 100644
--- a/tests/biblatex-citations.latex
+++ b/tests/biblatex-citations.latex
@@ -39,7 +39,7 @@
\item
A citation group
- \autocites[see][, p.~34--35]{item1}[also][chap. 3]{item3}.
+ \autocites[see][p.~34--35]{item1}[also][chap. 3]{item3}.
\item
Another one \autocite[see][p.~34--35]{item1}.
@@ -50,10 +50,10 @@
\item
Citation with a suffix and locator
- \autocite[, pp.~33, 35--37, and nowhere else]{item1}.
+ \autocite[pp.~33, 35--37, and nowhere else]{item1}.
\item
- Citation with suffix only \autocite[, and nowhere else]{item1}.
+ Citation with suffix only \autocite[and nowhere else]{item1}.
\item
Now some modifiers.%
diff --git a/tests/markdown-citations.txt b/tests/markdown-citations.txt
index 43154d2d4..0944b1101 100644
--- a/tests/markdown-citations.txt
+++ b/tests/markdown-citations.txt
@@ -14,16 +14,16 @@
- In a note.[^1]
-- A citation group [see @item1, p. 34-35; also @item3 chap. 3].
+- A citation group [see @item1 p. 34-35; also @item3 chap. 3].
- Another one [see @item1 p. 34-35].
- And another one in a note.[^2]
- Citation with a suffix and locator
- [@item1, pp. 33, 35-37, and nowhere else].
+ [@item1 pp. 33, 35-37, and nowhere else].
-- Citation with suffix only [@item1, and nowhere else].
+- Citation with suffix only [@item1 and nowhere else].
- Now some modifiers.[^3]
diff --git a/tests/natbib-citations.latex b/tests/natbib-citations.latex
index 503d9cd9b..00787584e 100644
--- a/tests/natbib-citations.latex
+++ b/tests/natbib-citations.latex
@@ -40,7 +40,7 @@
\item
A citation group
- \citetext{\citealp[see][, p.~34--35]{item1}; \citealp[also][chap. 3]{item3}}.
+ \citetext{\citealp[see][p.~34--35]{item1}; \citealp[also][chap. 3]{item3}}.
\item
Another one \citep[see][p.~34--35]{item1}.
@@ -52,10 +52,10 @@
\item
Citation with a suffix and locator
- \citep[, pp.~33, 35--37, and nowhere else]{item1}.
+ \citep[pp.~33, 35--37, and nowhere else]{item1}.
\item
- Citation with suffix only \citep[, and nowhere else]{item1}.
+ Citation with suffix only \citep[and nowhere else]{item1}.
\item
Now some modifiers.%