fix pdf rendering
This commit is contained in:
parent
5c2b517ec8
commit
84b5c10136
@ -99,7 +99,7 @@ other_tips.md
|
||||
'
|
||||
|
||||
pandoc -o tulpanomicon.epub --epub-chapter-level=2 title.md $FILES
|
||||
pandoc -o tulpanomicon.pdf --toc --toc-depth=2 title.md $FILES || pandoc -o test.tex -s --toc title.md $FILES
|
||||
pandoc -o tulpanomicon.pdf --include-in-header sectionpagebreak.tex --variable=subparagraph --toc --toc-depth=2 title.md $FILES || pandoc -o test.tex -s --toc title.md $FILES
|
||||
kindlegen tulpanomicon.epub
|
||||
mkdir -p ../book
|
||||
cp -vrf tulpanomicon.mobi ../book/
|
||||
|
4
src/sectionpagebreak.tex
Normal file
4
src/sectionpagebreak.tex
Normal file
@ -0,0 +1,4 @@
|
||||
\usepackage{titlesec}
|
||||
|
||||
\titleclass{\section}{top}
|
||||
\newcommand\sectionbreak{\clearpage}
|
Loading…
x
Reference in New Issue
Block a user