VirtualBox

Changeset 76704 in vbox for trunk/doc


Ignore:
Timestamp:
Jan 8, 2019 12:48:01 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
128015
Message:

doc/manual: use the appropriate markup for the Preface, and make sure that the sections in it are unnumbered (a bit incomplete for the HTML/... case, but can be improved later), important fix for HTML manual as it restores the validity of the (per chapter) links to the HTML manual.

Location:
trunk/doc/manual
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/common-formatcfg.xsl

    r56483 r76704  
    7272
    7373<!--
     74  Make sure that sections inside the Preface are not numbered.
     75  -->
     76<xsl:template match="preface/sect1" mode="object.title.template">
     77  <xsl:call-template name="gentext.template">
     78    <xsl:with-param name="context" select="'title-unnumbered'"/>
     79    <xsl:with-param name="name">
     80      <xsl:call-template name="xpath.location"/>
     81    </xsl:with-param>
     82  </xsl:call-template>
     83</xsl:template>
     84
     85<!--
    7486  refentry related layout tweaks.
    7587
  • trunk/doc/manual/docbook2latex.xsl

    r76235 r76704  
    331331      <xsl:when test="name(..)='chapter'">
    332332        <xsl:call-template name="title-wrapper"/>
     333      </xsl:when>
     334      <xsl:when test="name(..)='preface'">
     335        <xsl:call-template name="title-wrapper">
     336          <xsl:with-param name="texcmd">\chapter</xsl:with-param>
     337        </xsl:call-template>
    333338      </xsl:when>
    334339      <xsl:when test="name(..)='sect1' and ../../@role='frontmatter'">
  • trunk/doc/manual/en_US/user_Preface.xml

    r76113 r76704  
    66  %all.entities;
    77]>
    8 <chapter id="user-preface" role="frontmatter">
     8<preface id="user-preface" role="frontmatter">
    99
    1010  <title>Preface</title>
     
    106106  </sect1>
    107107
    108 </chapter>
     108</preface>
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