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

CSL short title support #173

Closed
pjtsearch opened this issue May 25, 2024 · 1 comment
Closed

CSL short title support #173

pjtsearch opened this issue May 25, 2024 · 1 comment

Comments

@pjtsearch
Copy link
Contributor

Description

CSL has an option for short titles that is used, for example, in the chicago-note format:

...
<text variable="title" text-case="title" form="short" font-style="italic" />
...

Right now, Typst uses the BibTex title field for the CSL short title, but BibTex also has a field shorttitle that should be used instead. Ex.

@book{mchugo_syria_2015,
  title = {Syria: {{A History}} of the {{Last Hundred Years}}},
  shorttitle = {Syria: {{A History}}},
  author = {McHugo, John},
  year = {2015},
  publisher = {The New Press},
  address = {New York},
  urldate = {2023-01-09},
  isbn = {978-1-62097-045-4},
  langid = {english},
  keywords = {syria}
}

Thus, instead of looking like this:
image
It would look like this:
image

Use Case

This feature would be useful to users who use the chicago-note style or other CSL styles that use the short title.

@laurmaedje laurmaedje transferred this issue from typst/typst May 25, 2024
@reknih
Copy link
Member

reknih commented Oct 2, 2024

Closed in #174

@reknih reknih closed this as completed Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants