diff options
author | Andrew Dunning <adunning@users.noreply.github.com> | 2019-01-23 00:11:13 -0500 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-01-22 21:11:13 -0800 |
commit | 3ad225571706f58b18a6799fa22511e787109253 (patch) | |
tree | 310d3c1ba6253a4f4605887a1d4721f97cb7f48c /test/lua/test-pandoc-utils.lua | |
parent | 690193e4e5fd7449fe44bc870a74d2496a5d8c0e (diff) | |
download | pandoc-3ad225571706f58b18a6799fa22511e787109253.tar.gz |
LaTeX template: Respect `numbersections` for books (#5235)
Ensure that `\part` and `\chapter` are only numbered if `numbersections` is set. To return to the previous behaviour, use `-V numbersections -V secnumdepth=0`.
Notes on secnumdepth:
1 = Number `\section`
0 = Number `\chapter`
-1 = Number `\part`
-2 = No numbering
Diffstat (limited to 'test/lua/test-pandoc-utils.lua')
0 files changed, 0 insertions, 0 deletions