Skip to content

All (Misc?) entries with URL are recognized as webpage (in gb-7714-2015-numeric?) #312

@shirok1

Description

@shirok1
@standard{DASH,
  title = {Information Technology — {{Dynamic}} Adaptive Streaming over {{HTTP}} ({{DASH}}) — {{Part}} 1: {{Media}} Presentation Description and Segment Formats},
  author = {{ISO/IEC}},
  date = {2022-08},
  number = {ISO/IEC 23009-1:2022(E)},
  publisher = {International Organization for Standardization},
  url = {https://www.iso.org/standard/83314.html},
  pubstate = {Published},
  version = {5},
  file = {xxxxx/ISOIEC - 2022 - Information technology — Dynamic adaptive streaming over HTTP (DASH) — Part 1 Media presentation de.pdf}
}

Zotero:

[1] ISO/IEC. Information technology — Dynamic adaptive streaming over HTTP (DASH) — Part 1: Media presentation description and segment formats: ISO/IEC 23009-1:2022(E)[S/OL]. International Organization for Standardization, 2022. https://www.iso.org/standard/83314.html.

With URL (showing [EB/OL]):

Image

Without URL (showing [Z]):

Image

#bibliography("simple.bib", full: true, style: "gb-7714-2015-numeric")

The corresponding part in CSL:

  <macro name="type-id">
    <choose>
      <if type="article bill collection hearing legal_case legislation personal_communication regulation treaty" match="any">
        <!-- 档案,A:分类保存以备查考的文件和材料,如人事档案、科技档案、法律法规、政府文件等。
          article 为预印本,符合“科技档案”
        -->
        <text value="A"/>
      </if>
      <else-if type="article-journal article-magazine periodical" match="any">
        <text value="J"/>
      </else-if>
      <else-if type="article-newspaper">
        <text value="N"/>
      </else-if>
      <else-if type="book chapter classic entry-dictionary entry-encyclopedia" match="any">
        <text value="M"/>
      </else-if>
      <else-if type="dataset">
        <text value="DS"/>
      </else-if>
      <else-if type="map">
        <text value="CM"/>
      </else-if>
      <else-if type="paper-conference">
        <text value="C"/>
      </else-if>
      <else-if type="patent">
        <text value="P"/>
      </else-if>
      <else-if type="post post-weblog webpage" match="any">
        <text value="EB"/>
      </else-if>
      <else-if type="report">
        <text value="R"/>
      </else-if>
      <else-if type="software">
        <text value="CP"/>
      </else-if>
      <else-if type="standard">
        <text value="S"/>
      </else-if>
      <else-if type="thesis">
        <text value="D"/>
      </else-if>
      <else>
        <text value="Z"/>
      </else>
    </choose>
  </macro>

That @standards are recognized as Misc be a problem too, but maybe it should be a separated issue...

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