| 1 | <?xml version="1.0" encoding="ASCII"?>
|
|---|
| 2 | <!--This file was created automatically by html2xhtml-->
|
|---|
| 3 | <!--from the HTML stylesheets.-->
|
|---|
| 4 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
|
|---|
| 5 |
|
|---|
| 6 | <!-- ********************************************************************
|
|---|
| 7 | $Id$
|
|---|
| 8 | ********************************************************************
|
|---|
| 9 |
|
|---|
| 10 | This file is part of the XSL DocBook Stylesheet distribution.
|
|---|
| 11 | See ../README or http://docbook.sf.net/release/xsl/current/ for
|
|---|
| 12 | copyright and other information.
|
|---|
| 13 |
|
|---|
| 14 | ******************************************************************** -->
|
|---|
| 15 |
|
|---|
| 16 | <!-- ==================================================================== -->
|
|---|
| 17 |
|
|---|
| 18 | <xsl:attribute-set name="book.titlepage.recto.style"/>
|
|---|
| 19 | <xsl:attribute-set name="book.titlepage.verso.style"/>
|
|---|
| 20 |
|
|---|
| 21 | <xsl:attribute-set name="article.titlepage.recto.style"/>
|
|---|
| 22 | <xsl:attribute-set name="article.titlepage.verso.style"/>
|
|---|
| 23 |
|
|---|
| 24 | <xsl:attribute-set name="set.titlepage.recto.style"/>
|
|---|
| 25 | <xsl:attribute-set name="set.titlepage.verso.style"/>
|
|---|
| 26 |
|
|---|
| 27 | <xsl:attribute-set name="part.titlepage.recto.style"/>
|
|---|
| 28 | <xsl:attribute-set name="part.titlepage.verso.style"/>
|
|---|
| 29 |
|
|---|
| 30 | <xsl:attribute-set name="partintro.titlepage.recto.style"/>
|
|---|
| 31 | <xsl:attribute-set name="partintro.titlepage.verso.style"/>
|
|---|
| 32 |
|
|---|
| 33 | <xsl:attribute-set name="reference.titlepage.recto.style"/>
|
|---|
| 34 | <xsl:attribute-set name="reference.titlepage.verso.style"/>
|
|---|
| 35 |
|
|---|
| 36 | <xsl:attribute-set name="refentry.titlepage.recto.style"/>
|
|---|
| 37 | <xsl:attribute-set name="refentry.titlepage.verso.style"/>
|
|---|
| 38 |
|
|---|
| 39 | <xsl:attribute-set name="dedication.titlepage.recto.style"/>
|
|---|
| 40 | <xsl:attribute-set name="dedication.titlepage.verso.style"/>
|
|---|
| 41 |
|
|---|
| 42 | <xsl:attribute-set name="preface.titlepage.recto.style"/>
|
|---|
| 43 | <xsl:attribute-set name="preface.titlepage.verso.style"/>
|
|---|
| 44 |
|
|---|
| 45 | <xsl:attribute-set name="chapter.titlepage.recto.style"/>
|
|---|
| 46 | <xsl:attribute-set name="chapter.titlepage.verso.style"/>
|
|---|
| 47 |
|
|---|
| 48 | <xsl:attribute-set name="appendix.titlepage.recto.style"/>
|
|---|
| 49 | <xsl:attribute-set name="appendix.titlepage.verso.style"/>
|
|---|
| 50 |
|
|---|
| 51 | <xsl:attribute-set name="bibliography.titlepage.recto.style"/>
|
|---|
| 52 | <xsl:attribute-set name="bibliography.titlepage.verso.style"/>
|
|---|
| 53 |
|
|---|
| 54 | <xsl:attribute-set name="glossary.titlepage.recto.style"/>
|
|---|
| 55 | <xsl:attribute-set name="glossary.titlepage.verso.style"/>
|
|---|
| 56 |
|
|---|
| 57 | <xsl:attribute-set name="index.titlepage.recto.style"/>
|
|---|
| 58 | <xsl:attribute-set name="index.titlepage.verso.style"/>
|
|---|
| 59 |
|
|---|
| 60 | <xsl:attribute-set name="setindex.titlepage.recto.style"/>
|
|---|
| 61 | <xsl:attribute-set name="setindex.titlepage.verso.style"/>
|
|---|
| 62 |
|
|---|
| 63 | <xsl:attribute-set name="section.titlepage.recto.style"/>
|
|---|
| 64 | <xsl:attribute-set name="section.titlepage.verso.style"/>
|
|---|
| 65 |
|
|---|
| 66 | <xsl:attribute-set name="sect1.titlepage.recto.style" use-attribute-sets="section.titlepage.recto.style"/>
|
|---|
| 67 | <xsl:attribute-set name="sect1.titlepage.verso.style" use-attribute-sets="section.titlepage.verso.style"/>
|
|---|
| 68 |
|
|---|
| 69 | <xsl:attribute-set name="sect2.titlepage.recto.style" use-attribute-sets="section.titlepage.recto.style"/>
|
|---|
| 70 | <xsl:attribute-set name="sect2.titlepage.verso.style" use-attribute-sets="section.titlepage.verso.style"/>
|
|---|
| 71 |
|
|---|
| 72 | <xsl:attribute-set name="sect3.titlepage.recto.style" use-attribute-sets="section.titlepage.recto.style"/>
|
|---|
| 73 | <xsl:attribute-set name="sect3.titlepage.verso.style" use-attribute-sets="section.titlepage.verso.style"/>
|
|---|
| 74 |
|
|---|
| 75 | <xsl:attribute-set name="sect4.titlepage.recto.style" use-attribute-sets="section.titlepage.recto.style"/>
|
|---|
| 76 | <xsl:attribute-set name="sect4.titlepage.verso.style" use-attribute-sets="section.titlepage.verso.style"/>
|
|---|
| 77 |
|
|---|
| 78 | <xsl:attribute-set name="sect5.titlepage.recto.style" use-attribute-sets="section.titlepage.recto.style"/>
|
|---|
| 79 | <xsl:attribute-set name="sect5.titlepage.verso.style" use-attribute-sets="section.titlepage.verso.style"/>
|
|---|
| 80 |
|
|---|
| 81 | <xsl:attribute-set name="simplesect.titlepage.recto.style" use-attribute-sets="section.titlepage.recto.style"/>
|
|---|
| 82 | <xsl:attribute-set name="simplesect.titlepage.verso.style" use-attribute-sets="section.titlepage.verso.style"/>
|
|---|
| 83 |
|
|---|
| 84 | <xsl:attribute-set name="table.of.contents.titlepage.recto.style"/>
|
|---|
| 85 | <xsl:attribute-set name="table.of.contents.titlepage.verso.style"/>
|
|---|
| 86 |
|
|---|
| 87 | <xsl:attribute-set name="list.of.tables.titlepage.recto.style"/>
|
|---|
| 88 | <xsl:attribute-set name="list.of.tables.contents.titlepage.verso.style"/>
|
|---|
| 89 |
|
|---|
| 90 | <xsl:attribute-set name="list.of.figures.titlepage.recto.style"/>
|
|---|
| 91 | <xsl:attribute-set name="list.of.figures.contents.titlepage.verso.style"/>
|
|---|
| 92 |
|
|---|
| 93 | <xsl:attribute-set name="list.of.equations.titlepage.recto.style"/>
|
|---|
| 94 | <xsl:attribute-set name="list.of.equations.contents.titlepage.verso.style"/>
|
|---|
| 95 |
|
|---|
| 96 | <xsl:attribute-set name="list.of.examples.titlepage.recto.style"/>
|
|---|
| 97 | <xsl:attribute-set name="list.of.examples.contents.titlepage.verso.style"/>
|
|---|
| 98 |
|
|---|
| 99 | <xsl:attribute-set name="list.of.unknowns.titlepage.recto.style"/>
|
|---|
| 100 | <xsl:attribute-set name="list.of.unknowns.contents.titlepage.verso.style"/>
|
|---|
| 101 |
|
|---|
| 102 | <!-- ==================================================================== -->
|
|---|
| 103 |
|
|---|
| 104 | <xsl:template match="*" mode="titlepage.mode">
|
|---|
| 105 | <!-- if an element isn't found in this mode, try the default mode -->
|
|---|
| 106 | <xsl:apply-templates select="."/>
|
|---|
| 107 | </xsl:template>
|
|---|
| 108 |
|
|---|
| 109 | <xsl:template match="abbrev" mode="titlepage.mode">
|
|---|
| 110 | <span>
|
|---|
| 111 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 112 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 113 | <br/>
|
|---|
| 114 | </span>
|
|---|
| 115 | </xsl:template>
|
|---|
| 116 |
|
|---|
| 117 | <xsl:template match="abstract" mode="titlepage.mode">
|
|---|
| 118 | <div>
|
|---|
| 119 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 120 | <xsl:call-template name="anchor"/>
|
|---|
| 121 | <xsl:if test="not ($abstract.notitle.enabled = 0)">
|
|---|
| 122 | <xsl:call-template name="formal.object.heading">
|
|---|
| 123 | <xsl:with-param name="title">
|
|---|
| 124 | <xsl:apply-templates select="." mode="title.markup"/>
|
|---|
| 125 | </xsl:with-param>
|
|---|
| 126 | </xsl:call-template>
|
|---|
| 127 | </xsl:if>
|
|---|
| 128 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 129 | </div>
|
|---|
| 130 | </xsl:template>
|
|---|
| 131 |
|
|---|
| 132 | <xsl:template match="abstract/title" mode="titlepage.mode">
|
|---|
| 133 | </xsl:template>
|
|---|
| 134 |
|
|---|
| 135 | <xsl:template match="address" mode="titlepage.mode">
|
|---|
| 136 | <xsl:param name="suppress-numbers" select="'0'"/>
|
|---|
| 137 |
|
|---|
| 138 | <xsl:variable name="rtf">
|
|---|
| 139 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 140 | </xsl:variable>
|
|---|
| 141 |
|
|---|
| 142 | <xsl:choose>
|
|---|
| 143 | <xsl:when test="$suppress-numbers = '0' and @linenumbering = 'numbered' and $use.extensions != '0' and $linenumbering.extension != '0'">
|
|---|
| 144 | <div>
|
|---|
| 145 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 146 | <xsl:call-template name="paragraph">
|
|---|
| 147 | <xsl:with-param name="content">
|
|---|
| 148 | <xsl:call-template name="number.rtf.lines">
|
|---|
| 149 | <xsl:with-param name="rtf" select="$rtf"/>
|
|---|
| 150 | </xsl:call-template>
|
|---|
| 151 | </xsl:with-param>
|
|---|
| 152 | </xsl:call-template>
|
|---|
| 153 | </div>
|
|---|
| 154 | </xsl:when>
|
|---|
| 155 |
|
|---|
| 156 | <xsl:otherwise>
|
|---|
| 157 | <div>
|
|---|
| 158 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 159 | <xsl:call-template name="paragraph">
|
|---|
| 160 | <xsl:with-param name="content">
|
|---|
| 161 | <xsl:call-template name="make-verbatim">
|
|---|
| 162 | <xsl:with-param name="rtf" select="$rtf"/>
|
|---|
| 163 | </xsl:call-template>
|
|---|
| 164 | </xsl:with-param>
|
|---|
| 165 | </xsl:call-template>
|
|---|
| 166 | </div>
|
|---|
| 167 | </xsl:otherwise>
|
|---|
| 168 | </xsl:choose>
|
|---|
| 169 | </xsl:template>
|
|---|
| 170 |
|
|---|
| 171 | <xsl:template match="affiliation" mode="titlepage.mode">
|
|---|
| 172 | <div>
|
|---|
| 173 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 174 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 175 | </div>
|
|---|
| 176 | </xsl:template>
|
|---|
| 177 |
|
|---|
| 178 | <xsl:template match="artpagenums" mode="titlepage.mode">
|
|---|
| 179 | <span>
|
|---|
| 180 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 181 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 182 | <br/>
|
|---|
| 183 | </span>
|
|---|
| 184 | </xsl:template>
|
|---|
| 185 |
|
|---|
| 186 | <xsl:template match="author|editor" mode="titlepage.mode">
|
|---|
| 187 | <xsl:call-template name="credits.div"/>
|
|---|
| 188 | </xsl:template>
|
|---|
| 189 |
|
|---|
| 190 | <xsl:template name="credits.div">
|
|---|
| 191 | <div>
|
|---|
| 192 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 193 | <xsl:if test="self::editor[position()=1] and not($editedby.enabled = 0)">
|
|---|
| 194 | <h4 class="editedby"><xsl:call-template name="gentext.edited.by"/></h4>
|
|---|
| 195 | </xsl:if>
|
|---|
| 196 | <h3>
|
|---|
| 197 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 198 | <xsl:choose>
|
|---|
| 199 | <xsl:when test="orgname">
|
|---|
| 200 | <xsl:apply-templates/>
|
|---|
| 201 | </xsl:when>
|
|---|
| 202 | <xsl:otherwise>
|
|---|
| 203 | <xsl:call-template name="person.name"/>
|
|---|
| 204 | </xsl:otherwise>
|
|---|
| 205 | </xsl:choose>
|
|---|
| 206 | </h3>
|
|---|
| 207 | <xsl:if test="not($contrib.inline.enabled = 0)">
|
|---|
| 208 | <xsl:apply-templates mode="titlepage.mode" select="contrib"/>
|
|---|
| 209 | </xsl:if>
|
|---|
| 210 | <xsl:apply-templates mode="titlepage.mode" select="affiliation"/>
|
|---|
| 211 | <xsl:apply-templates mode="titlepage.mode" select="email"/>
|
|---|
| 212 | <xsl:if test="not($blurb.on.titlepage.enabled = 0)">
|
|---|
| 213 | <xsl:choose>
|
|---|
| 214 | <xsl:when test="$contrib.inline.enabled = 0">
|
|---|
| 215 | <xsl:apply-templates mode="titlepage.mode" select="contrib|authorblurb|personblurb"/>
|
|---|
| 216 | </xsl:when>
|
|---|
| 217 | <xsl:otherwise>
|
|---|
| 218 | <xsl:apply-templates mode="titlepage.mode" select="authorblurb|personblurb"/>
|
|---|
| 219 | </xsl:otherwise>
|
|---|
| 220 | </xsl:choose>
|
|---|
| 221 | </xsl:if>
|
|---|
| 222 | </div>
|
|---|
| 223 | </xsl:template>
|
|---|
| 224 |
|
|---|
| 225 | <xsl:template match="authorblurb|personblurb" mode="titlepage.mode">
|
|---|
| 226 | <div>
|
|---|
| 227 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 228 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 229 | </div>
|
|---|
| 230 | </xsl:template>
|
|---|
| 231 |
|
|---|
| 232 | <xsl:template match="authorgroup" mode="titlepage.mode">
|
|---|
| 233 | <div>
|
|---|
| 234 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 235 | <xsl:call-template name="anchor"/>
|
|---|
| 236 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 237 | </div>
|
|---|
| 238 | </xsl:template>
|
|---|
| 239 |
|
|---|
| 240 | <xsl:template match="authorinitials" mode="titlepage.mode">
|
|---|
| 241 | <span>
|
|---|
| 242 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 243 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 244 | <br/>
|
|---|
| 245 | </span>
|
|---|
| 246 | </xsl:template>
|
|---|
| 247 |
|
|---|
| 248 | <xsl:template match="bibliomisc" mode="titlepage.mode">
|
|---|
| 249 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 250 | </xsl:template>
|
|---|
| 251 |
|
|---|
| 252 | <xsl:template match="bibliomset" mode="titlepage.mode">
|
|---|
| 253 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 254 | </xsl:template>
|
|---|
| 255 |
|
|---|
| 256 | <xsl:template match="collab" mode="titlepage.mode">
|
|---|
| 257 | <span>
|
|---|
| 258 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 259 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 260 | <br/>
|
|---|
| 261 | </span>
|
|---|
| 262 | </xsl:template>
|
|---|
| 263 |
|
|---|
| 264 | <xsl:template match="collabname" mode="titlepage.mode">
|
|---|
| 265 | <span>
|
|---|
| 266 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 267 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 268 | </span>
|
|---|
| 269 | </xsl:template>
|
|---|
| 270 |
|
|---|
| 271 | <xsl:template match="confgroup" mode="titlepage.mode">
|
|---|
| 272 | <div>
|
|---|
| 273 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 274 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 275 | </div>
|
|---|
| 276 | </xsl:template>
|
|---|
| 277 |
|
|---|
| 278 | <xsl:template match="confdates" mode="titlepage.mode">
|
|---|
| 279 | <span>
|
|---|
| 280 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 281 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 282 | <br/>
|
|---|
| 283 | </span>
|
|---|
| 284 | </xsl:template>
|
|---|
| 285 |
|
|---|
| 286 | <xsl:template match="confsponsor" mode="titlepage.mode">
|
|---|
| 287 | <span>
|
|---|
| 288 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 289 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 290 | <br/>
|
|---|
| 291 | </span>
|
|---|
| 292 | </xsl:template>
|
|---|
| 293 |
|
|---|
| 294 | <xsl:template match="conftitle" mode="titlepage.mode">
|
|---|
| 295 | <span>
|
|---|
| 296 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 297 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 298 | <br/>
|
|---|
| 299 | </span>
|
|---|
| 300 | </xsl:template>
|
|---|
| 301 |
|
|---|
| 302 | <xsl:template match="confnum" mode="titlepage.mode">
|
|---|
| 303 | <!-- suppress -->
|
|---|
| 304 | </xsl:template>
|
|---|
| 305 |
|
|---|
| 306 | <xsl:template match="contractnum" mode="titlepage.mode">
|
|---|
| 307 | <span>
|
|---|
| 308 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 309 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 310 | <br/>
|
|---|
| 311 | </span>
|
|---|
| 312 | </xsl:template>
|
|---|
| 313 |
|
|---|
| 314 | <xsl:template match="contractsponsor" mode="titlepage.mode">
|
|---|
| 315 | <span>
|
|---|
| 316 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 317 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 318 | <br/>
|
|---|
| 319 | </span>
|
|---|
| 320 | </xsl:template>
|
|---|
| 321 |
|
|---|
| 322 | <xsl:template match="contrib" mode="titlepage.mode">
|
|---|
| 323 | <xsl:choose>
|
|---|
| 324 | <xsl:when test="not($contrib.inline.enabled = 0)">
|
|---|
| 325 | <span>
|
|---|
| 326 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 327 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 328 | </span><xsl:text> </xsl:text>
|
|---|
| 329 | </xsl:when>
|
|---|
| 330 | <xsl:otherwise>
|
|---|
| 331 | <div>
|
|---|
| 332 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 333 | <p><xsl:apply-templates mode="titlepage.mode"/></p>
|
|---|
| 334 | </div>
|
|---|
| 335 | </xsl:otherwise>
|
|---|
| 336 | </xsl:choose>
|
|---|
| 337 | </xsl:template>
|
|---|
| 338 |
|
|---|
| 339 | <xsl:template match="copyright" mode="titlepage.mode">
|
|---|
| 340 | <p>
|
|---|
| 341 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 342 | <xsl:call-template name="gentext">
|
|---|
| 343 | <xsl:with-param name="key" select="'Copyright'"/>
|
|---|
| 344 | </xsl:call-template>
|
|---|
| 345 | <xsl:call-template name="gentext.space"/>
|
|---|
| 346 | <xsl:call-template name="dingbat">
|
|---|
| 347 | <xsl:with-param name="dingbat">copyright</xsl:with-param>
|
|---|
| 348 | </xsl:call-template>
|
|---|
| 349 | <xsl:call-template name="gentext.space"/>
|
|---|
| 350 | <xsl:call-template name="copyright.years">
|
|---|
| 351 | <xsl:with-param name="years" select="year"/>
|
|---|
| 352 | <xsl:with-param name="print.ranges" select="$make.year.ranges"/>
|
|---|
| 353 | <xsl:with-param name="single.year.ranges" select="$make.single.year.ranges"/>
|
|---|
| 354 | </xsl:call-template>
|
|---|
| 355 | <xsl:call-template name="gentext.space"/>
|
|---|
| 356 | <xsl:apply-templates select="holder" mode="titlepage.mode"/>
|
|---|
| 357 | </p>
|
|---|
| 358 | </xsl:template>
|
|---|
| 359 |
|
|---|
| 360 | <xsl:template match="year" mode="titlepage.mode">
|
|---|
| 361 | <xsl:choose>
|
|---|
| 362 | <xsl:when test="$show.revisionflag != 0 and @revisionflag">
|
|---|
| 363 | <span class="{@revisionflag}">
|
|---|
| 364 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 365 | </span>
|
|---|
| 366 | </xsl:when>
|
|---|
| 367 | <xsl:otherwise>
|
|---|
| 368 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 369 | </xsl:otherwise>
|
|---|
| 370 | </xsl:choose>
|
|---|
| 371 | </xsl:template>
|
|---|
| 372 |
|
|---|
| 373 | <xsl:template match="holder" mode="titlepage.mode">
|
|---|
| 374 | <xsl:choose>
|
|---|
| 375 | <xsl:when test="$show.revisionflag != 0 and @revisionflag">
|
|---|
| 376 | <span class="{@revisionflag}">
|
|---|
| 377 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 378 | </span>
|
|---|
| 379 | </xsl:when>
|
|---|
| 380 | <xsl:otherwise>
|
|---|
| 381 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 382 | </xsl:otherwise>
|
|---|
| 383 | </xsl:choose>
|
|---|
| 384 | <xsl:if test="position() < last()">
|
|---|
| 385 | <xsl:text>, </xsl:text>
|
|---|
| 386 | </xsl:if>
|
|---|
| 387 | </xsl:template>
|
|---|
| 388 |
|
|---|
| 389 | <xsl:template match="corpauthor" mode="titlepage.mode">
|
|---|
| 390 | <h3>
|
|---|
| 391 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 392 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 393 | </h3>
|
|---|
| 394 | </xsl:template>
|
|---|
| 395 |
|
|---|
| 396 | <xsl:template match="corpcredit" mode="titlepage.mode">
|
|---|
| 397 | <span>
|
|---|
| 398 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 399 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 400 | <br/>
|
|---|
| 401 | </span>
|
|---|
| 402 | </xsl:template>
|
|---|
| 403 |
|
|---|
| 404 | <xsl:template match="corpname" mode="titlepage.mode">
|
|---|
| 405 | <span>
|
|---|
| 406 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 407 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 408 | <br/>
|
|---|
| 409 | </span>
|
|---|
| 410 | </xsl:template>
|
|---|
| 411 |
|
|---|
| 412 | <xsl:template match="date" mode="titlepage.mode">
|
|---|
| 413 | <span>
|
|---|
| 414 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 415 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 416 | <br/>
|
|---|
| 417 | </span>
|
|---|
| 418 | </xsl:template>
|
|---|
| 419 |
|
|---|
| 420 | <xsl:template match="edition" mode="titlepage.mode">
|
|---|
| 421 | <p>
|
|---|
| 422 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 423 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 424 | <xsl:call-template name="gentext.space"/>
|
|---|
| 425 | <xsl:call-template name="gentext">
|
|---|
| 426 | <xsl:with-param name="key" select="'Edition'"/>
|
|---|
| 427 | </xsl:call-template>
|
|---|
| 428 | </p>
|
|---|
| 429 | </xsl:template>
|
|---|
| 430 |
|
|---|
| 431 | <xsl:template match="email" mode="titlepage.mode">
|
|---|
| 432 | <!-- use the normal e-mail handling code -->
|
|---|
| 433 | <xsl:apply-templates select="."/>
|
|---|
| 434 | </xsl:template>
|
|---|
| 435 |
|
|---|
| 436 | <xsl:template match="firstname" mode="titlepage.mode">
|
|---|
| 437 | <span>
|
|---|
| 438 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 439 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 440 | <br/>
|
|---|
| 441 | </span>
|
|---|
| 442 | </xsl:template>
|
|---|
| 443 |
|
|---|
| 444 | <xsl:template match="graphic" mode="titlepage.mode">
|
|---|
| 445 | <!-- use the normal graphic handling code -->
|
|---|
| 446 | <xsl:apply-templates select="."/>
|
|---|
| 447 | </xsl:template>
|
|---|
| 448 |
|
|---|
| 449 | <xsl:template match="honorific" mode="titlepage.mode">
|
|---|
| 450 | <span>
|
|---|
| 451 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 452 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 453 | <br/>
|
|---|
| 454 | </span>
|
|---|
| 455 | </xsl:template>
|
|---|
| 456 |
|
|---|
| 457 | <xsl:template match="isbn" mode="titlepage.mode">
|
|---|
| 458 | <span>
|
|---|
| 459 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 460 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 461 | <br/>
|
|---|
| 462 | </span>
|
|---|
| 463 | </xsl:template>
|
|---|
| 464 |
|
|---|
| 465 | <xsl:template match="issn" mode="titlepage.mode">
|
|---|
| 466 | <span>
|
|---|
| 467 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 468 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 469 | <br/>
|
|---|
| 470 | </span>
|
|---|
| 471 | </xsl:template>
|
|---|
| 472 |
|
|---|
| 473 | <xsl:template match="biblioid" mode="titlepage.mode">
|
|---|
| 474 | <span>
|
|---|
| 475 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 476 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 477 | <br/>
|
|---|
| 478 | </span>
|
|---|
| 479 | </xsl:template>
|
|---|
| 480 |
|
|---|
| 481 | <xsl:template match="itermset" mode="titlepage.mode">
|
|---|
| 482 | </xsl:template>
|
|---|
| 483 |
|
|---|
| 484 | <xsl:template match="invpartnumber" mode="titlepage.mode">
|
|---|
| 485 | <span>
|
|---|
| 486 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 487 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 488 | <br/>
|
|---|
| 489 | </span>
|
|---|
| 490 | </xsl:template>
|
|---|
| 491 |
|
|---|
| 492 | <xsl:template match="issuenum" mode="titlepage.mode">
|
|---|
| 493 | <span>
|
|---|
| 494 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 495 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 496 | <br/>
|
|---|
| 497 | </span>
|
|---|
| 498 | </xsl:template>
|
|---|
| 499 |
|
|---|
| 500 | <xsl:template match="jobtitle" mode="titlepage.mode">
|
|---|
| 501 | <span>
|
|---|
| 502 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 503 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 504 | <br/>
|
|---|
| 505 | </span>
|
|---|
| 506 | </xsl:template>
|
|---|
| 507 |
|
|---|
| 508 | <xsl:template match="keywordset" mode="titlepage.mode">
|
|---|
| 509 | </xsl:template>
|
|---|
| 510 |
|
|---|
| 511 | <xsl:template match="legalnotice" mode="titlepage.mode">
|
|---|
| 512 | <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
|
|---|
| 513 | <xsl:choose>
|
|---|
| 514 | <xsl:when test="$generate.legalnotice.link != 0">
|
|---|
| 515 | <xsl:variable name="filename">
|
|---|
| 516 | <xsl:call-template name="make-relative-filename">
|
|---|
| 517 | <xsl:with-param name="base.dir" select="$base.dir"/>
|
|---|
| 518 | <xsl:with-param name="base.name">
|
|---|
| 519 | <xsl:apply-templates mode="chunk-filename" select="."/>
|
|---|
| 520 | </xsl:with-param>
|
|---|
| 521 | </xsl:call-template>
|
|---|
| 522 | </xsl:variable>
|
|---|
| 523 |
|
|---|
| 524 | <xsl:variable name="title">
|
|---|
| 525 | <xsl:apply-templates select="." mode="title.markup"/>
|
|---|
| 526 | </xsl:variable>
|
|---|
| 527 |
|
|---|
| 528 | <xsl:variable name="href">
|
|---|
| 529 | <xsl:apply-templates mode="chunk-filename" select="."/>
|
|---|
| 530 | </xsl:variable>
|
|---|
| 531 |
|
|---|
| 532 | <a href="{$href}">
|
|---|
| 533 | <xsl:copy-of select="$title"/>
|
|---|
| 534 | </a>
|
|---|
| 535 |
|
|---|
| 536 | <xsl:call-template name="write.chunk">
|
|---|
| 537 | <xsl:with-param name="filename" select="$filename"/>
|
|---|
| 538 | <xsl:with-param name="quiet" select="$chunk.quietly"/>
|
|---|
| 539 | <xsl:with-param name="content">
|
|---|
| 540 | <xsl:call-template name="user.preroot"/>
|
|---|
| 541 | <html>
|
|---|
| 542 | <head>
|
|---|
| 543 | <xsl:call-template name="system.head.content"/>
|
|---|
| 544 | <xsl:call-template name="head.content"/>
|
|---|
| 545 | <xsl:call-template name="user.head.content"/>
|
|---|
| 546 | </head>
|
|---|
| 547 | <body>
|
|---|
| 548 | <xsl:call-template name="body.attributes"/>
|
|---|
| 549 | <div>
|
|---|
| 550 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 551 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 552 | </div>
|
|---|
| 553 | </body>
|
|---|
| 554 | </html>
|
|---|
| 555 | <xsl:value-of select="$chunk.append"/>
|
|---|
| 556 | </xsl:with-param>
|
|---|
| 557 | </xsl:call-template>
|
|---|
| 558 | </xsl:when>
|
|---|
| 559 | <xsl:otherwise>
|
|---|
| 560 | <div>
|
|---|
| 561 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 562 | <a id="{$id}"/>
|
|---|
| 563 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 564 | </div>
|
|---|
| 565 | </xsl:otherwise>
|
|---|
| 566 | </xsl:choose>
|
|---|
| 567 | </xsl:template>
|
|---|
| 568 |
|
|---|
| 569 | <xsl:template match="legalnotice/title" mode="titlepage.mode">
|
|---|
| 570 | <p class="legalnotice-title"><b><xsl:apply-templates/></b></p>
|
|---|
| 571 | </xsl:template>
|
|---|
| 572 |
|
|---|
| 573 | <xsl:template match="lineage" mode="titlepage.mode">
|
|---|
| 574 | <span>
|
|---|
| 575 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 576 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 577 | <br/>
|
|---|
| 578 | </span>
|
|---|
| 579 | </xsl:template>
|
|---|
| 580 |
|
|---|
| 581 | <xsl:template match="modespec" mode="titlepage.mode">
|
|---|
| 582 | </xsl:template>
|
|---|
| 583 |
|
|---|
| 584 | <xsl:template match="orgdiv" mode="titlepage.mode">
|
|---|
| 585 | <xsl:if test="preceding-sibling::*[1][self::orgname]">
|
|---|
| 586 | <xsl:text> </xsl:text>
|
|---|
| 587 | </xsl:if>
|
|---|
| 588 | <span>
|
|---|
| 589 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 590 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 591 | <br/>
|
|---|
| 592 | </span>
|
|---|
| 593 | </xsl:template>
|
|---|
| 594 |
|
|---|
| 595 | <xsl:template match="orgname" mode="titlepage.mode">
|
|---|
| 596 | <span>
|
|---|
| 597 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 598 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 599 | <br/>
|
|---|
| 600 | </span>
|
|---|
| 601 | </xsl:template>
|
|---|
| 602 |
|
|---|
| 603 | <xsl:template match="othercredit" mode="titlepage.mode">
|
|---|
| 604 | <xsl:choose>
|
|---|
| 605 | <xsl:when test="not($othercredit.like.author.enabled = 0)">
|
|---|
| 606 | <xsl:variable name="contrib" select="string(contrib)"/>
|
|---|
| 607 | <xsl:choose>
|
|---|
| 608 | <xsl:when test="contrib">
|
|---|
| 609 | <xsl:if test="not(preceding-sibling::othercredit[string(contrib)=$contrib])">
|
|---|
| 610 | <xsl:call-template name="paragraph">
|
|---|
| 611 | <xsl:with-param name="class" select="local-name(.)"/>
|
|---|
| 612 | <xsl:with-param name="content">
|
|---|
| 613 | <xsl:apply-templates mode="titlepage.mode" select="contrib"/>
|
|---|
| 614 | <xsl:text>: </xsl:text>
|
|---|
| 615 | <xsl:call-template name="person.name"/>
|
|---|
| 616 | <xsl:apply-templates mode="titlepage.mode" select="affiliation"/>
|
|---|
| 617 | <xsl:apply-templates select="following-sibling::othercredit[string(contrib)=$contrib]" mode="titlepage.othercredits"/>
|
|---|
| 618 | </xsl:with-param>
|
|---|
| 619 | </xsl:call-template>
|
|---|
| 620 | </xsl:if>
|
|---|
| 621 | </xsl:when>
|
|---|
| 622 | <xsl:otherwise>
|
|---|
| 623 | <xsl:call-template name="paragraph">
|
|---|
| 624 | <xsl:with-param name="class" select="local-name(.)"/>
|
|---|
| 625 | <xsl:with-param name="content">
|
|---|
| 626 | <xsl:call-template name="person.name"/>
|
|---|
| 627 | </xsl:with-param>
|
|---|
| 628 | </xsl:call-template>
|
|---|
| 629 | <xsl:apply-templates mode="titlepage.mode" select="affiliation"/>
|
|---|
| 630 | </xsl:otherwise>
|
|---|
| 631 | </xsl:choose>
|
|---|
| 632 | </xsl:when>
|
|---|
| 633 | <xsl:otherwise>
|
|---|
| 634 | <xsl:call-template name="credits.div"/>
|
|---|
| 635 | </xsl:otherwise>
|
|---|
| 636 | </xsl:choose>
|
|---|
| 637 | </xsl:template>
|
|---|
| 638 |
|
|---|
| 639 | <xsl:template match="othercredit" mode="titlepage.othercredits">
|
|---|
| 640 | <xsl:text>, </xsl:text>
|
|---|
| 641 | <xsl:call-template name="person.name"/>
|
|---|
| 642 | </xsl:template>
|
|---|
| 643 |
|
|---|
| 644 | <xsl:template match="othername" mode="titlepage.mode">
|
|---|
| 645 | <span>
|
|---|
| 646 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 647 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 648 | <br/>
|
|---|
| 649 | </span>
|
|---|
| 650 | </xsl:template>
|
|---|
| 651 |
|
|---|
| 652 | <xsl:template match="pagenums" mode="titlepage.mode">
|
|---|
| 653 | <span>
|
|---|
| 654 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 655 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 656 | <br/>
|
|---|
| 657 | </span>
|
|---|
| 658 | </xsl:template>
|
|---|
| 659 |
|
|---|
| 660 | <xsl:template match="printhistory" mode="titlepage.mode">
|
|---|
| 661 | <div>
|
|---|
| 662 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 663 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 664 | </div>
|
|---|
| 665 | </xsl:template>
|
|---|
| 666 |
|
|---|
| 667 | <xsl:template match="productname" mode="titlepage.mode">
|
|---|
| 668 | <span>
|
|---|
| 669 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 670 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 671 | <br/>
|
|---|
| 672 | </span>
|
|---|
| 673 | </xsl:template>
|
|---|
| 674 |
|
|---|
| 675 | <xsl:template match="productnumber" mode="titlepage.mode">
|
|---|
| 676 | <span>
|
|---|
| 677 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 678 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 679 | <br/>
|
|---|
| 680 | </span>
|
|---|
| 681 | </xsl:template>
|
|---|
| 682 |
|
|---|
| 683 | <xsl:template match="pubdate" mode="titlepage.mode">
|
|---|
| 684 | <xsl:call-template name="paragraph">
|
|---|
| 685 | <xsl:with-param name="class" select="local-name(.)"/>
|
|---|
| 686 | <xsl:with-param name="content">
|
|---|
| 687 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 688 | </xsl:with-param>
|
|---|
| 689 | </xsl:call-template>
|
|---|
| 690 | </xsl:template>
|
|---|
| 691 |
|
|---|
| 692 | <xsl:template match="publisher" mode="titlepage.mode">
|
|---|
| 693 | <xsl:call-template name="paragraph">
|
|---|
| 694 | <xsl:with-param name="class" select="local-name(.)"/>
|
|---|
| 695 | <xsl:with-param name="content">
|
|---|
| 696 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 697 | </xsl:with-param>
|
|---|
| 698 | </xsl:call-template>
|
|---|
| 699 | </xsl:template>
|
|---|
| 700 |
|
|---|
| 701 | <xsl:template match="publishername" mode="titlepage.mode">
|
|---|
| 702 | <span>
|
|---|
| 703 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 704 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 705 | <br/>
|
|---|
| 706 | </span>
|
|---|
| 707 | </xsl:template>
|
|---|
| 708 |
|
|---|
| 709 | <xsl:template match="pubsnumber" mode="titlepage.mode">
|
|---|
| 710 | <span>
|
|---|
| 711 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 712 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 713 | <br/>
|
|---|
| 714 | </span>
|
|---|
| 715 | </xsl:template>
|
|---|
| 716 |
|
|---|
| 717 | <xsl:template match="releaseinfo" mode="titlepage.mode">
|
|---|
| 718 | <xsl:call-template name="paragraph">
|
|---|
| 719 | <xsl:with-param name="class" select="local-name(.)"/>
|
|---|
| 720 | <xsl:with-param name="content">
|
|---|
| 721 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 722 | </xsl:with-param>
|
|---|
| 723 | </xsl:call-template>
|
|---|
| 724 | </xsl:template>
|
|---|
| 725 |
|
|---|
| 726 | <xsl:template match="revhistory" mode="titlepage.mode">
|
|---|
| 727 | <xsl:variable name="numcols">
|
|---|
| 728 | <xsl:choose>
|
|---|
| 729 | <xsl:when test=".//authorinitials|.//author">3</xsl:when>
|
|---|
| 730 | <xsl:otherwise>2</xsl:otherwise>
|
|---|
| 731 | </xsl:choose>
|
|---|
| 732 | </xsl:variable>
|
|---|
| 733 |
|
|---|
| 734 | <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
|
|---|
| 735 |
|
|---|
| 736 | <xsl:variable name="title">
|
|---|
| 737 | <xsl:call-template name="gentext">
|
|---|
| 738 | <xsl:with-param name="key">RevHistory</xsl:with-param>
|
|---|
| 739 | </xsl:call-template>
|
|---|
| 740 | </xsl:variable>
|
|---|
| 741 |
|
|---|
| 742 | <xsl:variable name="contents">
|
|---|
| 743 | <div>
|
|---|
| 744 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 745 | <table border="1" width="100%" summary="Revision history">
|
|---|
| 746 | <tr>
|
|---|
| 747 | <th align="left" valign="top" colspan="{$numcols}">
|
|---|
| 748 | <b>
|
|---|
| 749 | <xsl:call-template name="gentext">
|
|---|
| 750 | <xsl:with-param name="key" select="'RevHistory'"/>
|
|---|
| 751 | </xsl:call-template>
|
|---|
| 752 | </b>
|
|---|
| 753 | </th>
|
|---|
| 754 | </tr>
|
|---|
| 755 | <xsl:apply-templates mode="titlepage.mode">
|
|---|
| 756 | <xsl:with-param name="numcols" select="$numcols"/>
|
|---|
| 757 | </xsl:apply-templates>
|
|---|
| 758 | </table>
|
|---|
| 759 | </div>
|
|---|
| 760 | </xsl:variable>
|
|---|
| 761 |
|
|---|
| 762 | <xsl:choose>
|
|---|
| 763 | <xsl:when test="$generate.revhistory.link != 0">
|
|---|
| 764 | <xsl:variable name="filename">
|
|---|
| 765 | <xsl:call-template name="make-relative-filename">
|
|---|
| 766 | <xsl:with-param name="base.dir" select="$base.dir"/>
|
|---|
| 767 | <xsl:with-param name="base.name" select="concat($id,$html.ext)"/>
|
|---|
| 768 | </xsl:call-template>
|
|---|
| 769 | </xsl:variable>
|
|---|
| 770 |
|
|---|
| 771 | <a href="{concat($id,$html.ext)}">
|
|---|
| 772 | <xsl:copy-of select="$title"/>
|
|---|
| 773 | </a>
|
|---|
| 774 |
|
|---|
| 775 | <xsl:call-template name="write.chunk">
|
|---|
| 776 | <xsl:with-param name="filename" select="$filename"/>
|
|---|
| 777 | <xsl:with-param name="quiet" select="$chunk.quietly"/>
|
|---|
| 778 | <xsl:with-param name="content">
|
|---|
| 779 | <xsl:call-template name="user.preroot"/>
|
|---|
| 780 | <html>
|
|---|
| 781 | <head>
|
|---|
| 782 | <xsl:call-template name="system.head.content"/>
|
|---|
| 783 | <xsl:call-template name="head.content">
|
|---|
| 784 | <xsl:with-param name="title">
|
|---|
| 785 | <xsl:value-of select="$title"/>
|
|---|
| 786 | <xsl:if test="../../title">
|
|---|
| 787 | <xsl:value-of select="concat(' (', ../../title, ')')"/>
|
|---|
| 788 | </xsl:if>
|
|---|
| 789 | </xsl:with-param>
|
|---|
| 790 | </xsl:call-template>
|
|---|
| 791 | <xsl:call-template name="user.head.content"/>
|
|---|
| 792 | </head>
|
|---|
| 793 | <body>
|
|---|
| 794 | <xsl:call-template name="body.attributes"/>
|
|---|
| 795 | <xsl:copy-of select="$contents"/>
|
|---|
| 796 | </body>
|
|---|
| 797 | </html>
|
|---|
| 798 | <xsl:text>
|
|---|
| 799 | </xsl:text>
|
|---|
| 800 | </xsl:with-param>
|
|---|
| 801 | </xsl:call-template>
|
|---|
| 802 | </xsl:when>
|
|---|
| 803 | <xsl:otherwise>
|
|---|
| 804 | <xsl:copy-of select="$contents"/>
|
|---|
| 805 | </xsl:otherwise>
|
|---|
| 806 | </xsl:choose>
|
|---|
| 807 | </xsl:template>
|
|---|
| 808 |
|
|---|
| 809 | <xsl:template match="revhistory/revision" mode="titlepage.mode">
|
|---|
| 810 | <xsl:param name="numcols" select="'3'"/>
|
|---|
| 811 | <xsl:variable name="revnumber" select="revnumber"/>
|
|---|
| 812 | <xsl:variable name="revdate" select="date"/>
|
|---|
| 813 | <xsl:variable name="revauthor" select="authorinitials|author"/>
|
|---|
| 814 | <xsl:variable name="revremark" select="revremark|revdescription"/>
|
|---|
| 815 | <tr>
|
|---|
| 816 | <td align="left">
|
|---|
| 817 | <xsl:if test="$revnumber">
|
|---|
| 818 | <xsl:call-template name="gentext">
|
|---|
| 819 | <xsl:with-param name="key" select="'Revision'"/>
|
|---|
| 820 | </xsl:call-template>
|
|---|
| 821 | <xsl:call-template name="gentext.space"/>
|
|---|
| 822 | <xsl:apply-templates select="$revnumber[1]" mode="titlepage.mode"/>
|
|---|
| 823 | </xsl:if>
|
|---|
| 824 | </td>
|
|---|
| 825 | <td align="left">
|
|---|
| 826 | <xsl:apply-templates select="$revdate[1]" mode="titlepage.mode"/>
|
|---|
| 827 | </td>
|
|---|
| 828 | <xsl:choose>
|
|---|
| 829 | <xsl:when test="$revauthor">
|
|---|
| 830 | <td align="left">
|
|---|
| 831 | <xsl:for-each select="$revauthor">
|
|---|
| 832 | <xsl:apply-templates select="." mode="titlepage.mode"/>
|
|---|
| 833 | <xsl:if test="position() != last()">
|
|---|
| 834 | <xsl:text>, </xsl:text>
|
|---|
| 835 | </xsl:if>
|
|---|
| 836 | </xsl:for-each>
|
|---|
| 837 | </td>
|
|---|
| 838 | </xsl:when>
|
|---|
| 839 | <xsl:when test="$numcols > 2">
|
|---|
| 840 | <td> </td>
|
|---|
| 841 | </xsl:when>
|
|---|
| 842 | <xsl:otherwise/>
|
|---|
| 843 | </xsl:choose>
|
|---|
| 844 | </tr>
|
|---|
| 845 | <xsl:if test="$revremark">
|
|---|
| 846 | <tr>
|
|---|
| 847 | <td align="left" colspan="{$numcols}">
|
|---|
| 848 | <xsl:apply-templates select="$revremark[1]" mode="titlepage.mode"/>
|
|---|
| 849 | </td>
|
|---|
| 850 | </tr>
|
|---|
| 851 | </xsl:if>
|
|---|
| 852 | </xsl:template>
|
|---|
| 853 |
|
|---|
| 854 | <xsl:template match="revision/revnumber" mode="titlepage.mode">
|
|---|
| 855 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 856 | </xsl:template>
|
|---|
| 857 |
|
|---|
| 858 | <xsl:template match="revision/date" mode="titlepage.mode">
|
|---|
| 859 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 860 | </xsl:template>
|
|---|
| 861 |
|
|---|
| 862 | <xsl:template match="revision/authorinitials" mode="titlepage.mode">
|
|---|
| 863 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 864 | </xsl:template>
|
|---|
| 865 |
|
|---|
| 866 | <xsl:template match="revision/author" mode="titlepage.mode">
|
|---|
| 867 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 868 | </xsl:template>
|
|---|
| 869 |
|
|---|
| 870 | <xsl:template match="revision/revremark" mode="titlepage.mode">
|
|---|
| 871 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 872 | </xsl:template>
|
|---|
| 873 |
|
|---|
| 874 | <xsl:template match="revision/revdescription" mode="titlepage.mode">
|
|---|
| 875 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 876 | </xsl:template>
|
|---|
| 877 |
|
|---|
| 878 | <xsl:template match="seriesvolnums" mode="titlepage.mode">
|
|---|
| 879 | <span>
|
|---|
| 880 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 881 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 882 | <br/>
|
|---|
| 883 | </span>
|
|---|
| 884 | </xsl:template>
|
|---|
| 885 |
|
|---|
| 886 | <xsl:template match="shortaffil" mode="titlepage.mode">
|
|---|
| 887 | <span>
|
|---|
| 888 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 889 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 890 | <br/>
|
|---|
| 891 | </span>
|
|---|
| 892 | </xsl:template>
|
|---|
| 893 |
|
|---|
| 894 | <xsl:template match="subjectset" mode="titlepage.mode">
|
|---|
| 895 | </xsl:template>
|
|---|
| 896 |
|
|---|
| 897 | <xsl:template match="subtitle" mode="titlepage.mode">
|
|---|
| 898 | <h2>
|
|---|
| 899 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 900 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 901 | </h2>
|
|---|
| 902 | </xsl:template>
|
|---|
| 903 |
|
|---|
| 904 | <xsl:template match="surname" mode="titlepage.mode">
|
|---|
| 905 | <span>
|
|---|
| 906 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 907 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 908 | <br/>
|
|---|
| 909 | </span>
|
|---|
| 910 | </xsl:template>
|
|---|
| 911 |
|
|---|
| 912 | <xsl:template match="title" mode="titlepage.mode">
|
|---|
| 913 | <xsl:variable name="id">
|
|---|
| 914 | <xsl:choose>
|
|---|
| 915 | <!-- if title is in an *info wrapper, get the grandparent -->
|
|---|
| 916 | <xsl:when test="contains(local-name(..), 'info')">
|
|---|
| 917 | <xsl:call-template name="object.id">
|
|---|
| 918 | <xsl:with-param name="object" select="../.."/>
|
|---|
| 919 | </xsl:call-template>
|
|---|
| 920 | </xsl:when>
|
|---|
| 921 | <xsl:otherwise>
|
|---|
| 922 | <xsl:call-template name="object.id">
|
|---|
| 923 | <xsl:with-param name="object" select=".."/>
|
|---|
| 924 | </xsl:call-template>
|
|---|
| 925 | </xsl:otherwise>
|
|---|
| 926 | </xsl:choose>
|
|---|
| 927 | </xsl:variable>
|
|---|
| 928 |
|
|---|
| 929 | <h1>
|
|---|
| 930 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 931 | <xsl:if test="$generate.id.attributes = 0">
|
|---|
| 932 | <a id="{$id}"/>
|
|---|
| 933 | </xsl:if>
|
|---|
| 934 | <xsl:choose>
|
|---|
| 935 | <xsl:when test="$show.revisionflag != 0 and @revisionflag">
|
|---|
| 936 | <span class="{@revisionflag}">
|
|---|
| 937 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 938 | </span>
|
|---|
| 939 | </xsl:when>
|
|---|
| 940 | <xsl:otherwise>
|
|---|
| 941 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 942 | </xsl:otherwise>
|
|---|
| 943 | </xsl:choose>
|
|---|
| 944 | </h1>
|
|---|
| 945 | </xsl:template>
|
|---|
| 946 |
|
|---|
| 947 | <xsl:template match="titleabbrev" mode="titlepage.mode">
|
|---|
| 948 | <!-- nop; title abbreviations don't belong on the title page! -->
|
|---|
| 949 | </xsl:template>
|
|---|
| 950 |
|
|---|
| 951 | <xsl:template match="volumenum" mode="titlepage.mode">
|
|---|
| 952 | <span>
|
|---|
| 953 | <xsl:apply-templates select="." mode="class.attribute"/>
|
|---|
| 954 | <xsl:apply-templates mode="titlepage.mode"/>
|
|---|
| 955 | <br/>
|
|---|
| 956 | </span>
|
|---|
| 957 | </xsl:template>
|
|---|
| 958 |
|
|---|
| 959 | <!-- ==================================================================== -->
|
|---|
| 960 |
|
|---|
| 961 | </xsl:stylesheet>
|
|---|