- Timestamp:
- Oct 26, 2021 2:22:05 PM (3 years ago)
- Location:
- trunk/doc/manual
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/manual/Config.kmk
r91617 r92084 349 349 '</catalog>' 350 350 $(QUIET)$(call VBOX_XSLTPROC_WITH_CAT, -E "XML_CATALOG_FILES=$(VBOX_XML_XREF_TO_TEXT).cat") \ 351 --output "$@" "$<" $(filter %UserManual.xml,$^) 351 --stringparam 'g_sMode' 'first' --output "$@" "$<" $(filter %UserManual.xml,$^) 352 $(foreach x, $(VBOX_MANUAL_XML_REFENTRY_FILES)\ 353 ,$(NLTAB)$(QUIET)$(call VBOX_XSLTPROC_WITH_CAT, -ato "$@") --stringparam 'g_sMode' 'append' \ 354 "$<" "$(VBOX_PATH_MANUAL_SRC)/en_US/$(x)") 355 $(QUIET)$(APPEND) -n "$@" '' '</xsl:stylesheet>' 352 356 353 357 # -
trunk/doc/manual/docbook-refentry-link-replacement-xsl-gen.xsl
r82969 r92084 24 24 <xsl:strip-space elements="*"/> 25 25 26 <xsl:param name="g_sMode" select="not-specified"/> 26 27 27 28 <!-- Default operation is to supress output --> … … 38 39 --> 39 40 <xsl:template match="/"> 40 <xsl:text><?xml version="1.0"?> 41 <xsl:if test="$g_sMode = 'first'"> 42 <xsl:text><?xml version="1.0"?> 41 43 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > 42 44 <xsl:output method="xml" version="1.0" encoding="utf-8" indent="yes" /> … … 48 50 49 51 </xsl:text> 52 </xsl:if> 50 53 <xsl:apply-templates/> 51 <xsl:text> 54 <xsl:if test="$g_sMode = 'last'"> 55 <xsl:text> 52 56 </xsl:stylesheet> 53 57 </xsl:text> 58 </xsl:if> 54 59 </xsl:template> 55 60 … … 122 127 </xsl:template> 123 128 129 <xsl:template match="refentry[@id]/refentryinfo/title"> 130 <xsl:text><xsl:template match="xref[@linkend='</xsl:text> 131 <xsl:value-of select="../../@id"/><xsl:text>']"> 132 <xsl:text> "</xsl:text> 133 <xsl:value-of select="normalize-space()"/><xsl:text>"</xsl:text> 134 </xsl:template> 135 </xsl:text> 136 <xsl:apply-templates/> 137 </xsl:template> 138 139 124 140 <!-- 125 141 Debug/Diagnostics: Return the path to the specified node (by default the current).
Note:
See TracChangeset
for help on using the changeset viewer.