VirtualBox

Changeset 96612 in vbox for trunk/doc/manual


Ignore:
Timestamp:
Sep 6, 2022 2:51:32 PM (2 years ago)
Author:
vboxsync
Message:

doc/manual/docbook2latex.xsl: Eliminate utf8x package, instead replace the 3 missing code points directly.

File:
1 edited

Legend:

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

    r96407 r96612  
    109109\usepackage{geometry}
    110110\geometry{top=3cm,bottom=4cm}
    111 \usepackage{ucs}
    112 \usepackage[utf8x]{inputenc}
     111\usepackage[utf8]{inputenc}
    113112\usepackage[T1]{fontenc}
    114113\usepackage{tabulary}
     
    12611260          </xsl:call-template>
    12621261        </xsl:variable>
    1263         <xsl:value-of select="$subst13" />
     1262        <xsl:variable name="subst14">
     1263          <xsl:call-template name="str:subst">
     1264            <xsl:with-param name="text" select="$subst13" />
     1265            <xsl:with-param name="replace" select="'→'" />
     1266            <xsl:with-param name="with" select="'\ensuremath{\rightarrow}'" />
     1267            <xsl:with-param name="disable-output-escaping" select="no" />
     1268          </xsl:call-template>
     1269        </xsl:variable>
     1270        <xsl:variable name="subst15">
     1271          <xsl:call-template name="str:subst">
     1272            <xsl:with-param name="text" select="$subst14" />
     1273            <xsl:with-param name="replace" select="'←'" />
     1274            <xsl:with-param name="with" select="'\ensuremath{\leftarrow}'" />
     1275            <xsl:with-param name="disable-output-escaping" select="no" />
     1276          </xsl:call-template>
     1277        </xsl:variable>
     1278        <xsl:variable name="subst16">
     1279          <xsl:call-template name="str:subst">
     1280            <xsl:with-param name="text" select="$subst15" />
     1281            <xsl:with-param name="replace" select="'↔'" />
     1282            <xsl:with-param name="with" select="'\ensuremath{\leftrightarrow}'" />
     1283            <xsl:with-param name="disable-output-escaping" select="no" />
     1284          </xsl:call-template>
     1285        </xsl:variable>
     1286        <xsl:value-of select="$subst16" />
    12641287      </xsl:otherwise>
    12651288    </xsl:choose>
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