Author: paul
Date: 2006-03-03 23:50:29 +0100 (Fri, 03 Mar 2006)
New Revision: 1506
Log:
r8344@frost: paul | 2006-03-03 10:55:17 -0600
In DocBook -> Texinfo conversion, handle xref to preface,
which won't exist in Texinfo.
Modified:
trunk/
trunk/xsl.d/dbk-texi.xsl
Property changes on: trunk
___________________________________________________________________
Name: svk:merge
- b5ec3a16-e900-0410-9ad2-d183a3acac99:/mysqldoc-local/mysqldoc/trunk:8343
bf112a9c-6c03-0410-a055-ad865cd57414:/mysqldoc-local/mysqldoc/trunk:3663
+ b5ec3a16-e900-0410-9ad2-d183a3acac99:/mysqldoc-local/mysqldoc/trunk:8344
bf112a9c-6c03-0410-a055-ad865cd57414:/mysqldoc-local/mysqldoc/trunk:3663
Modified: trunk/xsl.d/dbk-texi.xsl
===================================================================
--- trunk/xsl.d/dbk-texi.xsl 2006-03-03 22:50:15 UTC (rev 1505)
+++ trunk/xsl.d/dbk-texi.xsl 2006-03-03 22:50:29 UTC (rev 1506)
@@ -571,6 +571,7 @@
</xsl:template>
<!-- <xref> -> @ref{} (ignore content) -->
+<!-- map linkend="preface" to "Top" (there is no preface) -->
<xsl:template match="xref">
<xsl:text>@ref{</xsl:text>
@@ -578,6 +579,10 @@
<xsl:text>}</xsl:text>
</xsl:template>
+<xsl:template match="xref[@linkend='preface']">
+ <xsl:text>@ref{Top}</xsl:text>
+</xsl:template>
+
<!-- <ulink> -> @uref{} -->
<xsl:template match="ulink">
| Thread |
|---|
| • svn commit - mysqldoc@docsrva: r1506 - in trunk: . xsl.d | paul | 3 Mar |