]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#7508 create explicit title page with mod date
authorHoward Chu <hyc@openldap.org>
Mon, 15 Feb 2021 17:49:10 +0000 (17:49 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 15 Feb 2021 17:49:10 +0000 (17:49 +0000)
doc/guide/admin/Makefile
doc/guide/admin/booktitle.sdf [new file with mode: 0644]
doc/guide/admin/guide.book

index 148476c894e18665068cc7e72a23e107886f4303..b198c7dea42021fc70e8333985a1fc63be8316de 100644 (file)
@@ -86,7 +86,10 @@ index.html: index.sdf sdf-src sdf-img
 admin.html: admin.sdf sdf-src sdf-img
        sdf -DPDF -2html admin.sdf
 
-guide.pdf: admin.html guide.book
+booktitle.html: booktitle.sdf
+       sdf -2html booktitle.sdf
+
+guide.pdf: admin.html booktitle.html guide.book
        htmldoc --batch guide.book -f guide.pdf
 
 OpenLDAP-Admin-Guide.pdf: admin.html guide.book
diff --git a/doc/guide/admin/booktitle.sdf b/doc/guide/admin/booktitle.sdf
new file mode 100644 (file)
index 0000000..15c86fc
--- /dev/null
@@ -0,0 +1,34 @@
+# $OpenLDAP$
+# Copyright 1999-2021 The OpenLDAP Foundation, All Rights Reserved.
+# COPYING RESTRICTIONS APPLY, see COPYRIGHT.
+#
+# Document: OpenLDAP Administrator's Guide
+# Master: master.sdf
+# 
+
+!include "../preamble.sdf"
+
+!define DOC_TOC        3
+!define DOC_TYPE       "Administrator's Guide"
+
+!macro build_html_cover
+!block inline
+<DIV align="Center">
+!endblock
+!default DOC_HTML_LOGO_BASE  $var{'DOC_LOGO_BASE'}
+!import "../images/LDAPwww.gif"; base=$var{'DOC_HTML_LOGO_BASE'}
+P1[notoc; class='doc-title'] [[DOC_TITLE]]
+Sign[class='doc-modified'] [[DATE:DOC_MODIFIED]]
+!block inline
+</DIV>
+!endblock
+!endmacro
+
+!macro HTML_HEADER
+!endmacro
+
+!macro HTML_FOOTER
+!endmacro
+
+!build_title
+
index 76eb69cb1c9ebbd0ba6732f0c0476d98fce859bd..28e10c25e2e8c856eb487d52ed5577f8ee3d9d32 100644 (file)
@@ -1,3 +1,3 @@
 #HTMLDOC 1.8.27
--t pdf14 --book --toclevels 3 --no-numbered --toctitle "Table of Contents" --title --titleimage "../images/LDAPwww.gif" --linkstyle plain --size Universal --left 1.00in --right 0.50in --top 0.50in --bottom 0.50in --header .t. --header1 ... --footer ..1 --nup 1 --tocheader .t. --tocfooter ..i --duplex --portrait --color --no-pscommands --no-xrxcomments --compression=1 --jpeg=0 --fontsize 11.0 --fontspacing 1.2 --headingfont Helvetica --bodyfont Times --headfootsize 11.0 --headfootfont Helvetica --charset iso-8859-1 --links --embedfonts --pagemode outline --pagelayout single --firstpage p1 --pageeffect none --pageduration 10 --effectduration 1.0 --no-encryption --permissions all  --owner-password ""  --user-password "" --browserwidth 680 --no-strict --no-overflow
+-t pdf14 --book --toclevels 3 --no-numbered --toctitle "Table of Contents" --title --titlefile "booktitle.html" --linkstyle plain --size Universal --left 1.00in --right 0.50in --top 0.50in --bottom 0.50in --header .t. --header1 ... --footer ..1 --nup 1 --tocheader .t. --tocfooter ..i --duplex --portrait --color --no-pscommands --no-xrxcomments --compression=1 --jpeg=0 --fontsize 11.0 --fontspacing 1.2 --headingfont Helvetica --bodyfont Times --headfootsize 11.0 --headfootfont Helvetica --charset iso-8859-1 --links --embedfonts --pagemode outline --pagelayout single --firstpage p1 --pageeffect none --pageduration 10 --effectduration 1.0 --no-encryption --permissions all  --owner-password ""  --user-password "" --browserwidth 680 --no-strict --no-overflow
 admin.html