Here is a brief overview of the text authoring workflow
using Quarto publishing system.

*TODO: rewrite these loose notes...*

## Tooling

Collection of interrelated POSIX scripts and Pandoc extensions
for enabling semantic annotations in Markdown-based authoring workflows.

* filter extension to capture annotations
  * identify semantic metadata in stylistic metadata part of Pandoc YAML header
  * identify semantic metadata in content part of Pandoc document structure
  * append semantic metadata to Pandoc YAML document header
  * strip identified metadata from stylistic metadata and content
* output format extension to generate PDF
  * read semantic metadata from Pandoc YAML document header
  * structure semantic metadata as RDF triples
  * append RDF triples serialized as part of XMP metadata in PDF
* output format extension to generate web page
  * read semantic metadata from Pandoc YAML document header
  * structure semantic metadata as RDF triples
  * append RDF triples serialized as RDFa

## Interfaces

* Pandoc document object model (DOM)
* Resource Description Framework (RDF)
  * XMP
  * RDFa
* Markdown
  * Semantic Markdown
* CommonMark
  * Semantic CommonMark
