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

[REQ] Allow additional info to be set for literature referencing #53

Open
mhatzl opened this issue Oct 23, 2023 · 0 comments
Open

[REQ] Allow additional info to be set for literature referencing #53

mhatzl opened this issue Oct 23, 2023 · 0 comments

Comments

@mhatzl
Copy link
Contributor

mhatzl commented Oct 23, 2023

Describe the solution you'd like

Citations using CSL allow to optionally specify page ranges, chapters, ... for a citation.
See Cite-Items.

It should be possible to add this info after an ID is set, because this information is specific to an ID.

Possible syntax:

[&&my-id{ locator: "123"; label: "page"}, other-id]

The info is set using the same syntax as with attributes.

Describe alternatives you've considered

Alternative syntax using () instead of {}, or JSON instead of CSS-like...
Would be less consistent with other elements.

Additional context

position and near-note properties should be set automatically by Unimarkup.
For this, the citation IDs must probably be stored during rendering to validate if a citation has already been cited.

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

1 participant