summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.lock4
-rw-r--r--assets/files/works.bib51
-rw-r--r--tests/ref/meta/bibliography-ordering.pngbin0 -> 144132 bytes
-rw-r--r--tests/typ/meta/bibliography-ordering.typ7
4 files changed, 60 insertions, 2 deletions
diff --git a/Cargo.lock b/Cargo.lock
index fe521859..887fc762 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -59,7 +59,7 @@ checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8"
[[package]]
name = "biblatex"
version = "0.6.3"
-source = "git+https://github.com/typst/biblatex#932ad283dd45dd88d4fa14dc5b9bda7a270ba027"
+source = "git+https://github.com/typst/biblatex#ffdcd63906f0fd6c2736727af2d91a5da0bfd64e"
dependencies = [
"chrono",
"numerals",
@@ -431,7 +431,7 @@ checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
[[package]]
name = "hayagriva"
version = "0.1.1"
-source = "git+https://github.com/typst/hayagriva#754efb7e1034bcd4d4f1366e432197edbbfb9ed5"
+source = "git+https://github.com/typst/hayagriva#d42d30f673b5446775e4c393a2f4f2bca5773a5d"
dependencies = [
"biblatex",
"chrono",
diff --git a/assets/files/works.bib b/assets/files/works.bib
index 67239de4..391661ca 100644
--- a/assets/files/works.bib
+++ b/assets/files/works.bib
@@ -41,3 +41,54 @@
year = {2005},
doi = {10.1191/0309133305pp453ra},
}
+
+@book{tolkien54,
+ maintitle = {The Lord of the Rings},
+ title = {The Fellowship of the Ring},
+ author = {J. R. R. Tolkien},
+ date = {1954-07-29},
+ publisher = {Allen & Unwin},
+ location = {London},
+ volume = {1},
+}
+
+
+@article{sharing,
+ title = {Do sharing people behave differently? An empirical evaluation of the distinctive mobility patterns of free-floating car-sharing members},
+ volume = {42},
+ pages = {449--469},
+ number = {3},
+ journal = {Transportation},
+ author = {Kopp, Johanna and Gerike, Regine and Axhausen, Kay W.},
+ year = {2015}
+}
+
+@book{restful,
+ location = {Sebastopol, {CA}, {USA}},
+ edition = {1},
+ title = {{RESTful} Web Services},
+ pagetotal = {448},
+ publisher = {O'Reilly Media},
+ author = {Richardson, Leonard and Ruby, Sam},
+ year = {2008}
+}
+
+@article{mcintosh_anxiety,
+ title = {Anxiety and Health Problems Related to Air Travel},
+ volume = {5},
+ issn = {1195-1982},
+ pages = {198--204},
+ number = {4},
+ journal = {Journal of Travel Medicine},
+ author = {{McIntosh}, Iain B. and Swanson, Vivien and Power, Kevin G. and Raeside, Fiona and Dempster, Craig},
+ year = {2006}
+}
+
+@book{psychology25,
+ location = {New York, {NY}, {USA}},
+ edition = {1},
+ title = {The psychology of selling and advertising},
+ publisher = {{McGraw}-Hill Book Co.},
+ author = {Strong, Edward},
+ year = {1925}
+}
diff --git a/tests/ref/meta/bibliography-ordering.png b/tests/ref/meta/bibliography-ordering.png
new file mode 100644
index 00000000..e59e792b
--- /dev/null
+++ b/tests/ref/meta/bibliography-ordering.png
Binary files differ
diff --git a/tests/typ/meta/bibliography-ordering.typ b/tests/typ/meta/bibliography-ordering.typ
new file mode 100644
index 00000000..c1c9880b
--- /dev/null
+++ b/tests/typ/meta/bibliography-ordering.typ
@@ -0,0 +1,7 @@
+#set page(width: 300pt)
+
+@mcintosh_anxiety, @psychology25
+@netwok, @issue201, @arrgh, @quark, @distress,
+@glacier-melt, @issue201, @tolkien54, @sharing, @restful
+
+#bibliography("/works.bib")