aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MANUAL.txt2
-rw-r--r--man/pandoc.121
2 files changed, 18 insertions, 5 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index 0d6ce597b..fb8896ffe 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -1,7 +1,7 @@
---
title: Pandoc User's Guide
author: John MacFarlane
-date: January 25, 2023
+date: February 8, 2023
---
# Synopsis
diff --git a/man/pandoc.1 b/man/pandoc.1
index 8d1bd4c4b..6674d266d 100644
--- a/man/pandoc.1
+++ b/man/pandoc.1
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pandoc 3.0
+.\" Automatically generated by Pandoc 3.0.1
.\"
.\" Define V font for inline verbatim, using C font in formats
.\" that render this, and otherwise B font.
@@ -14,7 +14,7 @@
. ftr VB CB
. ftr VBI CBI
.\}
-.TH "Pandoc User\[cq]s Guide" "" "January 25, 2023" "pandoc 3.0.1" ""
+.TH "Pandoc User\[cq]s Guide" "" "February 8, 2023" "pandoc 3.1" ""
.hy
.SH NAME
pandoc - general markup converter
@@ -1360,6 +1360,19 @@ chapter level of 2 or 3.
For chunked HTML, this option determines how much content goes in each
\[lq]chunk.\[rq]
.TP
+\f[V]--chunk-template=\f[R]\f[I]PATHTEMPLATE\f[R]
+Specify a template for the filenames in a \f[V]chunkedhtml\f[R]
+document.
+In the template, \f[V]%n\f[R] will be replaced by the chunk number
+(padded with leading 0s to 3 digits), \f[V]%s\f[R] with the section
+number of the chunk, \f[V]%h\f[R] with the heading text (with formatting
+removed), \f[V]%i\f[R] with the section identifier.
+For example, \f[V]%section-%s-%i.html\f[R] might be resolved to
+\f[V]section-1.1-introduction.html\f[R].
+The characters \f[V]/\f[R] and \f[V]\[rs]\f[R] are not allowed in chunk
+templates and will be ignored.
+The default is \f[V]%s-%i.html\f[R].
+.TP
\f[V]--epub-chapter-level=\f[R]\f[I]NUMBER\f[R]
\f[I]Deprecated synonym for \f[VI]--split-level\f[I].\f[R]
.TP
@@ -4489,8 +4502,8 @@ Term 2
.PP
Note that space between items in a definition list is required.
(A variant that loosens this requirement, but disallows \[lq]lazy\[rq]
-hard wrapping, can be activated with \f[V]compact_definition_lists\f[R]:
-see Non-default extensions, below.)
+hard wrapping, can be activated with the
+\f[V]compact_definition_lists\f[R] extension.)
.SS Numbered example lists
.SS Extension: \f[V]example_lists\f[R]
.PP