Skip to content
New issue

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

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

Already on GitHub? # to your account

typst writer creates a #bibliography for each --bibliography (but typst doesn't support multiple #bibliography calls) #8937

Closed
wlupton opened this issue Jul 3, 2023 · 1 comment
Labels

Comments

@wlupton
Copy link
Contributor

wlupton commented Jul 3, 2023

The typst writer appears to carry over the --bibliography options unchanged into the output file, e.g.,

% cat cite.md 
@RFC1149
% pandoc cite.md --bibliography tr-069-biblio-csl.bib --bibliography ietf-biblio-csl.bib -s -o cite-pandoc.typ
% tail -5 cite-pandoc.typ 
#cite("RFC1149")

#bibliography("tr-069-biblio-csl.bib")

#bibliography("ietf-biblio-csl.bib")

typst doesn't currently permit multiple #bibliography calls but it does permit the argument to be an array, so I think that this would be preferable.

#bibliography(("tr-069-biblio-csl.bib", "ietf-biblio-csl.bib"))

I'm using pandoc 3.1.4.

@wlupton wlupton added the bug label Jul 3, 2023
@jgm jgm closed this as completed in 1b52baa Jul 3, 2023
@wlupton
Copy link
Contributor Author

wlupton commented Jul 3, 2023

Thanks! And all done via the typst template too. Nice.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant