From 4242acba98e9c87b114855035211e48725f4381e Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 15 Feb 2021 17:49:10 +0000 Subject: [PATCH] ITS#7508 create explicit title page with mod date --- doc/guide/admin/Makefile | 5 ++++- doc/guide/admin/booktitle.sdf | 34 ++++++++++++++++++++++++++++++++++ doc/guide/admin/guide.book | 2 +- 3 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 doc/guide/admin/booktitle.sdf diff --git a/doc/guide/admin/Makefile b/doc/guide/admin/Makefile index 148476c894..b198c7dea4 100644 --- a/doc/guide/admin/Makefile +++ b/doc/guide/admin/Makefile @@ -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 index 0000000000..15c86fcc3b --- /dev/null +++ b/doc/guide/admin/booktitle.sdf @@ -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 +
+!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 +
+!endblock +!endmacro + +!macro HTML_HEADER +!endmacro + +!macro HTML_FOOTER +!endmacro + +!build_title + diff --git a/doc/guide/admin/guide.book b/doc/guide/admin/guide.book index 76eb69cb1c..28e10c25e2 100644 --- a/doc/guide/admin/guide.book +++ b/doc/guide/admin/guide.book @@ -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 -- 2.47.3