diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2014-01-20 17:47:02 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-27 21:03:25 +0000 |
commit | d51fb535a65a24900231c373e263b20ca760c3e6 (patch) | |
tree | ea0a5142af53c98b6d0b931514212828add88c6d /bitbake/doc | |
parent | 4fb4928504ca2099c6b2d3e59cd7b5281e47ebf5 (diff) | |
download | poky-d51fb535a65a24900231c373e263b20ca760c3e6.tar.gz |
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 <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/doc')
-rw-r--r-- | bitbake/doc/template/titlepage.templates.xml | 25 |
1 files 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 @@ | |||
35 | <t:titlepage-content t:side="recto" | 35 | <t:titlepage-content t:side="recto" |
36 | text-align="center"> | 36 | text-align="center"> |
37 | 37 | ||
38 | <mediaobject/> | 38 | <mediaobject/> |
39 | 39 | ||
40 | <title t:named-template="component.title" | 40 | <title t:named-template="component.title" |
41 | param:node="ancestor-or-self::article[1]" | 41 | param:node="ancestor-or-self::article[1]" |
@@ -54,7 +54,7 @@ | |||
54 | <authorgroup space-before="0.5em" | 54 | <authorgroup space-before="0.5em" |
55 | font-size="&hsize2;"/> | 55 | font-size="&hsize2;"/> |
56 | <author space-before="0.5em" | 56 | <author space-before="0.5em" |
57 | font-size="&hsize2;" | 57 | font-size="&hsize2;" |
58 | space-after="0.8em"/> | 58 | space-after="0.8em"/> |
59 | 59 | ||
60 | <email font-size="&hsize2;"/> | 60 | <email font-size="&hsize2;"/> |
@@ -138,7 +138,16 @@ | |||
138 | <t:titlepage t:element="book" t:wrapper="fo:block"> | 138 | <t:titlepage t:element="book" t:wrapper="fo:block"> |
139 | <t:titlepage-content t:side="recto"> | 139 | <t:titlepage-content t:side="recto"> |
140 | 140 | ||
141 | <mediaobject/> | 141 | <mediaobject/> |
142 | |||
143 | <!-- | ||
144 | |||
145 | # If you leave this block of code in then the text title in the | ||
146 | # <title>BitBake User Manual</title> statement of the | ||
147 | # user-manual.xml file is rendered on the title page below the | ||
148 | # image. Commenting it out gets it out of there yet allows it | ||
149 | # to be retained in the tab text for the HTML version of the | ||
150 | # manual. | ||
142 | 151 | ||
143 | <title | 152 | <title |
144 | t:named-template="division.title" | 153 | t:named-template="division.title" |
@@ -148,6 +157,7 @@ | |||
148 | space-before="&hsize5space;" | 157 | space-before="&hsize5space;" |
149 | font-weight="bold" | 158 | font-weight="bold" |
150 | font-family="{$title.fontset}"/> | 159 | font-family="{$title.fontset}"/> |
160 | --> | ||
151 | <subtitle | 161 | <subtitle |
152 | text-align="center" | 162 | text-align="center" |
153 | font-size="&hsize4;" | 163 | font-size="&hsize4;" |
@@ -163,11 +173,20 @@ | |||
163 | </t:titlepage-content> | 173 | </t:titlepage-content> |
164 | 174 | ||
165 | <t:titlepage-content t:side="verso"> | 175 | <t:titlepage-content t:side="verso"> |
176 | <!-- | ||
177 | # If you leave this block of code in then the text title in the | ||
178 | # <title>BitBake User Manual</title> statement of the | ||
179 | # user-manual.xml file is rendered on the title page below the | ||
180 | # image. Commenting it out gets it out of there yet allows it | ||
181 | # to be retained in the tab text for the HTML version of the | ||
182 | # manual. | ||
183 | |||
166 | <title | 184 | <title |
167 | t:named-template="book.verso.title" | 185 | t:named-template="book.verso.title" |
168 | font-size="&hsize2;" | 186 | font-size="&hsize2;" |
169 | font-weight="bold" | 187 | font-weight="bold" |
170 | font-family="{$title.fontset}"/> | 188 | font-family="{$title.fontset}"/> |
189 | --> | ||
171 | <corpauthor/> | 190 | <corpauthor/> |
172 | <authorgroup t:named-template="verso.authorgroup"/> | 191 | <authorgroup t:named-template="verso.authorgroup"/> |
173 | <author/> | 192 | <author/> |