aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2021-07-17 18:10:34 +0200
committerIgor Pashev <pashev.igor@gmail.com>2021-07-17 18:46:16 +0200
commit48459559a13a20083fc9b31eb523b8ea2bf0a63f (patch)
tree1c04e75709457403110a6f8c5c90099f22369de3 /test/command
parent0c39509d9b6a58958228cebf5d643598e5c98950 (diff)
parent46099e79defe662e541b12548200caf29063c1c6 (diff)
downloadpandoc-48459559a13a20083fc9b31eb523b8ea2bf0a63f.tar.gz
Merge branch 'master' of https://github.com/jgm/pandoc
Diffstat (limited to 'test/command')
-rw-r--r--test/command/1279.md2
-rw-r--r--test/command/2103.md8
-rw-r--r--test/command/2378.md6
-rw-r--r--test/command/2874.md4
-rw-r--r--test/command/3516.md6
-rw-r--r--test/command/3752.md60
-rw-r--r--test/command/3792.md2
-rw-r--r--test/command/4063.md29
-rw-r--r--test/command/4164.md2
-rw-r--r--test/command/4420.md11
-rw-r--r--test/command/4442.md2
-rw-r--r--test/command/4465.md15
-rw-r--r--test/command/5304.md2
-rw-r--r--test/command/5321.md4
-rw-r--r--test/command/5367.md10
-rw-r--r--test/command/5519.md2
-rw-r--r--test/command/5541-nesting.md1
-rw-r--r--test/command/5686.md2
-rw-r--r--test/command/5708.md6
-rw-r--r--test/command/5986.md5
-rw-r--r--test/command/6026.md19
-rw-r--r--test/command/6388.md16
-rw-r--r--test/command/6541.md27
-rw-r--r--test/command/6620.md3
-rw-r--r--test/command/6658.md75
-rw-r--r--test/command/6709.md11
-rw-r--r--test/command/6774.md63
-rw-r--r--test/command/6890.md4
-rw-r--r--test/command/6925.md34
-rw-r--r--test/command/6948.md31
-rw-r--r--test/command/6951.md18
-rw-r--r--test/command/6958.md10
-rw-r--r--test/command/6993.md21
-rw-r--r--test/command/7003.md37
-rw-r--r--test/command/7006.md20
-rw-r--r--test/command/7009.md8
-rw-r--r--test/command/7016.md48
-rw-r--r--test/command/7041.md23
-rw-r--r--test/command/7042.md146
-rw-r--r--test/command/7058.md6
-rw-r--r--test/command/7064.md32
-rw-r--r--test/command/7067.md90
-rw-r--r--test/command/7080.md8
-rw-r--r--test/command/7092.md8
-rw-r--r--test/command/7099.md18
-rw-r--r--test/command/7112.md15
-rw-r--r--test/command/7129.md27
-rw-r--r--test/command/7132.md10
-rw-r--r--test/command/7134.md16
-rw-r--r--test/command/7145.md12
-rw-r--r--test/command/7155.md15
-rw-r--r--test/command/7173.md137
-rw-r--r--test/command/7208.md6
-rw-r--r--test/command/7214.md28
-rw-r--r--test/command/7216.md19
-rw-r--r--test/command/7266.md10
-rw-r--r--test/command/7272.md27
-rw-r--r--test/command/7278.md38
-rw-r--r--test/command/7282.md7
-rw-r--r--test/command/7288.md40
-rw-r--r--test/command/7299.md23
-rw-r--r--test/command/7321.md24
-rw-r--r--test/command/7323.md29
-rw-r--r--test/command/7324.md25
-rw-r--r--test/command/7339.md11
-rw-r--r--test/command/7340.md6
-rw-r--r--test/command/7376.md16
-rw-r--r--test/command/7394.md85
-rw-r--r--test/command/7397.md14
-rw-r--r--test/command/7400.md9
-rw-r--r--test/command/7416.md19
-rw-r--r--test/command/7434.md15
-rw-r--r--test/command/7436.md14
-rw-r--r--test/command/averroes.bib95
-rw-r--r--test/command/biblatex-baez-article.md2
-rw-r--r--test/command/biblatex-baez-online.md2
-rw-r--r--test/command/biblatex-basic.md8
-rw-r--r--test/command/biblatex-cotton.md6
-rw-r--r--test/command/biblatex-examples.bib1674
-rw-r--r--test/command/biblatex-inproceedings.md2
-rw-r--r--test/command/biblatex-itzhaki.md2
-rw-r--r--test/command/biblatex-jaffe.md4
-rw-r--r--test/command/biblatex-moraux.md2
-rw-r--r--test/command/biblatex-murray.md5
-rw-r--r--test/command/biblatex-nussbaum.md63
-rw-r--r--test/command/biblatex-quotes.md2
-rw-r--r--test/command/biblatex-sigfridsson.md2
-rw-r--r--test/command/biblatex-spiegelberg.md4
-rw-r--r--test/command/biblatex-test-case-conversion.md4
-rw-r--r--test/command/biblatex-textnormal.md2
-rw-r--r--test/command/biblatex-wassenberg.md2
-rw-r--r--test/command/biblatex-wilde.md2
-rw-r--r--test/command/chap1/spider.pngbin0 -> 8758 bytes
-rw-r--r--test/command/chap1/text.md17
-rw-r--r--test/command/chap2/spider.pngbin0 -> 2921 bytes
-rw-r--r--test/command/chap2/text.md5
-rw-r--r--test/command/custom-attributes.html16
-rw-r--r--test/command/defaults-inheritance-1.md6
-rw-r--r--test/command/defaults-inheritance-2.md5
-rw-r--r--test/command/defaults-inheritance-3.md6
-rw-r--r--test/command/defaults3.yaml4
-rw-r--r--test/command/defaults4.yaml3
-rw-r--r--test/command/defaults5.yaml2
-rw-r--r--test/command/defaults6.yaml2
-rw-r--r--test/command/defaults7.yaml2
-rw-r--r--test/command/defaults8.yaml2
-rw-r--r--test/command/defaults9.yaml1
-rw-r--r--test/command/duplicate_attributes.md7
-rw-r--r--test/command/empty-inline-code.txt6
-rw-r--r--test/command/mmd-metadata.md20
-rw-r--r--test/command/nested-table-to-asciidoc-6942.md82
-rw-r--r--test/command/newif.md55
-rw-r--r--test/command/pandoc-citeproc-119.md2
-rw-r--r--test/command/pandoc-citeproc-320a.md6
-rw-r--r--test/command/pandoc-citeproc-322.md2
-rw-r--r--test/command/pandoc-citeproc-356.md9
-rw-r--r--test/command/pandoc-citeproc-53.md6
-rw-r--r--test/command/pandoc-citeproc-65.md2
-rw-r--r--test/command/pandoc-citeproc-70.md4
-rw-r--r--test/command/pandoc-citeproc-chicago-author-date.md14
-rw-r--r--test/command/pandoc-citeproc-chicago-fullnote-bibliography.md33
-rw-r--r--test/command/svg.md32
-rw-r--r--test/command/three.txt3
-rw-r--r--test/command/toc.md4
-rw-r--r--test/command/unicode-collation.md130
125 files changed, 2139 insertions, 1884 deletions
diff --git a/test/command/1279.md b/test/command/1279.md
index acad6859e..d3572f245 100644
--- a/test/command/1279.md
+++ b/test/command/1279.md
@@ -9,7 +9,7 @@ title: My Article
[^1]: Dept. of This and That
^D
---
-author: "John Doe[^1]"
+author: John Doe[^1]
date: 2014
title: My Article
---
diff --git a/test/command/2103.md b/test/command/2103.md
new file mode 100644
index 000000000..14a522a5e
--- /dev/null
+++ b/test/command/2103.md
@@ -0,0 +1,8 @@
+```
+pandoc -t latex
+| A happy pandoc user said "fix this bug please
+| or I'll go crazy!"
+^D
+A happy pandoc user said ``fix this bug please\\
+or I'll go crazy!''
+```
diff --git a/test/command/2378.md b/test/command/2378.md
index e81855367..59359c653 100644
--- a/test/command/2378.md
+++ b/test/command/2378.md
@@ -14,14 +14,14 @@ is used.
\begin{longtable}[]{@{}ll@{}}
\caption{a table}\tabularnewline
\toprule
-x & y\footnote{a footnote} \\ \addlinespace
+x & y\footnote{a footnote} \\
\midrule
\endfirsthead
\toprule
-x & y{} \\ \addlinespace
+x & y{} \\
\midrule
\endhead
-1 & 2 \\ \addlinespace
+1 & 2 \\
\bottomrule
\end{longtable}
```
diff --git a/test/command/2874.md b/test/command/2874.md
index 1fb530dc1..99f46d2fb 100644
--- a/test/command/2874.md
+++ b/test/command/2874.md
@@ -3,12 +3,12 @@
<a></a>
<br/>
^D
-{}~\\
+{}\strut \\
```
```
% pandoc -f html -t latex
<a name="foo"></a><br/>
^D
-\protect\hypertarget{foo}{}{}~\\
+\protect\hypertarget{foo}{}{}\strut \\
```
diff --git a/test/command/3516.md b/test/command/3516.md
index 1cb805afe..dc8770bad 100644
--- a/test/command/3516.md
+++ b/test/command/3516.md
@@ -29,11 +29,7 @@ on Windows builds.
[(AlignDefault,ColWidth 5.555555555555555e-2)
,(AlignDefault,ColWidth 5.555555555555555e-2)]
(TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]])
+ [])
[(TableBody ("",[],[]) (RowHeadColumns 0)
[]
[Row ("",[],[])
diff --git a/test/command/3752.md b/test/command/3752.md
new file mode 100644
index 000000000..863e3f2d4
--- /dev/null
+++ b/test/command/3752.md
@@ -0,0 +1,60 @@
+```
+% pandoc command/chap1/text.md command/chap2/text.md -f markdown+rebase_relative_paths --verbose -t docx -o - | pandoc -f docx -t plain
+^D
+[INFO] Loaded command/chap1/spider.png from command/chap1/spider.png
+[INFO] Loaded command/chap2/spider.png from command/chap2/spider.png
+[INFO] Loaded command/chap1/../../lalune.jpg from command/chap1/../../lalune.jpg
+Chapter one
+
+A spider: [spider]
+
+Another spider: [another spider]
+
+The moon: [moon]
+
+Link to spider picture.
+
+URL left alone: manual.
+
+Absolute path left alone: absolute.
+
+Link to fragment: chapter two.
+
+Empty path: empty.
+
+Chapter two
+
+A spider: [spider]
+```
+
+```
+% pandoc command/chap1/text.md command/chap2/text.md -f markdown+rebase_relative_paths -t html
+^D
+<h1 id="chapter-one">Chapter one</h1>
+<p>A spider: <img src="command/chap1/spider.png" alt="spider" /></p>
+<p>Another spider: <img src="command/chap2/spider.png" alt="another spider" /></p>
+<p>The moon: <img src="command/chap1/../../lalune.jpg" alt="moon" /></p>
+<p>Link to <a href="command/chap1/spider.png">spider picture</a>.</p>
+<p>URL left alone: <a href="https://pandoc.org/MANUAL.html">manual</a>.</p>
+<p>Absolute path left alone: <a href="/foo/bar/baz.png">absolute</a>.</p>
+<p>Link to fragment: <a href="#chapter-two">chapter two</a>.</p>
+<p>Empty path: <a href="">empty</a>.</p>
+<h1 id="chapter-two">Chapter two</h1>
+<p>A spider: <img src="command/chap2/spider.png" alt="spider" /></p>
+```
+
+```
+% pandoc command/chap1/text.md command/chap2/text.md -f commonmark+rebase_relative_paths -t html
+^D
+<h1>Chapter one</h1>
+<p>A spider: <img src="command/chap1/spider.png" alt="spider" /></p>
+<p>Another spider: <img src="command/chap2/spider.png" alt="another spider" /></p>
+<p>The moon: <img src="command/chap1/../../lalune.jpg" alt="moon" /></p>
+<p>Link to <a href="command/chap1/spider.png">spider picture</a>.</p>
+<p>URL left alone: <a href="https://pandoc.org/MANUAL.html">manual</a>.</p>
+<p>Absolute path left alone: <a href="/foo/bar/baz.png">absolute</a>.</p>
+<p>Link to fragment: <a href="#chapter-two">chapter two</a>.</p>
+<p>Empty path: <a href="">empty</a>.</p>
+<h1>Chapter two</h1>
+<p>A spider: <img src="command/chap2/spider.png" alt="spider" /></p>
+```
diff --git a/test/command/3792.md b/test/command/3792.md
index eb109b9cc..eff26d517 100644
--- a/test/command/3792.md
+++ b/test/command/3792.md
@@ -6,7 +6,7 @@ and properly escaped.
ok
^D
---
-title: \<this\> \*that\*
+title: \<this> \*that\*
---
ok
diff --git a/test/command/4063.md b/test/command/4063.md
new file mode 100644
index 000000000..838472b46
--- /dev/null
+++ b/test/command/4063.md
@@ -0,0 +1,29 @@
+```
+% pandoc -f html -t native
+<table>
+<colgroup>
+ <col width="30%" />
+ <col width="*" />
+</colgroup>
+<tr>
+ <td>1</td>
+ <td>2</td>
+</tr>
+</table>
+^D
+[Table ("",[],[]) (Caption Nothing
+ [])
+ [(AlignDefault,ColWidth 0.3)
+ ,(AlignDefault,ColWidth 0.7)]
+ (TableHead ("",[],[])
+ [])
+ [(TableBody ("",[],[]) (RowHeadColumns 0)
+ []
+ [Row ("",[],[])
+ [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Plain [Str "1"]]
+ ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Plain [Str "2"]]]])]
+ (TableFoot ("",[],[])
+ [])]
+```
diff --git a/test/command/4164.md b/test/command/4164.md
index 4e7b7e285..68cbd0584 100644
--- a/test/command/4164.md
+++ b/test/command/4164.md
@@ -26,6 +26,6 @@ Here is inline html:
Here is inline html:
-\<div\> \<balise\> bla bla \</div\>
+\<div> \<balise> bla bla \</div>
```
diff --git a/test/command/4420.md b/test/command/4420.md
index 3e7008935..36d697234 100644
--- a/test/command/4420.md
+++ b/test/command/4420.md
@@ -1,16 +1,5 @@
```
% pandoc -f native -t rst
-[Image ("",["align-right"],[("width","100px")]) [Str "image"] ("foo.png","")]
-^D
-|image|
-
-.. |image| image:: foo.png
- :align: right
- :width: 100px
-```
-
-```
-% pandoc -f native -t rst
[Para [Image ("",["align-right"],[("width","100px")]) [Str "image"] ("foo.png","fig:test")]]
^D
.. figure:: foo.png
diff --git a/test/command/4442.md b/test/command/4442.md
index 8574fe759..447073406 100644
--- a/test/command/4442.md
+++ b/test/command/4442.md
@@ -5,5 +5,5 @@
^D
\newcommand{\myFruit}{Mango\xspace}
-Mango\xspace is the king of fruits.
+Mango is the king of fruits.
```
diff --git a/test/command/4465.md b/test/command/4465.md
new file mode 100644
index 000000000..eaffcf7f3
--- /dev/null
+++ b/test/command/4465.md
@@ -0,0 +1,15 @@
+```
+% pandoc -f html -t markdown
+<ol>
+ <li>An ordered list can contain block-level elements ind html, it means that divs are also allowed.</li>
+ <li>Let's see the problem! <div class="example">This is an example.</div></li>
+</ol>
+^D
+1. An ordered list can contain block-level elements ind html, it means
+ that divs are also allowed.
+2. Let\'s see the problem!
+
+ ::: example
+ This is an example.
+ :::
+```
diff --git a/test/command/5304.md b/test/command/5304.md
index 62b2b9ddd..70f32a96a 100644
--- a/test/command/5304.md
+++ b/test/command/5304.md
@@ -11,7 +11,7 @@
...
```
^D
-``` {.markdown}
+``` markdown
`«sträng»`
`` «sträng» ``
diff --git a/test/command/5321.md b/test/command/5321.md
index 081abe2a0..83404632a 100644
--- a/test/command/5321.md
+++ b/test/command/5321.md
@@ -4,7 +4,7 @@
<caption>
<p>bar</p>
</caption>
- <graphic xlink:href="foo.png" xlink:alt-text="baz">
+ <graphic xlink:href="foo.png" xlink:alt-text="baz" />
</fig>
^D
[Para [Image ("fig-1",[],[]) [Str "bar"] ("foo.png","fig:")]]
@@ -17,7 +17,7 @@
<title>foo</title>
<p>bar</p>
</caption>
- <graphic xlink:href="foo.png" xlink:alt-text="baz">
+ <graphic xlink:href="foo.png" xlink:alt-text="baz" />
</fig>
^D
[Para [Image ("fig-1",[],[]) [Str "foo",LineBreak,Str "bar"] ("foo.png","fig:")]]
diff --git a/test/command/5367.md b/test/command/5367.md
index 4dbcca771..a67011c2f 100644
--- a/test/command/5367.md
+++ b/test/command/5367.md
@@ -24,14 +24,18 @@ hello\footnote{doc footnote}
>{\centering\arraybackslash}p{(\columnwidth - 0\tabcolsep) * \real{0.17}}@{}}
\caption[Sample table.]{Sample table.\footnote{caption footnote}}\tabularnewline
\toprule
-Fruit\footnote{header footnote} \\ \addlinespace
+\begin{minipage}[b]{\linewidth}\centering
+Fruit\footnote{header footnote}
+\end{minipage} \\
\midrule
\endfirsthead
\toprule
-Fruit{} \\ \addlinespace
+\begin{minipage}[b]{\linewidth}\centering
+Fruit{}
+\end{minipage} \\
\midrule
\endhead
-Bans\footnote{table cell footnote} \\ \addlinespace
+Bans\footnote{table cell footnote} \\
\bottomrule
\end{longtable}
diff --git a/test/command/5519.md b/test/command/5519.md
index a175ce9f9..ecde184f1 100644
--- a/test/command/5519.md
+++ b/test/command/5519.md
@@ -6,7 +6,7 @@
```
``````
^D
-```` {.attr}
+```` attr
```
code
```
diff --git a/test/command/5541-nesting.md b/test/command/5541-nesting.md
index 194b79164..5abe41a9a 100644
--- a/test/command/5541-nesting.md
+++ b/test/command/5541-nesting.md
@@ -80,6 +80,7 @@
<Profile type="string">
$ID/Embedded
</Profile>
+ <GraphicBounds Left="0" Top="0" Right="150" Bottom="150" />
</Properties>
<Link Self="ueb" LinkResourceURI="file:lalune.jpg" />
</Image>
diff --git a/test/command/5686.md b/test/command/5686.md
index 67b4579ef..1c18109c3 100644
--- a/test/command/5686.md
+++ b/test/command/5686.md
@@ -4,6 +4,6 @@ FOO\t0BAR
This part does not make it to the html output.
^D
-[Para [Str "FOO",RawInline (Format "tex") "\\t0BAR"]
+[Para [Str "FOO",RawInline (Format "tex") "\\t0",Str "BAR"]
,Para [Str "This",Space,Str "part",Space,Str "does",Space,Str "not",Space,Str "make",Space,Str "it",Space,Str "to",Space,Str "the",Space,Str "html",Space,Str "output."]]
```
diff --git a/test/command/5708.md b/test/command/5708.md
index e4b99e4db..e5ba72c69 100644
--- a/test/command/5708.md
+++ b/test/command/5708.md
@@ -9,11 +9,7 @@
[(AlignDefault,ColWidth 0.125)
,(AlignDefault,ColWidth 0.2361111111111111)]
(TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]])
+ [])
[(TableBody ("",[],[]) (RowHeadColumns 0)
[]
[Row ("",[],[])
diff --git a/test/command/5986.md b/test/command/5986.md
index e24aebb64..ed8dd30c9 100644
--- a/test/command/5986.md
+++ b/test/command/5986.md
@@ -4,9 +4,10 @@
^D
<p><span id="title_page.xhtml"></span></p>
<p><span id="nav.xhtml"></span></p>
-<nav type="landmarks" id="landmarks" hidden="hidden">
+<nav epub:type="landmarks" id="landmarks" hidden="hidden">
<ol>
-<li><a href="#nav.xhtml#toc">Table of contents</a></li>
+<li><a href="text/title_page.xhtml">Title Page</a></li>
+<li><a href="#nav.xhtml#toc">Table of Contents</a></li>
</ol>
</nav>
<p><span id="ch001.xhtml"></span></p>
diff --git a/test/command/6026.md b/test/command/6026.md
new file mode 100644
index 000000000..5e18a5f42
--- /dev/null
+++ b/test/command/6026.md
@@ -0,0 +1,19 @@
+```
+% pandoc -t native
+@{https://openreview.net/forum?id=HkwoSDPgg}
+
+@https://openreview.net/forum?id=HkwoSDPgg
+^D
+[Para [Cite [Citation {citationId = "https://openreview.net/forum?id=HkwoSDPgg", citationPrefix = [], citationSuffix = [], citationMode = AuthorInText, citationNoteNum = 1, citationHash = 0}] [Str "@https://openreview.net/forum?id=HkwoSDPgg"]]
+,Para [Cite [Citation {citationId = "https://openreview.net/forum?id", citationPrefix = [], citationSuffix = [], citationMode = AuthorInText, citationNoteNum = 2, citationHash = 0}] [Str "@https://openreview.net/forum?id"],Str "=HkwoSDPgg"]]
+```
+```
+% pandoc -t markdown
+@{https://openreview.net/forum?id=HkwoSDPgg}
+
+@https://openreview.net/forum?id=HkwoSDPgg
+^D
+@{https://openreview.net/forum?id=HkwoSDPgg}
+
+@https://openreview.net/forum?id=HkwoSDPgg
+```
diff --git a/test/command/6388.md b/test/command/6388.md
new file mode 100644
index 000000000..29a9156d7
--- /dev/null
+++ b/test/command/6388.md
@@ -0,0 +1,16 @@
+```
+% pandoc -t markdown -s
+---
+nvalue: false
+value: true
+---
+
+text
+^D
+---
+nvalue: false
+value: true
+---
+
+text
+```
diff --git a/test/command/6541.md b/test/command/6541.md
new file mode 100644
index 000000000..956340d4c
--- /dev/null
+++ b/test/command/6541.md
@@ -0,0 +1,27 @@
+```
+% pandoc -f docbook -t markdown -s
+<?xml version="1.0"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<book>
+
+<bookinfo>
+<title>Title</title>
+<author>
+<firstname>Firstname</firstname><surname>Lastname</surname>
+</author>
+<releaseinfo>1.17</releaseinfo>
+</bookinfo>
+
+<para>Text.</para>
+
+</book>
+^D
+---
+author: Firstname Lastname
+releaseinfo: 1.17
+title: Title
+---
+
+Text.
+```
diff --git a/test/command/6620.md b/test/command/6620.md
index 314200d30..e448ca6b5 100644
--- a/test/command/6620.md
+++ b/test/command/6620.md
@@ -7,9 +7,12 @@
\SI{0.135(21)}{\m}
\SI{12.3(60)}{\m}
+
+\SI{10.0 \pm 3.3}{\ms}
^D
<p>23 ± 2 m</p>
<p>125 ± 12 m</p>
<p>0.135 ± 0.021 m</p>
<p>12.3 ± 6 m</p>
+<p>10.0 ± 3.3 ms</p>
```
diff --git a/test/command/6658.md b/test/command/6658.md
new file mode 100644
index 000000000..96700c8fe
--- /dev/null
+++ b/test/command/6658.md
@@ -0,0 +1,75 @@
+```
+pandoc -f latex -t html
+\num{12345,67890}
+
+\num{1+-2i}
+
+\num{.3e45}
+
+\num{1.654 x 2.34 x 3.430}
+
+\si{kg.m.s^{-1}}
+
+\si{\kilogram\metre\per\second}
+
+\si[per-mode=symbol]{\kilogram\metre\per\second}
+
+\si[per-mode=symbol]{\kilogram\metre\per\ampere\per\second}
+
+\numlist{10;20;30}
+
+\SIlist{0.13;0.67;0.80}{\milli\metre}
+
+\numrange{10}{20}
+
+\SIrange{0.13}{0.67}{\milli\metre}
+
+\ang{10}
+
+\ang{1;2;3}
+
+\ang{;;1}
+
+\ang{+10;;}
+
+\ang{-0;1;}
+
+\si{kg.m/s^2}
+
+\si{g_{polymer}~mol_{cat}.s^{-1}}
+
+\si{\kilo\gram\metre\per\square\second}
+
+\si{\gram\per\cubic\centi\metre}
+
+\si{\square\volt\cubic\lumen\per\farad}
+
+\si{\metre\squared\per\gray\cubic\lux}
+
+\si{\henry\second}
+^D
+<p>12345.67890</p>
+<p>1 ± 2i</p>
+<p>0.3 × 10<sup>45</sup></p>
+<p>1.654 × 2.34 × 3.430</p>
+<p>kg m s<sup>−1</sup></p>
+<p>kg m s<sup>−1</sup></p>
+<p>kg m/s</p>
+<p>kg m/A/s</p>
+<p>10, 20, &amp; 30</p>
+<p>0.13 mm, 0.67 mm, &amp; 0.80 mm</p>
+<p>10–20</p>
+<p>0.13 mm–0.67 mm</p>
+<p>10°</p>
+<p>1°2′3″</p>
+<p>1″</p>
+<p>10°</p>
+<p>-0°1′</p>
+<p>kg m/s<sup>2</sup></p>
+<p>g<sub>polymer</sub> mol<sub>cat</sub> s<sup>−1</sup></p>
+<p>kg m s<sup>−2</sup></p>
+<p>g cm<sup>−3</sup></p>
+<p>V<sup>2</sup> lm<sup>3</sup> F<sup>−1</sup></p>
+<p>m<sup>2</sup> Gy<sup>−1</sup> lx<sup>3</sup></p>
+<p>H s</p>
+```
diff --git a/test/command/6709.md b/test/command/6709.md
new file mode 100644
index 000000000..d6d514552
--- /dev/null
+++ b/test/command/6709.md
@@ -0,0 +1,11 @@
+Tabs must be expanded even if --file-scope is used
+````
+% pandoc -t native --file-scope --tab-stop=2
+```
+if true; then
+ echo "yup"
+fi
+```
+^D
+[CodeBlock ("",[],[]) "if true; then\n echo \"yup\"\nfi"]
+````
diff --git a/test/command/6774.md b/test/command/6774.md
new file mode 100644
index 000000000..66549c0f2
--- /dev/null
+++ b/test/command/6774.md
@@ -0,0 +1,63 @@
+```
+% pandoc -f native -t opendocument --quiet
+[Header 1 ("chapter1",[],[]) [Str "The",Space,Str "Chapter"]
+,Para [Str "Chapter",Space,Str "1",Space,Str "references",Space,Link ("",[],[]) [Str "The",Space,Str "Chapter"] ("#chapter1","")]]
+^D
+<text:h text:style-name="Heading_20_1" text:outline-level="1"><text:bookmark-start text:name="chapter1" />The
+Chapter<text:bookmark-end text:name="chapter1" /></text:h>
+<text:p text:style-name="First_20_paragraph">Chapter 1 references
+<text:a xlink:type="simple" xlink:href="#chapter1" office:name=""><text:span text:style-name="Definition">The
+Chapter</text:span></text:a></text:p>
+```
+```
+% pandoc -f native -t opendocument+xrefs_name --quiet
+[Header 1 ("chapter1",[],[]) [Str "The",Space,Str "Chapter"]
+,Para [Str "Chapter",Space,Str "1",Space,Str "references",Space,Link ("",[],[]) [Str "The",Space,Str "Chapter"] ("#chapter1","")]
+,Para [Image ("lalune",[],[]) [Str "lalune"] ("lalune.jpg","fig:Voyage dans la Lune")]
+,Para [Str "Image",Space,Str "1",Space,Str "references",Space,Link ("",[],[]) [Str "La",Space,Str "Lune"] ("#lalune","")]]
+^D
+<text:h text:style-name="Heading_20_1" text:outline-level="1"><text:bookmark-start text:name="chapter1" />The
+Chapter<text:bookmark-end text:name="chapter1" /></text:h>
+<text:p text:style-name="First_20_paragraph">Chapter 1 references
+<text:bookmark-ref text:reference-format="text" text:ref-name="chapter1">The
+Chapter</text:bookmark-ref></text:p>
+<text:p text:style-name="FigureWithCaption"><draw:frame draw:name="img1"><draw:image xlink:href="lalune.jpg" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" /></draw:frame></text:p>
+<text:p text:style-name="FigureCaption">lalune</text:p>
+<text:p text:style-name="Text_20_body">Image 1 references
+<text:sequence-ref text:reference-format="caption" text:ref-name="lalune">La
+Lune</text:sequence-ref></text:p>
+```
+```
+% pandoc -f native -t opendocument+xrefs_number --quiet
+[Header 1 ("chapter1",[],[]) [Str "The",Space,Str "Chapter"]
+,Para [Str "Chapter",Space,Str "1",Space,Str "references",Space,Link ("",[],[]) [Str "The",Space,Str "Chapter"] ("#chapter1","")]
+,Para [Image ("lalune",[],[]) [Str "lalune"] ("lalune.jpg","fig:Voyage dans la Lune")]
+,Para [Str "Image",Space,Str "1",Space,Str "references",Space,Link ("",[],[]) [Str "La",Space,Str "Lune"] ("#lalune","")]]
+^D
+<text:h text:style-name="Heading_20_1" text:outline-level="1"><text:bookmark-start text:name="chapter1" />The
+Chapter<text:bookmark-end text:name="chapter1" /></text:h>
+<text:p text:style-name="First_20_paragraph">Chapter 1 references
+<text:bookmark-ref text:reference-format="number" text:ref-name="chapter1"></text:bookmark-ref></text:p>
+<text:p text:style-name="FigureWithCaption"><draw:frame draw:name="img1"><draw:image xlink:href="lalune.jpg" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" /></draw:frame></text:p>
+<text:p text:style-name="FigureCaption">lalune</text:p>
+<text:p text:style-name="Text_20_body">Image 1 references
+<text:sequence-ref text:reference-format="value" text:ref-name="lalune"></text:sequence-ref></text:p>
+```
+```
+% pandoc -f native -t opendocument+xrefs_number+xrefs_name --quiet
+[Header 1 ("chapter1",[],[]) [Str "The",Space,Str "Chapter"]
+,Para [Str "Chapter",Space,Str "1",Space,Str "references",Space,Link ("",[],[]) [Str "The",Space,Str "Chapter"] ("#chapter1","")]
+,Para [Image ("lalune",[],[]) [Str "lalune"] ("lalune.jpg","fig:Voyage dans la Lune")]
+,Para [Str "Image",Space,Str "1",Space,Str "references",Space,Link ("",[],[]) [Str "La",Space,Str "Lune"] ("#lalune","")]]
+^D
+<text:h text:style-name="Heading_20_1" text:outline-level="1"><text:bookmark-start text:name="chapter1" />The
+Chapter<text:bookmark-end text:name="chapter1" /></text:h>
+<text:p text:style-name="First_20_paragraph">Chapter 1 references
+<text:bookmark-ref text:reference-format="number" text:ref-name="chapter1"></text:bookmark-ref><text:s /><text:bookmark-ref text:reference-format="text" text:ref-name="chapter1">The
+Chapter</text:bookmark-ref></text:p>
+<text:p text:style-name="FigureWithCaption"><draw:frame draw:name="img1"><draw:image xlink:href="lalune.jpg" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" /></draw:frame></text:p>
+<text:p text:style-name="FigureCaption">lalune</text:p>
+<text:p text:style-name="Text_20_body">Image 1 references
+<text:sequence-ref text:reference-format="value" text:ref-name="lalune"></text:sequence-ref><text:s /><text:sequence-ref text:reference-format="caption" text:ref-name="lalune">La
+Lune</text:sequence-ref></text:p>
+```
diff --git a/test/command/6890.md b/test/command/6890.md
index e4129e2a9..e36c12771 100644
--- a/test/command/6890.md
+++ b/test/command/6890.md
@@ -23,12 +23,12 @@ references:
@fruchtel-sozialer-2013a
-Some text [^1].
+Some text.[^1]
[^1]: @fruchtel-sozialer-2013a
^D
[Para [Cite [Citation {citationId = "fruchtel-sozialer-2013a", citationPrefix = [], citationSuffix = [], citationMode = AuthorInText, citationNoteNum = 1, citationHash = 0}] [Str "Fr\252chtel,",Space,Str "Budde,",Space,Str "and",Space,Str "Cyprian",Space,Str "(2013)"]]
-,Para [Str "Some",Space,Str "text",Str ".",Note [Para [Cite [Citation {citationId = "fruchtel-sozialer-2013a", citationPrefix = [], citationSuffix = [], citationMode = AuthorInText, citationNoteNum = 2, citationHash = 0}] [Str "Fr\252chtel,",Space,Str "Budde,",Space,Str "and",Space,Str "Cyprian",Space,Str "(2013)"]]],Str ""]
+,Para [Str "Some",Space,Str "text.",Note [Para [Cite [Citation {citationId = "fruchtel-sozialer-2013a", citationPrefix = [], citationSuffix = [], citationMode = AuthorInText, citationNoteNum = 2, citationHash = 0}] [Str "Fr\252chtel,",Space,Str "Budde,",Space,Str "and",Space,Str "Cyprian",Space,Str "(2013)"]]]]
,Div ("refs",["references","csl-bib-body","hanging-indent"],[])
[Div ("ref-fruchtel-sozialer-2013a",["csl-entry"],[])
[Para [Str "Fr\252chtel,",Space,Str "Frank,",Space,Str "Wolfgang",Space,Str "Budde,",Space,Str "and",Space,Str "Gudrun",Space,Str "Cyprian.",Space,Str "2013.",Space,Emph [Str "Sozialer",Space,Str "Raum",Space,Str "und",Space,Str "Soziale",Space,Str "Arbeit",Space,Str "Fieldbook:",Space,Str "Methoden",Space,Str "und",Space,Str "Techniken"],Str ".",Space,Str "3rd",Space,Str "ed.",Space,Str "Wiesbaden,",Space,Str "Germany:",Space,Str "Springer",Space,Str "VS."]]]]
diff --git a/test/command/6925.md b/test/command/6925.md
new file mode 100644
index 000000000..e0d8e6870
--- /dev/null
+++ b/test/command/6925.md
@@ -0,0 +1,34 @@
+```
+% pandoc -f latex -t markdown
+\documentclass{amsart}
+\newtheorem{thm}{Theorem}[section]
+\theoremstyle{definition}
+\newtheorem{thm2}[section]{Theorem}
+\begin{document}
+\begin{thm}
+a
+\begin{figure}
+\includegraphics[]{1.png}
+\end{figure}
+\end{thm}
+
+\begin{thm2}
+a
+\begin{figure}
+\includegraphics[]{1.png}
+\end{figure}
+\end{thm2}
+\end{document}
+^D
+::: thm
+**Theorem 1**. *a*
+
+![image](1.png)
+:::
+
+::: thm2
+**Theorem 1**. a
+
+![image](1.png)
+:::
+```
diff --git a/test/command/6948.md b/test/command/6948.md
new file mode 100644
index 000000000..8803aebe9
--- /dev/null
+++ b/test/command/6948.md
@@ -0,0 +1,31 @@
+Treat an image alone in its paragraph (but not a figure)
+as an independent image:
+```
+% pandoc -f native -t rst
+[Para [Image ("",["align-center"],[]) [Str "https://pandoc.org/diagram.jpg"] ("https://pandoc.org/diagram.jpg","")]]
+^D
+.. image:: https://pandoc.org/diagram.jpg
+ :alt: https://pandoc.org/diagram.jpg
+ :align: center
+```
+
+Here we just omit the center attribute as it's not valid:
+```
+% pandoc -f native -t rst
+[Para [Str "hi",Space,Image ("",["align-center"],[]) [Str "https://pandoc.org/diagram.jpg"] ("https://pandoc.org/diagram.jpg","")]]
+^D
+hi |https://pandoc.org/diagram.jpg|
+
+.. |https://pandoc.org/diagram.jpg| image:: https://pandoc.org/diagram.jpg
+```
+
+But we can use top, middle, or bottom alignment:
+```
+% pandoc -f native -t rst
+[Para [Str "hi",Space,Image ("",["align-top"],[]) [Str "https://pandoc.org/diagram.jpg"] ("https://pandoc.org/diagram.jpg","")]]
+^D
+hi |https://pandoc.org/diagram.jpg|
+
+.. |https://pandoc.org/diagram.jpg| image:: https://pandoc.org/diagram.jpg
+ :align: top
+```
diff --git a/test/command/6951.md b/test/command/6951.md
new file mode 100644
index 000000000..4a6301d80
--- /dev/null
+++ b/test/command/6951.md
@@ -0,0 +1,18 @@
+```
+% pandoc --citeproc -t plain --bibliography command/biblio.bib
+---
+references:
+- id: foo
+ title: Crazy
+ type: book
+...
+
+[@foo; @item1]
+
+^D
+(Crazy, n.d.; Doe 2005)
+
+Crazy. n.d.
+
+Doe, John. 2005. First Book. Cambridge: Cambridge University Press.
+```
diff --git a/test/command/6958.md b/test/command/6958.md
new file mode 100644
index 000000000..230371d7d
--- /dev/null
+++ b/test/command/6958.md
@@ -0,0 +1,10 @@
+Add thin space between single and double quotes.
+```
+% pandoc -t latex+smart
+---
+lang: en-GB
+---
+'["On the Outside"]{}: Constructing Cycling Citizenship.'
+^D
+`\,{``On the Outside''}: Constructing Cycling Citizenship.'
+```
diff --git a/test/command/6993.md b/test/command/6993.md
new file mode 100644
index 000000000..b7f7f5384
--- /dev/null
+++ b/test/command/6993.md
@@ -0,0 +1,21 @@
+```
+% pandoc -f mediawiki -t native
+'''Should be bold '''
+^D
+[Para [Strong [Str "Should",Space,Str "be",Space,Str "bold"]]]
+```
+
+```
+% pandoc -f mediawiki -t native
+''' Should be bold'''
+^D
+[Para [Strong [Str "Should",Space,Str "be",Space,Str "bold"]]]
+```
+
+```
+% pandoc -f mediawiki -t native
+'' Should be emph ''
+^D
+[Para [Emph [Str "Should",Space,Str "be",Space,Str "emph"]]]
+```
+
diff --git a/test/command/7003.md b/test/command/7003.md
new file mode 100644
index 000000000..1f6275943
--- /dev/null
+++ b/test/command/7003.md
@@ -0,0 +1,37 @@
+```
+% pandoc -f latex -t native
+\documentclass{article}
+\usepackage{listings}
+
+\lstset{basicstyle=\ttfamily}
+
+\begin{filecontents*}[overwrite]{example.tex}
+\documentclass{article}
+\begin{document}
+\section{Bar}
+This a Bar section
+\end{document}
+\end{filecontents*}
+
+\begin{document}
+
+\section{With lstlisting environment}
+
+\begin{lstlisting}
+\documentclass{article}
+\begin{document}
+\section{Foo}
+This a Foo section
+\end{document}
+\end{lstlisting}
+
+\section{With lstinputlisting command}
+
+\lstinputlisting{example.tex}
+\end{document}
+^D
+[Header 1 ("with-lstlisting-environment",[],[]) [Str "With",Space,Str "lstlisting",Space,Str "environment"]
+,CodeBlock ("",[],[]) "\\documentclass{article}\n\\begin{document}\n\\section{Foo}\nThis a Foo section\n\\end{document}"
+,Header 1 ("with-lstinputlisting-command",[],[]) [Str "With",Space,Str "lstinputlisting",Space,Str "command"]
+,CodeBlock ("",["latex"],[]) "\\documentclass{article}\n\\begin{document}\n\\section{Bar}\nThis a Bar section\n\\end{document}"]
+```
diff --git a/test/command/7006.md b/test/command/7006.md
new file mode 100644
index 000000000..e7951fb1a
--- /dev/null
+++ b/test/command/7006.md
@@ -0,0 +1,20 @@
+```
+% pandoc -t html
+Test.[^fn]
+
+[^fn]: Foo:
+
+ ![Caption.](/image.jpg)
+^D
+<p>Test.<a href="#fn1" class="footnote-ref" id="fnref1" role="doc-noteref"><sup>1</sup></a></p>
+<section class="footnotes" role="doc-endnotes">
+<hr />
+<ol>
+<li id="fn1" role="doc-endnote"><p>Foo:</p>
+<figure>
+<img src="/image.jpg" alt="Caption." /><figcaption aria-hidden="true">Caption.</figcaption>
+</figure>
+<a href="#fnref1" class="footnote-back" role="doc-backlink">↩︎</a></li>
+</ol>
+</section>
+```
diff --git a/test/command/7009.md b/test/command/7009.md
new file mode 100644
index 000000000..a060c6076
--- /dev/null
+++ b/test/command/7009.md
@@ -0,0 +1,8 @@
+```
+% pandoc -t gfm
+3. a
+4. b
+^D
+3. a
+4. b
+```
diff --git a/test/command/7016.md b/test/command/7016.md
new file mode 100644
index 000000000..c2d791ce9
--- /dev/null
+++ b/test/command/7016.md
@@ -0,0 +1,48 @@
+```
+% pandoc --citeproc --to=jats_archiving --standalone
+---
+csl: command/apa.csl
+references:
+- id: doe
+ type: article
+ author:
+ - family: Doe
+ given: Jane
+ container-title: Proceedings of the Academy of Test Inputs
+ doi: 10.x/nope
+ issued: 2021
+ title: Another article
+...
+Blah [@doe].
+^D
+<?xml version="1.0" encoding="utf-8" ?>
+<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.2 20190208//EN"
+ "JATS-archivearticle1.dtd">
+<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="1.2" article-type="other">
+<front>
+<journal-meta>
+<journal-id></journal-id>
+<journal-title-group>
+</journal-title-group>
+<issn></issn>
+<publisher>
+<publisher-name></publisher-name>
+</publisher>
+</journal-meta>
+<article-meta>
+</article-meta>
+</front>
+<body>
+<p>Blah (Doe, 2021).</p>
+</body>
+<back>
+<ref-list>
+ <ref id="ref-doe">
+ <mixed-citation>Doe, J. (2021). Another article. <italic>Proceedings
+ of the Academy of Test Inputs</italic>.
+ doi:<ext-link ext-link-type="uri" xlink:href="https://doi.org/10.x/nope">10.x/nope</ext-link></mixed-citation>
+ </ref>
+</ref-list>
+</back>
+</article>
+```
diff --git a/test/command/7041.md b/test/command/7041.md
new file mode 100644
index 000000000..1773963b8
--- /dev/null
+++ b/test/command/7041.md
@@ -0,0 +1,23 @@
+```
+% pandoc -f html -t jats
+<table>
+ <tr><td><blockquote>Fly, you fools!</blockquote></td></tr>
+</table>
+^D
+<table-wrap>
+ <table>
+ <colgroup>
+ <col width="100%" />
+ </colgroup>
+ <tbody>
+ <tr>
+ <td><p specific-use="wrapper">
+ <disp-quote>
+ <p>Fly, you fools!</p>
+ </disp-quote>
+ </p></td>
+ </tr>
+ </tbody>
+ </table>
+</table-wrap>
+```
diff --git a/test/command/7042.md b/test/command/7042.md
new file mode 100644
index 000000000..de0294da3
--- /dev/null
+++ b/test/command/7042.md
@@ -0,0 +1,146 @@
+```
+% pandoc -f markdown -t jats_publishing+element_citations --citeproc -s
+---
+nocite: "[@*]"
+references:
+- author:
+ - family: Jane
+ given: Doe
+ container-title: Public Library of Tests
+ id: year-month
+ issued: 1999-08
+ title: Year and month
+ type: article-journal
+- accessed: 1999-01-22
+ author:
+ - family: Negidius
+ given: Numerius
+ container-title: Public Library of Tests
+ id: access-date
+ issued: 1911-10-03
+ title: Entry with access date
+ type: article-journal
+- author:
+ - family: Beethoven
+ given: Ludwig
+ dropping-particle: van
+ - family: Bray
+ given: Jan
+ non-dropping-particle: de
+ container-title: Public Library of Tests
+ id: name-particles
+ issued: 1820
+ title: Name particles, dropping and non-dropping
+ type: article-journal
+- author:
+ - 宮水 三葉
+ - 立花 瀧
+ title: Big Book of Tests
+ id: book-with-japanese-authors
+ issued: 2016
+ type: book
+- author:
+ - family: Watson
+ given: J. D.
+ - family: Crick
+ given: F. H. C.
+ container-title: Nature
+ doi: '10.1038/171737a0'
+ id: full-journal-article-entry
+ issue: 4356
+ issued: '1953-04-01'
+ pages: 737-738
+ pmid: 13054692
+ title: 'Molecular Structure of Nucleic Acids: A Structure for Deoxyribose Nucleic Acid'
+ type: article-journal
+ volume: 171
+...
+^D
+<?xml version="1.0" encoding="utf-8" ?>
+<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.2 20190208//EN"
+ "JATS-publishing1.dtd">
+<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="1.2" article-type="other">
+<front>
+<journal-meta>
+<journal-id></journal-id>
+<journal-title-group>
+</journal-title-group>
+<issn></issn>
+<publisher>
+<publisher-name></publisher-name>
+</publisher>
+</journal-meta>
+<article-meta>
+</article-meta>
+</front>
+<body>
+
+</body>
+<back>
+<ref-list>
+ <ref-list>
+ <ref id="ref-year-month">
+ <element-citation publication-type="article-journal">
+ <person-group person-group-type="author">
+ <name><surname>Jane</surname><given-names>Doe</given-names></name>
+ </person-group>
+ <article-title>Year and month</article-title>
+ <source>Public Library of Tests</source>
+ <year iso-8601-date="1999-08">1999</year><month>08</month>
+ </element-citation>
+ </ref>
+ <ref id="ref-access-date">
+ <element-citation publication-type="article-journal">
+ <person-group person-group-type="author">
+ <name><surname>Negidius</surname><given-names>Numerius</given-names></name>
+ </person-group>
+ <article-title>Entry with access date</article-title>
+ <source>Public Library of Tests</source>
+ <year iso-8601-date="1911-10-03">1911</year><month>10</month><day>03</day>
+ <date-in-citation content-type="access-date"><year iso-8601-date="1999-01-22">1999</year><month>01</month><day>22</day></date-in-citation>
+ </element-citation>
+ </ref>
+ <ref id="ref-name-particles">
+ <element-citation publication-type="article-journal">
+ <person-group person-group-type="author">
+ <name><surname>Beethoven</surname><given-names>Ludwig van</given-names></name>
+ <name><surname>de Bray</surname><given-names>Jan</given-names></name>
+ </person-group>
+ <article-title>Name particles, dropping and non-dropping</article-title>
+ <source>Public Library of Tests</source>
+ <year iso-8601-date="1820">1820</year>
+ </element-citation>
+ </ref>
+ <ref id="ref-book-with-japanese-authors">
+ <element-citation publication-type="book">
+ <person-group person-group-type="author">
+ <string-name>宮水 三葉</string-name>
+ <string-name>立花 瀧</string-name>
+ </person-group>
+ <source>Big Book of Tests</source>
+ <year iso-8601-date="2016">2016</year>
+ </element-citation>
+ </ref>
+ <ref id="ref-full-journal-article-entry">
+ <element-citation publication-type="article-journal">
+ <person-group person-group-type="author">
+ <name><surname>Watson</surname><given-names>J. D.</given-names></name>
+ <name><surname>Crick</surname><given-names>F. H. C.</given-names></name>
+ </person-group>
+ <article-title>Molecular Structure of Nucleic Acids: A Structure for Deoxyribose Nucleic Acid</article-title>
+ <source>Nature</source>
+ <year iso-8601-date="1953-04-01">1953</year><month>04</month><day>01</day>
+ <volume>171</volume>
+ <issue>4356</issue>
+ <fpage>737</fpage>
+ <page-range>737-738</page-range>
+ <pub-id pub-id-type="doi">10.1038/171737a0</pub-id>
+ <pub-id pub-id-type="pmid">13054692</pub-id>
+ </element-citation>
+ </ref>
+ </ref-list>
+</ref-list>
+</back>
+</article>
+
+```
diff --git a/test/command/7058.md b/test/command/7058.md
new file mode 100644
index 000000000..69e5dd445
--- /dev/null
+++ b/test/command/7058.md
@@ -0,0 +1,6 @@
+```
+% pandoc -f latex -t markdown
+5\(-\)8 \(x\)
+^D
+5$-$`<!-- -->`{=html}8 $x$
+```
diff --git a/test/command/7064.md b/test/command/7064.md
new file mode 100644
index 000000000..58b72e363
--- /dev/null
+++ b/test/command/7064.md
@@ -0,0 +1,32 @@
+```
+% pandoc -f rst -t html
+.. csv-table:: Changes
+ :header: "Version", "Date", "Description"
+ :widths: 15, 15, 70
+ :delim: $
+
+ 0.1.0 $ 18/02/2013 $ Initial Release
+^D
+<table>
+<caption>Changes</caption>
+<colgroup>
+<col style="width: 15%" />
+<col style="width: 15%" />
+<col style="width: 70%" />
+</colgroup>
+<thead>
+<tr class="header">
+<th>Version</th>
+<th>Date</th>
+<th>Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td>0.1.0</td>
+<td>18/02/2013</td>
+<td>Initial Release</td>
+</tr>
+</tbody>
+</table>
+```
diff --git a/test/command/7067.md b/test/command/7067.md
new file mode 100644
index 000000000..34b3bb8ea
--- /dev/null
+++ b/test/command/7067.md
@@ -0,0 +1,90 @@
+```
+% pandoc -t biblatex
+---
+references:
+- id: garaud
+ author:
+ - family: Garaud
+ given: Marcel
+ container-title: Bulletin de la Societé des antiquaires de l’Ouest
+ collection-title: 4
+ issued:
+ - year: 1967
+ language: fr-FR
+ page: 11-27
+ title: Recherches sur les défrichements dans la Gâtine poitevine aux XI^e^ et XII^e^ siècles
+ type: article-journal
+ volume: 9
+...
+^D
+@article{garaud,
+ author = {Garaud, Marcel},
+ title = {Recherches sur les défrichements dans la Gâtine poitevine aux
+ XI\textsuperscript{e} et XII\textsuperscript{e} siècles},
+ journal = {Bulletin de la Societé des antiquaires de l’Ouest},
+ series = {4},
+ volume = {9},
+ pages = {11-27},
+ date = {1967},
+ langid = {fr-FR}
+}
+```
+
+```
+% pandoc -t bibtex
+---
+references:
+- id: garaud
+ author:
+ - family: Garaud
+ given: Marcel
+ container-title: Bulletin de la Société des antiquaires de l’Ouest
+ collection-title: 4
+ issued:
+ - year: 1967
+ language: fr-FR
+ page: 11-27
+ title: Recherches sur les défrichements dans la Gâtine poitevine aux XI^e^ et XII^e^ siècles
+ type: article-journal
+ volume: 9
+...
+^D
+@article{garaud,
+ author = {Garaud, Marcel},
+ title = {{Recherches sur les défrichements dans la Gâtine poitevine
+ aux XI\textsuperscript{e} et XII\textsuperscript{e} siècles}},
+ journal = {Bulletin de la Société des antiquaires de l’Ouest},
+ series = {4},
+ volume = {9},
+ pages = {11-27},
+ year = {1967}
+}
+```
+
+This tests the titlecasing of a word with an accented second letter:
+```
+% pandoc -t bibtex
+---
+references:
+- id: garaud
+ author:
+ - family: Garaud
+ given: Marcel
+ container-title: English Journal
+ issued:
+ - year: 1967
+ language: en-US
+ title: Research on the défrichements in the Gâtine poitevine
+ type: article-journal
+ volume: 9
+...
+^D
+@article{garaud,
+ author = {Garaud, Marcel},
+ title = {Research on the Défrichements in the {Gâtine} Poitevine},
+ journal = {English Journal},
+ volume = {9},
+ year = {1967}
+}
+```
+
diff --git a/test/command/7080.md b/test/command/7080.md
new file mode 100644
index 000000000..0727c1083
--- /dev/null
+++ b/test/command/7080.md
@@ -0,0 +1,8 @@
+```
+% pandoc -f markdown_mmd -t native
+![][image]
+
+[image]: image.png width=100px height=150px
+^D
+[Para [Image ("",[],[("width","100px"),("height","150px")]) [] ("image.png","")]]
+```
diff --git a/test/command/7092.md b/test/command/7092.md
new file mode 100644
index 000000000..e7f127244
--- /dev/null
+++ b/test/command/7092.md
@@ -0,0 +1,8 @@
+```
+% pandoc -flatex+raw_tex -t native
+\newcommand{\em}[1]{\emph{#1}}
+
+\em{\parseMe{foo}}
+^D
+[Para [Emph [RawInline (Format "latex") "\\parseMe{foo}"]]]
+```
diff --git a/test/command/7099.md b/test/command/7099.md
new file mode 100644
index 000000000..467b22a16
--- /dev/null
+++ b/test/command/7099.md
@@ -0,0 +1,18 @@
+```
+% pandoc -f html -t native --verbose
+<iframe src=""></iframe>
+^D
+[INFO] Skipped '<iframe src></iframe>' at input line 1 column 16
+[]
+```
+
+```
+% pandoc -f html -t native --verbose
+<iframe src="h:invalid@url"></iframe>
+^D
+[INFO] Fetching h:invalid@url...
+[WARNING] Could not fetch resource h:invalid@url: Could not fetch h:invalid@url
+ InvalidUrlException "h:invalid@url" "Invalid scheme"
+[INFO] Skipped '<iframe src="h:invalid@url"></iframe>' at input line 1 column 29
+[]
+```
diff --git a/test/command/7112.md b/test/command/7112.md
new file mode 100644
index 000000000..a75b9250a
--- /dev/null
+++ b/test/command/7112.md
@@ -0,0 +1,15 @@
+```
+% pandoc -f rst
+.. csv-table::
+
+ setting, ``echo PATH="path"``
+^D
+<table>
+<tbody>
+<tr class="odd">
+<td>setting</td>
+<td><code>echo PATH="path"</code></td>
+</tr>
+</tbody>
+</table>
+```
diff --git a/test/command/7129.md b/test/command/7129.md
new file mode 100644
index 000000000..fef4ca2c3
--- /dev/null
+++ b/test/command/7129.md
@@ -0,0 +1,27 @@
+```
+% pandoc -f latex -t native
+\begin{tabular}{ll} \hline
+ FOO & BAR \\ \hline
+ foo & \verb|b&r| \\ \hline
+\end{tabular}
+^D
+[Table ("",[],[]) (Caption Nothing
+ [])
+ [(AlignLeft,ColWidthDefault)
+ ,(AlignLeft,ColWidthDefault)]
+ (TableHead ("",[],[])
+ [Row ("",[],[])
+ [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Plain [Str "FOO"]]
+ ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Plain [Str "BAR"]]]])
+ [(TableBody ("",[],[]) (RowHeadColumns 0)
+ []
+ [Row ("",[],[])
+ [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Plain [Str "foo"]]
+ ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Plain [Code ("",[],[]) "b&r"]]]])]
+ (TableFoot ("",[],[])
+ [])]
+```
diff --git a/test/command/7132.md b/test/command/7132.md
new file mode 100644
index 000000000..30d4c0b3b
--- /dev/null
+++ b/test/command/7132.md
@@ -0,0 +1,10 @@
+```
+% pandoc -f markdown -t org --columns=72
+- This line has exactly the wrong number of characters before the number 5.
+- Long line ending with a number (this time it is in parentheses and a 23)
+^D
+- This line has exactly the wrong number of characters before the
+ number 5.
+- Long line ending with a number (this time it is in parentheses and
+ a 23)
+```
diff --git a/test/command/7134.md b/test/command/7134.md
new file mode 100644
index 000000000..c69ae4bd0
--- /dev/null
+++ b/test/command/7134.md
@@ -0,0 +1,16 @@
+```
+% pandoc -f rst -t native
+This is a paragraph.
+
+ This is a block quote.
+
+..
+
+ This should be a second block quote.
+^D
+[Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "paragraph."]
+,BlockQuote
+ [Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "block",Space,Str "quote."]]
+,BlockQuote
+ [Para [Str "This",Space,Str "should",Space,Str "be",Space,Str "a",Space,Str "second",Space,Str "block",Space,Str "quote."]]]
+```
diff --git a/test/command/7145.md b/test/command/7145.md
new file mode 100644
index 000000000..a04345890
--- /dev/null
+++ b/test/command/7145.md
@@ -0,0 +1,12 @@
+```
+% pandoc -f mediawiki -t native
+Maecenas at sapien tempor, pretium turpis ut, imperdiet augue.<ref>This is a multiline
+
+reference
+<i>with</i>
+empty
+
+linebreaks</ref> Nulla ut massa eget ex venenatis lobortis id in eros.
+^D
+[Para [Str "Maecenas",Space,Str "at",Space,Str "sapien",Space,Str "tempor,",Space,Str "pretium",Space,Str "turpis",Space,Str "ut,",Space,Str "imperdiet",Space,Str "augue.",Note [Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "multiline"],Para [Str "reference",SoftBreak,RawInline (Format "html") "<i>",Str "with",RawInline (Format "html") "</i>",SoftBreak,Str "empty"],Para [Str "linebreaks"]],Space,Str "Nulla",Space,Str "ut",Space,Str "massa",Space,Str "eget",Space,Str "ex",Space,Str "venenatis",Space,Str "lobortis",Space,Str "id",Space,Str "in",Space,Str "eros."]]
+```
diff --git a/test/command/7155.md b/test/command/7155.md
new file mode 100644
index 000000000..49358bf97
--- /dev/null
+++ b/test/command/7155.md
@@ -0,0 +1,15 @@
+```
+% pandoc -f markdown+tex_math_single_backslash -t native
+\(x\) \[x\]
+\\(x\\) \\[x\\]
+^D
+[Para [Math InlineMath "x",Space,Math DisplayMath "x",SoftBreak,Str "\\(x\\)",Space,Str "\\[x\\]"]]
+```
+
+```
+% pandoc -f markdown+tex_math_double_backslash -t native
+\(x\) \[x\]
+\\(x\\) \\[x\\]
+^D
+[Para [Str "(x)",Space,Str "[x]",SoftBreak,Math InlineMath "x",Space,Math DisplayMath "x"]]
+```
diff --git a/test/command/7173.md b/test/command/7173.md
new file mode 100644
index 000000000..2599dc19b
--- /dev/null
+++ b/test/command/7173.md
@@ -0,0 +1,137 @@
+```
+% pandoc -f docbook -t latex
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE article PUBLIC "-//W3C//DTD MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/mathml2.dtd">
+<?xml-model href="http://www.oxygenxml.com/docbook/xml/5.0/rng/dbmathml.rng" schematypens="http://relaxng.org/ns/structure/1.0"?>
+<?xml-model href="http://docbook.org/xml/5.0/rng/docbook.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
+<article xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ version="5.1">
+ <title>Untitled Document</title>
+ <para>Word</para>
+ <informalequation>
+ <alt role='tex'>1+2</alt>
+ <m:math xmlns:m="http://www.w3.org/1998/Math/MathML">
+ <m:mrow>
+ <m:mrow><m:mn>1</m:mn><m:mo>+</m:mo><m:mn>2</m:mn>
+ </m:mrow>
+ </m:mrow>
+ </m:math>
+ </informalequation>
+</article>
+^D
+Word
+
+\[1 + 2\]
+```
+
+```
+% pandoc -f docbook -t latex
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE article PUBLIC "-//W3C//DTD MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/mathml2.dtd">
+<?xml-model href="http://www.oxygenxml.com/docbook/xml/5.0/rng/dbmathml.rng" schematypens="http://relaxng.org/ns/structure/1.0"?>
+<?xml-model href="http://docbook.org/xml/5.0/rng/docbook.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
+<article xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ version="5.1">
+ <title>Untitled Document</title>
+ <para>Word</para>
+ <informalequation>
+ <alt role='tex'>1+2</alt>
+ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML">
+ <mml:mrow>
+ <mml:mrow><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mn>2</mml:mn>
+ </mml:mrow>
+ </mml:mrow>
+ </mml:math>
+ </informalequation>
+</article>
+^D
+Word
+
+\[1 + 2\]
+```
+
+```
+% pandoc -f docbook -t latex
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE article PUBLIC "-//W3C//DTD MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/mathml2.dtd">
+<?xml-model href="http://www.oxygenxml.com/docbook/xml/5.0/rng/dbmathml.rng" schematypens="http://relaxng.org/ns/structure/1.0"?>
+<?xml-model href="http://docbook.org/xml/5.0/rng/docbook.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
+<article xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ version="5.1">
+ <title>Untitled Document</title>
+ <para>Word</para>
+ <informalequation>
+ <alt role='tex'>1+2</alt>
+ <math xmlns="http://www.w3.org/1998/Math/MathML">
+ <mrow>
+ <mrow><mn>1</mn><mo>+</mo><mn>2</mn>
+ </mrow>
+ </mrow>
+ </math>
+ </informalequation>
+</article>
+^D
+Word
+
+\[1 + 2\]
+```
+
+```
+% pandoc -f docbook -t latex
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE article PUBLIC "-//W3C//DTD MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/mathml2.dtd">
+<?xml-model href="http://www.oxygenxml.com/docbook/xml/5.0/rng/dbmathml.rng" schematypens="http://relaxng.org/ns/structure/1.0"?>
+<?xml-model href="http://docbook.org/xml/5.0/rng/docbook.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
+<article xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:m="http://www.w3.org/1998/Math/MathML"
+ version="5.1">
+ <title>Untitled Document</title>
+ <para>Word</para>
+ <informalequation>
+ <alt role='tex'>1+2</alt>
+ <m:math>
+ <m:mrow>
+ <m:mrow><m:mn>1</m:mn><m:mo>+</m:mo><m:mn>2</m:mn>
+ </m:mrow>
+ </m:mrow>
+ </m:math>
+ </informalequation>
+</article>
+^D
+Word
+
+\[1 + 2\]
+```
+
+```
+% pandoc -f docbook -t latex
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE article PUBLIC "-//W3C//DTD MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/mathml2.dtd">
+<?xml-model href="http://www.oxygenxml.com/docbook/xml/5.0/rng/dbmathml.rng" schematypens="http://relaxng.org/ns/structure/1.0"?>
+<?xml-model href="http://docbook.org/xml/5.0/rng/docbook.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
+<article xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:mml="http://www.w3.org/1998/Math/MathML"
+ version="5.1">
+ <title>Untitled Document</title>
+ <para>Word</para>
+ <informalequation>
+ <alt role='tex'>1+2</alt>
+ <mml:math>
+ <mml:mrow>
+ <mml:mrow><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mn>2</mml:mn>
+ </mml:mrow>
+ </mml:mrow>
+ </mml:math>
+ </informalequation>
+</article>
+^D
+Word
+
+\[1 + 2\]
+```
+
diff --git a/test/command/7208.md b/test/command/7208.md
new file mode 100644
index 000000000..fe02ec32e
--- /dev/null
+++ b/test/command/7208.md
@@ -0,0 +1,6 @@
+```
+% pandoc -t gfm
+\<hi\>
+^D
+\<hi>
+```
diff --git a/test/command/7214.md b/test/command/7214.md
new file mode 100644
index 000000000..43bf9e4ca
--- /dev/null
+++ b/test/command/7214.md
@@ -0,0 +1,28 @@
+```
+% pandoc
++------------+----------+------------------+
+|日本語 | の文字列 | words in english |
++------------+----------+------------------+
+|abc defghij | def | xyz |
++------------+----------+------------------+
+^D
+<table style="width:60%;">
+<colgroup>
+<col style="width: 18%" />
+<col style="width: 15%" />
+<col style="width: 26%" />
+</colgroup>
+<tbody>
+<tr class="odd">
+<td>日本語</td>
+<td>の文字列</td>
+<td>words in english</td>
+</tr>
+<tr class="even">
+<td>abc defghij</td>
+<td>def</td>
+<td>xyz</td>
+</tr>
+</tbody>
+</table>
+```
diff --git a/test/command/7216.md b/test/command/7216.md
new file mode 100644
index 000000000..cab3b9689
--- /dev/null
+++ b/test/command/7216.md
@@ -0,0 +1,19 @@
+```
+pandoc -t latex
+"This is some text in quotes. Another paragraph by the same speaker follows. The first paragraph should have no close quote.
+
+"The second paragraph should have open and close quotes."
+
+| "Open quote on this line,
+| Close quote on the next line."
+| "Quotes on the same line."
+^D
+``This is some text in quotes. Another paragraph by the same speaker
+follows. The first paragraph should have no close quote.
+
+``The second paragraph should have open and close quotes.''
+
+``Open quote on this line,\\
+Close quote on the next line.''\\
+``Quotes on the same line.''
+```
diff --git a/test/command/7266.md b/test/command/7266.md
new file mode 100644
index 000000000..9db833636
--- /dev/null
+++ b/test/command/7266.md
@@ -0,0 +1,10 @@
+```
+% pandoc -f biblatex -t biblatex -s
+@article{id,
+ annote = "annotation"
+}
+^D
+@article{id,
+ annote = {annotation}
+}
+```
diff --git a/test/command/7272.md b/test/command/7272.md
new file mode 100644
index 000000000..d27b25143
--- /dev/null
+++ b/test/command/7272.md
@@ -0,0 +1,27 @@
+```
+% pandoc -t latex -f html
+<table>
+ <tbody>
+ <tr>
+ <td>
+ <span>
+ text
+ <br />
+ text2
+ </span>
+ </td>
+ </tr>
+ </tbody>
+</table>
+^D
+\begin{longtable}[]{@{}
+ >{\raggedright\arraybackslash}p{(\columnwidth - 0\tabcolsep) * \real{1.00}}@{}}
+\toprule
+\endhead
+\begin{minipage}[t]{\linewidth}\raggedright
+{ text\\
+text2 }\strut
+\end{minipage} \\
+\bottomrule
+\end{longtable}
+```
diff --git a/test/command/7278.md b/test/command/7278.md
new file mode 100644
index 000000000..dcf71c29f
--- /dev/null
+++ b/test/command/7278.md
@@ -0,0 +1,38 @@
+```
+% pandoc -t beamer
+# Slide
+
+Some blocks:
+
+## example block title {.example}
+
+text in block
+
+## alert block title {.alert}
+
+text in block
+
+## block title
+
+text in block
+^D
+\begin{frame}{Slide}
+\protect\hypertarget{slide}{}
+Some blocks:
+
+\begin{exampleblock}{example block title}
+\protect\hypertarget{example-block-title}{}
+text in block
+\end{exampleblock}
+
+\begin{alertblock}{alert block title}
+\protect\hypertarget{alert-block-title}{}
+text in block
+\end{alertblock}
+
+\begin{block}{block title}
+\protect\hypertarget{block-title}{}
+text in block
+\end{block}
+\end{frame}
+```
diff --git a/test/command/7282.md b/test/command/7282.md
new file mode 100644
index 000000000..4ed6b5b3e
--- /dev/null
+++ b/test/command/7282.md
@@ -0,0 +1,7 @@
+Don't crash on unmatched closing tag.
+```
+% pandoc -f html -t native
+</script>
+^D
+[]
+```
diff --git a/test/command/7288.md b/test/command/7288.md
new file mode 100644
index 000000000..e94aeeeb3
--- /dev/null
+++ b/test/command/7288.md
@@ -0,0 +1,40 @@
+```
+% pandoc -f rst -t ms
+.. list-table::
+ :widths: 50 50
+ :header-rows: 1
+
+ * - Left
+ - Right
+ * - Long text that should be easy to break up into multiple lines
+ - Another long text that should be easy to break up into multiple lines
+
+ Bar
+^D
+.PP
+.na
+.nr LLold \n[LL]
+.TS
+delim(@@) tab( );
+lw(35.0n) lw(35.0n).
+T{
+Left
+T} T{
+Right
+T}
+_
+T{
+.nr LL 35.0n
+.LP
+Long text that should be easy to break up into multiple lines
+T} T{
+.nr LL 35.0n
+.PP
+Another long text that should be easy to break up into multiple lines
+.PP
+Bar
+T}
+.TE
+.nr LL \n[LLold]
+.ad
+```
diff --git a/test/command/7299.md b/test/command/7299.md
new file mode 100644
index 000000000..0847c40ce
--- /dev/null
+++ b/test/command/7299.md
@@ -0,0 +1,23 @@
+```
+% pandoc -f latex -t plain
+$1-{\ensuremath{r}\xspace}$
+^D
+1 − r
+```
+
+```
+% pandoc -f latex -t plain
+\newcommand{\foo}{Foo\xspace}
+
+$\text{\foo bar}$
+^D
+Foo bar
+```
+
+```
+% pandoc -f latex -t plain
+a\xspace b
+^D
+a b
+```
+
diff --git a/test/command/7321.md b/test/command/7321.md
new file mode 100644
index 000000000..f5e644bee
--- /dev/null
+++ b/test/command/7321.md
@@ -0,0 +1,24 @@
+```
+% pandoc -t plain --citeproc --wrap=none
+---
+references:
+- id: fenner2012a
+ title: One-click science marketing
+ author:
+ - family: Fenner
+ given: Martin
+ container-title: Nature Materials
+ volume: 11
+ issue: 4
+ publisher: Nature Publishing Group
+ type: article-journal
+ issued:
+ year: 2012
+---
+
+[@fenner2012a, $a^2+b^2=c^2$]
+^D
+(Fenner 2012, a² + b² = c²)
+
+Fenner, Martin. 2012. “One-Click Science Marketing.” Nature Materials 11 (4).
+```
diff --git a/test/command/7323.md b/test/command/7323.md
new file mode 100644
index 000000000..7de29cfe2
--- /dev/null
+++ b/test/command/7323.md
@@ -0,0 +1,29 @@
+```
+% pandoc --citeproc -t plain
+---
+references:
+- id: smith
+ author: John Smith
+ issued: 2019
+ title: Insects
+ type: book
+...
+
+@smith [chap. 6]
+
+@smith [chapter 6]
+
+@smith [Chap. 6]
+
+@smith [Chapter 6]
+^D
+John Smith (2019, chap. 6)
+
+John Smith (2019, chap. 6)
+
+John Smith (2019, chap. 6)
+
+John Smith (2019, chap. 6)
+
+John Smith. 2019. Insects.
+```
diff --git a/test/command/7324.md b/test/command/7324.md
new file mode 100644
index 000000000..fae1b9923
--- /dev/null
+++ b/test/command/7324.md
@@ -0,0 +1,25 @@
+```
+% pandoc --citeproc -t plain
+---
+references:
+- id: smith
+ author: John Smith
+ issued: 2019
+ title: Insects
+ type: book
+...
+
+@smith [, among others]
+
+@smith [ among others]
+
+@smith [among others]
+^D
+John Smith (2019, among others)
+
+John Smith (2019 among others)
+
+John Smith (2019, among others)
+
+John Smith. 2019. Insects.
+```
diff --git a/test/command/7339.md b/test/command/7339.md
new file mode 100644
index 000000000..9697c1c32
--- /dev/null
+++ b/test/command/7339.md
@@ -0,0 +1,11 @@
+```
+% pandoc -f gfm -s -t native
+---
+title: Test
+---
+
+Hi
+^D
+Pandoc (Meta {unMeta = fromList [("title",MetaInlines [Str "Test"])]})
+[Para [Str "Hi"]]
+```
diff --git a/test/command/7340.md b/test/command/7340.md
new file mode 100644
index 000000000..25decd732
--- /dev/null
+++ b/test/command/7340.md
@@ -0,0 +1,6 @@
+```
+% pandoc -f latex -t native
+\(*\)
+^D
+[Para [Math InlineMath "*"]]
+```
diff --git a/test/command/7376.md b/test/command/7376.md
new file mode 100644
index 000000000..229c61cfb
--- /dev/null
+++ b/test/command/7376.md
@@ -0,0 +1,16 @@
+```
+% pandoc --citeproc -t plain
+---
+references:
+- id: item1
+ type: book
+ author:
+ - family: Doe
+ given: Jane
+ issued: 2020
+ title: The title
+...
+^D
+
+
+```
diff --git a/test/command/7394.md b/test/command/7394.md
new file mode 100644
index 000000000..d6eb769b9
--- /dev/null
+++ b/test/command/7394.md
@@ -0,0 +1,85 @@
+```
+% pandoc -f markdown -t plain --citeproc
+---
+csl: command/chicago-fullnote-bibliography.csl
+references:
+- author:
+ - family: Wandt
+ given: Manfred
+ edition: 6
+ id: wandt2014ges-sv
+ issued: 2014
+ publisher: Franz Vahlen
+ publisher-place: München
+ title: Gesetzliche schuldverhältnisse
+ title-short: Gesetzl SV
+ type: book
+- author:
+ - family: Smith
+ given: Zenda
+ edition: 6
+ id: smith2015
+ issued: 2015
+ publisher: Macmillan
+ publisher-place: New York
+ title: A verb and a noun
+ type: book
+---
+
+Hi^[@wandt2014ges-sv.].
+
+Hi^[[@wandt2014ges-sv].].
+
+Hi^[[See also @wandt2014ges-sv].].
+
+Hi^[See also @wandt2014ges-sv.].
+
+Hi^[@wandt2014ges-sv [@smith2015].].
+
+Hi^[[@wandt2014ges-sv; @smith2015].].
+
+Hi [@wandt2014ges-sv].
+
+Hi [see also @wandt2014ges-sv].
+
+^D
+Hi[1].
+
+Hi[2].
+
+Hi[3].
+
+Hi[4].
+
+Hi[5].
+
+Hi[6].
+
+Hi.[7]
+
+Hi.[8]
+
+Smith, Zenda. A Verb and a Noun. 6th ed. New York: Macmillan, 2015.
+
+Wandt, Manfred. Gesetzliche Schuldverhältnisse. 6th ed. München: Franz
+Vahlen, 2014.
+
+[1] Manfred Wandt, Gesetzliche Schuldverhältnisse, 6th ed. (München:
+Franz Vahlen, 2014).
+
+[2] Wandt.
+
+[3] See also Wandt.
+
+[4] See also Wandt.
+
+[5] Wandt, Zenda Smith, A Verb and a Noun, 6th ed. (New York: Macmillan,
+2015).
+
+[6] Wandt, Gesetzl SV; Smith, A Verb and a Noun.
+
+[7] Wandt, Gesetzl SV.
+
+[8] See also Wandt.
+```
+
diff --git a/test/command/7397.md b/test/command/7397.md
new file mode 100644
index 000000000..24ce391b0
--- /dev/null
+++ b/test/command/7397.md
@@ -0,0 +1,14 @@
+````
+% pandoc -t markdown
+~~~~ { .haskell startFrom="100"}
+qsort [] = []
+qsort (x:xs) = qsort (filter (< x) xs) ++ [x] ++
+ qsort (filter (>= x) xs)
+~~~~
+^D
+``` {.haskell startFrom="100"}
+qsort [] = []
+qsort (x:xs) = qsort (filter (< x) xs) ++ [x] ++
+ qsort (filter (>= x) xs)
+```
+````
diff --git a/test/command/7400.md b/test/command/7400.md
new file mode 100644
index 000000000..d4be32d72
--- /dev/null
+++ b/test/command/7400.md
@@ -0,0 +1,9 @@
+```
+% pandoc -t native -s
+---
+# Comment only
+...
+^D
+Pandoc (Meta {unMeta = fromList []})
+[]
+```
diff --git a/test/command/7416.md b/test/command/7416.md
new file mode 100644
index 000000000..2f9577f10
--- /dev/null
+++ b/test/command/7416.md
@@ -0,0 +1,19 @@
+```
+% pandoc -f markdown -t html
+![caption](../media/rId25.jpg "title"){alt="alt"}
+
+^D
+<figure>
+<img src="../media/rId25.jpg" title="title" alt="alt" /><figcaption>caption</figcaption>
+</figure>
+```
+
+```
+% pandoc -f markdown -t html
+![caption](../media/rId25.jpg "title")
+
+^D
+<figure>
+<img src="../media/rId25.jpg" title="title" alt="caption" /><figcaption aria-hidden="true">caption</figcaption>
+</figure>
+```
diff --git a/test/command/7434.md b/test/command/7434.md
new file mode 100644
index 000000000..be8732bc2
--- /dev/null
+++ b/test/command/7434.md
@@ -0,0 +1,15 @@
+```
+% pandoc -f markdown -t native
+\begin{proof}
+\newcommand{\x}{\left.\right.}
+\x
+\end{proof}
+
+1234567890abcdefghi
+
+[\*\a](x)
+^D
+[RawBlock (Format "tex") "\\begin{proof}\n\\newcommand{\\x}{\\left.\\right.}\n\\left.\\right.\n\\end{proof}"
+,Para [Str "1234567890abcdefghi"]
+,Para [Link ("",[],[]) [Str "*",RawInline (Format "tex") "\\a"] ("x","")]]
+```
diff --git a/test/command/7436.md b/test/command/7436.md
new file mode 100644
index 000000000..ad4cb8c2f
--- /dev/null
+++ b/test/command/7436.md
@@ -0,0 +1,14 @@
+```
+% pandoc -f rst -t native
+.. include:: command/three.txt
+ :code:
+
+.. include:: command/three.txt
+ :literal:
+
+.. include:: command/three.txt
+^D
+[CodeBlock ("",[""],[("code","")]) "1st line.\n2nd line.\n3rd line.\n"
+,RawBlock (Format "rst") "1st line.\n2nd line.\n3rd line.\n"
+,Para [Str "1st",Space,Str "line.",SoftBreak,Str "2nd",Space,Str "line.",SoftBreak,Str "3rd",Space,Str "line."]]
+```
diff --git a/test/command/averroes.bib b/test/command/averroes.bib
new file mode 100644
index 000000000..b95c8e354
--- /dev/null
+++ b/test/command/averroes.bib
@@ -0,0 +1,95 @@
+@string{anch-ie = {Angew.~Chem. Int.~Ed.}}
+@string{cup = {Cambridge University Press}}
+@string{dtv = {Deutscher Taschenbuch-Verlag}}
+@string{hup = {Harvard University Press}}
+@string{jams = {J.~Amer. Math. Soc.}}
+@string{jchph = {J.~Chem. Phys.}}
+@string{jomch = {J.~Organomet. Chem.}}
+@string{pup = {Princeton University Press}}
+
+@book{averroes/bland,
+ author = {Averroes},
+ title = {The Epistle on the Possibility of Conjunction with the Active
+ Intellect by {Ibn Rushd} with the Commentary of {Moses Narboni}},
+ date = 1982,
+ editor = {Bland, Kalman P.},
+ translator = {Bland, Kalman P.},
+ series = {Moreshet: Studies in {Jewish} History, Literature and Thought},
+ number = 7,
+ publisher = {Jewish Theological Seminary of America},
+ location = {New York},
+ keywords = {primary},
+ langid = {english},
+ langidopts = {variant=american},
+ indextitle = {Epistle on the Possibility of Conjunction, The},
+ shorttitle = {Possibility of Conjunction},
+ annotation = {A \texttt{book} entry with a \texttt{series} and a
+ \texttt{number}. Note the concatenation of the \texttt{editor}
+ and \texttt{translator} fields as well as the
+ \texttt{indextitle} field},
+}
+
+@book{averroes/hannes,
+ author = {Averroes},
+ title = {Des Averro{\"e}s Abhandlung: \mkbibquote{{\"U}ber die
+ M{\"o}glichkeit der Conjunktion} oder \mkbibquote{{\"U}ber den
+ materiellen Intellekt}},
+ date = 1892,
+ editor = {Hannes, Ludwig},
+ translator = {Hannes, Ludwig},
+ annotator = {Hannes, Ludwig},
+ publisher = {C.~A. Kaemmerer},
+ location = {Halle an der Saale},
+ keywords = {primary},
+ langid = {german},
+ sorttitle = {Uber die Moglichkeit der Conjunktion},
+ indexsorttitle= {Uber die Moglichkeit der Conjunktion},
+ indextitle = {{\"U}ber die M{\"o}glichkeit der Conjunktion},
+ shorttitle = {{\"U}ber die M{\"o}glichkeit der Conjunktion},
+ annotation = {An annotated edition. Note the concatenation of the
+ \texttt{editor}, \texttt{translator}, and \texttt{annotator}
+ fields. Also note the \texttt{shorttitle},
+ \texttt{indextitle}, \texttt{sorttitle}, and
+ \texttt{indexsorttitle} fields},
+}
+
+@book{averroes/hercz,
+ author = {Averroes},
+ title = {Drei Abhandlungen {\"u}ber die Conjunction des separaten
+ Intellects mit dem Menschen},
+ date = 1869,
+ editor = {Hercz, J.},
+ translator = {Hercz, J.},
+ publisher = {S.~Hermann},
+ location = {Berlin},
+ keywords = {primary},
+ langid = {german},
+ indexsorttitle= {Drei Abhandlungen uber die Conjunction},
+ indextitle = {Drei Abhandlungen {\"u}ber die Conjunction},
+ subtitle = {Von Averroes (Vater und Sohn), aus dem Arabischen
+ {\"u}bersetzt von Samuel Ibn Tibbon},
+ shorttitle = {Drei Abhandlungen},
+ annotation = {A \texttt{book} entry. Note the concatenation of the
+ \texttt{editor} and \texttt{translator} fields as well as the
+ \texttt{indextitle} and \texttt{indexsorttitle} fields},
+}
+
+@book{cicero,
+ author = {Cicero, Marcus Tullius},
+ title = {De natura deorum. {\"U}ber das Wesen der G{\"o}tter},
+ date = 1995,
+ editor = {Blank-Sangmeister, Ursula},
+ translator = {Blank-Sangmeister, Ursula},
+ afterword = {Thraede, Klaus},
+ language = {langlatin and langgerman},
+ publisher = {Reclam},
+ location = {Stuttgart},
+ langid = {german},
+ indextitle = {De natura deorum},
+ shorttitle = {De natura deorum},
+ annotation = {A bilingual edition of Cicero's \emph{De natura deorum}, with
+ a German translation. Note the format of the \texttt{language}
+ field in the database file, the concatenation of the
+ \texttt{editor} and \texttt{translator} fields, and the
+ \texttt{afterword} field},
+}
diff --git a/test/command/biblatex-baez-article.md b/test/command/biblatex-baez-article.md
index 07d293c24..ed3f830c5 100644
--- a/test/command/biblatex-baez-article.md
+++ b/test/command/biblatex-baez-article.md
@@ -67,7 +67,7 @@ references:
title: "Higher-dimensional algebra V: 2-groups"
title-short: Higher-dimensional algebra V
type: article-journal
- url: "http://arxiv.org/abs/math/0307200v3"
+ url: "https://arxiv.org/abs/math/0307200v3"
version: 3
volume: 12
---
diff --git a/test/command/biblatex-baez-online.md b/test/command/biblatex-baez-online.md
index 6834ed22b..9b73b70f8 100644
--- a/test/command/biblatex-baez-online.md
+++ b/test/command/biblatex-baez-online.md
@@ -61,7 +61,7 @@ references:
title: "Higher-dimensional algebra V: 2-groups"
title-short: Higher-dimensional algebra V
type: webpage
- url: "http://arxiv.org/abs/math/0307200v3"
+ url: "https://arxiv.org/abs/math/0307200v3"
version: 3
---
diff --git a/test/command/biblatex-basic.md b/test/command/biblatex-basic.md
index 1110b0fb4..8a1176999 100644
--- a/test/command/biblatex-basic.md
+++ b/test/command/biblatex-basic.md
@@ -1,3 +1,5 @@
+```
+% pandoc -f biblatex -t markdown -s
@Book{item1,
author="John Doe",
title="First Book",
@@ -27,7 +29,7 @@ year="2007"
^D
---
-nocite: '[@*]'
+nocite: "[@*]"
references:
- author:
- family: Doe
@@ -44,9 +46,9 @@ references:
container-title: Journal of Generic Studies
id: item2
issued: 2006
- page: '33-34'
+ page: 33-34
title: Article
- type: 'article-journal'
+ type: article-journal
volume: 6
- author:
- family: Doe
diff --git a/test/command/biblatex-cotton.md b/test/command/biblatex-cotton.md
index 51c3ee2f4..7a7a2e296 100644
--- a/test/command/biblatex-cotton.md
+++ b/test/command/biblatex-cotton.md
@@ -43,9 +43,9 @@ Cotton, F. A., Wilkinson, G., Murillio, C. A., & Bochmann, M. (1999).
---
nocite: "[@*]"
references:
-- annote: A book entry with author authors and an edition field. By
- default, long author and editor lists are automatically truncated.
- This is configurable
+- annote: A book entry with `\arabic{author}`{=latex} authors and an
+ edition field. By default, long author and editor lists are
+ automatically truncated. This is configurable
author:
- family: Cotton
given: Frank Albert
diff --git a/test/command/biblatex-examples.bib b/test/command/biblatex-examples.bib
deleted file mode 100644
index 36ac849dd..000000000
--- a/test/command/biblatex-examples.bib
+++ /dev/null
@@ -1,1674 +0,0 @@
-@string{anch-ie = {Angew.~Chem. Int.~Ed.}}
-@string{cup = {Cambridge University Press}}
-@string{dtv = {Deutscher Taschenbuch-Verlag}}
-@string{hup = {Harvard University Press}}
-@string{jams = {J.~Amer. Math. Soc.}}
-@string{jchph = {J.~Chem. Phys.}}
-@string{jomch = {J.~Organomet. Chem.}}
-@string{pup = {Princeton University Press}}
-
-@incollection{westfahl:space,
- author = {Westfahl, Gary},
- title = {The True Frontier},
- subtitle = {Confronting and Avoiding the Realities of Space in {American}
- Science Fiction Films},
- pages = {55-65},
- crossref = {westfahl:frontier},
- langid = {english},
- langidopts = {variant=american},
- indextitle = {True Frontier, The},
- annotation = {A cross-referenced article from a \texttt{collection}. This is
- an \texttt{incollection} entry with a \texttt{crossref}
- field. Note the \texttt{subtitle} and \texttt{indextitle}
- fields},
-}
-
-@set{set,
- entryset = {herrmann,aksin,yoon},
- annotation = {A \texttt{set} with three members. The \texttt{crossref} field
- in the \texttt{@set} entry and the \texttt{entryset} field in
- each set member entry is needed only when using BibTeX as the
- backend},
-}
-
-@set{stdmodel,
- entryset = {glashow,weinberg,salam},
- annotation = {A \texttt{set} with three members discussing the standard
- model of particle physics. The \texttt{crossref} field
- in the \texttt{@set} entry and the \texttt{entryset} field in
- each set member entry is needed only when using BibTeX as the
- backend},
-}
-
-@article{aksin,
- author = {Aks{\i}n, {\"O}zge and T{\"u}rkmen, Hayati and Artok, Levent
- and {\c{C}}etinkaya, Bekir and Ni, Chaoying and
- B{\"u}y{\"u}kg{\"u}ng{\"o}r, Orhan and {\"O}zkal, Erhan},
- title = {Effect of immobilization on catalytic characteristics of
- saturated {Pd-N}-heterocyclic carbenes in {Mizoroki-Heck}
- reactions},
- journaltitle = jomch,
- date = 2006,
- volume = 691,
- number = 13,
- pages = {3027-3036},
- indextitle = {Effect of immobilization on catalytic characteristics},
-}
-
-@article{angenendt,
- author = {Angenendt, Arnold},
- title = {In Honore Salvatoris~-- Vom Sinn und Unsinn der
- Patrozinienkunde},
- journaltitle = {Revue d'Histoire Eccl{\'e}siastique},
- date = 2002,
- volume = 97,
- pages = {431--456, 791--823},
- langid = {german},
- indextitle = {In Honore Salvatoris},
- shorttitle = {In Honore Salvatoris},
- annotation = {A German article in a French journal. Apart from that, a
- typical \texttt{article} entry. Note the \texttt{indextitle}
- field},
-}
-
-@article{baez/article,
- author = {Baez, John C. and Lauda, Aaron D.},
- title = {Higher-Dimensional Algebra {V}: 2-Groups},
- journaltitle = {Theory and Applications of Categories},
- date = 2004,
- volume = 12,
- pages = {423-491},
- version = 3,
- eprint = {math/0307200v3},
- eprinttype = {arxiv},
- langid = {english},
- langidopts = {variant=american},
- annotation = {An \texttt{article} with \texttt{eprint} and
- \texttt{eprinttype} fields. Note that the arXiv reference is
- transformed into a clickable link if \texttt{hyperref} support
- has been enabled. Compare \texttt{baez\slash online}, which
- is the same item given as an \texttt{online} entry},
-}
-
-@article{bertram,
- author = {Bertram, Aaron and Wentworth, Richard},
- title = {Gromov invariants for holomorphic maps on {Riemann} surfaces},
- journaltitle = jams,
- date = 1996,
- volume = 9,
- number = 2,
- pages = {529-571},
- langid = {english},
- langidopts = {variant=american},
- shorttitle = {Gromov invariants},
- annotation = {An \texttt{article} entry with a \texttt{volume} and a
- \texttt{number} field},
-}
-
-@article{doody,
- author = {Doody, Terrence},
- title = {Hemingway's Style and {Jake's} Narration},
- year = 1974,
- volume = 4,
- number = 3,
- pages = {212-225},
- langid = {english},
- langidopts = {variant=american},
- related = {matuz:doody},
- relatedstring= {\autocap{e}xcerpt in},
- journal = {The Journal of Narrative Technique},
- annotation = {An \texttt{article} entry cited as an excerpt from a
- \texttt{collection} entry. Note the format of the
- \texttt{related} and \texttt{relatedstring} fields},
-}
-
-@collection{matuz:doody,
- editor = {Matuz, Roger},
- title = {Contemporary Literary Criticism},
- year = 1990,
- volume = 61,
- publisher = {Gale},
- location = {Detroit},
- pages = {204-208},
- langid = {english},
- langidopts = {variant=american},
- annotation = {A \texttt{collection} entry providing the excerpt information
- for the \texttt{doody} entry. Note the format of the
- \texttt{pages} field},
-}
-
-@article{gillies,
- author = {Gillies, Alexander},
- title = {Herder and the Preparation of {Goethe's} Idea of World
- Literature},
- journaltitle = {Publications of the English Goethe Society},
- date = 1933,
- series = {newseries},
- volume = 9,
- pages = {46-67},
- langid = {english},
- langidopts = {variant=british},
- annotation = {An \texttt{article} entry with a \texttt{series} and a
- \texttt{volume} field. Note that format of the \texttt{series}
- field in the database file},
-}
-
-@article{glashow,
- author = {Glashow, Sheldon},
- title = {Partial Symmetries of Weak Interactions},
- journaltitle = {Nucl.~Phys.},
- date = 1961,
- volume = 22,
- pages = {579-588},
-}
-
-@article{herrmann,
- author = {Herrmann, Wolfgang A. and {\"O}fele, Karl and Schneider,
- Sabine K. and Herdtweck, Eberhardt and Hoffmann, Stephan D.},
- title = {A carbocyclic carbene as an efficient catalyst ligand for {C--C}
- coupling reactions},
- journaltitle = anch-ie,
- date = 2006,
- volume = 45,
- number = 23,
- pages = {3859-3862},
- indextitle = {Carbocyclic carbene as an efficient catalyst, A},
-}
-
-@article{kastenholz,
- author = {Kastenholz, M. A. and H{\"u}nenberger, Philippe H.},
- title = {Computation of methodology\hyphen independent ionic solvation
- free energies from molecular simulations},
- journaltitle = jchph,
- date = 2006,
- subtitle = {{I}. {The} electrostatic potential in molecular liquids},
- volume = 124,
- eid = 124106,
- doi = {10.1063/1.2172593},
- langid = {english},
- langidopts = {variant=american},
- indextitle = {Computation of ionic solvation free energies},
- annotation = {An \texttt{article} entry with an \texttt{eid} and a
- \texttt{doi} field. Note that the \textsc{doi} is transformed
- into a clickable link if \texttt{hyperref} support has been
- enabled},
- abstract = {The computation of ionic solvation free energies from
- atomistic simulations is a surprisingly difficult problem that
- has found no satisfactory solution for more than 15 years. The
- reason is that the charging free energies evaluated from such
- simulations are affected by very large errors. One of these is
- related to the choice of a specific convention for summing up
- the contributions of solvent charges to the electrostatic
- potential in the ionic cavity, namely, on the basis of point
- charges within entire solvent molecules (M scheme) or on the
- basis of individual point charges (P scheme). The use of an
- inappropriate convention may lead to a charge-independent
- offset in the calculated potential, which depends on the
- details of the summation scheme, on the quadrupole-moment
- trace of the solvent molecule, and on the approximate form
- used to represent electrostatic interactions in the
- system. However, whether the M or P scheme (if any) represents
- the appropriate convention is still a matter of on-going
- debate. The goal of the present article is to settle this
- long-standing controversy by carefully analyzing (both
- analytically and numerically) the properties of the
- electrostatic potential in molecular liquids (and inside
- cavities within them).},
-}
-
-@article{murray,
- author = {Hostetler, Michael J. and Wingate, Julia E. and Zhong,
- Chuan-Jian and Harris, Jay E. and Vachet, Richard W. and
- Clark, Michael R. and Londono, J. David and Green, Stephen
- J. and Stokes, Jennifer J. and Wignall, George D. and Glish,
- Gary L. and Porter, Marc D. and Evans, Neal D. and Murray,
- Royce W.},
- title = {Alkanethiolate gold cluster molecules with core diameters from
- 1.5 to 5.2~{nm}},
- journaltitle = {Langmuir},
- date = 1998,
- subtitle = {Core and monolayer properties as a function of core size},
- volume = 14,
- number = 1,
- pages = {17-30},
- langid = {english},
- langidopts = {variant=american},
- indextitle = {Alkanethiolate gold cluster molecules},
- shorttitle = {Alkanethiolate gold cluster molecules},
- annotation = {An \texttt{article} entry with \arabic{author} authors. By
- default, long author and editor lists are automatically
- truncated. This is configurable},
-}
-
-@article{reese,
- author = {Reese, Trevor R.},
- title = {Georgia in {Anglo-Spanish} Diplomacy, 1736--1739},
- journaltitle = {William and Mary Quarterly},
- date = 1958,
- series = 3,
- volume = 15,
- pages = {168-190},
- langid = {english},
- langidopts = {variant=american},
- annotation = {An \texttt{article} entry with a \texttt{series} and a
- \texttt{volume} field. Note the format of the series. If the
- value of the \texttt{series} field is an integer, this number
- is printed as an ordinal and the string \enquote*{series} is
- appended automatically},
-}
-
-@article{sarfraz,
- author = {M. Sarfraz and M. F. A. Razzak},
- title = {Technical section: {An} algorithm for automatic capturing of
- the font outlines},
- year = 2002,
- volume = 26,
- number = 5,
- pages = {795-804},
- issn = {0097-8493},
- journal = {Computers and Graphics},
- annotation = {An \texttt{article} entry with an \texttt{issn} field},
-}
-
-@article{shore,
- author = {Shore, Bradd},
- title = {Twice-Born, Once Conceived},
- journaltitle = {American Anthropologist},
- date = {1991-03},
- subtitle = {Meaning Construction and Cultural Cognition},
- series = {newseries},
- volume = 93,
- number = 1,
- pages = {9-27},
- annotation = {An \texttt{article} entry with \texttt{series},
- \texttt{volume}, and \texttt{number} fields. Note the format
- of the \texttt{series} which is a localization key},
-}
-
-@article{sigfridsson,
- author = {Sigfridsson, Emma and Ryde, Ulf},
- title = {Comparison of methods for deriving atomic charges from the
- electrostatic potential and moments},
- journaltitle = {Journal of Computational Chemistry},
- date = 1998,
- volume = 19,
- number = 4,
- pages = {377-395},
- doi = {10.1002/(SICI)1096-987X(199803)19:4<377::AID-JCC1>3.0.CO;2-P},
- langid = {english},
- langidopts = {variant=american},
- indextitle = {Methods for deriving atomic charges},
- annotation = {An \texttt{article} entry with \texttt{volume},
- \texttt{number}, and \texttt{doi} fields. Note that the
- \textsc{doi} is transformed into a clickable link if
- \texttt{hyperref} support has been enabled},
- abstract = {Four methods for deriving partial atomic charges from the
- quantum chemical electrostatic potential (CHELP, CHELPG,
- Merz-Kollman, and RESP) have been compared and critically
- evaluated. It is shown that charges strongly depend on how and
- where the potential points are selected. Two alternative
- methods are suggested to avoid the arbitrariness in the
- point-selection schemes and van der Waals exclusion radii:
- CHELP-BOW, which also estimates the charges from the
- electrostatic potential, but with potential points that are
- Boltzmann-weighted after their occurrence in actual
- simulations using the energy function of the program in which
- the charges will be used, and CHELMO, which estimates the
- charges directly from the electrostatic multipole
- moments. Different criteria for the quality of the charges are
- discussed.},
-}
-
-@article{spiegelberg,
- author = {Spiegelberg, Herbert},
- title = {\mkbibquote{Intention} und \mkbibquote{Intentionalit{\"a}t} in
- der Scholastik, bei Brentano und Husserl},
- journaltitle = {Studia Philosophica},
- date = 1969,
- volume = 29,
- pages = {189-216},
- langid = {german},
- sorttitle = {Intention und Intentionalitat in der Scholastik, bei Brentano
- und Husserl},
- indexsorttitle= {Intention und Intentionalitat in der Scholastik, bei Brentano
- und Husserl},
- shorttitle = {Intention und Intentionalit{\"a}t},
- annotation = {An \texttt{article} entry. Note the \texttt{sorttitle} and
- \texttt{indexsorttitle} fields and the markup of the quotes in
- the database file},
-}
-
-@article{springer,
- author = {Springer, Otto},
- title = {Mediaeval Pilgrim Routes from {Scandinavia} to {Rome}},
- journaltitle = {Mediaeval Studies},
- date = 1950,
- volume = 12,
- pages = {92-122},
- langid = {english},
- langidopts = {variant=british},
- shorttitle = {Mediaeval Pilgrim Routes},
- annotation = {A plain \texttt{article} entry},
-}
-
-@article{weinberg,
- author = {Weinberg, Steven},
- title = {A Model of Leptons},
- journaltitle = {Phys.~Rev.~Lett.},
- date = 1967,
- volume = 19,
- pages = {1264-1266},
-}
-
-@article{yoon,
- author = {Yoon, Myeong S. and Ryu, Dowook and Kim, Jeongryul and Ahn,
- Kyo Han},
- title = {Palladium pincer complexes with reduced bond angle strain:
- efficient catalysts for the {Heck} reaction},
- journaltitle = {Organometallics},
- date = 2006,
- volume = 25,
- number = 10,
- pages = {2409-2411},
- indextitle = {Palladium pincer complexes},
-}
-
-@book{aristotle:anima,
- author = {Aristotle},
- title = {De Anima},
- date = 1907,
- editor = {Hicks, Robert Drew},
- publisher = cup,
- location = {Cambridge},
- keywords = {primary},
- langid = {english},
- langidopts = {variant=british},
- annotation = {A \texttt{book} entry with an \texttt{author} and an
- \texttt{editor}},
-}
-
-@book{aristotle:physics,
- author = {Aristotle},
- title = {Physics},
- date = 1929,
- translator = {Wicksteed, P. H. and Cornford, F. M.},
- publisher = {G. P. Putnam},
- location = {New York},
- keywords = {primary},
- langid = {english},
- langidopts = {variant=american},
- shorttitle = {Physics},
- annotation = {A \texttt{book} entry with a \texttt{translator} field},
-}
-
-@book{aristotle:poetics,
- author = {Aristotle},
- title = {Poetics},
- date = 1968,
- editor = {Lucas, D. W.},
- series = {Clarendon {Aristotle}},
- publisher = {Clarendon Press},
- location = {Oxford},
- keywords = {primary},
- langid = {english},
- langidopts = {variant=british},
- shorttitle = {Poetics},
- annotation = {A \texttt{book} entry with an \texttt{author} and an
- \texttt{editor} as well as a \texttt{series} field},
-}
-
-@book{aristotle:rhetoric,
- author = {Aristotle},
- title = {The Rhetoric of {Aristotle} with a commentary by the late {Edward
- Meredith Cope}},
- date = 1877,
- editor = {Cope, Edward Meredith},
- commentator = {Cope, Edward Meredith},
- volumes = 3,
- publisher = cup,
- keywords = {primary},
- langid = {english},
- langidopts = {variant=british},
- sorttitle = {Rhetoric of Aristotle},
- indextitle = {Rhetoric of {Aristotle}, The},
- shorttitle = {Rhetoric},
- annotation = {A commented edition. Note the concatenation of the
- \texttt{editor} and \texttt{commentator} fields as well as the
- \texttt{volumes}, \texttt{sorttitle}, and \texttt{indextitle}
- fields},
-}
-
-@book{augustine,
- author = {Augustine, Robert L.},
- title = {Heterogeneous catalysis for the synthetic chemist},
- date = 1995,
- publisher = {Marcel Dekker},
- location = {New York},
- langid = {english},
- langidopts = {variant=american},
- shorttitle = {Heterogeneous catalysis},
- annotation = {A plain \texttt{book} entry},
-}
-
-@book{averroes/bland,
- author = {Averroes},
- title = {The Epistle on the Possibility of Conjunction with the Active
- Intellect by {Ibn Rushd} with the Commentary of {Moses Narboni}},
- date = 1982,
- editor = {Bland, Kalman P.},
- translator = {Bland, Kalman P.},
- series = {Moreshet: Studies in {Jewish} History, Literature and Thought},
- number = 7,
- publisher = {Jewish Theological Seminary of America},
- location = {New York},
- keywords = {primary},
- langid = {english},
- langidopts = {variant=american},
- indextitle = {Epistle on the Possibility of Conjunction, The},
- shorttitle = {Possibility of Conjunction},
- annotation = {A \texttt{book} entry with a \texttt{series} and a
- \texttt{number}. Note the concatenation of the \texttt{editor}
- and \texttt{translator} fields as well as the
- \texttt{indextitle} field},
-}
-
-@book{averroes/hannes,
- author = {Averroes},
- title = {Des Averro{\"e}s Abhandlung: \mkbibquote{{\"U}ber die
- M{\"o}glichkeit der Conjunktion} oder \mkbibquote{{\"U}ber den
- materiellen Intellekt}},
- date = 1892,
- editor = {Hannes, Ludwig},
- translator = {Hannes, Ludwig},
- annotator = {Hannes, Ludwig},
- publisher = {C.~A. Kaemmerer},
- location = {Halle an der Saale},
- keywords = {primary},
- langid = {german},
- sorttitle = {Uber die Moglichkeit der Conjunktion},
- indexsorttitle= {Uber die Moglichkeit der Conjunktion},
- indextitle = {{\"U}ber die M{\"o}glichkeit der Conjunktion},
- shorttitle = {{\"U}ber die M{\"o}glichkeit der Conjunktion},
- annotation = {An annotated edition. Note the concatenation of the
- \texttt{editor}, \texttt{translator}, and \texttt{annotator}
- fields. Also note the \texttt{shorttitle},
- \texttt{indextitle}, \texttt{sorttitle}, and
- \texttt{indexsorttitle} fields},
-}
-
-@book{averroes/hercz,
- author = {Averroes},
- title = {Drei Abhandlungen {\"u}ber die Conjunction des separaten
- Intellects mit dem Menschen},
- date = 1869,
- editor = {Hercz, J.},
- translator = {Hercz, J.},
- publisher = {S.~Hermann},
- location = {Berlin},
- keywords = {primary},
- langid = {german},
- indexsorttitle= {Drei Abhandlungen uber die Conjunction},
- indextitle = {Drei Abhandlungen {\"u}ber die Conjunction},
- subtitle = {Von Averroes (Vater und Sohn), aus dem Arabischen
- {\"u}bersetzt von Samuel Ibn Tibbon},
- shorttitle = {Drei Abhandlungen},
- annotation = {A \texttt{book} entry. Note the concatenation of the
- \texttt{editor} and \texttt{translator} fields as well as the
- \texttt{indextitle} and \texttt{indexsorttitle} fields},
-}
-
-@book{cicero,
- author = {Cicero, Marcus Tullius},
- title = {De natura deorum. {\"U}ber das Wesen der G{\"o}tter},
- date = 1995,
- editor = {Blank-Sangmeister, Ursula},
- translator = {Blank-Sangmeister, Ursula},
- afterword = {Thraede, Klaus},
- language = {langlatin and langgerman},
- publisher = {Reclam},
- location = {Stuttgart},
- langid = {german},
- indextitle = {De natura deorum},
- shorttitle = {De natura deorum},
- annotation = {A bilingual edition of Cicero's \emph{De natura deorum}, with
- a German translation. Note the format of the \texttt{language}
- field in the database file, the concatenation of the
- \texttt{editor} and \texttt{translator} fields, and the
- \texttt{afterword} field},
-}
-
-@book{coleridge,
- author = {Coleridge, Samuel Taylor},
- title = {Biographia literaria, or {Biographical} sketches of my literary
- life and opinions},
- date = 1983,
- editor = {Coburn, Kathleen and Engell, James and Bate, W. Jackson},
- maintitle = {The collected works of {Samuel Taylor Coleridge}},
- volume = 7,
- part = 2,
- series = {Bollingen Series},
- number = 75,
- publisher = {Routledge {and} Kegan Paul},
- location = {London},
- langid = {english},
- langidopts = {variant=british},
- indextitle = {Biographia literaria},
- shorttitle = {Biographia literaria},
- annotation = {One (partial) volume of a multivolume book. This is a
- \texttt{book} entry with a \texttt{volume} and a \texttt{part}
- field which explicitly refers to the second (physical) part of
- the seventh (logical) volume. Also note the \texttt{series}
- and \texttt{number} fields},
-}
-
-@book{companion,
- author = {Goossens, Michel and Mittelbach, Frank and Samarin, Alexander},
- title = {The {LaTeX} Companion},
- date = 1994,
- edition = 1,
- publisher = {Addison-Wesley},
- location = {Reading, Mass.},
- pagetotal = 528,
- langid = {english},
- langidopts = {variant=american},
- sorttitle = {LaTeX Companion},
- indextitle = {LaTeX Companion, The},
- shorttitle = {LaTeX Companion},
- annotation = {A book with three authors. Note the formatting of the author
- list. By default, only the first name is reversed in the
- bibliography},
-}
-
-@book{cotton,
- author = {Cotton, Frank Albert and Wilkinson, Geoffrey and Murillio,
- Carlos A. and Bochmann, Manfred},
- title = {Advanced inorganic chemistry},
- date = 1999,
- edition = 6,
- publisher = {Wiley},
- location = {Chichester},
- langid = {english},
- langidopts = {variant=british},
- annotation = {A \texttt{book} entry with \arabic{author} authors and an
- \texttt{edition} field. By default, long \texttt{author} and
- \texttt{editor} lists are automatically truncated. This is
- configurable},
-}
-
-@book{gerhardt,
- author = {Gerhardt, Michael J.},
- title = {The Federal Appointments Process},
- date = 2000,
- publisher = {Duke University Press},
- location = {Durham and London},
- langid = {english},
- langidopts = {variant=american},
- sorttitle = {Federal Appointments Process},
- indextitle = {Federal Appointments Process, The},
- subtitle = {A Constitutional and Historical Analysis},
- shorttitle = {Federal Appointments Process},
- annotation = {This is a \texttt{book} entry. Note the format of the
- \texttt{location} field as well as the \texttt{sorttitle} and
- \texttt{indextitle} fields},
-}
-
-@book{gonzalez,
- author = {Gonzalez, Ray},
- title = {The Ghost of {John Wayne} and Other Stories},
- date = 2001,
- publisher = {The University of Arizona Press},
- location = {Tucson},
- isbn = {0-816-52066-6},
- langid = {english},
- langidopts = {variant=american},
- sorttitle = {Ghost of John Wayne and Other Stories},
- indextitle = {Ghost of {John Wayne} and Other Stories, The},
- shorttitle = {Ghost of {John Wayne}},
- annotation = {A collection of short stories. This is a \texttt{book} entry.
- Note the \texttt{sorttitle} and \texttt{indextitle} fields in
- the database file. There's also an \texttt{isbn} field},
-}
-
-@book{hammond,
- author = {Hammond, Christopher},
- title = {The basics of crystallography and diffraction},
- date = 1997,
- publisher = {International Union of Crystallography and Oxford University
- Press},
- location = {Oxford},
- langid = {english},
- langidopts = {variant=british},
- sorttitle = {Basics of crystallography and diffraction},
- indextitle = {Basics of crystallography and diffraction, The},
- shorttitle = {Crystallography and diffraction},
- annotation = {A \texttt{book} entry. Note the \texttt{sorttitle} and
- \texttt{indextitle} fields as well as the format of the
- \texttt{publisher} field},
-}
-
-@book{iliad,
- author = {Homer},
- title = {Die Ilias},
- date = 2004,
- translator = {Schadewaldt, Wolfgang},
- introduction = {Latacz, Joachim},
- edition = 3,
- publisher = {Artemis \& Winkler},
- location = {D{\"u}sseldorf and Z{\"u}rich},
- langid = {german},
- sorttitle = {Ilias},
- indextitle = {Ilias, Die},
- shorttitle = {Ilias},
- annotation = {A German translation of the \emph{Iliad}. Note the
- \texttt{translator} and \texttt{introduction} fields and the
- format of the \texttt{location} field in the database
- file. Also note the \texttt{sorttitle} and \texttt{indextitle}
- fields},
-}
-
-@book{knuth:ct,
- author = {Knuth, Donald E.},
- title = {Computers \& Typesetting},
- date = {1984/1986},
- volumes = 5,
- publisher = {Addison-Wesley},
- location = {Reading, Mass.},
- langid = {english},
- langidopts = {variant=american},
- sortyear = {1984-0},
- sorttitle = {Computers & Typesetting},
- indexsorttitle= {Computers & Typesetting},
- annotation = {A five-volume book cited as a whole. This is a \texttt{book}
- entry, note the \texttt{volumes} field},
-}
-
-@book{knuth:ct:a,
- author = {Knuth, Donald E.},
- title = {The {\TeX} book},
- date = 1984,
- maintitle = {Computers \& Typesetting},
- volume = {A},
- publisher = {Addison-Wesley},
- location = {Reading, Mass.},
- langid = {english},
- langidopts = {variant=american},
- sortyear = {1984-1},
- sorttitle = {Computers & Typesetting A},
- indexsorttitle= {The TeXbook},
- indextitle = {\protect\TeX book, The},
- shorttitle = {\TeX book},
- annotation = {The first volume of a five-volume book. Note the
- \texttt{sorttitle} and \texttt{sortyear} fields. We want this
- volume to be listed after the entry referring to the entire
- five-volume set. Also note the \texttt{indextitle} and
- \texttt{indexsorttitle} fields. Indexing packages that don't
- generate robust index entries require some control sequences
- to be protected from expansion},
-}
-
-@book{knuth:ct:b,
- author = {Knuth, Donald E.},
- title = {\TeX: The Program},
- date = 1986,
- maintitle = {Computers \& Typesetting},
- volume = {B},
- publisher = {Addison-Wesley},
- location = {Reading, Mass.},
- langid = {english},
- langidopts = {variant=american},
- sortyear = {1986-1},
- sorttitle = {Computers & Typesetting B},
- indexsorttitle= {TeX: The Program},
- shorttitle = {\TeX},
- annotation = {The second volume of a five-volume book. Note the
- \texttt{sorttitle} and \texttt{sortyear} fields. Also note the
- \texttt{indexsorttitle} field},
-}
-
-@book{knuth:ct:c,
- author = {Knuth, Donald E.},
- title = {The {METAFONTbook}},
- date = 1986,
- maintitle = {Computers \& Typesetting},
- volume = {C},
- publisher = {Addison-Wesley},
- location = {Reading, Mass.},
- langid = {english},
- langidopts = {variant=american},
- sortyear = {1986-2},
- sorttitle = {Computers & Typesetting C},
- indextitle = {METAFONTbook, The},
- shorttitle = {METAFONTbook},
- annotation = {The third volume of a five-volume book. Note the
- \texttt{sorttitle} and \texttt{sortyear} fields as well as the
- \texttt{indextitle} field},
-}
-
-@book{knuth:ct:d,
- author = {Knuth, Donald E.},
- title = {METAFONT: The Program},
- date = 1986,
- maintitle = {Computers \& Typesetting},
- volume = {D},
- publisher = {Addison-Wesley},
- location = {Reading, Mass.},
- langid = {english},
- langidopts = {variant=american},
- sortyear = {1986-3},
- sorttitle = {Computers & Typesetting D},
- shorttitle = {METAFONT},
- annotation = {The fourth volume of a five-volume book. Note the
- \texttt{sorttitle} and \texttt{sortyear} fields},
-}
-
-@book{knuth:ct:e,
- author = {Knuth, Donald E.},
- title = {{Computer Modern} Typefaces},
- date = 1986,
- maintitle = {Computers \& Typesetting},
- volume = {E},
- publisher = {Addison-Wesley},
- location = {Reading, Mass.},
- langid = {english},
- langidopts = {variant=american},
- sortyear = {1986-4},
- sorttitle = {Computers & Typesetting E},
- annotation = {The fifth volume of a five-volume book. Note the
- \texttt{sorttitle} and \texttt{sortyear} fields},
-}
-
-@book{knuth:ct:related,
- author = {Knuth, Donald E.},
- title = {Computers \& Typesetting},
- date = {1984/1986},
- volumes = 5,
- publisher = {Addison-Wesley},
- location = {Reading, Mass.},
- langid = {english},
- langidopts = {variant=american},
- sortyear = {1984-0},
- sorttitle = {Computers & Typesetting},
- indexsorttitle= {Computers & Typesetting},
- related = {knuth:ct:a,knuth:ct:b,knuth:ct:c,knuth:ct:d,knuth:ct:e},
- relatedtype = {multivolume},
- annotation = {A five-volume book cited as a whole and related to its
- individual volumes. Note the \texttt{related} and
- \texttt{relatedtype} fields},
-}
-
-@book{kullback,
- author = {Kullback, Solomon},
- title = {Information Theory and Statistics},
- year = 1959,
- publisher = {John Wiley \& Sons},
- location = {New York},
- langid = {english},
- langidopts = {variant=american},
-}
-
-@book{kullback:reprint,
- author = {Kullback, Solomon},
- title = {Information Theory and Statistics},
- year = 1997,
- publisher = {Dover Publications},
- location = {New York},
- origyear = 1959,
- origpublisher= {John Wiley \& Sons},
- langid = {english},
- langidopts = {variant=american},
- annotation = {A reprint of the \texttt{kullback} entry. Note the format of
- \texttt{origyear} and \texttt{origpublisher}. These fields are
- not used by the standard bibliography styles},
-}
-
-@book{kullback:related,
- author = {Kullback, Solomon},
- title = {Information Theory and Statistics},
- year = 1997,
- publisher = {Dover Publications},
- location = {New York},
- langid = {english},
- langidopts = {variant=american},
- related = {kullback},
- relatedtype = {origpubin},
- annotation = {A reprint of the \texttt{kullback} entry. Note the format of
- the \texttt{related} and \texttt{relatedtype} fields},
-}
-
-@book{malinowski,
- author = {Malinowski, Bronis{\l}aw},
- title = {Argonauts of the {Western Pacific}},
- date = 1972,
- edition = 8,
- publisher = {Routledge {and} Kegan Paul},
- location = {London},
- langid = {english},
- langidopts = {variant=british},
- subtitle = {An account of native enterprise and adventure in the
- Archipelagoes of {Melanesian New Guinea}},
- shorttitle = {Argonauts},
- annotation = {This is a \texttt{book} entry. Note the format of the
- \texttt{publisher} and \texttt{edition} fields as well as the
- \texttt{subtitle} field},
-}
-
-@book{maron,
- author = {Maron, Monika},
- title = {Animal Triste},
- date = 2000,
- translator = {Brigitte Goldstein},
- origlanguage = {german},
- publisher = {University of Nebraska Press},
- location = {Lincoln},
- langid = {english},
- langidopts = {variant=american},
- shorttitle = {Animal Triste},
- annotation = {An English translation of a German novel with a French title.
- In other words: a \texttt{book} entry with a
- \texttt{translator} field. Note the \texttt{origlanguage}
- field which is concatenated with the \texttt{translator}},
-}
-
-@book{massa,
- author = {Werner Massa},
- title = {Crystal structure determination},
- date = 2004,
- edition = 2,
- publisher = {Spinger},
- location = {Berlin},
- langid = {english},
- langidopts = {variant=british},
- annotation = {A \texttt{book} entry with an \texttt{edition} field},
-}
-
-@article{moore,
- author = {Moore, Gordon E.},
- title = {Cramming more components onto integrated circuits},
- journaltitle = {Electronics},
- year = 1965,
- volume = 38,
- number = 8,
- pages = {114-117},
- langid = {english},
- langidopts = {variant=american},
-}
-
-@article{moore:related,
- author = {Moore, Gordon E.},
- title = {Cramming more components onto integrated circuits},
- journaltitle = {Proceedings of the {IEEE}},
- year = 1998,
- volume = 86,
- number = 1,
- pages = {82-85},
- langid = {english},
- langidopts = {variant=american},
- related = {moore},
- relatedtype = {reprintfrom},
- annotation = {A reprint of Moore's law. Note the \texttt{related} and
- \texttt{relatedtype} fields},
-}
-
-@book{nietzsche:ksa,
- author = {Nietzsche, Friedrich},
- title = {S{\"a}mtliche Werke},
- date = 1988,
- editor = {Colli, Giorgio and Montinari, Mazzino},
- edition = 2,
- volumes = 15,
- publisher = dtv # { and Walter de Gruyter},
- location = {M{\"u}nchen and Berlin and New York},
- langid = {german},
- sortyear = {1988-0},
- sorttitle = {Werke-00-000},
- indexsorttitle= {Samtliche Werke},
- subtitle = {Kritische Studienausgabe},
- annotation = {The critical edition of Nietzsche's works. This is a
- \texttt{book} entry referring to a 15-volume work as a
- whole. Note the \texttt{volumes} field and the format of the
- \texttt{publisher} and \texttt{location} fields in the
- database file. Also note the \texttt{sorttitle} and
- \texttt{sortyear} fields which are used to fine-tune the
- sorting order of the bibliography. We want this item listed
- first in the bibliography},
-}
-
-@book{nietzsche:ksa1,
- author = {Nietzsche, Friedrich},
- title = {Die Geburt der Trag{\"o}die. Unzeitgem{\"a}{\ss}e
- Betrachtungen I--IV. Nachgelassene Schriften 1870--1973},
- date = 1988,
- editor = {Colli, Giorgio and Montinari, Mazzino},
- maintitle = {S{\"a}mtliche Werke},
- mainsubtitle = {Kritische Studienausgabe},
- volume = 1,
- edition = 2,
- publisher = dtv # { and Walter de Gruyter},
- location = {M{\"u}nchen and Berlin and New York},
- langid = {german},
- sortyear = {1988-1},
- sorttitle = {Werke-01-000},
- indexsorttitle= {Samtliche Werke I},
- bookauthor = {Nietzsche, Friedrich},
- indextitle = {S{\"a}mtliche Werke I},
- shorttitle = {S{\"a}mtliche Werke I},
- annotation = {A single volume from the critical edition of Nietzsche's
- works. This \texttt{book} entry explicitly refers to the first
- volume only. Note the \texttt{title} and \texttt{maintitle}
- fields. Also note the \texttt{sorttitle} and \texttt{sortyear}
- fields. We want this entry to be listed after the entry
- referring to the entire edition},
-}
-
-@book{nussbaum,
- author = {Nussbaum, Martha},
- title = {Aristotle's \mkbibquote{De Motu Animalium}},
- date = 1978,
- publisher = pup,
- location = {Princeton},
- keywords = {secondary},
- langid = {english},
- langidopts = {variant=american},
- sorttitle = {Aristotle's De Motu Animalium},
- indexsorttitle= {Aristotle's De Motu Animalium},
- annotation = {A \texttt{book} entry. Note the \texttt{sorttitle} and
- \texttt{indexsorttitle} fields and the markup of the quotes in
- the database file},
-}
-
-@book{piccato,
- author = {Piccato, Pablo},
- title = {City of Suspects},
- date = 2001,
- publisher = {Duke University Press},
- location = {Durham and London},
- langid = {english},
- langidopts = {variant=american},
- subtitle = {Crime in {Mexico City}, 1900--1931},
- shorttitle = {City of Suspects},
- annotation = {This is a \texttt{book} entry. Note the format of the
- \texttt{location} field in the database file},
-}
-
-@book{vangennep,
- author = {van Gennep, Arnold},
- title = {Les rites de passage},
- date = 1909,
- publisher = {Nourry},
- location = {Paris},
- options = {useprefix},
- langid = {french},
- sorttitle = {Rites de passage},
- indextitle = {Rites de passage, Les},
- shorttitle = {Rites de passage},
- annotation = {A \texttt{book} entry. Note the format of the printed name and
- compare the \texttt{useprefix} option in the \texttt{options}
- field as well as \texttt{brandt} and \texttt{geer}},
-}
-
-@book{vangennep:trans,
- author = {van Gennep, Arnold},
- title = {The Rites of Passage},
- year = 1960,
- translator = {Vizedom, Monika B. and Caffee, Gabrielle L.},
- language = {english},
- origlanguage = {french},
- publisher = {University of Chicago Press},
- options = {useprefix},
- indextitle = {Rites of Passage, The},
- sorttitle = {Rites of Passage},
- shorttitle = {Rites of Passage},
- langid = {english},
- langidopts = {variant=american},
- annotation = {A translation of the \texttt{vangennep} entry. Note the
- \texttt{translator} and \texttt{origlanguage} fields. Compare
- with the \texttt{vangennep:related} entry.},
-}
-
-@book{vangennep:related,
- author = {van Gennep, Arnold},
- title = {Les rites de passage},
- date = 1909,
- publisher = {Nourry},
- location = {Paris},
- options = {useprefix},
- langid = {french},
- related = {vizedom:related},
- relatedtype = {bytranslator},
- sorttitle = {Rites de passage},
- indextitle = {Rites de passage, Les},
- shorttitle = {Rites de passage},
- annotation = {A variant of the \texttt{vangennep} entry related to its
- translation. Note the format of the \texttt{related} and
- \texttt{relatedtype} fields},
-}
-
-@book{vizedom:related,
- title = {The Rites of Passage},
- year = 1960,
- translator = {Vizedom, Monika B. and Caffee, Gabrielle L.},
- language = {english},
- publisher = {University of Chicago Press},
- langid = {english},
- langidopts = {variant=american},
- options = {usetranslator},
- related = {vangennep},
- relatedtype = {translationof},
- indextitle = {Rites of Passage, The},
- sorttitle = {Rites of Passage},
- shorttitle = {Rites of Passage},
- annotation = {A translated work from \texttt{vangennep}. Note the format of
- the \texttt{related} and \texttt{relatedtype} fields},
-}
-
-@book{vazques-de-parga,
- author = {V{\'a}zques{ de }Parga, Luis and Lacarra, Jos{\'e} Mar{\'i}a
- and Ur{\'i}a R{\'i}u, Juan},
- title = {Las Peregrinaciones a Santiago de Compostela},
- date = 1993,
- volumes = 3,
- note = {Ed. facs. de la realizada en 1948--49},
- publisher = {Iberdrola},
- location = {Pamplona},
- langid = {spanish},
- sorttitle = {Peregrinaciones a Santiago de Compostela},
- indextitle = {Peregrinaciones a Santiago de Compostela, Las},
- shorttitle = {Peregrinaciones},
- annotation = {A multivolume book cited as a whole. This is a \texttt{book}
- entry with \texttt{volumes}, \texttt{note},
- \texttt{sorttitle}, and \texttt{indextitle} fields},
-}
-
-@book{wilde,
- author = {Wilde, Oscar},
- title = {The Importance of Being Earnest: A Trivial Comedy for Serious
- People},
- year = 1899,
- series = {English and {American} drama of the Nineteenth Century},
- publisher = {Leonard Smithers {and} Company},
- eprint = {4HIWAAAAYAAJ},
- eprinttype = {googlebooks},
- annotation = {A \texttt{book} with \texttt{eprint} and \texttt{eprinttype}
- fields.},
-}
-
-@book{worman,
- author = {Worman, Nancy},
- title = {The Cast of Character},
- date = 2002,
- publisher = {University of Texas Press},
- location = {Austin},
- langid = {english},
- langidopts = {variant=american},
- sorttitle = {Cast of Character},
- indextitle = {Cast of Character, The},
- subtitle = {Style in {Greek} Literature},
- shorttitle = {Cast of Character},
- annotation = {A \texttt{book} entry. Note the \texttt{sorttitle} and
- \texttt{indextitle} fields},
-}
-
-@collection{britannica,
- editor = {Preece, Warren E.},
- title = {The {New Encyclop{\ae}dia Britannica}},
- date = 2003,
- edition = 15,
- volumes = 32,
- publisher = {Encyclop{\ae}dia Britannica},
- location = {Chicago, Ill.},
- options = {useeditor=false},
- label = {EB},
- langid = {english},
- langidopts = {variant=british},
- sorttitle = {Encyclop{\ae}dia Britannica},
- indextitle = {{Encyclop{\ae}dia Britannica}, The {New}},
- shorttitle = {{Encyclop{\ae}dia Britannica}},
- annotation = {This is a \texttt{collection} entry for an encyclopedia. Note
- the \texttt{useeditor} option in the \texttt{options} field as
- well as the \texttt{sorttitle} field. We want this entry to be
- cited and alphabetized by title even though there is an
- editor. In addition to that, we want the title to be
- alphabetized under \enquote*{E} rather than \enquote*{T}. Also
- note the \texttt{label} field which is provided for
- author-year citation styles},
-}
-
-@collection{gaonkar,
- editor = {Gaonkar, Dilip Parameshwar},
- title = {Alternative Modernities},
- date = 2001,
- publisher = {Duke University Press},
- location = {Durham and London},
- isbn = {0-822-32714-7},
- langid = {english},
- langidopts = {variant=american},
- annotation = {This is a \texttt{collection} entry. Note the format of the
- \texttt{location} field in the database file as well as the
- \texttt{isbn} field},
-}
-
-@InCollection{gaonkar:in,
- author = {Gaonkar, Dilip Parameshwar},
- editor = {Gaonkar, Dilip Parameshwar},
- title = {On Alternative Modernities},
- date = 2001,
- booktitle = {Alternative Modernities},
- publisher = {Duke University Press},
- location = {Durham and London},
- isbn = {0-822-32714-7},
- pages = {1-23},
-}
-
-@collection{jaffe,
- editor = {Jaff{\'e}, Philipp},
- title = {Regesta Pontificum Romanorum ab condita ecclesia ad annum post
- Christum natum \textsc{mcxcviii}},
- date = {1885/1888},
- editora = {Loewenfeld, Samuel and Kaltenbrunner, Ferdinand and Ewald,
- Paul},
- edition = 2,
- volumes = 2,
- location = {Leipzig},
- langid = {latin},
- editoratype = {redactor},
- indextitle = {Regesta Pontificum Romanorum},
- shorttitle = {Regesta Pontificum Romanorum},
- annotation = {A \texttt{collection} entry with \texttt{edition} and
- \texttt{volumes} fields. Note the \texttt{editora} and
- \texttt{editoratype} fields},
-}
-
-@collection{westfahl:frontier,
- editor = {Westfahl, Gary},
- title = {Space and Beyond},
- date = 2000,
- subtitle = {The Frontier Theme in Science Fiction},
- publisher = {Greenwood},
- location = {Westport, Conn. and London},
- langid = {english},
- langidopts = {variant=american},
- booktitle = {Space and Beyond},
- booksubtitle = {The Frontier Theme in Science Fiction},
- annotation = {This is a \texttt{collection} entry. Note the format of the
- \texttt{location} field as well as the \texttt{subtitle} and
- \texttt{booksubtitle} fields},
-}
-
-@inbook{kant:kpv,
- title = {Kritik der praktischen Vernunft},
- date = 1968,
- author = {Kant, Immanuel},
- booktitle = {Kritik der praktischen Vernunft. Kritik der Urtheilskraft},
- bookauthor = {Kant, Immanuel},
- maintitle = {Kants Werke. Akademie Textausgabe},
- volume = 5,
- publisher = {Walter de Gruyter},
- location = {Berlin},
- pages = {1-163},
- shorthand = {KpV},
- langid = {german},
- shorttitle = {Kritik der praktischen Vernunft},
- annotation = {An edition of Kant's \emph{Collected Works}, volume five. This
- is an \texttt{inbook} entry which explicitly refers to the
- \emph{Critique of Practical Reason} only, not to the entire
- fifth volume. Note the \texttt{author} and \texttt{bookauthor}
- fields in the database file. By default, the
- \texttt{bookauthor} is omitted if the values of the
- \texttt{author} and \texttt{bookauthor} fields are identical},
-}
-
-@inbook{kant:ku,
- title = {Kritik der Urtheilskraft},
- date = 1968,
- author = {Kant, Immanuel},
- booktitle = {Kritik der praktischen Vernunft. Kritik der Urtheilskraft},
- bookauthor = {Kant, Immanuel},
- maintitle = {Kants Werke. Akademie Textausgabe},
- volume = 5,
- publisher = {Walter de Gruyter},
- location = {Berlin},
- pages = {165-485},
- shorthand = {KU},
- langid = {german},
- annotation = {An edition of Kant's \emph{Collected Works}, volume five. This
- is an \texttt{inbook} entry which explicitly refers to the
- \emph{Critique of Judgment} only, not to the entire fifth
- volume},
-}
-
-@inbook{nietzsche:historie,
- title = {Unzeitgem{\"a}sse Betrachtungen. Zweites St{\"u}ck},
- date = 1988,
- author = {Nietzsche, Friedrich},
- booktitle = {Die Geburt der Trag{\"o}die. Unzeitgem{\"a}{\ss}e
- Betrachtungen I--IV. Nachgelassene Schriften 1870--1973},
- bookauthor = {Nietzsche, Friedrich},
- editor = {Colli, Giorgio and Montinari, Mazzino},
- subtitle = {Vom Nutzen und Nachtheil der Historie f{\"u}r das Leben},
- maintitle = {S{\"a}mtliche Werke},
- mainsubtitle = {Kritische Studienausgabe},
- volume = 1,
- publisher = dtv # { and Walter de Gruyter},
- location = {M{\"u}nchen and Berlin and New York},
- pages = {243-334},
- langid = {german},
- sortyear = {1988-2},
- sorttitle = {Werke-01-243},
- indexsorttitle= {Vom Nutzen und Nachtheil der Historie fur das Leben},
- indextitle = {Vom Nutzen und Nachtheil der Historie f{\"u}r das Leben},
- shorttitle = {Vom Nutzen und Nachtheil der Historie},
- annotation = {A single essay from the critical edition of Nietzsche's works.
- This \texttt{inbook} entry explicitly refers to an essay found
- in the first volume. Note the \texttt{title},
- \texttt{booktitle}, and \texttt{maintitle} fields. Also note
- the \texttt{sorttitle} and \texttt{sortyear} fields. We want
- this entry to be listed after the entry referring to the
- entire first volume},
-}
-
-@incollection{brandt,
- author = {von Brandt, Ahasver and Erich Hoffmann},
- editor = {Ferdinand Seibt},
- title = {Die nordischen L{\"a}nder von der Mitte des 11.~Jahrhunderts
- bis 1448},
- date = 1987,
- booktitle = {Europa im Hoch- und Sp{\"a}tmittelalter},
- series = {Handbuch der europ{\"a}ischen Geschichte},
- number = 2,
- publisher = {Klett-Cotta},
- location = {Stuttgart},
- pages = {884-917},
- options = {useprefix=false},
- langid = {german},
- indexsorttitle= {Nordischen Lander von der Mitte des 11. Jahrhunderts bis
- 1448},
- indextitle = {Nordischen L{\"a}nder von der Mitte des 11.~Jahrhunderts bis
- 1448, Die},
- shorttitle = {Die nordischen L{\"a}nder},
- annotation = {An \texttt{incollection} entry with a \texttt{series} and a
- \texttt{number}. Note the format of the printed name and
- compare the \texttt{useprefix} option in the \texttt{options}
- field as well as \texttt{vangennep}. Also note the
- \texttt{indextitle, and \texttt{indexsorttitle} fields}},
-}
-
-@incollection{hyman,
- author = {Arthur Hyman},
- editor = {O'Meara, Dominic J.},
- title = {Aristotle's Theory of the Intellect and its Interpretation by
- {Averroes}},
- date = 1981,
- booktitle = {Studies in {Aristotle}},
- series = {Studies in Philosophy and the History of Philosophy},
- number = 9,
- publisher = {The Catholic University of America Press},
- location = {Washington, D.C.},
- pages = {161-191},
- keywords = {secondary},
- langid = {english},
- langidopts = {variant=american},
- indextitle = {Aristotle's Theory of the Intellect},
- shorttitle = {Aristotle's Theory of the Intellect},
- annotation = {An \texttt{incollection} entry with a \texttt{series} and
- \texttt{number} field},
-}
-
-@incollection{pines,
- author = {Pines, Shlomo},
- editor = {Twersky, Isadore},
- title = {The Limitations of Human Knowledge According to {Al-Farabi}, {ibn
- Bajja}, and {Maimonides}},
- date = 1979,
- booktitle = {Studies in Medieval {Jewish} History and Literature},
- publisher = hup,
- location = {Cambridge, Mass.},
- pages = {82-109},
- keywords = {secondary},
- langid = {english},
- langidopts = {variant=american},
- indextitle = {Limitations of Human Knowledge According to {Al-Farabi}, {ibn
- Bajja}, and {Maimonides}, The},
- shorttitle = {Limitations of Human Knowledge},
- annotation = {A typical \texttt{incollection} entry. Note the
- \texttt{indextitle} field},
-}
-
-@inproceedings{moraux,
- author = {Moraux, Paul},
- editor = {Lloyd, G. E. R. and Owen, G. E. L.},
- title = {Le \emph{De Anima} dans la tradition gr{\`e}cque},
- date = 1979,
- booktitle = {Aristotle on Mind and the Senses},
- subtitle = {Quelques aspects de l'interpretation du trait{\'e}, de
- Theophraste {\`a} Themistius},
- booktitleaddon= {Proceedings of the Seventh Symposium Aristotelicum},
- eventdate = 1975,
- publisher = cup,
- location = {Cambridge},
- pages = {281-324},
- keywords = {secondary},
- langid = {french},
- indexsorttitle= {De Anima dans la tradition grecque},
- indextitle = {\emph{De Anima} dans la tradition gr{\`e}cque, Le},
- shorttitle = {\emph{De Anima} dans la tradition gr{\`e}cque},
- annotation = {This is a typical \texttt{inproceedings} entry. Note the
- \texttt{booksubtitle}, \texttt{shorttitle},
- \texttt{indextitle}, and \texttt{indexsorttitle} fields. Also
- note the \texttt{eventdate} field.},
-}
-
-@inproceedings{salam,
- author = {Salam, Abdus},
- editor = {Svartholm, Nils},
- title = {Weak and Electromagnetic Interactions},
- date = 1968,
- booktitle = {Elementary particle theory},
- booksubtitle = {Relativistic groups and analyticity},
- booktitleaddon= {Proceedings of the {Eighth Nobel Symposium}},
- eventdate = {1968-05-19/1968-05-25},
- venue = {Aspen{\"a}sgarden, Lerum},
- publisher = {Almquist \& Wiksell},
- location = {Stockholm},
- pages = {367-377},
-}
-
-@manual{cms,
- title = {The {Chicago} Manual of Style},
- date = 2003,
- subtitle = {The Essential Guide for Writers, Editors, and Publishers},
- edition = 15,
- publisher = {University of Chicago Press},
- location = {Chicago, Ill.},
- isbn = {0-226-10403-6},
- label = {CMS},
- langid = {english},
- langidopts = {variant=american},
- sorttitle = {Chicago Manual of Style},
- indextitle = {Chicago Manual of Style, The},
- shorttitle = {Chicago Manual of Style},
- annotation = {This is a \texttt{manual} entry without an \texttt{author} or
- \texttt{editor}. Note the \texttt{label} field in the database
- file which is provided for author-year citation styles. Also
- note the \texttt{sorttitle} and \texttt{indextitle} fields. By
- default, all entries without an \texttt{author} or
- \texttt{editor} are alphabetized by \texttt{title} but we want
- this entry to be alphabetized under \enquote*{C} rather than
- \enquote*{T}. There's also an \texttt{isbn} field},
-}
-
-@online{baez/online,
- author = {Baez, John C. and Lauda, Aaron D.},
- title = {Higher-Dimensional Algebra {V}: 2-Groups},
- date = {2004-10-27},
- version = 3,
- langid = {english},
- langidopts = {variant=american},
- eprinttype = {arxiv},
- eprint = {math/0307200v3},
- annotation = {An \texttt{online} reference from arXiv. Note the
- \texttt{eprint} and \texttt{eprinttype} fields. Compare
- \texttt{baez\slash article} which is the same item given as an
- \texttt{article} entry with eprint information},
-}
-
-@online{ctan,
- title = {CTAN},
- date = 2006,
- url = {http://www.ctan.org},
- subtitle = {The {Comprehensive TeX Archive Network}},
- urldate = {2006-10-01},
- label = {CTAN},
- langid = {english},
- langidopts = {variant=american},
- annotation = {This is an \texttt{online} entry. The \textsc{url}, which is
- given in the \texttt{url} field, is transformed into a
- clickable link if \texttt{hyperref} support has been
- enabled. Note the format of the \texttt{urldate} field
- (\texttt{yyyy-mm-dd}) in the database file. Also note the
- \texttt{label} field which may be used as a fallback by
- citation styles which need an \texttt{author} and\slash or a
- \texttt{year}},
-}
-
-@online{itzhaki,
- author = {Itzhaki, Nissan},
- title = {Some remarks on {'t Hooft's} {S}-matrix for black holes},
- date = {1996-03-11},
- version = 1,
- langid = {english},
- langidopts = {variant=american},
- eprinttype = {arxiv},
- eprint = {hep-th/9603067},
- annotation = {An \texttt{online} reference from arXiv. Note the
- \texttt{eprint} and \texttt{eprinttype} fields. Also note that
- the arXiv reference is transformed into a clickable link if
- \texttt{hyperref} support has been enabled},
- abstract = {We discuss the limitations of 't Hooft's proposal for the
- black hole S-matrix. We find that the validity of the S-matrix
- implies violation of the semi-classical approximation at
- scales large compared to the Planck scale. We also show that
- the effect of the centrifugal barrier on the S-matrix is
- crucial even for large transverse distances.},
-}
-
-@online{markey,
- author = {Markey, Nicolas},
- title = {Tame the {BeaST}},
- date = {2005-10-16},
- url = {http://mirror.ctan.org/info/bibtex/tamethebeast/ttb_en.pdf},
- subtitle = {The {B} to {X} of {BibTeX}},
- version = {1.3},
- urldate = {2006-10-01},
- langid = {english},
- langidopts = {variant=american},
- sorttitle = {Tame the Beast},
- annotation = {An \texttt{online} entry for a tutorial. Note the format of
- the \texttt{date} field (\texttt{yyyy-mm-dd}) in the database
- file.},
-}
-
-@online{wassenberg,
- author = {Wassenberg, Jan and Sanders, Peter},
- title = {Faster Radix Sort via Virtual Memory and Write-Combining},
- date = {2010-08-17},
- version = 1,
- langid = {english},
- langidopts = {variant=american},
- eprinttype = {arxiv},
- eprintclass = {cs.DS},
- eprint = {1008.2849v1},
- annotation = {A recent \texttt{online} reference from arXiv using the new
- (April 2007 onward) identifier format. Note the
- \texttt{eprint}, \texttt{eprinttype}, and \texttt{eprintclass}
- fields. Also note that the arXiv reference is transformed into
- a clickable link if \texttt{hyperref} support has been
- enabled},
- abstract = {Sorting algorithms are the deciding factor for the performance
- of common operations such as removal of duplicates or database
- sort-merge joins. This work focuses on 32-bit integer keys,
- optionally paired with a 32-bit value. We present a fast radix
- sorting algorithm that builds upon a microarchitecture-aware
- variant of counting sort},
-}
-
-@patent{almendro,
- author = {Almendro, Jos{\'e} L. and Mart{\'i}n, Jacinto and S{\'a}nchez,
- Alberto and Nozal, Fernando},
- title = {Elektromagnetisches Signalhorn},
- number = {EU-29702195U},
- date = 1998,
- location = {countryfr and countryuk and countryde},
- langid = {german},
- annotation = {This is a \texttt{patent} entry with a \texttt{location}
- field. The number is given in the \texttt{number} field. Note
- the format of the \texttt{location} field in the database
- file. Compare \texttt{laufenberg}, \texttt{sorace}, and
- \texttt{kowalik}},
-}
-
-@patent{kowalik,
- author = {Kowalik, F. and Isard, M.},
- title = {Estimateur d'un d{\'e}faut de fonctionnement d'un modulateur
- en quadrature et {\'e}tage de modulation l'utilisant},
- number = 9500261,
- date = {1995-01-11},
- type = {patreqfr},
- langid = {french},
- indextitle = {Estimateur d'un d{\'e}faut de fonctionnement},
- annotation = {This is a \texttt{patent} entry for a French patent request
- with a full date. The number is given in the \texttt{number}
- field. Note the format of the \texttt{type} and \texttt{date}
- fields in the database file. Compare \texttt{almendro},
- \texttt{laufenberg}, and \texttt{sorace}},
-}
-
-@patent{laufenberg,
- author = {Laufenberg, Xaver and Eynius, Dominique and Suelzle, Helmut
- and Usbeck, Stephan and Spaeth, Matthias and Neuser-Hoffmann,
- Miriam and Myrzik, Christian and Schmid, Manfred and Nietfeld,
- Franz and Thiel, Alexander and Braun, Harald and Ebner,
- Norbert},
- title = {Elektrische Einrichtung und Betriebsverfahren},
- number = 1700367,
- date = {2006-09-13},
- holder = {{Robert Bosch GmbH} and {Daimler Chrysler AG} and {Bayerische
- Motoren Werke AG}},
- type = {patenteu},
- langid = {german},
- annotation = {This is a \texttt{patent} entry with a \texttt{holder} field.
- Note the format of the \texttt{type} and \texttt{location}
- fields in the database file. Compare \texttt{almendro},
- \texttt{sorace}, and \texttt{kowalik}},
- abstract = {The invention relates to an electric device comprising a
- generator, in particular for use in the vehicle electric
- system of a motor vehicle and a controller for controlling the
- generator voltage. The device is equipped with a control zone,
- in which the voltage is controlled and zones, in which the
- torque is controlled. The invention also relates to methods
- for operating a device of this type.},
- file = {http://v3.espacenet.com/textdoc?IDX=EP1700367},
-}
-
-@patent{sorace,
- author = {Sorace, Ronald E. and Reinhardt, Victor S. and Vaughn, Steven
- A.},
- title = {High-Speed Digital-to-{RF} Converter},
- number = 5668842,
- date = {1997-09-16},
- holder = {{Hughes Aircraft Company}},
- type = {patentus},
- langid = {english},
- langidopts = {variant=american},
- annotation = {This is a \texttt{patent} entry with a \texttt{holder} field.
- Note the format of the \texttt{type} and \texttt{date} fields
- in the database file. Compare \texttt{almendro},
- \texttt{laufenberg}, and \texttt{kowalik}},
-}
-
-@periodical{jcg,
- title = {Computers and Graphics},
- year = 2011,
- issuetitle = {Semantic {3D} Media and Content},
- volume = 35,
- number = 4,
- issn = {0097-8493},
- annotation = {This is a \texttt{periodical} entry with an \texttt{issn}
- field.},
-}
-
-@report{chiu,
- author = {Chiu, Willy W. and Chow, We Min},
- title = {A Hybrid Hierarchical Model of a {Multiple Virtual Storage}
- ({MVS}) Operating System},
- type = {resreport},
- institution = {IBM},
- date = 1978,
- number = {RC-6947},
- langid = {english},
- langidopts = {variant=american},
- sorttitle = {Hybrid Hierarchical Model of a Multiple Virtual Storage (MVS)
- Operating System},
- indextitle = {Hybrid Hierarchical Model, A},
- annotation = {This is a \texttt{report} entry for a research report. Note
- the format of the \texttt{type} field in the database file
- which uses a localization key. The number of the report is
- given in the \texttt{number} field. Also note the
- \texttt{sorttitle} and \texttt{indextitle} fields},
-}
-
-@report{padhye,
- author = {Padhye, Jitendra and Firoiu, Victor and Towsley, Don},
- title = {A Stochastic Model of {TCP Reno} Congestion Avoidance and
- Control},
- type = {techreport},
- institution = {University of Massachusetts},
- date = 1999,
- number = {99-02},
- location = {Amherst, Mass.},
- langid = {english},
- langidopts = {variant=american},
- sorttitle = {A Stochastic Model of TCP Reno Congestion Avoidance and
- Control},
- indextitle = {Stochastic Model of {TCP Reno} Congestion Avoidance and Control,
- A},
- annotation = {This is a \texttt{report} entry for a technical report. Note
- the format of the \texttt{type} field in the database file
- which uses a localization key. The number of the report is
- given in the \texttt{number} field. Also note the
- \texttt{sorttitle} and \texttt{indextitle} fields},
- abstract = {The steady state performance of a bulk transfer TCP flow
- (i.e. a flow with a large amount of data to send, such as FTP
- transfers) may be characterized by three quantities. The first
- is the send rate, which is the amount of data sent by the
- sender in unit time. The second is the throughput, which is
- the amount of data received by the receiver in unit time. Note
- that the throughput will always be less than or equal to the
- send rate due to losses. Finally, the number of non-duplicate
- packets received by the receiver in unit time gives us the
- goodput of the connection. The goodput is always less than or
- equal to the throughput, since the receiver may receive two
- copies of the same packet due to retransmissions by the
- sender. In a previous paper, we presented a simple model for
- predicting the steady state send rate of a bulk transfer TCP
- flow as a function of loss rate and round trip time. In this
- paper, we extend that work in two ways. First, we analyze the
- performance of bulk transfer TCP flows using more precise,
- stochastic analysis. Second, we build upon the previous
- analysis to provide both an approximate formula as well as a
- more accurate stochastic model for the steady state throughput
- of a bulk transfer TCP flow.},
- file = {ftp://gaia.cs.umass.edu/pub/Padhey99-markov.ps},
-}
-
-@thesis{geer,
- author = {de Geer, Ingrid},
- title = {Earl, Saint, Bishop, Skald~-- and Music},
- type = {phdthesis},
- institution = {Uppsala Universitet},
- date = 1985,
- subtitle = {The {Orkney Earldom} of the Twelfth Century. {A} Musicological
- Study},
- location = {Uppsala},
- options = {useprefix=false},
- langid = {english},
- langidopts = {variant=british},
- annotation = {This is a typical \texttt{thesis} entry for a PhD thesis. Note
- the \texttt{type} field in the database file which uses a
- localization key. Also note the format of the printed name and
- compare the \texttt{useprefix} option in the \texttt{options}
- field as well as \texttt{vangennep}},
-}
-
-@thesis{loh,
- author = {Loh, Nin C.},
- title = {High-Resolution Micromachined Interferometric Accelerometer},
- type = {mathesis},
- institution = {Massachusetts Institute of Technology},
- date = 1992,
- location = {Cambridge, Mass.},
- langid = {english},
- langidopts = {variant=american},
- annotation = {This is a typical \texttt{thesis} entry for an MA thesis. Note
- the \texttt{type} field in the database file which uses a
- localization key},
-}
diff --git a/test/command/biblatex-inproceedings.md b/test/command/biblatex-inproceedings.md
index 29a1e0298..76b584800 100644
--- a/test/command/biblatex-inproceedings.md
+++ b/test/command/biblatex-inproceedings.md
@@ -63,7 +63,7 @@ references:
publisher-place: Cambridge
title: "Le *De Anima* dans la tradition grècque: Quelques aspects de
l'interpretation du traité, de Theophraste à Themistius"
- title-short: *De Anima* dans la tradition grècque
+ title-short: "*De Anima* dans la tradition grècque"
type: paper-conference
- author:
- family: Salam
diff --git a/test/command/biblatex-itzhaki.md b/test/command/biblatex-itzhaki.md
index 24229fb2c..568e26215 100644
--- a/test/command/biblatex-itzhaki.md
+++ b/test/command/biblatex-itzhaki.md
@@ -74,7 +74,7 @@ references:
language: en-US
title: Some remarks on '[t Hooft's]{.nocase} S-matrix for black holes
type: webpage
- url: "http://arxiv.org/abs/hep-th/9603067"
+ url: "https://arxiv.org/abs/hep-th/9603067"
version: 1
---
diff --git a/test/command/biblatex-jaffe.md b/test/command/biblatex-jaffe.md
index f172c6ae7..e0381772b 100644
--- a/test/command/biblatex-jaffe.md
+++ b/test/command/biblatex-jaffe.md
@@ -72,8 +72,8 @@ references:
language: la
number-of-volumes: 2
publisher-place: Leipzig
- title: "Regesta Pontificum Romanorum ab condita ecclesia ad annum post
- Christum natum [mcxcviii]{.smallcaps}"
+ title: Regesta Pontificum Romanorum ab condita ecclesia ad annum post
+ Christum natum [mcxcviii]{.smallcaps}
title-short: Regesta Pontificum Romanorum
type: book
---
diff --git a/test/command/biblatex-moraux.md b/test/command/biblatex-moraux.md
index 8a1b084f8..1624ad960 100644
--- a/test/command/biblatex-moraux.md
+++ b/test/command/biblatex-moraux.md
@@ -86,7 +86,7 @@ references:
publisher-place: Cambridge
title: "Le *De Anima* dans la tradition grècque: Quelques aspects de
l'interpretation du traité, de Theophraste à Themistius"
- title-short: *De Anima* dans la tradition grècque
+ title-short: "*De Anima* dans la tradition grècque"
type: paper-conference
---
diff --git a/test/command/biblatex-murray.md b/test/command/biblatex-murray.md
index 78081c6fe..8242e4822 100644
--- a/test/command/biblatex-murray.md
+++ b/test/command/biblatex-murray.md
@@ -55,8 +55,9 @@ properties as a function of core size. *Langmuir*, *14*(1), 17–30.
---
nocite: "[@*]"
references:
-- annote: An article entry with author authors. By default, long author
- and editor lists are automatically truncated. This is configurable
+- annote: An article entry with `\arabic{author}`{=latex} authors. By
+ default, long author and editor lists are automatically truncated.
+ This is configurable
author:
- family: Hostetler
given: Michael J.
diff --git a/test/command/biblatex-nussbaum.md b/test/command/biblatex-nussbaum.md
deleted file mode 100644
index 5be575a32..000000000
--- a/test/command/biblatex-nussbaum.md
+++ /dev/null
@@ -1,63 +0,0 @@
-```
-% pandoc -f biblatex -t markdown -s
-@comment{
-
-Adapted from biblatex-example.bib
-
-
-Formatted with pandoc and chicago-author-date.csl, 2013-10-23:
-
-(Nussbaum 1978)
-
-Nussbaum, Martha. 1978. *Aristotle’s “De Motu Animalium”*. Princeton:
-Princeton University Press.
-
-
-Formatted with pandoc and apa.csl, 2013-10-23:
-
-(Nussbaum, 1978)
-
-Nussbaum, M. (1978). *Aristotle’s “De Motu Animalium”*. Princeton:
-Princeton University Press.
-
-
-}
-
-@string{ pup = {Princeton University Press} }
-
-@Book{nussbaum,
- author = {Nussbaum, Martha},
- title = {Aristotle's \mkbibquote{De Motu Animalium}},
- date = 1978,
- publisher = pup,
- location = {Princeton},
- keywords = {secondary},
- hyphenation = {american},
- sorttitle = {Aristotle's De Motu Animalium},
- indexsorttitle= {Aristotle's De Motu Animalium},
- annotation = {A book entry. Note the sorttitle and
- indexsorttitle fields and the markup of the quotes in
- the database file},
-}
-
-^D
----
-nocite: "[@*]"
-references:
-- annote: A book entry. Note the sorttitle and indexsorttitle fields and
- the markup of the quotes in the database file
- author:
- - family: Nussbaum
- given: Martha
- id: nussbaum
- issued: 1978
- keyword: secondary
- language: en-US
- publisher: Princeton University Press
- publisher-place: Princeton
- title: "Aristotle's \"De Motu Animalium\""
- type: book
----
-
-
-```
diff --git a/test/command/biblatex-quotes.md b/test/command/biblatex-quotes.md
index 9d868cb76..50055316f 100644
--- a/test/command/biblatex-quotes.md
+++ b/test/command/biblatex-quotes.md
@@ -36,7 +36,7 @@ references:
language: en-US
publisher: Princeton University Press
publisher-place: Princeton
- title: "Aristotle's \"De Motu Animalium\""
+ title: Aristotle's "De Motu Animalium"
type: book
---
diff --git a/test/command/biblatex-sigfridsson.md b/test/command/biblatex-sigfridsson.md
index f83c35622..e042a8762 100644
--- a/test/command/biblatex-sigfridsson.md
+++ b/test/command/biblatex-sigfridsson.md
@@ -90,7 +90,7 @@ references:
- family: Ryde
given: Ulf
container-title: Journal of Computational Chemistry
- doi: "10.1002/(SICI)1096-987X(199803)19:4\\<377::AID-JCC1\\>3.0.CO;2-P"
+ doi: "10.1002/(SICI)1096-987X(199803)19:4\\<377::AID-JCC1>3.0.CO;2-P"
id: sigfridsson
issue: 4
issued: 1998
diff --git a/test/command/biblatex-spiegelberg.md b/test/command/biblatex-spiegelberg.md
index 59d651958..59338ae88 100644
--- a/test/command/biblatex-spiegelberg.md
+++ b/test/command/biblatex-spiegelberg.md
@@ -63,8 +63,8 @@ references:
issued: 1969
language: de-DE
page: 189-216
- title: "Intention" und "Intentionalität" in der Scholastik, bei
- Brentano und Husserl
+ title: "\"Intention\" und \"Intentionalität\" in der Scholastik, bei
+ Brentano und Husserl"
title-short: Intention und Intentionalität
type: article-journal
volume: 29
diff --git a/test/command/biblatex-test-case-conversion.md b/test/command/biblatex-test-case-conversion.md
index aa30767ec..e69cb9336 100644
--- a/test/command/biblatex-test-case-conversion.md
+++ b/test/command/biblatex-test-case-conversion.md
@@ -63,9 +63,9 @@ references:
id: item1
issued: 2013
language: en-US
- title: "A title, in English, with a Proper Name and an ACRONYM and a
+ title: A title, in English, with a Proper Name and an ACRONYM and a
[camelCase]{.nocase} word and some units, 400 [nm]{.nocase},
- 3 [cm]{.nocase}, and a quote, *Alea [iacta est]{.nocase}*"
+ 3 [cm]{.nocase}, and a quote, *Alea [iacta est]{.nocase}*
type: article-journal
---
diff --git a/test/command/biblatex-textnormal.md b/test/command/biblatex-textnormal.md
index 0aa5550c3..a4e6107ec 100644
--- a/test/command/biblatex-textnormal.md
+++ b/test/command/biblatex-textnormal.md
@@ -9,7 +9,7 @@
nocite: "[@*]"
references:
- id: item1
- title: "The title [of this book]{.nodecor}"
+ title: The title [of this book]{.nodecor}
type: book
---
diff --git a/test/command/biblatex-wassenberg.md b/test/command/biblatex-wassenberg.md
index 9424abba3..0ae9e10c7 100644
--- a/test/command/biblatex-wassenberg.md
+++ b/test/command/biblatex-wassenberg.md
@@ -75,7 +75,7 @@ references:
language: en-US
title: Faster radix sort via virtual memory and write-combining
type: webpage
- url: "http://arxiv.org/abs/1008.2849v1"
+ url: "https://arxiv.org/abs/1008.2849v1"
version: 1
---
diff --git a/test/command/biblatex-wilde.md b/test/command/biblatex-wilde.md
index 1db2d4579..d471041f3 100644
--- a/test/command/biblatex-wilde.md
+++ b/test/command/biblatex-wilde.md
@@ -58,7 +58,7 @@ references:
people"
title-short: The importance of being earnest
type: book
- url: "http://books.google.com?id=4HIWAAAAYAAJ"
+ url: "https://books.google.com?id=4HIWAAAAYAAJ"
---
diff --git a/test/command/chap1/spider.png b/test/command/chap1/spider.png
new file mode 100644
index 000000000..4c6bf13e9
--- /dev/null
+++ b/test/command/chap1/spider.png
Binary files differ
diff --git a/test/command/chap1/text.md b/test/command/chap1/text.md
new file mode 100644
index 000000000..54f0104de
--- /dev/null
+++ b/test/command/chap1/text.md
@@ -0,0 +1,17 @@
+# Chapter one
+
+A spider: ![spider](spider.png)
+
+Another spider: ![another spider][refspider]
+
+The moon: ![moon](../../lalune.jpg)
+
+Link to [spider picture](spider.png).
+
+URL left alone: [manual](https://pandoc.org/MANUAL.html).
+
+Absolute path left alone: [absolute](/foo/bar/baz.png).
+
+Link to fragment: [chapter two](#chapter-two).
+
+Empty path: [empty]().
diff --git a/test/command/chap2/spider.png b/test/command/chap2/spider.png
new file mode 100644
index 000000000..5456a857a
--- /dev/null
+++ b/test/command/chap2/spider.png
Binary files differ
diff --git a/test/command/chap2/text.md b/test/command/chap2/text.md
new file mode 100644
index 000000000..082a1d79e
--- /dev/null
+++ b/test/command/chap2/text.md
@@ -0,0 +1,5 @@
+# Chapter two
+
+A spider: ![spider](spider.png)
+
+[refspider]: spider.png
diff --git a/test/command/custom-attributes.html b/test/command/custom-attributes.html
deleted file mode 100644
index 67dccc1b8..000000000
--- a/test/command/custom-attributes.html
+++ /dev/null
@@ -1,16 +0,0 @@
-Custom attributes should automatically have data- added
-in HTML5:
-```
-% pandoc -t html5
-[hello]{foo="bar"}
-^D
-<span data-foo="bar">hello</span>
-```
-
-but not in HTML4:
-```
-% pandoc -t html4
-[hello]{foo="bar"}
-^D
-<span foo="bar">hello</span>
-```
diff --git a/test/command/defaults-inheritance-1.md b/test/command/defaults-inheritance-1.md
new file mode 100644
index 000000000..0760e2ec0
--- /dev/null
+++ b/test/command/defaults-inheritance-1.md
@@ -0,0 +1,6 @@
+```
+% pandoc -d command/defaults3
+# Header
+^D
+# Header
+```
diff --git a/test/command/defaults-inheritance-2.md b/test/command/defaults-inheritance-2.md
new file mode 100644
index 000000000..c639655d3
--- /dev/null
+++ b/test/command/defaults-inheritance-2.md
@@ -0,0 +1,5 @@
+```
+% pandoc -d command/defaults6 2>&1
+^D
+Error: Circular defaults file reference in 'command/defaults7.yaml'
+```
diff --git a/test/command/defaults-inheritance-3.md b/test/command/defaults-inheritance-3.md
new file mode 100644
index 000000000..81cac7baa
--- /dev/null
+++ b/test/command/defaults-inheritance-3.md
@@ -0,0 +1,6 @@
+```
+% pandoc -d command/defaults8
+<h1>Header</h1>
+^D
+# Header
+```
diff --git a/test/command/defaults3.yaml b/test/command/defaults3.yaml
new file mode 100644
index 000000000..d8b6f9144
--- /dev/null
+++ b/test/command/defaults3.yaml
@@ -0,0 +1,4 @@
+defaults:
+ - command/defaults4
+ - command/defaults5
+to: markdown
diff --git a/test/command/defaults4.yaml b/test/command/defaults4.yaml
new file mode 100644
index 000000000..a6caa985b
--- /dev/null
+++ b/test/command/defaults4.yaml
@@ -0,0 +1,3 @@
+from: html
+defaults:
+ - command/defaults5
diff --git a/test/command/defaults5.yaml b/test/command/defaults5.yaml
new file mode 100644
index 000000000..bb48b9708
--- /dev/null
+++ b/test/command/defaults5.yaml
@@ -0,0 +1,2 @@
+from: markdown
+to: html
diff --git a/test/command/defaults6.yaml b/test/command/defaults6.yaml
new file mode 100644
index 000000000..ac4a819e5
--- /dev/null
+++ b/test/command/defaults6.yaml
@@ -0,0 +1,2 @@
+defaults:
+ - command/defaults7
diff --git a/test/command/defaults7.yaml b/test/command/defaults7.yaml
new file mode 100644
index 000000000..19ca8f09e
--- /dev/null
+++ b/test/command/defaults7.yaml
@@ -0,0 +1,2 @@
+defaults:
+ - command/defaults6
diff --git a/test/command/defaults8.yaml b/test/command/defaults8.yaml
new file mode 100644
index 000000000..e418d33b2
--- /dev/null
+++ b/test/command/defaults8.yaml
@@ -0,0 +1,2 @@
+from: html
+defaults: command/defaults9
diff --git a/test/command/defaults9.yaml b/test/command/defaults9.yaml
new file mode 100644
index 000000000..d732eb066
--- /dev/null
+++ b/test/command/defaults9.yaml
@@ -0,0 +1 @@
+to: markdown
diff --git a/test/command/duplicate_attributes.md b/test/command/duplicate_attributes.md
new file mode 100644
index 000000000..b6e8a4c21
--- /dev/null
+++ b/test/command/duplicate_attributes.md
@@ -0,0 +1,7 @@
+```
+% pandoc
+[span]{.foobar style="color:blue" class="zip" style="color:red"}
+^D
+[WARNING] Ignoring duplicate attribute style="color:red".
+<p><span class="foobar zip" style="color:blue">span</span></p>
+```
diff --git a/test/command/empty-inline-code.txt b/test/command/empty-inline-code.txt
deleted file mode 100644
index b57072a44..000000000
--- a/test/command/empty-inline-code.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-```
-% pandoc -t native
-` `
-^D
-[Code ("",[],[]) ""]
-```
diff --git a/test/command/mmd-metadata.md b/test/command/mmd-metadata.md
new file mode 100644
index 000000000..3cda34873
--- /dev/null
+++ b/test/command/mmd-metadata.md
@@ -0,0 +1,20 @@
+```
+% pandoc -f markdown_mmd -t markdown -s
+Title: Blah blah blah
+Author: Doo de Doo
+Base Header Level: 1
+Bibliography: Pubs.bib
+Lang: en-GB
+
+body
+^D
+---
+author: Doo de Doo
+baseheaderlevel: 1
+bibliography: Pubs.bib
+lang: en-GB
+title: Blah blah blah
+---
+
+body
+```
diff --git a/test/command/nested-table-to-asciidoc-6942.md b/test/command/nested-table-to-asciidoc-6942.md
new file mode 100644
index 000000000..baf11fdf7
--- /dev/null
+++ b/test/command/nested-table-to-asciidoc-6942.md
@@ -0,0 +1,82 @@
+A table within a table should be convertet into a table within table
+
+```
+% pandoc -f html -t asciidoc
+<!doctype html>
+<html>
+<head>
+<meta charset="utf-8">
+<title> NestedTables </title>
+</head>
+<body>
+<table>
+ <tr>
+ <td >
+ <table> <tr> <td> a1 </td> <td> a2 </td> </tr> </table>
+ </td>
+ <td>b</td>
+ </tr>
+ <tr>
+ <td>c</td> <td>d </td>
+ </tr>
+</table>
+</body>
+</html>
+^D
+[width="100%",cols="50%,50%",]
+|===
+a|
+[cols=",",]
+!===
+!a1 !a2
+!===
+
+|b
+|c |d
+|===
+```
+
+A table within a table within a table cannot be converted because asciidoc only
+supports two levels of tables.
+The table on level 3 is thus converted to level 2 and a warning is produced
+```
+% pandoc -f html -t asciidoc --verbose
+<!doctype html>
+<html>
+<head>
+<meta charset="utf-8">
+<title> NestedTables </title>
+</head>
+<body>
+<table>
+ <tr>
+ <td>
+ <table> <tr>
+ <td> a1 </td>
+ <td>
+ <table> <tr> <td> 1 </td> <td> 2 </td> </tr> </table>
+ </td>
+ </tr> </table>
+ </td>
+ <td>b</td>
+ </tr>
+ <tr>
+ <td>c</td> <td>d </td>
+ </tr>
+</table>
+</body>
+</html>
+^D
+[INFO] Not rendering Table ("",[],[]) (Caption Nothing []) [(AlignDefault,ColWidth 0.5),(AlignDefault,ColWidth 0.5)] (TableHead ("",[],[]) []) [TableBody ("",[],[]) (RowHeadColumns 0) [] [Row ("",[],[]) [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1) [Plain [Str "a1"]],Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1) [Table ("",[],[]) (Caption Nothing []) [(AlignDefault,ColWidthDefault),(AlignDefault,ColWidthDefault)] (TableHead ("",[],[]) []) [TableBody ("",[],[]) (RowHeadColumns 0) [] [Row ("",[],[]) [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1) [Plain [Str "1"]],Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1) [Plain [Str "2"]]]]] (TableFoot ("",[],[]) [])]]]] (TableFoot ("",[],[]) [])
+[width="100%",cols="50%,50%",]
+|===
+a|
+[width="100%",cols="50%,50%",]
+!===
+!a1 !
+!===
+
+|b
+|c |d
+|===
+```
diff --git a/test/command/newif.md b/test/command/newif.md
new file mode 100644
index 000000000..f444f14c9
--- /dev/null
+++ b/test/command/newif.md
@@ -0,0 +1,55 @@
+```
+% pandoc -f latex -t plain
+\iftrue
+should print
+\iftrue
+should print
+\else
+should not print
+\fi
+\else
+should not print
+\fi
+
+\iffalse
+should not print
+\else
+\iftrue
+should print
+\else
+should not print
+\fi
+\fi
+
+\newif\ifepub
+
+\ifepub
+should not print
+\fi
+
+\epubtrue
+
+\ifepub
+should print
+\else
+should not print
+\fi
+
+\epubfalse
+
+\ifepub
+should not print
+\else
+should print
+\fi
+^D
+should print
+
+should print
+
+should print
+
+should print
+
+should print
+```
diff --git a/test/command/pandoc-citeproc-119.md b/test/command/pandoc-citeproc-119.md
index 34ffc93af..cbae7c8fe 100644
--- a/test/command/pandoc-citeproc-119.md
+++ b/test/command/pandoc-citeproc-119.md
@@ -1,7 +1,7 @@
```
% pandoc --citeproc -t markdown-citations
---
-bibliography: 'command/biblatex-examples.bib'
+bibliography: 'command/averroes.bib'
csl: command/apa.csl
---
diff --git a/test/command/pandoc-citeproc-320a.md b/test/command/pandoc-citeproc-320a.md
index 1c3b47de0..e894a2250 100644
--- a/test/command/pandoc-citeproc-320a.md
+++ b/test/command/pandoc-citeproc-320a.md
@@ -49,7 +49,7 @@ references:
Foo [@item1; @item2; @item3; @item4; @item5; @item6; @item7; @item8].
^D
Foo (al-ʾUdhrī, n.d.; al-ʿUdhrī, n.d.; al-\'Udhrī, n.d.; al-'Udhrī,
-n.d.; al-'Udhrī, n.d.; Uch, n.d.; Uebel, n.d.; Zzz, n.d.).
+n.d.a, n.d.b; Uch, n.d.; Uebel, n.d.; Zzz, n.d.).
::: {#refs .references .csl-bib-body .hanging-indent}
::: {#ref-item6 .csl-entry}
@@ -69,11 +69,11 @@ Uch, Ann. n.d.
:::
::: {#ref-item4 .csl-entry}
-'Udhrī, Jamīl al-. n.d.
+'Udhrī, Jamīl al-. n.d.a.
:::
::: {#ref-item5 .csl-entry}
-'Udhrī, Jamīl al-. n.d.
+---------. n.d.b.
:::
::: {#ref-item7 .csl-entry}
diff --git a/test/command/pandoc-citeproc-322.md b/test/command/pandoc-citeproc-322.md
index 78494f0c4..c70eae755 100644
--- a/test/command/pandoc-citeproc-322.md
+++ b/test/command/pandoc-citeproc-322.md
@@ -19,7 +19,7 @@ references:
type: 'article-journal'
---
-Foo[@timmory__justice_1950].
+Foo [@timmory__justice_1950].
^D
Foo.[^1]
diff --git a/test/command/pandoc-citeproc-356.md b/test/command/pandoc-citeproc-356.md
index 4463ef63f..b4f998dae 100644
--- a/test/command/pandoc-citeproc-356.md
+++ b/test/command/pandoc-citeproc-356.md
@@ -15,11 +15,6 @@ references:
[@bar]
^D
-(Alice 2042)
-
-::: {#refs .references .csl-bib-body .hanging-indent}
-::: {#ref-foo .csl-entry}
-Alice. 2042.
-:::
-:::
+[WARNING] Citeproc: citation bar not found
+(**bar?**)
```
diff --git a/test/command/pandoc-citeproc-53.md b/test/command/pandoc-citeproc-53.md
index 295f52049..fb8d5c35e 100644
--- a/test/command/pandoc-citeproc-53.md
+++ b/test/command/pandoc-citeproc-53.md
@@ -28,11 +28,13 @@ Doe[^1] Doe[^2] Roe[^3] Roe[^4] Doe[^5] Doe[^6] Roe[^7] Roe[^8]
::: {#refs .references .csl-bib-body}
::: {#ref-a .csl-entry}
-[[Doe J.]{.smallcaps} ]{.csl-block}[2000, *Work A*,.]{.csl-left-margin}
+[[Doe J.]{.smallcaps} ]{.csl-block}
+[2000, *Work A*,.]{.csl-left-margin}
:::
::: {#ref-b .csl-entry}
-[[Roe J.]{.smallcaps} ]{.csl-block}[1990, *Work B*,.]{.csl-left-margin}
+[[Roe J.]{.smallcaps} ]{.csl-block}
+[1990, *Work B*,.]{.csl-left-margin}
:::
:::
diff --git a/test/command/pandoc-citeproc-65.md b/test/command/pandoc-citeproc-65.md
index 7b07f7ecf..93335e901 100644
--- a/test/command/pandoc-citeproc-65.md
+++ b/test/command/pandoc-citeproc-65.md
@@ -14,7 +14,7 @@ references:
id: 'stotz:1996handbuch'
issued:
literal: 1996_2004
- language: German
+ language: de
number-of-volumes: 5
publisher: Beck
publisher-place: Munich
diff --git a/test/command/pandoc-citeproc-70.md b/test/command/pandoc-citeproc-70.md
index fb96add82..e1132b98d 100644
--- a/test/command/pandoc-citeproc-70.md
+++ b/test/command/pandoc-citeproc-70.md
@@ -22,7 +22,7 @@ references:
issued:
date-parts:
- - 2009
- language: French
+ language: fr
page: '155--174'
publisher: 'Fédération Internationale des Instituts d''Études
Médiévales'
@@ -42,7 +42,7 @@ references:
issued:
date-parts:
- - 1955
- language: Latin
+ language: la
note: 'ArticleType: research-article / Full publication date: 1955 /
Copyright © 1955 Fordham University'
page: '163--193'
diff --git a/test/command/pandoc-citeproc-chicago-author-date.md b/test/command/pandoc-citeproc-chicago-author-date.md
index ad49d2ca3..503dfdc91 100644
--- a/test/command/pandoc-citeproc-chicago-author-date.md
+++ b/test/command/pandoc-citeproc-chicago-author-date.md
@@ -54,14 +54,14 @@ References {#references .unnumbered}
([**nonexistent?**](#ref-nonexistent))
-[Doe](#ref-item1) ([2005](#ref-item1)) says blah.
+Doe ([2005](#ref-item1)) says blah.
-[Doe](#ref-item1) ([2005, 30](#ref-item1)) says blah.
+Doe ([2005, 30](#ref-item1)) says blah.
-[Doe](#ref-item1) ([2005, 30](#ref-item1), with suffix) says blah.
+Doe ([2005, 30](#ref-item1), with suffix) says blah.
-[Doe](#ref-item1) ([2005](#ref-item1), [2006, 30](#ref-item2); see also
-[Doe and Roe 2007](#ref-пункт3)) says blah.
+Doe ([2005](#ref-item1); [2006, 30](#ref-item2); see also [Doe and Roe
+2007](#ref-пункт3)) says blah.
In a note.[^1]
@@ -98,8 +98,8 @@ edited by Sam Smith. Oxford: Oxford University Press.
:::
:::
-[^1]: [Doe and Roe](#ref-пункт3) ([2007, 12](#ref-пункт3)) and a
- citation without locators ([Doe and Roe 2007](#ref-пункт3)).
+[^1]: Doe and Roe ([2007, 12](#ref-пункт3)) and a citation without
+ locators ([Doe and Roe 2007](#ref-пункт3)).
[^2]: Some citations (see [Doe 2005, chap. 3](#ref-item1);
[2006](#ref-item2); [Doe and Roe 2007](#ref-пункт3)).
diff --git a/test/command/pandoc-citeproc-chicago-fullnote-bibliography.md b/test/command/pandoc-citeproc-chicago-fullnote-bibliography.md
index 4536342c6..e5ab30a52 100644
--- a/test/command/pandoc-citeproc-chicago-fullnote-bibliography.md
+++ b/test/command/pandoc-citeproc-chicago-fullnote-bibliography.md
@@ -55,13 +55,13 @@ References {#references .unnumbered}
[^2]
-[John Doe](#ref-item1)[^3] says blah.
+John Doe[^3] says blah.
-[Doe](#ref-item1)[^4] says blah.
+Doe[^4] says blah.
-[Doe](#ref-item1)[^5] says blah.
+Doe[^5] says blah.
-[Doe](#ref-item1)[^6] says blah.
+Doe[^6] says blah.
In a note.[^7]
@@ -107,31 +107,28 @@ Sam Smith. Oxford: Oxford University Press, 2007.
[^5]: [30](#ref-item1), with suffix.
-[^6]: [*First Book*, 2005](#ref-item1); ["Article," *Journal of Generic
+[^6]: [*First Book*](#ref-item1); ["Article," *Journal of Generic
Studies* 6 (2006): 30](#ref-item2); see also [John Doe and Jenny
Roe, "Why Water Is Wet," in *Third Book*, ed. Sam Smith (Oxford:
Oxford University Press, 2007)](#ref-пункт3).
-[^7]: [Doe and Roe](#ref-пункт3), ["Why Water Is Wet," 12](#ref-пункт3)
- and a citation without locators ([Doe and Roe, "Why Water Is
- Wet"](#ref-пункт3)).
+[^7]: Doe and Roe, ["Why Water Is Wet," 12](#ref-пункт3) and a citation
+ without locators ([Doe and Roe, "Why Water Is Wet"](#ref-пункт3)).
-[^8]: See [Doe, *First Book*, 2005, chap. 3](#ref-item1); also [Doe and
- Roe, "Why Water Is Wet," 34--35](#ref-пункт3).
+[^8]: See [Doe, *First Book*, chap. 3](#ref-item1); also [Doe and Roe,
+ "Why Water Is Wet," 34--35](#ref-пункт3).
-[^9]: See [Doe, *First Book*, 2005, 34--35](#ref-item1).
+[^9]: See [Doe, *First Book*, 34--35](#ref-item1).
[^10]: Some citations (see [Doe, chap. 3](#ref-item1); [Doe and Roe,
- "Why Water Is Wet"](#ref-пункт3); [Doe, "Article,"
- 2006](#ref-item2)).
+ "Why Water Is Wet"](#ref-пункт3); [Doe, "Article"](#ref-item2)).
-[^11]: [Doe, *First Book*, 2005, 33, 35--37](#ref-item1), and nowhere
- else.
+[^11]: [Doe, *First Book*, 33, 35--37](#ref-item1), and nowhere else.
-[^12]: [Doe, *First Book*, 2005](#ref-item1) and nowhere else.
+[^12]: [Doe, *First Book*](#ref-item1) and nowhere else.
[^13]: Like a citation without author: (), and again (), and now Doe
- with a locator (["Article," 2006, 44](#ref-item2)).
+ with a locator (["Article," 44](#ref-item2)).
-[^14]: *See* [Doe, *First Book*, 2005, 32](#ref-item1).
+[^14]: *See* [Doe, *First Book*, 32](#ref-item1).
```
diff --git a/test/command/svg.md b/test/command/svg.md
index 26a8213f6..57c99db33 100644
--- a/test/command/svg.md
+++ b/test/command/svg.md
@@ -2,7 +2,7 @@
% pandoc -f latex -t icml
\includegraphics{command/corrupt.svg}
^D
-[WARNING] Could not determine image size for 'command/corrupt.svg': could not determine image type
+[WARNING] Could not determine image size for command/corrupt.svg: could not determine image type
<ParagraphStyleRange AppliedParagraphStyle="ParagraphStyle/Paragraph">
<CharacterStyleRange AppliedCharacterStyle="$ID/NormalCharacterStyle">
<Rectangle Self="uec" StrokeWeight="0" ItemTransform="1 0 0 1 150 -100">
@@ -23,6 +23,7 @@
<Profile type="string">
$ID/Embedded
</Profile>
+ <GraphicBounds Left="0" Top="0" Right="300" Bottom="200" />
</Properties>
<Link Self="ueb" LinkResourceURI="file:command/corrupt.svg" />
</Image>
@@ -35,27 +36,27 @@
% pandoc -f latex -t icml
\includegraphics{command/SVG_logo.svg}
^D
-[WARNING] Could not determine image size for 'command/SVG_logo.svg': could not determine SVG size
<ParagraphStyleRange AppliedParagraphStyle="ParagraphStyle/Paragraph">
<CharacterStyleRange AppliedCharacterStyle="$ID/NormalCharacterStyle">
- <Rectangle Self="uec" StrokeWeight="0" ItemTransform="1 0 0 1 150 -100">
+ <Rectangle Self="uec" StrokeWeight="0" ItemTransform="1 0 0 1 37.5 -37.5">
<Properties>
<PathGeometry>
<GeometryPathType PathOpen="false">
<PathPointArray>
- <PathPointType Anchor="-150 -100" LeftDirection="-150 -100" RightDirection="-150 -100" />
- <PathPointType Anchor="-150 100" LeftDirection="-150 100" RightDirection="-150 100" />
- <PathPointType Anchor="150 100" LeftDirection="150 100" RightDirection="150 100" />
- <PathPointType Anchor="150 -100" LeftDirection="150 -100" RightDirection="150 -100" />
+ <PathPointType Anchor="-37.5 -37.5" LeftDirection="-37.5 -37.5" RightDirection="-37.5 -37.5" />
+ <PathPointType Anchor="-37.5 37.5" LeftDirection="-37.5 37.5" RightDirection="-37.5 37.5" />
+ <PathPointType Anchor="37.5 37.5" LeftDirection="37.5 37.5" RightDirection="37.5 37.5" />
+ <PathPointType Anchor="37.5 -37.5" LeftDirection="37.5 -37.5" RightDirection="37.5 -37.5" />
</PathPointArray>
</GeometryPathType>
</PathGeometry>
</Properties>
- <Image Self="ue6" ItemTransform="1 0 0 1 -150 -100">
+ <Image Self="ue6" ItemTransform="1 0 0 1 -37.5 -37.5">
<Properties>
<Profile type="string">
$ID/Embedded
</Profile>
+ <GraphicBounds Left="0" Top="0" Right="75" Bottom="75" />
</Properties>
<Link Self="ueb" LinkResourceURI="file:command/SVG_logo.svg" />
</Image>
@@ -68,27 +69,27 @@
% pandoc -f latex -t icml
\includegraphics{command/SVG_logo-without-xml-declaration.svg}
^D
-[WARNING] Could not determine image size for 'command/SVG_logo-without-xml-declaration.svg': could not determine SVG size
<ParagraphStyleRange AppliedParagraphStyle="ParagraphStyle/Paragraph">
<CharacterStyleRange AppliedCharacterStyle="$ID/NormalCharacterStyle">
- <Rectangle Self="uec" StrokeWeight="0" ItemTransform="1 0 0 1 150 -100">
+ <Rectangle Self="uec" StrokeWeight="0" ItemTransform="1 0 0 1 37.5 -37.5">
<Properties>
<PathGeometry>
<GeometryPathType PathOpen="false">
<PathPointArray>
- <PathPointType Anchor="-150 -100" LeftDirection="-150 -100" RightDirection="-150 -100" />
- <PathPointType Anchor="-150 100" LeftDirection="-150 100" RightDirection="-150 100" />
- <PathPointType Anchor="150 100" LeftDirection="150 100" RightDirection="150 100" />
- <PathPointType Anchor="150 -100" LeftDirection="150 -100" RightDirection="150 -100" />
+ <PathPointType Anchor="-37.5 -37.5" LeftDirection="-37.5 -37.5" RightDirection="-37.5 -37.5" />
+ <PathPointType Anchor="-37.5 37.5" LeftDirection="-37.5 37.5" RightDirection="-37.5 37.5" />
+ <PathPointType Anchor="37.5 37.5" LeftDirection="37.5 37.5" RightDirection="37.5 37.5" />
+ <PathPointType Anchor="37.5 -37.5" LeftDirection="37.5 -37.5" RightDirection="37.5 -37.5" />
</PathPointArray>
</GeometryPathType>
</PathGeometry>
</Properties>
- <Image Self="ue6" ItemTransform="1 0 0 1 -150 -100">
+ <Image Self="ue6" ItemTransform="1 0 0 1 -37.5 -37.5">
<Properties>
<Profile type="string">
$ID/Embedded
</Profile>
+ <GraphicBounds Left="0" Top="0" Right="75" Bottom="75" />
</Properties>
<Link Self="ueb" LinkResourceURI="file:command/SVG_logo-without-xml-declaration.svg" />
</Image>
@@ -122,6 +123,7 @@
<Profile type="string">
$ID/Embedded
</Profile>
+ <GraphicBounds Left="0" Top="0" Right="109.5" Bottom="130.5" />
</Properties>
<Link Self="ueb" LinkResourceURI="file:command/inkscape-cube.svg" />
</Image>
diff --git a/test/command/three.txt b/test/command/three.txt
new file mode 100644
index 000000000..3ca3fdd4e
--- /dev/null
+++ b/test/command/three.txt
@@ -0,0 +1,3 @@
+1st line.
+2nd line.
+3rd line.
diff --git a/test/command/toc.md b/test/command/toc.md
index 794af7690..543f97ba9 100644
--- a/test/command/toc.md
+++ b/test/command/toc.md
@@ -31,7 +31,7 @@
## b
-::: {.interior}
+::: interior
# C
## cc
@@ -39,7 +39,7 @@
# D
:::
-::: {.blue}
+::: blue
# E
## e
diff --git a/test/command/unicode-collation.md b/test/command/unicode-collation.md
new file mode 100644
index 000000000..190e383d6
--- /dev/null
+++ b/test/command/unicode-collation.md
@@ -0,0 +1,130 @@
+```
+% pandoc --citeproc -t plain
+---
+lang: en-US
+csl: command/apa.csl
+references:
+- id: a1
+ type: book
+ author:
+ - family: Ubina
+ given: A. John
+ issued: 1985
+- id: a2
+ type: book
+ author:
+ - family: Über
+ given: Aglaia
+ issued: 1996
+- id: a3
+ type: book
+ author:
+ - family: Oñate
+ given: José
+ issued: 1985
+- id: a4
+ type: book
+ author:
+ - family: Onush
+ given: Frank
+ issued: 2002
+- id: a5
+ type: book
+ author:
+ - family: O'Neil
+ given: Timothy
+ issued: 2010
+---
+
+[@a1;@a2;@a3;@a4;@a5]
+^D
+(O’Neil, 2010; Oñate, 1985; Onush, 2002; Über, 1996; Ubina, 1985)
+
+O’Neil, T. (2010).
+
+Oñate, J. (1985).
+
+Onush, F. (2002).
+
+Über, A. (1996).
+
+Ubina, A. J. (1985).
+```
+
+```
+% pandoc --citeproc -t plain
+---
+lang: es
+csl: command/apa.csl
+references:
+- id: a1
+ type: book
+ author:
+ - family: Ubina
+ given: A. John
+ issued: 1985
+- id: a2
+ type: book
+ author:
+ - family: Über
+ given: Aglaia
+ issued: 1996
+- id: a3
+ type: book
+ author:
+ - family: Oñate
+ given: José
+ issued: 1985
+- id: a4
+ type: book
+ author:
+ - family: Onush
+ given: Frank
+ issued: 2002
+- id: a5
+ type: book
+ author:
+ - family: O'Neil
+ given: Timothy
+ issued: 2010
+---
+
+[@a1;@a2;@a3;@a4;@a5]
+^D
+(O’Neil, 2010; Onush, 2002; Oñate, 1985; Über, 1996; Ubina, 1985)
+
+O’Neil, T. (2010).
+
+Onush, F. (2002).
+
+Oñate, J. (1985).
+
+Über, A. (1996).
+
+Ubina, A. J. (1985).
+```
+
+```
+% pandoc -C -t plain
+---
+nocite: '@*'
+lang: fr-FR-u-kb-true
+references:
+- id: cote
+ author: cote
+- id: côte
+ author: côte
+- id: coté
+ author: coté
+- id: côté
+ author: côté
+...
+^D
+cote. s. d.
+
+côte. s. d.
+
+coté. s. d.
+
+côté. s. d.
+```