]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
template/titlepage.templates.xml: Suppress Title Text.
authorScott Rifenbark <scott.m.rifenbark@intel.com>
Mon, 20 Jan 2014 23:47:02 +0000 (17:47 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 27 Jan 2014 21:00:34 +0000 (21:00 +0000)
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.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
doc/template/titlepage.templates.xml

index ff640fa5f27b4636de56295af94d0ddbab2e0622..6906604db62eb74074c3ecd2fd4707335fb1fd33 100644 (file)
@@ -35,7 +35,7 @@
   <t:titlepage-content t:side="recto"
              text-align="center">
 
-    <mediaobject/>          
+    <mediaobject/>
 
     <title t:named-template="component.title"
           param:node="ancestor-or-self::article[1]"
@@ -54,7 +54,7 @@
     <authorgroup space-before="0.5em"
                  font-size="&hsize2;"/>
     <author space-before="0.5em"
-            font-size="&hsize2;" 
+            font-size="&hsize2;"
             space-after="0.8em"/>
 
     <email font-size="&hsize2;"/>
   <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</title> 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.
 
       <title
             t:named-template="division.title"
             space-before="&hsize5space;"
             font-weight="bold"
             font-family="{$title.fontset}"/>
+-->
       <subtitle
                text-align="center"
                font-size="&hsize4;"
     </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</title> 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.
+
       <title
             t:named-template="book.verso.title"
             font-size="&hsize2;"
             font-weight="bold"
             font-family="{$title.fontset}"/>
+-->
       <corpauthor/>
       <authorgroup t:named-template="verso.authorgroup"/>
       <author/>