From d51fb535a65a24900231c373e263b20ca760c3e6 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 20 Jan 2014 17:47:02 -0600 Subject: [PATCH] bitbake: template/titlepage.templates.xml: Suppress Title Text. I commented out two blocks of code that are responsible for getting the book's title to format onto the title page. Commenting the code out suppresses the title from the PDF version's title page yet retains the title text for the HTML tab space of the browser. The reason this is necessary is because the BitBake User Manual uses an image file for the title. Thus, it is not necessary to print the title again. (Bitbake rev: d7f15880c5423d91fd786e291f3e062545342184) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- bitbake/doc/template/titlepage.templates.xml | 25 +++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/bitbake/doc/template/titlepage.templates.xml b/bitbake/doc/template/titlepage.templates.xml index ff640fa5f2..6906604db6 100644 --- a/bitbake/doc/template/titlepage.templates.xml +++ b/bitbake/doc/template/titlepage.templates.xml @@ -35,7 +35,7 @@ - + <author space-before="0.5em" - font-size="&hsize2;" + font-size="&hsize2;" space-after="0.8em"/> <email font-size="&hsize2;"/> @@ -138,7 +138,16 @@ <t:titlepage t:element="book" t:wrapper="fo:block"> <t:titlepage-content t:side="recto"> - <mediaobject/> + <mediaobject/> + +<!-- + +# If you leave this block of code in then the text title in the +# <title>BitBake User Manual statement of the +# user-manual.xml file is rendered on the title page below the +# image. Commenting it out gets it out of there yet allows it +# to be retained in the tab text for the HTML version of the +# manual. +--> <subtitle text-align="center" font-size="&hsize4;" @@ -163,11 +173,20 @@ </t:titlepage-content> <t:titlepage-content t:side="verso"> +<!-- +# If you leave this block of code in then the text title in the +# <title>BitBake User Manual statement of the +# user-manual.xml file is rendered on the title page below the +# image. Commenting it out gets it out of there yet allows it +# to be retained in the tab text for the HTML version of the +# manual. + +--> <corpauthor/> <authorgroup t:named-template="verso.authorgroup"/> <author/>