Skip to content

How-to guides¤

Solutions to specific problems, for people already using the package.

If you have never used it before, start with Make your first formattable type — these guides assume you know what pparts is. If you want the full list of axes, keywords or constraints rather than steps, that is in the reference.

Making your types renderable¤

Extending the grammar¤

  • How to add an axis — when a spec needs to ask for something the engine has no word for, including sharing a word safely with another library.
  • How to add a markup — when you need an output format beside text, HTML and LaTeX.
  • How to render your own payload type — when you own the array or quantity inside a fragment and want to decide what a value format spec means for it.