Changeset 96834 in vbox for trunk/doc/manual
- Timestamp:
- Sep 22, 2022 8:38:30 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/manual/docbook2latex.xsl
r96615 r96834 232 232 233 233 \begin{document} 234 \frontmatter 234 235 % bird/2018-05-14: Use sloppypar so we don't push path names and other long words 235 236 % thru the right margin. TODO: Find better solution? microtype? … … 340 341 341 342 <xsl:call-template name="xsltprocNewlineOutputHack"/> 342 <xsl:if test="$texcmd='\chapter' and $role='frontmatter'"> 343 <xsl:text>\frontmatter
</xsl:text> 344 </xsl:if> 345 <xsl:if test="$texcmd='\chapter' and ../preceding-sibling::*[1][@role='frontmatter']"> 343 <xsl:if test="$texcmd='\chapter' and name(../preceding-sibling::*[1])='preface'"> 346 344 <xsl:text>\mainmatter
</xsl:text> 347 345 </xsl:if> … … 384 382 <xsl:call-template name="title-wrapper"> 385 383 <xsl:with-param name="texcmd">\chapter</xsl:with-param> 386 </xsl:call-template>387 </xsl:when>388 <xsl:when test="name(..)='sect1' and ../../@role='frontmatter'">389 <xsl:call-template name="title-wrapper">390 <xsl:with-param name="texcmd">\section*</xsl:with-param>391 384 </xsl:call-template> 392 385 </xsl:when>
Note:
See TracChangeset
for help on using the changeset viewer.