Documentation for YAZ is now based on the Docbook XML/XSLT using
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 24 May 2006 12:33:21 +0000 (12:33 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 24 May 2006 12:33:21 +0000 (12:33 +0000)
xsltproc + N Walsh's stylesheets. It means that the CVS version of YAZ
is no longer depending on jade/openjade or docbook-to-man scripts.
PDF is no longer part of the distribution - but can optionally be
made using DSSSL/jadetex or FOP.

12 files changed:
NEWS
configure.ac
debian/control
doc/Makefile.am
doc/yaz-asncomp-man.xml
doc/yaz-client-man.xml
doc/yaz-iconv-man.xml
doc/yaz-log-man.xml
doc/yaz-man.xml
doc/yaz-marcdump-man.xml
doc/zoomsh-man.xml
win/yaz.nsi

diff --git a/NEWS b/NEWS
index 2ea643a..eedd7f9 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,9 @@
+Documentation for YAZ is now based on the Docbook XML/XSLT using
+xsltproc + N Walsh's stylesheets. It means that the CVS version of YAZ
+is no longer depending on jade/openjade or docbook-to-man scripts.
+PDF is no longer part of the distribution - but can optionally be
+made using DSSSL/jadetex or FOP.
+
 Added retrieval handling support in Generic Frontend Server to support
 conversion between MARC/XML as well as XSLTtransforms. See
 etc/yazgfs.xml for an example.
 Added retrieval handling support in Generic Frontend Server to support
 conversion between MARC/XML as well as XSLTtransforms. See
 etc/yazgfs.xml for an example.
index 2254960..a338509 100644 (file)
@@ -1,6 +1,6 @@
 dnl YAZ Toolkit, Index Data 1994-2006
 dnl See the file LICENSE for details.
 dnl YAZ Toolkit, Index Data 1994-2006
 dnl See the file LICENSE for details.
-dnl $Id: configure.ac,v 1.16 2006-05-23 10:05:28 marc Exp $
+dnl $Id: configure.ac,v 1.17 2006-05-24 12:33:21 adam Exp $
 AC_PREREQ(2.59)
 AC_INIT([yaz],[2.1.19],[adam@indexdata.dk])
 AC_CONFIG_SRCDIR(configure.ac)
 AC_PREREQ(2.59)
 AC_INIT([yaz],[2.1.19],[adam@indexdata.dk])
 AC_CONFIG_SRCDIR(configure.ac)
@@ -364,6 +364,7 @@ doc/common/html.dsl
 doc/common/html.xsl
 doc/common/print.dsl
 doc/common/tkl.xsl
 doc/common/html.xsl
 doc/common/print.dsl
 doc/common/tkl.xsl
+doc/common/man.xsl
 etc/Makefile
 yaz-config
 Doxyfile
 etc/Makefile
 yaz-config
 Doxyfile
index 077d466..2791b05 100644 (file)
@@ -34,7 +34,7 @@ Description: The YAZ Z39.50 toolkit (documentation)
  YAZ is a toolkit that allows you to develop software using the
  Z39.50/ISO23950 standard for information retrieval.
  .
  YAZ is a toolkit that allows you to develop software using the
  Z39.50/ISO23950 standard for information retrieval.
  .
- This packages includes documentation for YAZ in HTML and PDF.
+ This packages includes HTML documentation for YAZ.
 
 Package: libyaz-dev
 Depends: libyaz (= ${Source-Version}), libxslt1-dev, libwrap0-dev, libssl-dev
 
 Package: libyaz-dev
 Depends: libyaz (= ${Source-Version}), libxslt1-dev, libwrap0-dev, libssl-dev
index d73de45..dd267cc 100644 (file)
@@ -1,4 +1,4 @@
-## $Id: Makefile.am,v 1.67 2006-05-23 19:09:13 adam Exp $
+## $Id: Makefile.am,v 1.68 2006-05-24 12:33:21 adam Exp $
 
 docdir=$(datadir)/doc/@PACKAGE@
 
 
 docdir=$(datadir)/doc/@PACKAGE@
 
@@ -25,7 +25,7 @@ HTMLFILES = \
  server.main.html server.vhosts.html \
  soap.html soap.http.html soap.xml.html soap.srw.html \
  tools.html tools.marc.html tools.nmem.html tools.log.html tools.oid.html \
  server.main.html server.vhosts.html \
  soap.html soap.http.html soap.xml.html soap.srw.html \
  tools.html tools.marc.html tools.nmem.html tools.log.html tools.oid.html \
- yaz.html zoom.events.html zoom.ext.html zoom.html zoom.options.html \
+ index.html zoom.events.html zoom.ext.html zoom.html zoom.options.html \
  zoom.query.html zoom.records.html zoom.resultsets.html zoom.scan.html
 
 MANFILES=yaz-client.1 yaz-ztest.8 \
  zoom.query.html zoom.records.html zoom.resultsets.html zoom.scan.html
 
 MANFILES=yaz-client.1 yaz-ztest.8 \
@@ -37,41 +37,41 @@ REFFILES=yaz-client-man.xml yaz-ztest-man.xml yaz-config-man.xml \
 
 SUPPORTFILES=entities.ent apilayer.obj 
 
 
 SUPPORTFILES=entities.ent apilayer.obj 
 
-doc_DATA = $(HTMLFILES) yaz.pdf apilayer.png 
+doc_DATA = $(HTMLFILES) apilayer.png 
 man_MANS = $(MANFILES)
 
 EXTRA_DIST = $(XMLFILES) $(SUPPORTFILES) $(man_MANS) $(REFFILES) \
        $(doc_DATA)
 
 yaz-client.1: $(srcdir)/yaz-client-man.xml $(srcdir)/yaz-client-commands.xml
 man_MANS = $(MANFILES)
 
 EXTRA_DIST = $(XMLFILES) $(SUPPORTFILES) $(man_MANS) $(REFFILES) \
        $(doc_DATA)
 
 yaz-client.1: $(srcdir)/yaz-client-man.xml $(srcdir)/yaz-client-commands.xml
-       $(DB2MAN_PROG) $(srcdir)/yaz-client-man.xml $@
+       xsltproc common/man.xsl $(srcdir)/yaz-client-man.xml
 
 yaz-ztest.8: yaz-ztest-man.xml gfs-options.xml gfs-synopsis.xml gfs-virtual.xml
 
 yaz-ztest.8: yaz-ztest-man.xml gfs-options.xml gfs-synopsis.xml gfs-virtual.xml
-       $(DB2MAN_PROG) $(srcdir)/yaz-ztest-man.xml $@
+       xsltproc common/man.xsl $(srcdir)/yaz-ztest-man.xml
 
 yaz-config.8: yaz-config-man.xml
 
 yaz-config.8: yaz-config-man.xml
-       $(DB2MAN_PROG) $(srcdir)/yaz-config-man.xml $@
+       xsltproc common/man.xsl $(srcdir)/yaz-config-man.xml
 
 yaz.7: yaz-man.xml
 
 yaz.7: yaz-man.xml
-       $(DB2MAN_PROG) $(srcdir)/yaz-man.xml $@
+       xsltproc common/man.xsl $(srcdir)/yaz-man.xml
 
 zoomsh.1: zoomsh-man.xml
 
 zoomsh.1: zoomsh-man.xml
-       $(DB2MAN_PROG) $(srcdir)/zoomsh-man.xml $@
+       xsltproc common/man.xsl $(srcdir)/zoomsh-man.xml
 
 yaz-asncomp.1: yaz-asncomp-man.xml
 
 yaz-asncomp.1: yaz-asncomp-man.xml
-       $(DB2MAN_PROG) $(srcdir)/yaz-asncomp-man.xml $@
+       xsltproc common/man.xsl $(srcdir)/yaz-asncomp-man.xml
 
 yaz-marcdump.1: yaz-marcdump-man.xml
 
 yaz-marcdump.1: yaz-marcdump-man.xml
-       $(DB2MAN_PROG) $(srcdir)/yaz-marcdump-man.xml $@
+       xsltproc common/man.xsl $(srcdir)/yaz-marcdump-man.xml
 
 yaz-iconv.1: yaz-iconv-man.xml
 
 yaz-iconv.1: yaz-iconv-man.xml
-       $(DB2MAN_PROG) $(srcdir)/yaz-iconv-man.xml $@
+       xsltproc common/man.xsl $(srcdir)/yaz-iconv-man.xml
 
 yaz-log.7: yaz-log-man.xml
 
 yaz-log.7: yaz-log-man.xml
-       $(DB2MAN_PROG) $(srcdir)/yaz-log-man.xml $@
+       xsltproc common/man.xsl $(srcdir)/yaz-log-man.xml
 
 
-$(HTMLFILES): $(XMLFILES)  
-       jade -E14 -D $(srcdir) -d common/html.dsl -t sgml $(srcdir)/common/xml.dcl yaz.xml
+$(HTMLFILES): $(XMLFILES)
+       xsltproc common/html.xsl $(srcdir)/yaz.xml
 
 yaz.pdf: $(XMLFILES)
        if test ! -f common/id.png ; then cp $(srcdir)/common/id.png common; fi
 
 yaz.pdf: $(XMLFILES)
        if test ! -f common/id.png ; then cp $(srcdir)/common/id.png common; fi
index f39207f..c249b9b 100644 (file)
@@ -1,4 +1,6 @@
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd"
+[
 ]>
 <refentry id="yaz-asncomp">
  
 ]>
 <refentry id="yaz-asncomp">
  
index 9959754..422dcae 100644 (file)
@@ -1,9 +1,11 @@
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" 
+ "http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd"
+[
      <!ENTITY % common  SYSTEM "common/common.ent">
      %common;
      <!ENTITY yaz-client-commands SYSTEM "yaz-client-commands.xml">
 ]>
      <!ENTITY % common  SYSTEM "common/common.ent">
      %common;
      <!ENTITY yaz-client-commands SYSTEM "yaz-client-commands.xml">
 ]>
-<!-- $Id: yaz-client-man.xml,v 1.8 2006-04-25 11:25:08 marc Exp $ -->
+<!-- $Id: yaz-client-man.xml,v 1.9 2006-05-24 12:33:21 adam Exp $ -->
 <refentry id="yaz-client">
  
  <refmeta>
 <refentry id="yaz-client">
  
  <refmeta>
index 935fedb..5e52ddc 100644 (file)
@@ -1,5 +1,7 @@
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
-<!-- $Id: yaz-iconv-man.xml,v 1.3 2006-04-25 11:25:08 marc Exp $ -->
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd"
+[ ]>
+<!-- $Id: yaz-iconv-man.xml,v 1.4 2006-05-24 12:33:21 adam Exp $ -->
 <refentry id="yaz-iconv">
  <refmeta>
   <refentrytitle>yaz-iconv</refentrytitle>
 <refentry id="yaz-iconv">
  <refmeta>
   <refentrytitle>yaz-iconv</refentrytitle>
index 0e78f36..816d7c7 100644 (file)
@@ -1,5 +1,7 @@
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
-<!-- $Id: yaz-log-man.xml,v 1.4 2006-04-25 11:25:08 marc Exp $ -->
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd"
+[ ]>
+<!-- $Id: yaz-log-man.xml,v 1.5 2006-05-24 12:33:21 adam Exp $ -->
 <refentry id="yaz-log">
  <refmeta>
   <refentrytitle>yaz-log</refentrytitle>
 <refentry id="yaz-log">
  <refmeta>
   <refentrytitle>yaz-log</refentrytitle>
index d129516..093493d 100644 (file)
@@ -1,8 +1,10 @@
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" 
+ "http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd"
+[
      <!ENTITY % common  SYSTEM "common/common.ent">
      %common;
 ]>
      <!ENTITY % common  SYSTEM "common/common.ent">
      %common;
 ]>
-<!-- $Id: yaz-man.xml,v 1.7 2006-04-25 11:25:08 marc Exp $ -->
+<!-- $Id: yaz-man.xml,v 1.8 2006-05-24 12:33:21 adam Exp $ -->
 <refentry id="yaz">
  <refmeta>
   <refentrytitle>yaz</refentrytitle>
 <refentry id="yaz">
  <refmeta>
   <refentrytitle>yaz</refentrytitle>
@@ -10,7 +12,7 @@
  </refmeta>
  
  <refnamediv>
  </refmeta>
  
  <refnamediv>
-  <refname>YAZ</refname>
+  <refname>yaz</refname>
   <refpurpose>Z39.50 toolkit.</refpurpose>
  </refnamediv>
  
   <refpurpose>Z39.50 toolkit.</refpurpose>
  </refnamediv>
  
index b7e008d..d2d1ad9 100644 (file)
@@ -1,5 +1,8 @@
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
-<!-- $Id: yaz-marcdump-man.xml,v 1.8 2006-04-25 11:25:08 marc Exp $ -->
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd"
+[
+]>
+<!-- $Id: yaz-marcdump-man.xml,v 1.9 2006-05-24 12:33:21 adam Exp $ -->
 <refentry id="yaz-marcdump">
  <refmeta>
   <refentrytitle>yaz-marcdump</refentrytitle>
 <refentry id="yaz-marcdump">
  <refmeta>
   <refentrytitle>yaz-marcdump</refentrytitle>
index dcc2001..eb831c2 100644 (file)
@@ -1,7 +1,9 @@
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd"
+[
      <!ENTITY zoomsh-commands SYSTEM "zoomsh-commands.xml">
 ]>
      <!ENTITY zoomsh-commands SYSTEM "zoomsh-commands.xml">
 ]>
-<!-- $Id: zoomsh-man.xml,v 1.3 2006-04-25 11:25:08 marc Exp $ -->
+<!-- $Id: zoomsh-man.xml,v 1.4 2006-05-24 12:33:21 adam Exp $ -->
 <refentry id="zoomsh">
  
  <refmeta>
 <refentry id="zoomsh">
  
  <refmeta>
index ebc4174..9da442e 100644 (file)
@@ -1,4 +1,4 @@
-; $Id: yaz.nsi,v 1.82 2006-05-03 13:27:20 adam Exp $
+; $Id: yaz.nsi,v 1.83 2006-05-24 12:33:22 adam Exp $
 
 !define VERSION "2.1.19"
 !define VS_RUNTIME_LOCATION "c:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin"
 
 !define VERSION "2.1.19"
 !define VS_RUNTIME_LOCATION "c:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin"
@@ -122,15 +122,12 @@ Section "YAZ Documentation" YAZ_Documentation
        File /r ..\doc\*.dsl
        File /r ..\doc\*.ent
        File /r ..\doc\*.html
        File /r ..\doc\*.dsl
        File /r ..\doc\*.ent
        File /r ..\doc\*.html
-       File /r ..\doc\*.pdf
        File /r ..\doc\*.xml
        File /r ..\doc\*.png
        File /r ..\doc\*.xsl
        SetOutPath $SMPROGRAMS\YAZ
        CreateShortCut "$SMPROGRAMS\YAZ\HTML Documentation.lnk" \
        File /r ..\doc\*.xml
        File /r ..\doc\*.png
        File /r ..\doc\*.xsl
        SetOutPath $SMPROGRAMS\YAZ
        CreateShortCut "$SMPROGRAMS\YAZ\HTML Documentation.lnk" \
-                 "$INSTDIR\doc\yaz.html"
-       CreateShortCut "$SMPROGRAMS\YAZ\PDF Documentaion.lnk" \
-                 "$INSTDIR\doc\yaz.pdf"
+                 "$INSTDIR\doc\index.html"
 SectionEnd
 
 Section "YAZ Source" YAZ_Source
 SectionEnd
 
 Section "YAZ Source" YAZ_Source
@@ -180,7 +177,7 @@ SectionEnd
   ;Language strings
 LangString DESC_YAZ_Runtime ${LANG_ENGLISH} "YAZ runtime files needed in order for YAZ to run, such as DLLs."
 LangString DESC_YAZ_Development ${LANG_ENGLISH} "Header files and import libraries required for developing software using YAZ."
   ;Language strings
 LangString DESC_YAZ_Runtime ${LANG_ENGLISH} "YAZ runtime files needed in order for YAZ to run, such as DLLs."
 LangString DESC_YAZ_Development ${LANG_ENGLISH} "Header files and import libraries required for developing software using YAZ."
-LangString DESC_YAZ_Documentation ${LANG_ENGLISH} "YAZ Users' guide and reference in HTML and PDF. Describes both YAZ applications and the API."
+LangString DESC_YAZ_Documentation ${LANG_ENGLISH} "YAZ Users' guide and reference in HTML. Describes both YAZ applications and the API."
 LangString DESC_YAZ_Source ${LANG_ENGLISH} "Source code of YAZ. Required if you need to rebuild YAZ (for debugging purposes)."
 
 ;Assign language strings to sections
 LangString DESC_YAZ_Source ${LANG_ENGLISH} "Source code of YAZ. Required if you need to rebuild YAZ (for debugging purposes)."
 
 ;Assign language strings to sections