There are three wiki pages describing the procedure: general description, Inkscape specifics, colors. You can find them in the category SVG.

This mail has 3 SVG graphics attached, each in pure SVG and in Inksape SVG format. Furthermore there is a patch for the Makefile and the modifications to three sgml files, which are necessary to incorporate the graphics.

Kind regards

Jürgen Purtz


diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile
index 74aac01c39..2433571358 100644
--- a/doc/src/sgml/Makefile
+++ b/doc/src/sgml/Makefile
@@ -131,10 +131,12 @@ endif
 
 html: html-stamp
 
-html-stamp: stylesheet.xsl postgres.sgml $(ALLSGML)
+html-stamp: stylesheet.xsl postgres.sgml $(ALLSGML) svg/*.svg
        $(XMLLINT) $(XMLINCLUDE) --noout --valid $(word 2,$^)
        $(XSLTPROC) $(XMLINCLUDE) $(XSLTPROCFLAGS) $(XSLTPROC_HTML_FLAGS) 
$(wordlist 1,2,$^)
        cp $(srcdir)/stylesheet.css html/
+       mkdir -p $(srcdir)/html/svg/
+       cp $(srcdir)/svg/*.svg html/svg/
        touch $@
 
 htmlhelp: stylesheet-hh.xsl postgres.sgml $(ALLSGML)
@@ -142,7 +144,7 @@ htmlhelp: stylesheet-hh.xsl postgres.sgml $(ALLSGML)
        $(XSLTPROC) $(XMLINCLUDE) $(XSLTPROCFLAGS) $(wordlist 1,2,$^)
 
 # single-page HTML
-postgres.html: stylesheet-html-nochunk.xsl postgres.sgml $(ALLSGML)
+postgres.html: stylesheet-html-nochunk.xsl postgres.sgml $(ALLSGML) svg/*.svg
        $(XMLLINT) $(XMLINCLUDE) --noout --valid $(word 2,$^)
        $(XSLTPROC) $(XMLINCLUDE) $(XSLTPROCFLAGS) $(XSLTPROC_HTML_FLAGS) -o $@ 
$(wordlist 1,2,$^)
 
@@ -158,11 +160,11 @@ postgres.txt: postgres.html
 postgres.pdf:
        $(error Invalid target;  use postgres-A4.pdf or postgres-US.pdf as 
targets)
 
-%-A4.fo: stylesheet-fo.xsl %.sgml $(ALLSGML)
+%-A4.fo: stylesheet-fo.xsl %.sgml $(ALLSGML) svg/*.svg
        $(XMLLINT) $(XMLINCLUDE) --noout --valid $(word 2,$^)
        $(XSLTPROC) $(XMLINCLUDE) $(XSLTPROCFLAGS) --stringparam paper.type A4 
-o $@ $(wordlist 1,2,$^)
 
-%-US.fo: stylesheet-fo.xsl %.sgml $(ALLSGML)
+%-US.fo: stylesheet-fo.xsl %.sgml $(ALLSGML) svg/*.svg
        $(XMLLINT) $(XMLINCLUDE) --noout --valid $(word 2,$^)
        $(XSLTPROC) $(XMLINCLUDE) $(XSLTPROCFLAGS) --stringparam paper.type 
USletter -o $@ $(wordlist 1,2,$^)
 
@@ -175,7 +177,7 @@ postgres.pdf:
 ##
 
 epub: postgres.epub
-postgres.epub: postgres.sgml $(ALLSGML)
+postgres.epub: postgres.sgml $(ALLSGML) svg/*.svg
        $(XMLLINT) --noout --valid $<
        $(DBTOEPUB) $<
 
diff --git a/doc/src/sgml/gin.sgml b/doc/src/sgml/gin.sgml
index cc7cd1ed2c..34e4eabaad 100644
--- a/doc/src/sgml/gin.sgml
+++ b/doc/src/sgml/gin.sgml
@@ -453,6 +453,18 @@
   key values for different columns can be of different types.
  </para>
 
+ <para>
+  <mediaobject id="gin-trees-and-lists">
+   <imageobject role="html">
+    <imagedata fileref="svg/gin.svg" format="SVG" align="center" />
+    <!-- or: <imagedata fileref="svg/gin.svg" format="SVG" align="center" /> 
-->
+   </imageobject>
+   <imageobject role="fo">
+    <imagedata fileref="svg/gin.svg" format="SVG" scale="70" />
+   </imageobject>
+  </mediaobject>
+ </para>
+
  <sect2 id="gin-fast-update">
   <title>GIN Fast Update Technique</title>
 
diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml
index 2015410a42..ea2681d707 100644
--- a/doc/src/sgml/ref/pg_dump.sgml
+++ b/doc/src/sgml/ref/pg_dump.sgml
@@ -73,6 +73,17 @@ PostgreSQL documentation
    architectures.
   </para>
 
+  <para>
+   <mediaobject id="pg-dump-svg">
+    <imageobject role="html">
+     <imagedata fileref="svg/pgDump.svg" format="SVG" align="center" />
+    </imageobject>
+    <imageobject role="fo">
+     <imagedata fileref="svg/pgDump.svg" format="SVG" scale="70" />
+    </imageobject>
+   </mediaobject>
+  </para>
+
   <para>
    When used with one of the archive file formats and combined with
    <application>pg_restore</application>,
diff --git a/doc/src/sgml/storage.sgml b/doc/src/sgml/storage.sgml
index 8ef2ac8010..144c1deeef 100644
--- a/doc/src/sgml/storage.sgml
+++ b/doc/src/sgml/storage.sgml
@@ -775,6 +775,18 @@ data. Empty in ordinary tables.</entry>
 </tgroup>
 </table>
 
+ <para>
+  <mediaobject id="PageLayoutSVG">
+   <imageobject role="html">
+    <imagedata fileref="svg/PageLayout.svg" format="SVG" />
+    <!-- or: <imagedata fileref="svg/PageLayout.svg" format="SVG" 
align="center" /> -->
+   </imageobject>
+   <imageobject role="fo">
+    <imagedata fileref="svg/PageLayout.svg" format="SVG" scale="70" />
+   </imageobject>
+  </mediaobject>
+ </para>
+
  <para>
 
   The first 24 bytes of each page consists of a page header

Reply via email to