aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-03-26 13:37:08 -0700
committerJohn MacFarlane <[email protected]>2023-03-26 21:32:31 -0700
commit4780b4760d26e39597ab6868b0ddca1e64b609f6 (patch)
tree40e2b1cafad0fb2d2e5c4b1f69459a52a3066fce /man
parentcd6b3bde622c93eea763e981692b4bc53dd5e5df (diff)
More Typst writer improvements.
+ Update manual with variables for Typst. + Split `lang` metadata into separate `lang` and `region` for Typst. + Fix label positioning in Divs. + Fix text customizations (lang, region, font, size) so they actually work. + Update tests and man page.
Diffstat (limited to 'man')
-rw-r--r--man/pandoc.123
1 files changed, 22 insertions, 1 deletions
diff --git a/man/pandoc.1 b/man/pandoc.1
index bb7f6ccf3..ab2afb7b1 100644
--- a/man/pandoc.1
+++ b/man/pandoc.1
@@ -14,7 +14,7 @@
. ftr VB CB
. ftr VBI CBI
.\}
-.TH "Pandoc User\[cq]s Guide" "" "March 26, 2023" "pandoc 3.1.1" ""
+.TH "Pandoc User\[cq]s Guide" "" "March 26, 2023" "pandoc 3.1.2" ""
.hy
.SH NAME
pandoc - general markup converter
@@ -3235,6 +3235,27 @@ if \f[V]true\f[R] (the default), hyphenation will be used
.TP
\f[V]section\f[R]
section number in man pages
+.SS Variables for Typst
+.TP
+\f[V]margin\f[R]
+A dictionary with the fields defined in the Typst documentation:
+\f[V]x\f[R], \f[V]y\f[R], \f[V]top\f[R], \f[V]bottom\f[R],
+\f[V]left\f[R], \f[V]right\f[R].
+.TP
+\f[V]papersize\f[R]
+Paper size: \f[V]a4\f[R], \f[V]us-letter\f[R], etc.
+.TP
+\f[V]mainfont\f[R]
+Name of system font to use for the main font.
+.TP
+\f[V]fontsize\f[R]
+Font size (e.g., \f[V]12pt\f[R]).
+.TP
+\f[V]section-numbering\f[R]
+Schema to use for numbering sections, e.g.\ \f[V]1.A.1\f[R].
+.TP
+\f[V]columns\f[R]
+Number of columns for body text.
.SS Variables for ms
.TP
\f[V]fontfamily\f[R]