From: Dietmar Maurer Date: Sat, 2 Apr 2016 10:59:13 +0000 (+0200) Subject: reduce section number depth in .pdf X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=commitdiff_plain;h=27125931d32fff833a097d4a5254f385d476ea44 reduce section number depth in .pdf --- diff --git a/Makefile b/Makefile index b4a2830..2fb88d2 100644 --- 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}