reduce section number depth in .pdf
authorDietmar Maurer <dietmar@proxmox.com>
Sat, 2 Apr 2016 10:59:13 +0000 (12:59 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Sat, 2 Apr 2016 10:59:13 +0000 (12:59 +0200)
Makefile

index b4a2830..2fb88d2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -131,7 +131,7 @@ pve-admin-guide.html: ${PVE_ADMIN_GUIDE_SOURCES}
 
 pve-admin-guide.pdf: ${PVE_ADMIN_GUIDE_SOURCES} docinfo.xml pve-admin-guide-docinfo.xml
        grep ">Release ${RELEASE}<" pve-admin-guide-docinfo.xml || (echo "wrong release in  pve-admin-guide-docinfo.xml" && false);
-       a2x -a docinfo -a docinfo1 -f pdf -L --dblatex-opts "-P latex.output.revhistory=0" --dblatex-opts "-P latex.class.options=12pt" pve-admin-guide.adoc
+       a2x -a docinfo -a docinfo1 -f pdf -L --dblatex-opts "-P latex.output.revhistory=0" --dblatex-opts "-P latex.class.options=12pt" --dblatex-opts "-P doc.section.depth=2 -P toc.section.depth=2" pve-admin-guide.adoc
        test -z "$${NOVIEW}" && $(BROWSER) $@ &
 
 pve-admin-guide.epub: ${PVE_ADMIN_GUIDE_SOURCES}