[docs] xmldocs - docelic modified 7 files
docs at icdevgroup.org
docs at icdevgroup.org
Sat Aug 20 09:16:29 EDT 2005
User: docelic
Date: 2005-08-20 13:16:29 GMT
Modified: . Makefile README
Modified: docbook catalog.xml
Modified: refs backup-database.tag liven_urls.filter
Added: docbook latex.xsl
Removed: docbook fo.xsl
Log:
- docbook/*:
In %.latex target, use db2latex stylesheets which produce latex output.
This output can then be converted to PDF, and is said to produce
satisfying results.
- Little other updates
Revision Changes Path
1.68 +25 -20 xmldocs/Makefile
rev 1.68, prev_rev 1.67
Index: Makefile
===================================================================
RCS file: /var/cvs/xmldocs/Makefile,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -r1.67 -r1.68
--- Makefile 12 Aug 2005 22:54:44 -0000 1.67
+++ Makefile 20 Aug 2005 13:16:28 -0000 1.68
@@ -159,32 +159,37 @@
--stringparam current.docid $* \
--stringparam target.database.document ../docbook/olinkdb-nc.xml \
-o $@/ docbook/reference.xsl $T/$*-c.profiled
-#$O/%.pdf: %.xml docbook/autorefs.ent docbook/autoglossary.ent docbook/autohowtos.ent skel
+#OUTPUT/%.pdf: tmp/%.latex
# echo "C $@"
-# $(PSR) $(PSR_FLAGS) \
-# $(PROFILE) \
-# --stringparam current.docid $* \
-# --stringparam target.database.document ../docbook/olinkdb-nc.xml \
-# -o $T/$*-nc.profiled docbook/profile.xsl $<
-# $(PSR) $(PSR_FLAGS) \
-# $(PROFILE) \
-# --stringparam current.docid $* \
-# --stringparam target.database.document ../docbook/olinkdb-nc.xml \
-# --stringparam paper.type A4 \
-# --stringparam page.orientation portrait \
-# --stringparam double.sided 1 \
-# --stringparam chapter.autolabel 0 \
-# --stringparam appendix.autolabel 0 \
-# --stringparam section.autolabel 0 \
-# -o $T/$*.fo docbook/fo.xsl $T/$*-nc.profiled
-# #fop.sh -fo myfile.fo -pdf myfile.pdf
+# pdflatex $<
+
+
+
+
+#############################################################
+# Supporting tagret - FO output
+tmp/%.latex: %.xml docbook/autorefs.ent docbook/autoglossary.ent docbook/autohowtos.ent
+ $(PSR) $(PSR_FLAGS) \
+ $(PROFILE) \
+ --stringparam current.docid $* \
+ --stringparam target.database.document ../docbook/olinkdb-nc.xml \
+ -o $T/$*-nc.profiled docbook/profile.xsl $<
+ $(PSR) $(PSR_FLAGS) \
+ $(PROFILE) \
+ --stringparam current.docid $* \
+ --stringparam target.database.document ../docbook/olinkdb-nc.xml \
+ --stringparam paper.type A4 \
+ --stringparam page.orientation portrait \
+ --stringparam double.sided 1 \
+ --stringparam chapter.autolabel 0 \
+ --stringparam appendix.autolabel 0 \
+ --stringparam section.autolabel 0 \
+ -o $T/$*.latex docbook/latex.xsl $T/$*-nc.profiled
#
#
# --stringparam passivetex.extensions 1
# --stringparam rootid "using"
#
-
-
1.20 +3 -2 xmldocs/README
rev 1.20, prev_rev 1.19
Index: README
===================================================================
RCS file: /var/cvs/xmldocs/README,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- README 12 Aug 2005 12:41:51 -0000 1.19
+++ README 20 Aug 2005 13:16:28 -0000 1.20
@@ -67,8 +67,9 @@
- docbook-xml
- docbook-xsl
- xsltproc
- - exuberant-ctags
- - passivetex
+ - exuberant-ctags (to be)
+ - db2latex-xsl
+ - tetex-extra (and actually, packages it depends on)
If running on Red Hat and not Debian GNU, apply this patch:
http://icdevgroup.org/~docelic/xmldocs-rh.diff . It allows you to get
1.8 +10 -0 xmldocs/docbook/catalog.xml
rev 1.8, prev_rev 1.7
Index: catalog.xml
===================================================================
RCS file: /var/cvs/xmldocs/docbook/catalog.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- catalog.xml 18 Oct 2004 09:58:08 -0000 1.7
+++ catalog.xml 20 Aug 2005 13:16:28 -0000 1.8
@@ -11,4 +11,14 @@
<system systemId="xmldocs.css" uri="xmldocs.css" />
+ <!-- map URLs to local files -->
+ <rewriteURI
+ uriStartString="http://db2latex.sourceforge.net/xsl/"
+ rewritePrefix="/usr/share/xml/docbook/stylesheet/db2latex/" />
+
+ <rewriteURI
+ uriStartString="http://docbook.sourceforge.net/release/xsl/current/"
+ rewritePrefix="/usr/share/xml/docbook/stylesheet/nwalsh/" />
+
</catalog>
+
1.1 xmldocs/docbook/latex.xsl
rev 1.1, prev_rev 1.0
Index: latex.xsl
===================================================================
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
<xsl:import href="http://db2latex.sourceforge.net/xsl/docbook.xsl" />
<!-- <xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/xhtml/chunk.xsl"/> -->
<!-- This section here till I find out how to pick this
information from a catalog -->
<xsl:param name="html.stylesheet">../xmldocs.css</xsl:param>
<xsl:param name="ulink.show">0</xsl:param>
<xsl:param name="ulink.footnotes">0</xsl:param>
<!-- are those used with fo ? -->
<xsl:param name="admon.graphics.path">../images/</xsl:param>
<xsl:param name="navig.graphics.path">../images/</xsl:param>
<xsl:param name="callout.graphics.path">../images/</xsl:param>
<xsl:param name="use.id.as.filename"/>
<xsl:param name="root.filename">index</xsl:param>
<xsl:include href="common.xsl"/>
<!--
<xsl:attribute-set name="monospace.properties">
<xsl:attribute name="font-stretch">semi-condensed</xsl:attribute>
</xsl:attribute-set>
-->
</xsl:stylesheet>
1.3 +4 -0 xmldocs/refs/backup-database.tag
rev 1.3, prev_rev 1.2
Index: backup-database.tag
===================================================================
RCS file: /var/cvs/xmldocs/refs/backup-database.tag,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- backup-database.tag 24 May 2005 07:28:17 -0000 1.2
+++ backup-database.tag 20 Aug 2005 13:16:28 -0000 1.3
@@ -1,3 +1,7 @@
+__NAME__ purpose
+backup Interchange databases, optionally
+__END__
+
__NAME__ synopsis
<row>
1.2 +1 -1 xmldocs/refs/liven_urls.filter
rev 1.2, prev_rev 1.1
Index: liven_urls.filter
===================================================================
RCS file: /var/cvs/xmldocs/refs/liven_urls.filter,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- liven_urls.filter 12 Aug 2005 12:41:51 -0000 1.1
+++ liven_urls.filter 20 Aug 2005 13:16:28 -0000 1.2
@@ -36,7 +36,7 @@
__NAME__ author
&docelic;
-__END_
+__END__
__NAME__ online: Filter example
Here's an incomplete collection of URLs that the filter can recognize.
More information about the docs
mailing list