- Timestamp:
- Jun 17, 2015 8:33:10 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/manual/docbook2latex.xsl
r56466 r56469 329 329 </xsl:call-template> 330 330 </xsl:when> 331 <xsl:when test="parent::sect2[@condition='no-toc'] or parent::refsect1 or (parent::section and count(ancestor::section) = 2)"> 332 <xsl:call-template name="title-wrapper"> 333 <xsl:with-param name="texcmd">\subsection*</xsl:with-param> 334 </xsl:call-template> 335 </xsl:when> 331 336 <xsl:when test="name(..)='sect2'"> 332 337 <xsl:call-template name="title-wrapper"> … … 334 339 </xsl:call-template> 335 340 </xsl:when> 341 <xsl:when test="parent::sect3[@condition='no-toc'] or parent::refsect2 or (parent::section and count(ancestor::section) = 3)"> 342 <xsl:call-template name="title-wrapper"> 343 <xsl:with-param name="texcmd">\subsubsection*</xsl:with-param> 344 </xsl:call-template> 345 </xsl:when> 336 346 <xsl:when test="name(..)='sect3'"> 337 347 <xsl:call-template name="title-wrapper"> … … 339 349 </xsl:call-template> 340 350 </xsl:when> 351 <xsl:when test="parent::sect4[@condition='no-toc'] or parent::refsect3 or (parent::section and count(ancestor::section) = 4)"> 352 <xsl:call-template name="title-wrapper"> 353 <xsl:with-param name="texcmd">\paragraph*</xsl:with-param> 354 </xsl:call-template> 355 </xsl:when> 341 356 <xsl:when test="name(..)='sect4'"> 342 357 <xsl:call-template name="title-wrapper"> … … 344 359 </xsl:call-template> 345 360 </xsl:when> 361 <xsl:when test="parent::sect5[@condition='no-toc'] or parent::refsect4 or (parent::section and count(ancestor::section) = 5)"> 362 <xsl:call-template name="title-wrapper"> 363 <xsl:with-param name="texcmd">\subparagraph*</xsl:with-param> 364 </xsl:call-template> 365 </xsl:when> 346 366 <xsl:when test="name(..)='sect5'"> 347 367 <xsl:call-template name="title-wrapper"> 348 368 <xsl:with-param name="texcmd">\subparagraph</xsl:with-param> 349 </xsl:call-template>350 </xsl:when>351 <xsl:when test="name(..)='refsect1'">352 <xsl:call-template name="title-wrapper">353 <xsl:with-param name="texcmd">\subsection*</xsl:with-param>354 </xsl:call-template>355 </xsl:when>356 <xsl:when test="name(..)='refsect2'">357 <xsl:call-template name="title-wrapper">358 <xsl:with-param name="texcmd">\subsubsection*</xsl:with-param>359 369 </xsl:call-template> 360 370 </xsl:when>
Note:
See TracChangeset
for help on using the changeset viewer.