diff options
| author | Akash Patel <[email protected]> | 2024-09-22 13:49:52 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-09-22 11:49:52 -0700 |
| commit | ca348940e3197180b25a64fdba16df7a62e88b6e (patch) | |
| tree | bdb537d0750d7db697c1bdaf1ffece568f7063bd /doc | |
| parent | 46ebe25b69d59a670d3b3e2ff61d93c80bfad7f3 (diff) | |
Add support for list of figures (lof) and list of tables (lot) (#10029)
Two new command-line options are added:
`--lof[=true|false]`, `--list-of-figures[=true|false]`
`--lot[=true|false]`, `--list-of-tables[=true|false]`
Only docx, latex, and context are supported at this point.
Setting the `lof` and `lot` variables will also work for the formats that are
currently supported.
[API changes]
+ Lua: `list_of_figures` and `list_of_tables` can now be used in writer options.
+ Text.Pandoc.Options: add `writerListOfFigures` and `writerListOfTables` fields
to `WriterOptions`.
+ Text.Pandoc.App.Opt: add `optListOfFigures` and `optListOfTables` to `Opt`.
Closes #8245.
Co-authored-by: John MacFarlane <[email protected]>
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/pandoc-server.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/pandoc-server.md b/doc/pandoc-server.md index c5c4e36d9..881e16f46 100644 --- a/doc/pandoc-server.md +++ b/doc/pandoc-server.md @@ -190,6 +190,14 @@ the first one given is the default. : Depth of sections to include in the table of contents. +`list-of-figures` (boolean, default false) + +: Include a list of figures (in supported formats). + +`list-of-tables` (boolean, default false) + +: Include a list of tables (in supported formats). + `strip-comments` (boolean, default false) : Causes HTML comments to be stripped in Markdown or Textile |
