Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

German prose citation omits year from citation LASTNAME () #271

Open
1 task done
michihupf opened this issue Jan 17, 2025 · 1 comment
Open
1 task done

German prose citation omits year from citation LASTNAME () #271

michihupf opened this issue Jan 17, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@michihupf
Copy link

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

  • I am using the latest version of Typst
@michihupf michihupf added the bug Something isn't working label Jan 17, 2025
@laurmaedje laurmaedje changed the title german prose citation omits year from citation LASTNAME () German prose citation omits year from citation LASTNAME () Jan 23, 2025
@laurmaedje laurmaedje transferred this issue from typst/typst Jan 23, 2025
@PgBiel
Copy link
Contributor

PgBiel commented Feb 4, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants