chapter

Base page structure print

Etherport uses paged.js to generate a paged version of the publication. More information on paged.js in their documentation.

The print version is rendered as one page. Roughly the publication is organised like this:

Reference

References are links to an object (often labels) within a text. There are two types of references: direct links where the label of the linked object is shown directly in the text, or inline references where a part of the text is marked as linked to an object.

Direct reference

<a href=""

  id="{{ link.id }}"

  data-reference=""

  data-link-id="{{ link.id }}"

  data-link-target-type="{{ type of referenced object }}"

  data-label="{{ label of linked object}}"

  data-direct-link="true">

  <span class="reference--target">{{ label of linked object}}</span>

</a>

Inline reference

<a href=""

  id="{{ link.id }}"

  data-reference=""

  data-link-id="{{ link.id }}"

  data-link-target-type="{{ type of referenced object }}"

  data-label="{{ label of referenced object }}">

  <span class="reference--target">{{ label of linked object }}</span>

  <span class="reference--label--inline">{{ marked text }}</span>

</a>