mirror of
https://github.com/typst/typst
synced 2025-05-13 20:46:23 +08:00
Fix numeric bibliography ordering
This commit is contained in:
parent
13ece5ec26
commit
1336219690
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -59,7 +59,7 @@ checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8"
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "biblatex"
|
name = "biblatex"
|
||||||
version = "0.6.3"
|
version = "0.6.3"
|
||||||
source = "git+https://github.com/typst/biblatex#932ad283dd45dd88d4fa14dc5b9bda7a270ba027"
|
source = "git+https://github.com/typst/biblatex#ffdcd63906f0fd6c2736727af2d91a5da0bfd64e"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"numerals",
|
"numerals",
|
||||||
@ -431,7 +431,7 @@ checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "hayagriva"
|
name = "hayagriva"
|
||||||
version = "0.1.1"
|
version = "0.1.1"
|
||||||
source = "git+https://github.com/typst/hayagriva#754efb7e1034bcd4d4f1366e432197edbbfb9ed5"
|
source = "git+https://github.com/typst/hayagriva#d42d30f673b5446775e4c393a2f4f2bca5773a5d"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"biblatex",
|
"biblatex",
|
||||||
"chrono",
|
"chrono",
|
||||||
|
@ -41,3 +41,54 @@
|
|||||||
year = {2005},
|
year = {2005},
|
||||||
doi = {10.1191/0309133305pp453ra},
|
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}
|
||||||
|
}
|
||||||
|
BIN
tests/ref/meta/bibliography-ordering.png
Normal file
BIN
tests/ref/meta/bibliography-ordering.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 141 KiB |
7
tests/typ/meta/bibliography-ordering.typ
Normal file
7
tests/typ/meta/bibliography-ordering.typ
Normal file
@ -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")
|
Loading…
x
Reference in New Issue
Block a user