Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 14d330b

Browse files
committed
Use <mediaobject> instead of <graphic> for forward compatibility. Be more
flexible about the extension of the graphic files, allow for other formats in print output. (Generating these formats is not implemented yet.)
1 parent b600319 commit 14d330b

File tree

3 files changed

+21
-7
lines changed

3 files changed

+21
-7
lines changed

doc/src/sgml/arch-pg.sgml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,15 @@
4343
which in turn starts a new backend server process
4444
(<XRef LinkEnd="PGARCH-CONNECTIONS">(b))
4545

46-
<Figure Id="PGARCH-CONNECTIONS">
47-
<Title>How a connection is established</Title>
48-
<Graphic Align="center" FileRef="connections.gif" Format="GIF"></Graphic>
49-
</Figure>
46+
<figure id="PGARCH-CONNECTIONS">
47+
<title>How a connection is established</title>
48+
49+
<mediaobject>
50+
<imageobject>
51+
<imagedata align="center" fileref="connections">
52+
</imageobject>
53+
</mediaobject>
54+
</figure>
5055

5156
and connects the frontend process to the new server
5257
(<XRef LinkEnd="PGARCH-CONNECTIONS">(c)).

doc/src/sgml/extend.sgml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/extend.sgml,v 1.12 2001/09/13 15:55:22 petere Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/extend.sgml,v 1.13 2001/09/30 16:05:54 petere Exp $
33
-->
44

55
<chapter id="extend">
@@ -191,7 +191,11 @@ $Header: /cvsroot/pgsql/doc/src/sgml/extend.sgml,v 1.12 2001/09/13 15:55:22 pete
191191
<para>
192192
<figure float="1" id="EXTEND-CATALOGS">
193193
<title>The major <productname>Postgres</productname> system catalogs</title>
194-
<graphic fileref="catalogs.gif" format="GIF" align="center"></graphic>
194+
<mediaobject>
195+
<imageobject>
196+
<imagedata fileref="catalogs" align="center">
197+
</imageobject>
198+
</mediaobject>
195199
</figure>
196200

197201
The Reference Manual gives a more detailed explanation

doc/src/sgml/stylesheet.dsl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/stylesheet.dsl,v 1.11 2001/09/18 12:08:27 petere Exp $ -->
1+
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/stylesheet.dsl,v 1.12 2001/09/30 16:05:54 petere Exp $ -->
22
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
33

44
<!-- must turn on one of these with -i on the jade command line -->
@@ -48,6 +48,7 @@
4848
(define %link-mailto-url% (string-append "mailto:" pgsql-docs-list))
4949
(define %use-id-as-filename% #t)
5050
(define %stylesheet% "stylesheet.css")
51+
(define %graphic-default-extension% "gif")
5152

5253
;; Returns the depth of auto TOC that should be made at the nd-level
5354
(define (toc-depth nd)
@@ -116,6 +117,10 @@
116117
(define %hyphenation%
117118
(if tex-backend #t #f))
118119

120+
(define %graphic-default-extension%
121+
(cond (tex-backend "eps")
122+
(rtf-backend "ai"))) ;; ApplixWare?
123+
119124
]]> <!-- %output-print -->
120125

121126
<![ %output-text; [

0 commit comments

Comments
 (0)