[docs] xmldocs - docelic modified 6 files
docs at icdevgroup.org
docs at icdevgroup.org
Fri Aug 6 07:26:47 EDT 2004
User: docelic
Date: 2004-08-06 11:26:47 GMT
Modified: docbook catalog.xml common.xsl html-common.xsl
Modified: . Makefile
Modified: bin refs-autogen
Added: docbook reference.xsl
Log:
- Makefile: Fixed a longstanding problem with inability to use our custom
stylesheets when generating manpages.
- bin/refs-autogen:
- Use docbook/docbookxi.dtd in autogenerated reference pages (in combination
with the Makefile fix)
- Insert empty <para></para> before each example; it does not change the
display for html, but for nroff it helps to separate the titles of
examples from the preceding text.
- docbook/catalog.xml: whitespace
- docbook/common.xsl, docbook/html-common.xsl: move the customization of
<example> title appearance from html-common to common.
- docbook/reference.xsl: added a stylesheet for reference pages
Revision Changes Path
1.4 +1 -1 xmldocs/docbook/catalog.xml
rev 1.4, prev_rev 1.3
Index: catalog.xml
===================================================================
RCS file: /var/cvs/xmldocs/docbook/catalog.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- catalog.xml 23 Jul 2004 13:32:02 -0000 1.3
+++ catalog.xml 6 Aug 2004 11:26:47 -0000 1.4
@@ -8,7 +8,7 @@
<public publicId="-//OASIS//DTD DocBook-Interchange XML V4.2//EN"
uri="../docbook/docbookxi.dtd"/>
-
+
<system systemId="iccattut-nc"
uri="../tmp/iccattut-nc.db" />
1.4 +9 -0 xmldocs/docbook/common.xsl
rev 1.4, prev_rev 1.3
Index: common.xsl
===================================================================
RCS file: /var/cvs/xmldocs/docbook/common.xsl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- common.xsl 21 Jul 2004 20:13:30 -0000 1.3
+++ common.xsl 6 Aug 2004 11:26:47 -0000 1.4
@@ -25,5 +25,14 @@
[<xsl:call-template name="inline.monoseq"/>]
</xsl:template>
+ <xsl:param name="local.l10n.xml" select="document('')"/>
+ <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
+ <l:l10n language="en">
+ <l:context name="title">
+ <l:template name="example" text="%t"/>
+ </l:context>
+ </l:l10n>
+ </l:i18n>
+
</xsl:stylesheet>
1.4 +0 -9 xmldocs/docbook/html-common.xsl
rev 1.4, prev_rev 1.3
Index: html-common.xsl
===================================================================
RCS file: /var/cvs/xmldocs/docbook/html-common.xsl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- html-common.xsl 6 Aug 2004 10:17:44 -0000 1.3
+++ html-common.xsl 6 Aug 2004 11:26:47 -0000 1.4
@@ -8,14 +8,5 @@
<!-- <xsl:param name="glossary.auto.link">1</xsl:param> -->
- <xsl:param name="local.l10n.xml" select="document('')"/>
- <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
- <l:l10n language="en">
- <l:context name="title">
- <l:template name="example" text="%t"/>
- </l:context>
- </l:l10n>
- </l:i18n>
-
</xsl:stylesheet>
1.1 xmldocs/docbook/reference.xsl
rev 1.1, prev_rev 1.0
Index: reference.xsl
===================================================================
<?xml version='1.0'?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xi="http://www.w3.org/2003/XInclude"
version="1.0">
<xsl:import
href="/usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl"/>
<xsl:include href="common.xsl"/>
</xsl:stylesheet>
1.10 +2 -1 xmldocs/Makefile
rev 1.10, prev_rev 1.9
Index: Makefile
===================================================================
RCS file: /var/cvs/xmldocs/Makefile,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- Makefile 6 Aug 2004 10:17:44 -0000 1.9
+++ Makefile 6 Aug 2004 11:26:47 -0000 1.10
@@ -49,7 +49,8 @@
# Man pages
$(OUTPUT)/%.man: %.xml
mkdir -p $(OUTPUT)/man
- XML_CATALOG_FILES="$(DEFAULT_CATALOG)" $(XMLTO) $(XMLTO_FLAGS) \
+ $(XMLTO) $(XMLTO_FLAGS) \
+ -x docbook/reference.xsl \
-o $(OUTPUT)/man/ \
man $<
1.13 +3 -1 xmldocs/bin/refs-autogen
rev 1.13, prev_rev 1.12
Index: refs-autogen
===================================================================
RCS file: /var/cvs/xmldocs/bin/refs-autogen,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- refs-autogen 6 Aug 2004 10:17:44 -0000 1.12
+++ refs-autogen 6 Aug 2004 11:26:47 -0000 1.13
@@ -148,6 +148,8 @@
my $ctxsdata = join "", @$ctxdata;
if ( length $ctxsdata ) {
$$ag{source} .= <<ENDD;
+<para>
+</para>
<example>
<title>$loc ($ctxmeta)</title>
@@ -242,7 +244,7 @@
my $refpage = <<ENDD;
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DocBook-Interchange XML V4.2//EN"
- "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+ "../docbook/docbookxi.dtd">
<reference id="$k">
<title>Interchange Reference Pages: $longname{$k}s</title>
More information about the docs
mailing list