Enscribe
Stores

Opaque data held under an id for a consumer to interpret — the data container, bibliography sources, and datasets.

<data> General Usage

Semantic role: data. Compiles to eHTML <data>.

Registers:

  • Canonical: <data>
<data>
  <library format=bibtex>
    @article{goodall2024,
      author = {Goodall, Jane},
      title = {The Effect of Elephants on Climate},
      journal = {Nature},
      year = {2024}
    }
  </library>
</data>

(Rendered preview omitted — <data> / @-references resolve at document scope, not inside a sealed preview.)

A library block in BibTeX format. The library plugin parses this, registers entries in the citation system. The <data> block itself produces no rendered output.

<dataset> General Usage

Semantic role: dataset. Compiles to eHTML <dataset>.

Registers:

  • Canonical: <dataset>
<data>
  <dataset #sales csv>
quarter,revenue
Q1,100
Q2,120
Q3,145
  </dataset>
</data>

<table src="@sales" />

(Rendered preview omitted — <data> / @-references resolve at document scope, not inside a sealed preview.)

A CSV dataset is stored once under #sales and a <table src=”@sales” /> pulls it in and renders it as a grid. The dataset itself renders nothing; the consuming element decides how to present the opaque bytes.

Arguments
attribute kind values / default notes
format format-word csv tsv json other The format word — the canonical way to name the payload language (&lt;dataset #id csv&gt;…&lt;/dataset&gt;).
format kwarg csv tsv json other Attribute-form equivalent of the format-word positional (&lt;dataset #id format=csv&gt;…&lt;/dataset&gt;).
<library> General Usage

Semantic role: library. Compiles to eHTML <library>.

Registers:

  • Canonical: <library>
<library format=bibtex>
  @article{goodall2024,
    author = {Goodall, Jane},
    title = {The Effect of Elephants on Climate},
    journal = {Nature},
    year = {2024}
  }

  @book{darwin1859,
    author = {Darwin, Charles},
    title = {On the Origin of Species},
    publisher = {John Murray},
    year = {1859}
  }
</library>
Minipage 120.

A BibTeX library block. The parser reads the entries and registers goodall2024 and darwin1859 in the citation registry. Citations elsewhere (e.g., <cite goodall2024>) resolve against these entries. The library block itself produces no rendered output.

<library format=csl-json>
  [
    {
      "id": "goodall2024",
      "type": "article-journal",
      "author": [{"family": "Goodall", "given": "Jane"}],
      "title": "The Effect of Elephants on Climate",
      "container-title": "Nature",
      "issued": {"date-parts": [[2024]]}
    }
  ]
</library>
Minipage 121.
Arguments
attribute kind values / default notes
format format-word bibtex csl-json ris endnote-xml other The format word — the canonical way to name the payload language (`<library bibtex …>`).
format kwarg bibtex csl-json ris endnote-xml other (default auto) Attribute-form equivalent of the format-word positional.
src kwarg External source (#133):