We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--number-sections
1 parent 56dee75 commit b6ff246Copy full SHA for b6ff246
init.lua
@@ -21,9 +21,9 @@ function Pandoc(doc)
21
pandoc.log.warn('`native_numbering` extension must not be used. Exiting.')
22
return
23
end
24
- if FORMAT == 'docx' and PANDOC_WRITER_OPTIONS.extensions:includes('number_sections') then
+ if FORMAT == 'docx' and PANDOC_WRITER_OPTIONS.number_sections == true then
25
pandoc.log.warn(
26
- '`number_sections` extension must not be used with DOCX. '
+ '`--number-sections` option must not be used with DOCX. '
27
.. 'Instead, associate a Number Format with your Heading style in your reference-doc. '
28
.. 'Exiting.'
29
)
0 commit comments