feat: add attachments to outline and document new fields

This commit is contained in:
2026-01-21 21:37:41 +02:00
parent 610ab2e7d0
commit 1b96f36217
2 changed files with 16 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ configure the whole document and `attachment` helper function. Important argumen
- `abstract`: A record with `primary` and `secondary` abstracts. Each has
`text` (content) and `keywords` (array) as well as `title`, `lang` and `keyword-title`.
- `bibliography`: Result of `bibliography("path/to/file.yml")` or `none`.
- `attachments`: Tuple of `attachment(...)` items (tables, figures).
- `attachments`: Tuple of `attachment(...)` items (tables, figures). All attachments must be referenced in the document body to appear in the outline.
- `display-documentary`: Whether to display the documentary page at the end. Defaults to `true`.
- `description`: Document description for PDF metadata. Defaults to `none`.
- Positional argument: the document body follows the `ludf.with(...)` call.