Skip to content

Provide an ability to pass bibliography entries as a string instead of path to the file (with them inside) #5361

@Andrew15-5

Description

@Andrew15-5

Description

I had an idea of making a self-contained example/document where (at least) bibliography is included in the Typst file as a str and then passed to the bibliography(). But it only allows file paths.

I also want the bibliography.style to accept a str of XML content in addition to predefined styles and file names. But perhaps this can be a separate issue.

Use Case

Excellent one-file MRE for bibliography issues. It's always way less convenient to re-create all the files separately and populate their content, than just copy a single Typst code, and you are all set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bibliographyAnything about citations and bibliographies.feature requestNew feature or requestscriptingAbout Typst's coding capabilities

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions