diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-03-14 22:35:31 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-03-14 22:53:54 +0100 |
| commit | 89f44f220de2972452dd816fe59836ba76953d59 (patch) | |
| tree | 2749428e8e10252588bb68c0e8e9bfd150f28a9c /tests/typ/meta | |
| parent | 2a86e4db0bb3894d1cc3b94e1a1af31a6cd87b80 (diff) | |
Bibliography and citations
Diffstat (limited to 'tests/typ/meta')
| -rw-r--r-- | tests/typ/meta/bibliography.typ | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/typ/meta/bibliography.typ b/tests/typ/meta/bibliography.typ new file mode 100644 index 00000000..2e2ddd35 --- /dev/null +++ b/tests/typ/meta/bibliography.typ @@ -0,0 +1,27 @@ +// Test citations and bibliographies. + +--- +// Error: 15-25 failed to parse biblatex file: wrong number of digits in line 5 +#bibliography("/bad.bib") + +--- +// Test ambigious reference. += Introduction <arrgh> +// Error: 1-7 label occurs in the document and its bibliography +@arrgh +#bibliography("/works.bib") + +--- +#set page(width: 200pt) += Details +See also #cite("arrgh", [p. 22]), @arrgh[p. 4], and @cannonfodder[p. 5]. +#bibliography("/works.bib") + +--- +// Test unconventional order. +#set page(width: 200pt) +#bibliography("/works.bib", title: [Works to be cited], style: "author-date") +#line(length: 100%) +The net-work is a creature of its own. @stupid +This is close to piratery! @arrgh +And quark! @quark |
