Skip to content

Commit 51c78ec

Browse files
authored
Merge pull request #9 from ehamberg/fix/pandoc-deprecation-warning
Fix pandoc deprecation warning for `--chapters` switch
2 parents 19ef96b + 159fda6 commit 51c78ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ all.pdf: all.tex
2424
all.tex: book.tex $(TEXFILES)
2525
$(PANDOC) --filter pandoc-minted.py --latex-engine=xelatex \
2626
-f markdown+lhs+tex_math_single_backslash -t latex+lhs \
27-
--chapters -N \
27+
--top-level-division=chapter -N \
2828
--toc \
2929
-o $@ $(foreach tex,$(filter-out $<,$^),-A $(tex)) \
3030
book.tex
3131

3232
%.tex: %.lidr
3333
$(PANDOC) --filter pandoc-minted.py --latex-engine=xelatex \
3434
-f markdown+lhs+tex_math_single_backslash -t latex+lhs \
35-
--chapters -N \
35+
--top-level-division=chapter -N \
3636
-o $@ $<

0 commit comments

Comments
 (0)