From 2b3c3440681d515e5c32aba08b98551b595025ba Mon Sep 17 00:00:00 2001
From: nlopess
Date: Tue, 23 Mar 2004 18:15:53 +0000
Subject: [PATCH] bundling docbook 4 now make and make web works
---
.gitignore | 4 +-
docs/.cvsignore | 4 +-
docs/Makefile.in | 26 +-
docs/configure.in | 149 ++++++++
docs/dsssl/defaults/catalog | 4 +
docs/dsssl/defaults/dsssl.dtd | 134 ++++++++
docs/dsssl/defaults/fot.dtd | 507 ++++++++++++++++++++++++++++
docs/dsssl/defaults/style-sheet.dtd | 76 +++++
docs/dsssl/docbook/BUGS | 35 ++
docs/dsssl/docbook/PHPDOC-NOTE | 14 +
docs/dsssl/docbook/README | 91 +++++
docs/dsssl/docbook/VERSION | 1 +
docs/dsssl/docbook/catalog | 17 +
docs/dsssl/html.dsl | 3 +-
docs/dsssl/php.dsl | 3 +-
docs/entities/ISO/ISOamsa | 66 ++++
docs/entities/ISO/ISOamsb | 52 +++
docs/entities/ISO/ISOamsc | 20 ++
docs/entities/ISO/ISOamsn | 70 ++++
docs/entities/ISO/ISOamso | 29 ++
docs/entities/ISO/ISOamsr | 94 ++++++
docs/entities/ISO/ISObox | 62 ++++
docs/entities/ISO/ISOcyr1 | 77 +++++
docs/entities/ISO/ISOcyr2 | 36 ++
docs/entities/ISO/ISOdia | 24 ++
docs/entities/ISO/ISOgrk1 | 59 ++++
docs/entities/ISO/ISOgrk2 | 30 ++
docs/entities/ISO/ISOgrk3 | 53 +++
docs/entities/ISO/ISOgrk4 | 53 +++
docs/entities/ISO/ISOlat1 | 72 ++++
docs/entities/ISO/ISOlat2 | 131 +++++++
docs/entities/ISO/ISOnum | 91 +++++
docs/entities/ISO/ISOpub | 100 ++++++
docs/entities/ISO/ISOtech | 73 ++++
docs/entities/ISO/catalog | 19 ++
docs/entities/version.ent.in | 1 +
docs/manual.xml.in | 2 +-
docs/scripts/generate_web.php | 54 +++
38 files changed, 2327 insertions(+), 9 deletions(-)
create mode 100755 docs/dsssl/defaults/catalog
create mode 100755 docs/dsssl/defaults/dsssl.dtd
create mode 100755 docs/dsssl/defaults/fot.dtd
create mode 100755 docs/dsssl/defaults/style-sheet.dtd
create mode 100755 docs/dsssl/docbook/BUGS
create mode 100755 docs/dsssl/docbook/PHPDOC-NOTE
create mode 100755 docs/dsssl/docbook/README
create mode 100755 docs/dsssl/docbook/VERSION
create mode 100755 docs/dsssl/docbook/catalog
create mode 100755 docs/entities/ISO/ISOamsa
create mode 100755 docs/entities/ISO/ISOamsb
create mode 100755 docs/entities/ISO/ISOamsc
create mode 100755 docs/entities/ISO/ISOamsn
create mode 100755 docs/entities/ISO/ISOamso
create mode 100755 docs/entities/ISO/ISOamsr
create mode 100755 docs/entities/ISO/ISObox
create mode 100755 docs/entities/ISO/ISOcyr1
create mode 100755 docs/entities/ISO/ISOcyr2
create mode 100755 docs/entities/ISO/ISOdia
create mode 100755 docs/entities/ISO/ISOgrk1
create mode 100755 docs/entities/ISO/ISOgrk2
create mode 100755 docs/entities/ISO/ISOgrk3
create mode 100755 docs/entities/ISO/ISOgrk4
create mode 100755 docs/entities/ISO/ISOlat1
create mode 100755 docs/entities/ISO/ISOlat2
create mode 100755 docs/entities/ISO/ISOnum
create mode 100755 docs/entities/ISO/ISOpub
create mode 100755 docs/entities/ISO/ISOtech
create mode 100755 docs/entities/ISO/catalog
create mode 100755 docs/entities/version.ent.in
create mode 100755 docs/scripts/generate_web.php
diff --git a/.gitignore b/.gitignore
index e366d237..6a51245b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,9 @@
docs/*.cache
+docs/*.fot
docs/Makefile
docs/config.*
docs/configure
+docs/html
docs/manual.xml
-docs/version.ent
+docs/phpweb
/templates_c
diff --git a/docs/.cvsignore b/docs/.cvsignore
index 6f075059..a3dae27f 100644
--- a/docs/.cvsignore
+++ b/docs/.cvsignore
@@ -3,4 +3,6 @@ Makefile
manual.xml
config.*
*.cache
-version.ent
+*.fot
+html
+phpweb
diff --git a/docs/Makefile.in b/docs/Makefile.in
index c8bcd6a4..d7789e46 100755
--- a/docs/Makefile.in
+++ b/docs/Makefile.in
@@ -24,18 +24,36 @@ all: html
PHP=@PHP@
LANG=@LANG@
NSGMLS=@NSGMLS@
+JADE=@JADE@ -D . -wno-idref
+XMLDCL=./dtds/dbxml-4.1.2/phpdocxml.dcl
+CATALOG=@CATALOG@
+HTML_STYLESHEET=dsssl/html.dsl
+PHPWEB_STYLESHEET=dsssl/php.dsl
# }}}
-test:
- $(NSGMLS) -i lang-$(LANG) -s ./dtds/dbxml-4.1.2/phpdocxml.dcl manual.xml
+#default behaviour
+all:html
+FORCE:
+
+html: FORCE
+ @test -d html || mkdir html
+ $(JADE) $(CATALOG) -d $(HTML_STYLESHEET) -V use-output-dir -t sgml $(XMLDCL) manual.xml
+
+web: FORCE
+ @test -d phpweb || mkdir phpweb
+ $(JADE) $(CATALOG) -d $(PHPWEB_STYLESHEET) -V use-output-dir -t sgml $(XMLDCL) manual.xml
+ $(PHP) scripts/generate_web.php
+
+test:
+ $(NSGMLS) -i lang-$(LANG) -s $(XMLDCL) manual.xml
# {{{ cleanup
clean:
- rm -f Makefile config.* manual.xml configure version.ent
- rm -fr autom4te.cache
+ rm -f Makefile config.* manual.xml configure entities/version.ent *.fot
+ rm -fr autom4te.cache html phpweb
# }}}
diff --git a/docs/configure.in b/docs/configure.in
index 6e19e0b8..be53e3bd 100755
--- a/docs/configure.in
+++ b/docs/configure.in
@@ -16,6 +16,108 @@ echo
dnl {{{ check for support programs
+dnl {{{ check for PHP
+
+dnl use given argument, if any, else search in path
+AC_ARG_WITH(php,
+[ --with-php=PATH look for PHP executable needed for helper scripts],
+[
+ if test $withval != "yes"; then
+ AC_MSG_CHECKING([for php])
+ if test -x $withval; then
+ PHP=$withval
+ AC_MSG_RESULT($PHP)
+ else
+ PHP=no
+ AC_MSG_RESULT(no)
+ AC_MSG_ERROR([$withval: not an executable file])
+ fi
+ else
+ if test -e ../../phpdoc-tools/php.bat ; then
+ AC_MSG_CHECKING([for php])
+ PHP=../../phpdoc-tools/php.bat
+ AC_MSG_RESULT($PHP)
+ else
+ AC_PATH_PROG(PHP,"php",no)
+ if test $PHP = "no"; then
+ AC_PATH_PROG(PHP4,"php4",no)
+ PHP=$PHP4
+ fi
+ fi
+ fi
+],[
+ if test -e ../../phpdoc-tools/php.bat ; then
+ AC_MSG_CHECKING([for php])
+ PHP=../../phpdoc-tools/php.bat
+ AC_MSG_RESULT($PHP)
+ else
+ AC_PATH_PROG(PHP,"php",no)
+ if test $PHP = "no"; then
+ AC_PATH_PROG(PHP4,"php4",no)
+ PHP=$PHP4
+ fi
+ fi
+]
+)
+if test $PHP = "no"; then
+ AC_MSG_ERROR([no PHP binary found])
+fi
+AC_SUBST(PHP)
+
+dnl }}}
+
+dnl {{{ check for the Jade or OpenJade DSSSL parser
+
+dnl use given argument, if any, else search in path
+
+AC_ARG_WITH(jade,
+[ --with-jade=PATH look for jade or openjade executable],[
+ if test $withval != "yes"; then
+ AC_MSG_CHECKING([for jade])
+ if test -x $withval; then
+ JADE=$withval
+ AC_MSG_RESULT($JADE)
+ else
+ JADE=no
+ AC_MSG_RESULT(no)
+ AC_MSG_ERROR([$withval: not an executable file])
+ fi
+ else
+ if test -e ../../phpdoc-tools/jade/jade.exe ; then
+ AC_MSG_CHECKING([for jade])
+ JADE=../../phpdoc-tools/jade/jade.exe
+ AC_MSG_RESULT($JADE)
+ else
+ AC_PATH_PROG(OPENJADE,"openjade",no)
+ if test $OPENJADE = "no"; then
+ AC_PATH_PROG(JADE,"jade",no)
+ else
+ JADE=$OPENJADE
+ fi
+ fi
+ fi
+],[
+ if test -e ../../phpdoc-tools/jade/jade.exe ; then
+ AC_MSG_CHECKING([for jade])
+ JADE=../../phpdoc-tools/jade/jade.exe
+ AC_MSG_RESULT($JADE)
+ else
+ AC_PATH_PROG(OPENJADE,"openjade",no)
+ if test $OPENJADE = "no"; then
+ AC_PATH_PROG(JADE,"jade",no)
+ else
+ JADE=$OPENJADE
+ fi
+ fi
+]
+)
+if test $JADE = "no"; then
+ AC_MSG_ERROR([can't find jade or openjade])
+fi
+AC_SUBST(JADE)
+
+dnl }}}
+
dnl {{{ check for nsgmls or onsgmls
AC_ARG_WITH(nsgmls,
@@ -68,6 +170,53 @@ dnl }}}
dnl }}}
+dnl {{{ check for catalog files
+
+CATALOG=""
+
+dnl iso-ents catalog file
+dnl The 4.1.2 DocBook DTD also includes entity files, but they cannot be used with Jade!
+if test -e ./entities/ISO/catalog
+then
+ CATALOG="$CATALOG -c ./entities/ISO/catalog"
+fi
+
+dnl DSSSL catalog file
+if test -e ./dsssl/docbook/catalog
+then
+ CATALOG="$CATALOG -c ./dsssl/docbook/catalog"
+fi
+
+dnl For windows (and maybe *nix too?) users lacking catalog-files
+
+dnl jade catalog file
+# how about using JADEPATH? You should replace the last 4 chars ('jade') with catalog
+# !! JADEPATH may not properly be set on windows, so do not use it !!
+if test -e ../../phpdoc-tools/jade/catalog
+then
+ CATALOG="$CATALOG -c ../../phpdoc-tools/jade/catalog"
+fi
+dnl SuSE openjade setup
+if test -e /usr/share/sgml/CATALOG.docbk41
+then
+ CATALOG="$CATALOG -c /usr/share/sgml/CATALOG.docbk41"
+fi
+if test -e /usr/share/sgml/CATALOG.jade_dsl
+then
+ CATALOG="$CATALOG -c /usr/share/sgml/CATALOG.jade_dsl"
+fi
+
+dnl As a very last option, include default catalog files from phpdoc
+dnl (imported from the openjade distribution)
+if test -e $srcdir/dsssl/defaults/catalog
+then
+ CATALOG="$CATALOG -c ./dsssl/defaults/catalog"
+fi
+
+AC_SUBST(CATALOG)
+
+dnl }}}
+
dnl {{{ language specific stuff
diff --git a/docs/dsssl/defaults/catalog b/docs/dsssl/defaults/catalog
new file mode 100755
index 00000000..11bc0425
--- /dev/null
+++ b/docs/dsssl/defaults/catalog
@@ -0,0 +1,4 @@
+PUBLIC "-//James Clark//DTD DSSSL Flow Object Tree//EN" "fot.dtd"
+PUBLIC "ISO/IEC 10179:1996//DTD DSSSL Architecture//EN" "dsssl.dtd"
+PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" "style-sheet.dtd"
+PUBLIC "-//OpenJade//DTD DSSSL Style Sheet//EN" "style-sheet.dtd"
diff --git a/docs/dsssl/defaults/dsssl.dtd b/docs/dsssl/defaults/dsssl.dtd
new file mode 100755
index 00000000..50f66baa
--- /dev/null
+++ b/docs/dsssl/defaults/dsssl.dtd
@@ -0,0 +1,134 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/dsssl/defaults/fot.dtd b/docs/dsssl/defaults/fot.dtd
new file mode 100755
index 00000000..afe3576d
--- /dev/null
+++ b/docs/dsssl/defaults/fot.dtd
@@ -0,0 +1,507 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/dsssl/defaults/style-sheet.dtd b/docs/dsssl/defaults/style-sheet.dtd
new file mode 100755
index 00000000..c6e04482
--- /dev/null
+++ b/docs/dsssl/defaults/style-sheet.dtd
@@ -0,0 +1,76 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/dsssl/docbook/BUGS b/docs/dsssl/docbook/BUGS
new file mode 100755
index 00000000..2400c964
--- /dev/null
+++ b/docs/dsssl/docbook/BUGS
@@ -0,0 +1,35 @@
+Using Equations w/o titles results in incorrectly numbered
+ equations with titles. Use InformalEquation instead.
+
+InlineEquations don't work in the RTF backend. It's not my fault.
+
+Callout support is somewhat fragile.
+
+Line numbering of linespecific displays is somewhat fragile.
+
+In two-sided mode, with the RTF backend, the appropriate
+ alternation of inner/outer headers and footers does not work
+ correctly unless %page-number-restart% is true. This is
+ caused by a limitation in RTF.
+
+CHAR alignment in tables is not supported
+
+The stylesheets can't automatically put callout marks on a
+PROGRAMLISTING or SCREEN if the text comes from an external file
+using the LINESPECIFIC INLINEGRAPHIC trick.
+
+"Extra"
elements appear in the HTML output if you put block
+elements inside of elements in your source. The problem
+is that
+
+ Some text
+
+Is translated into
+
+ Some text
+
+but HTML doesn't allow "table" inside a P, so the begin table
+implies an "" which makes the after the table erroneous.
+I don't have a good answer for this, but I'm tempted to make all
+ tags empty in the HTML so that the browser has to imply all
+the
s.
diff --git a/docs/dsssl/docbook/PHPDOC-NOTE b/docs/dsssl/docbook/PHPDOC-NOTE
new file mode 100755
index 00000000..c3980900
--- /dev/null
+++ b/docs/dsssl/docbook/PHPDOC-NOTE
@@ -0,0 +1,14 @@
+This is a minimal version of the DocBook DSSSL Style Sheet
+distribution, which you can download from
+http://docbook.sourceforge.net/.
+
+Except the catalog file, nothing is modified in these files,
+all files are left untouched, so these are the same files you
+can find in the distribution. We omitted some files and
+directories though, and only left those that we use for
+output generation.
+
+The reason to put this to phpdoc was to encourage compatibility,
+so we don't need to force users to have a specific version of
+the DSSSL style sheets locally, but we can still rely on a version
+of the sheets we tested our customizations with.
\ No newline at end of file
diff --git a/docs/dsssl/docbook/README b/docs/dsssl/docbook/README
new file mode 100755
index 00000000..46657433
--- /dev/null
+++ b/docs/dsssl/docbook/README
@@ -0,0 +1,91 @@
+README for the DocBook Stylesheets
+
+These are DSSSL stylesheets for the DocBook DTD.
+
+For more information, see http://docbook.sourceforge.net/
+
+Manifest
+--------
+
+bin/ contains scripts for some (optional) post-processing
+common/ contains code common to both stylesheets
+contrib/ contains contributions
+doc/ contains installation and reference documentation (this is
+ now distributed in a separate ZIP archive)
+docsrc/ contains the SGML source for the documentation
+dtds/ contains auxiliary DTDs
+frames/ contains support for frames
+html/ contains the HTML stylesheet (for use with -t sgml)
+images/ contains images used by the HTML stylesheets
+lib/ contains DSSSL functions that are believed to be useful but
+ are totally independent of any particular stylesheet
+olink/ contains olink support
+print/ contains the print stylesheet
+
+Changes
+-------
+
+See the ChangeLog in each directory for additional information
+about the specific changes.
+
+See WhatsNew for changes since the last release.
+
+Installation
+------------
+
+See doc/install.html and/or http://nwalsh.com/docbook/dsssl/
+
+Copyright
+---------
+
+Copyright (C) 1997-2001 Norman Walsh
+
+The original inspiration for these stylesheets came from the
+work of Jon Bosak, Anders Berglund, Tony Graham, Terry Allen,
+James Clark, and many others. I am indebted to them and to the
+community of users on dssslist@mulberrytech.com for making
+substantial contributions to this work and for answering my many
+questions.
+
+This software may be distributed under the same terms as Jade:
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the ``Software''), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or
+sell copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+Except as contained in this notice, the names of individuals
+credited with contribution to this software shall not be used in
+advertising or otherwise to promote the sale, use or other
+dealings in this Software without prior written authorization
+from the individuals in question.
+
+Any stylesheet derived from this Software that is publically
+distributed will be identified with a different name and the
+version strings in any derived Software will be changed so that
+no possibility of confusion between the derived package and this
+Software will exist.
+
+Warranty
+--------
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY OTHER
+CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
+
+Contacting the Author
+---------------------
+
+These stylesheets are maintained by Norman Walsh, .
diff --git a/docs/dsssl/docbook/VERSION b/docs/dsssl/docbook/VERSION
new file mode 100755
index 00000000..f23daf40
--- /dev/null
+++ b/docs/dsssl/docbook/VERSION
@@ -0,0 +1 @@
+1.77
\ No newline at end of file
diff --git a/docs/dsssl/docbook/catalog b/docs/dsssl/docbook/catalog
new file mode 100755
index 00000000..1d599fe5
--- /dev/null
+++ b/docs/dsssl/docbook/catalog
@@ -0,0 +1,17 @@
+OVERRIDE YES
+
+-- Stylesheets --
+
+PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN"
+ print/docbook.dsl
+
+PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN"
+ html/docbook.dsl
+
+PUBLIC "-//Norman Walsh//DOCUMENT DSSSL Library//EN"
+ lib/dblib.dsl
+
+PUBLIC "-//Norman Walsh//DOCUMENT DSSSL Library V2//EN"
+ lib/dblib.dsl
+
+-- DTDs, Entites, Documents and Declarations are omitted --
\ No newline at end of file
diff --git a/docs/dsssl/html.dsl b/docs/dsssl/html.dsl
index 7f059479..851c6758 100644
--- a/docs/dsssl/html.dsl
+++ b/docs/dsssl/html.dsl
@@ -1,5 +1,5 @@
+
]>
@@ -9,6 +9,7 @@
(define %html-ext% ".html")
+(define %output-dir% "html")
&html-common.dsl;
&common.dsl;
diff --git a/docs/dsssl/php.dsl b/docs/dsssl/php.dsl
index d02c4f2e..94c76141 100644
--- a/docs/dsssl/php.dsl
+++ b/docs/dsssl/php.dsl
@@ -1,5 +1,5 @@
+
]>
@@ -9,6 +9,7 @@
(define %html-ext% ".php")
+(define %output-dir% "phpweb")
&html-common.dsl;
&common.dsl;
diff --git a/docs/entities/ISO/ISOamsa b/docs/entities/ISO/ISOamsa
new file mode 100755
index 00000000..b77154cb
--- /dev/null
+++ b/docs/entities/ISO/ISOamsa
@@ -0,0 +1,66 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/entities/ISO/ISOamsb b/docs/entities/ISO/ISOamsb
new file mode 100755
index 00000000..43944a73
--- /dev/null
+++ b/docs/entities/ISO/ISOamsb
@@ -0,0 +1,52 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/entities/ISO/ISOamsc b/docs/entities/ISO/ISOamsc
new file mode 100755
index 00000000..06222d58
--- /dev/null
+++ b/docs/entities/ISO/ISOamsc
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/entities/ISO/ISOamsn b/docs/entities/ISO/ISOamsn
new file mode 100755
index 00000000..0c8327a3
--- /dev/null
+++ b/docs/entities/ISO/ISOamsn
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/entities/ISO/ISOamso b/docs/entities/ISO/ISOamso
new file mode 100755
index 00000000..ad9b329e
--- /dev/null
+++ b/docs/entities/ISO/ISOamso
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/entities/ISO/ISOamsr b/docs/entities/ISO/ISOamsr
new file mode 100755
index 00000000..3f26c345
--- /dev/null
+++ b/docs/entities/ISO/ISOamsr
@@ -0,0 +1,94 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/entities/ISO/ISObox b/docs/entities/ISO/ISObox
new file mode 100755
index 00000000..643e926e
--- /dev/null
+++ b/docs/entities/ISO/ISObox
@@ -0,0 +1,62 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/entities/ISO/ISOcyr1 b/docs/entities/ISO/ISOcyr1
new file mode 100755
index 00000000..97b961b1
--- /dev/null
+++ b/docs/entities/ISO/ISOcyr1
@@ -0,0 +1,77 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/entities/ISO/ISOcyr2 b/docs/entities/ISO/ISOcyr2
new file mode 100755
index 00000000..480b01c1
--- /dev/null
+++ b/docs/entities/ISO/ISOcyr2
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/entities/ISO/ISOdia b/docs/entities/ISO/ISOdia
new file mode 100755
index 00000000..3b6f98d6
--- /dev/null
+++ b/docs/entities/ISO/ISOdia
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/entities/ISO/ISOgrk1 b/docs/entities/ISO/ISOgrk1
new file mode 100755
index 00000000..dea16bf8
--- /dev/null
+++ b/docs/entities/ISO/ISOgrk1
@@ -0,0 +1,59 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/entities/ISO/ISOgrk2 b/docs/entities/ISO/ISOgrk2
new file mode 100755
index 00000000..657bb999
--- /dev/null
+++ b/docs/entities/ISO/ISOgrk2
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/entities/ISO/ISOgrk3 b/docs/entities/ISO/ISOgrk3
new file mode 100755
index 00000000..f76c3a08
--- /dev/null
+++ b/docs/entities/ISO/ISOgrk3
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/entities/ISO/ISOgrk4 b/docs/entities/ISO/ISOgrk4
new file mode 100755
index 00000000..e4427a0c
--- /dev/null
+++ b/docs/entities/ISO/ISOgrk4
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/entities/ISO/ISOlat1 b/docs/entities/ISO/ISOlat1
new file mode 100755
index 00000000..0d7d0a7d
--- /dev/null
+++ b/docs/entities/ISO/ISOlat1
@@ -0,0 +1,72 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/entities/ISO/ISOlat2 b/docs/entities/ISO/ISOlat2
new file mode 100755
index 00000000..4bcb3378
--- /dev/null
+++ b/docs/entities/ISO/ISOlat2
@@ -0,0 +1,131 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/entities/ISO/ISOnum b/docs/entities/ISO/ISOnum
new file mode 100755
index 00000000..d7b41c33
--- /dev/null
+++ b/docs/entities/ISO/ISOnum
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/entities/ISO/ISOpub b/docs/entities/ISO/ISOpub
new file mode 100755
index 00000000..c184973c
--- /dev/null
+++ b/docs/entities/ISO/ISOpub
@@ -0,0 +1,100 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/entities/ISO/ISOtech b/docs/entities/ISO/ISOtech
new file mode 100755
index 00000000..cbda3448
--- /dev/null
+++ b/docs/entities/ISO/ISOtech
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/entities/ISO/catalog b/docs/entities/ISO/catalog
new file mode 100755
index 00000000..75096d78
--- /dev/null
+++ b/docs/entities/ISO/catalog
@@ -0,0 +1,19 @@
+PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" "ISOdia"
+PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" "ISOnum"
+PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" "ISOpub"
+PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" "ISOtech"
+PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" "ISOlat1"
+PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" "ISOlat2"
+PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" "ISOgrk1"
+PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" "ISOgrk2"
+PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" "ISOgrk3"
+PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" "ISOgrk4"
+PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" "ISOamsa"
+PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" "ISOamsb"
+PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" "ISOamsc"
+PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" "ISOamsn"
+PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" "ISOamso"
+PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" "ISOamsr"
+PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" "ISObox"
+PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" "ISOcyr1"
+PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" "ISOcyr2"
diff --git a/docs/entities/version.ent.in b/docs/entities/version.ent.in
new file mode 100755
index 00000000..11904387
--- /dev/null
+++ b/docs/entities/version.ent.in
@@ -0,0 +1 @@
+
diff --git a/docs/manual.xml.in b/docs/manual.xml.in
index 11b56a75..7e02a5ca 100644
--- a/docs/manual.xml.in
+++ b/docs/manual.xml.in
@@ -1,6 +1,6 @@
+
%build.version;
diff --git a/docs/scripts/generate_web.php b/docs/scripts/generate_web.php
new file mode 100755
index 00000000..0b501076
--- /dev/null
+++ b/docs/scripts/generate_web.php
@@ -0,0 +1,54 @@
+ |
+ +----------------------------------------------------------------------+
+ | Small hack to generate the manual for the web |
+ +----------------------------------------------------------------------+
+*/
+
+set_time_limit(0);
+
+$search = array(
+ '