8000 Update build-pdf.pl for current Pandoc. · log4cplus/log4cplus@6b1ab10 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6b1ab10

Browse files
committed
Update build-pdf.pl for current Pandoc.
1 parent 98f980d commit 6b1ab10

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

scripts/build-pdf.pl

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,21 @@
2222
, 'LICENSE' );
2323

2424
my @PANDOC_1ST_STEP_SWITCHES =
25-
( '--smart'
26-
, '--self-contained'
27-
, '--normalize'
28-
, '--atx-headers'
29-
, '-f', 'markdown'
25+
( '--self-contained'
26+
, '--markdown-headings=atx'
27+
, '-f', 'markdown+smart'
3028
, '-t', 'markdown' );
3129

3230
my @PANDOC_2ND_STEP_SWITCHES =
33-
( '--smart'
34-
, '--self-contained'
31+
( '--self-contained'
3532
, '--toc'
3633
, '--number-sections'
3734
# Qt4 / Win32 / MSVC has example that breaks listings on some versions of
3835
# TeXLive
3936
, '--listings'
40-
, '-f', 'markdown'
37+
, '-f', 'markdown+smart'
4138
, '-t', 'latex',
42-
, '--latex-engine=lualatex',
39+
, '--pdf-engine=lualatex',
4340
, '--include-in-header=docs/latex-header.tex'
4441
, '--include-before-body=docs/latex-body.tex'
4542
, '-V', 'lang=en-US',

0 commit comments

Comments
 (0)
0