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

Make it easier to use typst output with --citeproc #10662

Closed
jgm opened this issue Mar 4, 2025 · 2 comments
Closed

Make it easier to use typst output with --citeproc #10662

jgm opened this issue Mar 4, 2025 · 2 comments
Labels

Comments

@jgm
Copy link
Owner

jgm commented Mar 4, 2025

Currently if you use -t typst with --citeproc, you'll get a typst #bibliography and native typst citations, which isn't desired. See #10655. Using -t typst-citations is required: this disables the native typst citation syntax. But this is pretty counterintuitive and is likely to trip up users. It would be good to disable the citations extension in the typst writer automatically when --citeproc is used.

@jgm jgm added the bug label Mar 4, 2025
@jgm
Copy link
Owner Author

jgm commented Mar 5, 2025

I note the following in the man page for --citeproc:

Note: if your target format is markdown, org, or typst,
you will need to disable the citations extension (e.g., -t markdown-citations) to see the rendered citations and
bibliography. Otherwise the format's own citation syntax will
be used.

So I think this is already well documented, and maybe that's enough.

@jgm jgm closed this as completed in e73b9ee Mar 5, 2025
@jgm
Copy link
Owner Author

jgm commented Mar 5, 2025

I decided to disable the citations extension in the writer when --citeproc is specified; this will fix the problem.

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

No branches or pull requests

1 participant