VirtualBox

Changeset 78503 in vbox


Ignore:
Timestamp:
May 14, 2019 11:54:29 AM (5 years ago)
Author:
vboxsync
Message:

manual/docbook2latex.xsl: Use sloppypar to keep long words from pushing thru the right margin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/docbook2latex.xsl

    r78497 r78503  
    188188
    189189  <xsl:text>
     190\end{sloppypar}
    190191\end{document}
    191192  </xsl:text>
     
    218219
    219220\begin{document}
     221% bird/2018-05-14: Use sloppypar so we don't push path names and other long words
     222%                  thru the right margin.  TODO: Find better solution? microtype?
     223\begin{sloppypar}
    220224% \maketitle
    221225%\begin{titlepage}
     
    674678  </xsl:template>
    675679
    676   <xsl:template match="computeroutput | code | literal">
     680  <xsl:template match="computeroutput | code">
     681    <xsl:text>\texttt{</xsl:text>
     682    <xsl:apply-templates />
     683    <xsl:text>}</xsl:text>
     684  </xsl:template>
     685
     686  <xsl:template match="literal | filename">
    677687    <xsl:text>\texttt{</xsl:text>
    678688    <xsl:apply-templates />
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette