mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-07 19:47:50 +08:00
Update to DocBook 4.5
This moves us to the latest minor version of DocBook 4. It requires no markup changes.
This commit is contained in:
parent
66bde49d96
commit
416c75cf38
6
configure
vendored
6
configure
vendored
@ -18686,13 +18686,13 @@ $as_echo "$XMLLINT" >&6; }
|
||||
fi
|
||||
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DocBook XML V4.2" >&5
|
||||
$as_echo_n "checking for DocBook XML V4.2... " >&6; }
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DocBook XML V4.5" >&5
|
||||
$as_echo_n "checking for DocBook XML V4.5... " >&6; }
|
||||
if ${pgac_cv_check_docbook+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
cat >conftest.xml <<EOF
|
||||
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
|
||||
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
|
||||
<book>
|
||||
<title>test</title>
|
||||
<chapter>
|
||||
|
@ -2257,7 +2257,7 @@ fi
|
||||
# Check for DocBook and tools
|
||||
#
|
||||
PGAC_PATH_XMLLINT
|
||||
PGAC_CHECK_DOCBOOK(4.2)
|
||||
PGAC_CHECK_DOCBOOK(4.5)
|
||||
PGAC_PATH_PROGS(DBTOEPUB, dbtoepub)
|
||||
PGAC_PATH_PROGS(XSLTPROC, xsltproc)
|
||||
PGAC_PATH_PROGS(FOP, fop)
|
||||
|
@ -84,7 +84,7 @@
|
||||
<listitem>
|
||||
<para>
|
||||
This is the definition of DocBook itself. We currently use version
|
||||
4.2; you cannot use later or earlier versions. You need
|
||||
4.5; you cannot use later or earlier versions. You need
|
||||
the <acronym>XML</acronym> variant of the DocBook DTD, not
|
||||
the <acronym>SGML</acronym> variant.
|
||||
</para>
|
||||
@ -214,7 +214,7 @@ apt-get install docbook-xml docbook-xsl fop libxml2-utils xsltproc
|
||||
<para>
|
||||
If you use MacPorts, the following will get you set up:
|
||||
<programlisting>
|
||||
sudo port install docbook-xml-4.2 docbook-xsl fop
|
||||
sudo port install docbook-xml-4.5 docbook-xsl fop
|
||||
</programlisting>
|
||||
If you use Homebrew, use this:
|
||||
<programlisting>
|
||||
@ -234,7 +234,7 @@ brew install docbook docbook-xsl fop
|
||||
like this:
|
||||
<screen>
|
||||
checking for xmllint... xmllint
|
||||
checking for DocBook XML V4.2... yes
|
||||
checking for DocBook XML V4.5... yes
|
||||
checking for dbtoepub... dbtoepub
|
||||
checking for xsltproc... xsltproc
|
||||
checking for fop... fop
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!-- doc/src/sgml/postgres.sgml -->
|
||||
|
||||
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
|
||||
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
|
||||
[
|
||||
|
||||
<!ENTITY % version SYSTEM "version.sgml">
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
|
||||
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
|
||||
<!--
|
||||
This file contains the stand-alone installation instructions that end up in
|
||||
the INSTALL file. This document stitches together parts of the installation
|
||||
|
@ -16,8 +16,8 @@ variant without links and references to the main documentation.
|
||||
-->
|
||||
|
||||
<xsl:output
|
||||
doctype-public="-//OASIS//DTD DocBook XML V4.2//EN"
|
||||
doctype-system="http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"/>
|
||||
doctype-public="-//OASIS//DTD DocBook XML V4.5//EN"
|
||||
doctype-system="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/>
|
||||
|
||||
<!-- copy everything by default -->
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user