From 6bebe41d6e0b1759466eaef16e541ade543e92a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Mekina?= Date: Wed, 1 Oct 2025 22:25:35 +0200 Subject: [PATCH] add citation tests --- tests/citations.bib | 40 +++++++++++++++++++++++ tests/{citations.typ => citations_cs.typ} | 7 ++-- tests/citations_en.typ | 6 ++++ 3 files changed, 51 insertions(+), 2 deletions(-) rename tests/{citations.typ => citations_cs.typ} (62%) create mode 100644 tests/citations_en.typ diff --git a/tests/citations.bib b/tests/citations.bib index e69de29..b4bef11 100644 --- a/tests/citations.bib +++ b/tests/citations.bib @@ -0,0 +1,40 @@ +@article{Wang2025, + author = {Wang, Erming and Yu, Kaiwen and Cao, Jiqing and Wang, Minghui and Katsel, Pavel and Song, Won-min and Wang, Zhen and Li, Yuxin and Wang, Xusheng and Wang, Qian and Xu, Peng and Yu, Gefei and Zhu, Li and Geng, Jia and Habibi, Parnian and Qian, Lu and Tuck, Tony and Li, Aiqun and TCW, Julia and Roussos, Panos and Brennand, Kristen J. and Haroutunian, Vahram and Johnson, Erik C.B. and Seyfried, Nicholas T. and Levey, Allan I. and Bennett, David A. and Peng, Junmin and Cai, Dongming and Zhang, Bin}, + title = {Multiscale proteomic modeling reveals protein networks driving Alzheimer’s disease pathogenesis}, + journal = {Cell}, + year = {2025}, + volume = {}, + number = {}, + pages = {}, + publisher = {Elsevier}, + doi = {10.1016/j.cell.2025.08.038}, + url = {https://doi.org/10.1016/j.cell.2025.08.038}, + issn = {0092-8674} +} + +@misc{csl, + title = {Citation Style Language}, + year = {2025}, + medium = {online}, + accessed = {2025-06-10}, + URL = {https://citationstyles.org/}, +} + +@misc{linux, + journal = {Blog | Linux Foundation}, + title = {Classic SysAdmin: Vim 101: A Beginner’s Guide to Vim}, + year = {2025}, + medium = {online}, + accessed = {2025-06-10}, + URL = {https://www.linuxfoundation.org/blog/blog/classic-sysadmin-vim-101-a-beginners-guide-to-vim}, +} + +@book{Satrapa2011, + author = {Pavel Satrapa}, + title = {IPv6}, + publisher = {Edice CZ.NIC}, + year = {2011}, + edition = {3. vydání}, + ISBN = {978-80-904248-4-9}, + URL = {https://www.bookport.cz/kniha/ipv6-treti-vydani-5999/}, +} diff --git a/tests/citations.typ b/tests/citations_cs.typ similarity index 62% rename from tests/citations.typ rename to tests/citations_cs.typ index b23f06b..b6b37f6 100644 --- a/tests/citations.typ +++ b/tests/citations_cs.typ @@ -1,4 +1,7 @@ -// todo: add citations +@Wang2025 +@csl +@linux +@Satrapa2011 -#pagebreak(weak: true) +#set text(lang: "cs") #bibliography("citations.bib", title: "Bibliography - CZ", style: "../template/tul_citace.csl") diff --git a/tests/citations_en.typ b/tests/citations_en.typ new file mode 100644 index 0000000..a56ecdd --- /dev/null +++ b/tests/citations_en.typ @@ -0,0 +1,6 @@ +@Wang2025 +@csl +@linux +@Satrapa2011 + +#bibliography("citations.bib", title: "Bibliography - EN")