summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-11-29 18:40:47 +0100
committerLaurenz <laurmaedje@gmail.com>2023-11-29 18:40:47 +0100
commit63c19a194cbb8f8ecc40ed27ca04a4892f798377 (patch)
tree04825eb279dccaeb545bce07f7ccb1e56219fa27
parent3bd7318ec729392a88be5135851224c104b3a093 (diff)
Bump hayagriva
-rw-r--r--Cargo.lock4
-rw-r--r--Cargo.toml2
-rw-r--r--assets/files/works_too.bib7
-rw-r--r--tests/ref/bugs/bibliography-math.pngbin0 -> 15075 bytes
-rw-r--r--tests/typ/bugs/bibliography-math.typ4
5 files changed, 14 insertions, 3 deletions
diff --git a/Cargo.lock b/Cargo.lock
index a4ba23cf..dfd01d8b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -798,9 +798,9 @@ checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604"
[[package]]
name = "hayagriva"
-version = "0.5.0"
+version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ce91abe74c9f37ac2997dd4a09680d1e5ce1fe3bf5bd1b10ea47f8c893e46656"
+checksum = "f9f97c07366b7f686741521ca63cc14baf18cea53c39b0c09873cd1d4a1b2b8c"
dependencies = [
"biblatex",
"ciborium",
diff --git a/Cargo.toml b/Cargo.toml
index 344d8893..5c1d21a1 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -43,7 +43,7 @@ ecow = { version = "0.2", features = ["serde"] }
env_proxy = "0.4"
flate2 = "1"
fontdb = { version = "0.15", default-features = false }
-hayagriva = "0.5"
+hayagriva = "0.5.1"
heck = "0.4"
hypher = "0.1.4"
iai = { git = "https://github.com/typst/iai", rev = "3f0f927" }
diff --git a/assets/files/works_too.bib b/assets/files/works_too.bib
index 8ccbe5d1..fd80f8f5 100644
--- a/assets/files/works_too.bib
+++ b/assets/files/works_too.bib
@@ -8,3 +8,10 @@
year = {2007},
publisher = {ACM New York, NY, USA}
}
+
+@Article{Zee04,
+ author = {Zee, Jay},
+ journal = {The Black Album},
+ title = {I've got $99$ problems, I am {S}toked to say},
+ year = {2004},
+}
diff --git a/tests/ref/bugs/bibliography-math.png b/tests/ref/bugs/bibliography-math.png
new file mode 100644
index 00000000..0ab308dc
--- /dev/null
+++ b/tests/ref/bugs/bibliography-math.png
Binary files differ
diff --git a/tests/typ/bugs/bibliography-math.typ b/tests/typ/bugs/bibliography-math.typ
new file mode 100644
index 00000000..2f3dabcd
--- /dev/null
+++ b/tests/typ/bugs/bibliography-math.typ
@@ -0,0 +1,4 @@
+#set page(width: 200pt)
+
+@Zee04
+#bibliography("/files/works_too.bib", style: "mla")