VirtualBox

Changeset 89922 in vbox for trunk/doc


Ignore:
Timestamp:
Jun 25, 2021 8:50:07 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
145380
Message:

doc/docbook2latex.xsl: Remove unwanted empty line after every term in a variable list. Also drop some dead code (same condition checked a little earlier, bailing out).

File:
1 edited

Legend:

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

    r89917 r89922  
    700700      <xsl:apply-templates select="."/>
    701701    </xsl:for-each>
    702     <xsl:text>}}] \hfill \\&#x0a;</xsl:text>
     702    <xsl:text>}}]\hfill\\</xsl:text>
    703703    <xsl:apply-templates select="listitem/*"/>
    704704  </xsl:template>
     
    843843    <xsl:if test="title"><xsl:message terminate="yes">No title element supported in refsynopsisdiv</xsl:message></xsl:if>
    844844    <xsl:call-template name="xsltprocNewlineOutputHack"/>
    845     <xsl:text>&#x0a;\subsection*{Synopsis}</xsl:text>
    846     <xsl:if test="name(*[1]) != 'cmdsynopsis'"> <!-- just in case -->
    847       <xsl:text>\hfill \\&#x0a;</xsl:text>
    848     </xsl:if>
    849     <xsl:text>&#x0a;</xsl:text>
     845    <xsl:text>&#x0a;\subsection*{Synopsis}&#x0a;</xsl:text>
    850846    <xsl:apply-templates />
    851847  </xsl:template>
Note: See TracChangeset for help on using the changeset viewer.

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