hayagriva icon indicating copy to clipboard operation
hayagriva copied to clipboard

German prose citation omits year from citation LASTNAME ()

Open michihupf opened this issue 1 year ago • 1 comments

Description

I am trying to cite this source in prose style in german language: Ketkar (2017) But I am running into a weird issue. The year that is supposed to be inserted between () is just missing.

I am using the latest typst compiler (0.12.0-2) from the Arch Linux extra repository locally.

@Ketkar2017

#cite(<Ketkar2017>, form: "prose", style: "deutsche-sprache")

#bibliography("bib.bib")

bib.bib:

@Inbook{Ketkar2017,
	author={Ketkar, Nikhil},
	title={Feed Forward Neural Networks},
	bookTitle={Deep Learning with Python: A Hands-on Introduction},
	year={2017},
	publisher={Apress},
	address={Berkeley, CA},
	pages={17--33},
	abstract={In this chapter we will cover some key concepts around feedforward neural networks.},
	isbn={978-1-4842-2766-4},
	doi={10.1007/978-1-4842-2766-4_3},
	url={https://doi.org/10.1007/978-1-4842-2766-4_3}
}

Image

Also when removing the blank lines from the typst source I get a completely different citation style? But this is somewhat unreleated.

@Ketkar2017
#cite(<Ketkar2017>, form: "prose", style: "deutsche-sprache")
#bibliography("bib.bib")

Image

I hope this can be fixed soon. Let me know if there are any questions :) I am using typst for my bachelor thesis right now and I have had an overall good experience except for this citation problem and not having something like LaTeXs \chapter, but I just built something like it myself

Reproduction URL

No response

Operating system

Linux

Typst version

  • [x] I am using the latest version of Typst

michihupf avatar Jan 17 '25 19:01 michihupf

Also when removing the blank lines from the typst source I get a completely different citation style? But this is somewhat unreleated.

This is due to how your style mandates citation grouping. @a @b (where the space between @a and @b can also be a newline) creates a citation group with both a and b, which is usually styled differently than separate citations.

PgBiel avatar Feb 04 '25 00:02 PgBiel