pgbackrest.git / summary / log / commit / refs
commit 246d4415079550f4f1391c09ad874c2cf4e3fa37
Author: David Steele <david@pgmasters.net>
Date: Wed Feb 21 20:30:35 2018 +0000
More flexible replacements for PDF titles and footers.
doc/manifest.xml | 13 ++++++++++---
doc/resource/latex/preamble.tex | 15 +++++++--------
doc/xml/release.xml | 2 +-
3 files changed, 18 insertions(+), 12 deletions(-)
diff --git a/doc/manifest.xml b/doc/manifest.xml
index fd01a7d8d..8a1585f94 100644
--- a/doc/manifest.xml
+++ b/doc/manifest.xml
@@ -62,9 +62,16 @@
<!-- <variable key="html-logo"><img src="{[project-logo]}"></variable> -->
<!-- PDF variables -->
- <variable key="pdf-title">{[project]} User Guide</variable>
- <variable key="pdf-subtitle">Open Source PostgreSQL Backup and Restore Utility</variable>
- <variable key="pdf-version">Version {[version]}</variable>
+ <variable key="pdf-title1">{[project]} User Guide</variable>
+ <variable key="pdf-title2">Open Source PostgreSQL Backup and Restore Utility</variable>
+ <variable key="pdf-title3">Version {[version]}</variable>
+
+ <variable key="pdf-organization">Crunchy Data Solutions, Inc.</variable>
+
+ <variable key='pdf-footer-left'>{[pdf-title1]}\\{[pdf-title3]}</variable>
+ <variable key='pdf-footer-center'>\ \\-\ \thepage\ -</variable>
+ <variable key='pdf-footer-right'>{[pdf-organization]}\\\today</variable>
+
<variable key="pdf-file">CrunchyBackRest-UserGuide-{[version]}</variable>
</variable-list>
diff --git a/doc/resource/latex/preamble.tex b/doc/resource/latex/preamble.tex
index 82c565500..519e9aa2b 100644
--- a/doc/resource/latex/preamble.tex
+++ b/doc/resource/latex/preamble.tex
@@ -106,10 +106,9 @@
\lhead[]{TABLE OF CONTENTS}
}
-\lfoot[]{{[pdf-title]}\\
- {[pdf-version]}}
-\cfoot[]{\ \\-\ \thepage\ -}
-\rfoot[]{Crunchy Data Solutions, Inc.\\\today}
+\lfoot[]{{[pdf-footer-left]}}
+\cfoot[]{{[pdf-footer-center]}}
+\rfoot[]{{[pdf-footer-right]}}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0.4pt}
@@ -128,11 +127,11 @@
\begin{titlepage}
\begin{center}
{\large \ }\\[18ex]
- {\huge \bfseries {[pdf-title]}}\\[1ex]
- {\large \bfseries {[pdf-version]}}\\[4ex]
- {\large {[pdf-subtitle]}}\\[12ex]
+ {\huge \bfseries {[pdf-title1]}}\\[1ex]
+ {\large \bfseries {[pdf-title2]}}\\[4ex]
+ {\large {[pdf-title3]}}\\[12ex]
\includegraphics[width=6in]{{[logo]}}\\[12ex]
- {\large Crunchy Data Solutions, Inc.}\\[1ex]
+ {\large {[pdf-organization]}}\\[1ex]
{\large \today}
\end{center}
\end{titlepage}
diff --git a/doc/xml/release.xml b/doc/xml/release.xml
index d69608df0..55e2cfe65 100644
--- a/doc/xml/release.xml
+++ b/doc/xml/release.xml
@@ -170,7 +170,7 @@
</release-item>
<release-item>
- <p>PDF rendering improvements. Check both <path>doc-path</path> and <path>bin-path</path> for logo. Allow PDF to be output to a location other than the <path>output</path> directory. Use PDF-specific version variable for more flexible formatting. Allow sections to be excluded from table of contents.</p>
+ <p>PDF rendering improvements. Check both <path>doc-path</path> and <path>bin-path</path> for logo. Allow PDF to be output to a location other than the <path>output</path> directory. Use PDF-specific version variable for more flexible formatting. Allow sections to be excluded from table of contents. More flexible replacements for titles and footers.</p>
</release-item>
<release-item>
[parent: aed578a4bd20]