Skip to content

How to render a arxiv number in typst? #302

@resonweb

Description

@resonweb

In the hayagriva format, the arxiv number is including in the "serial-number". When I use a CSL style to render the bibliography in typst, there is no ready-made CSL style to render arxiv numbers. I want to manually modify the CSL file myself, but I cannot find the corresponding arxiv variable in the CSL manual.

Some people say that eprint=number and eprinttype=genre can be used equivalently, but this does not work with the following csl code:
text variable="number"
text variable="genre"

Can someone help solve it?

ALEPH:2001hzl:
  type: article
  title: '{A Combination of preliminary electroweak measurements and constraints on the standard model}'
  author:
  - Abbaneo, D.
  - others
  date: 2001
  serial-number:
    arxiv: hep-ex/0112021
  parent:
    type: periodical

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions