Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
314c7b64
Commit
314c7b64
authored
Dec 10, 2006
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make separate targets for building printable documentation in A4 and
US letter paper formats.
parent
5f1f30d1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
19 deletions
+31
-19
doc/src/sgml/Makefile
doc/src/sgml/Makefile
+21
-8
doc/src/sgml/docguide.sgml
doc/src/sgml/docguide.sgml
+10
-11
No files found.
doc/src/sgml/Makefile
View file @
314c7b64
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
#
#
# PostgreSQL documentation makefile
# PostgreSQL documentation makefile
#
#
# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.8
3 2006/12/10 16:01:06
petere Exp $
# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.8
4 2006/12/10 20:46:03
petere Exp $
#
#
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------
...
@@ -124,6 +124,7 @@ features-unsupported.sgml: $(top_srcdir)/src/backend/catalog/sql_feature_package
...
@@ -124,6 +124,7 @@ features-unsupported.sgml: $(top_srcdir)/src/backend/catalog/sql_feature_package
## Print
## Print
##
##
# RTF to allow minor editing for hardcopy
# RTF to allow minor editing for hardcopy
%.rtf
:
%.sgml $(ALLSGML) stylesheet.dsl
%.rtf
:
%.sgml $(ALLSGML) stylesheet.dsl
...
@@ -133,11 +134,19 @@ features-unsupported.sgml: $(top_srcdir)/src/backend/catalog/sql_feature_package
...
@@ -133,11 +134,19 @@ features-unsupported.sgml: $(top_srcdir)/src/backend/catalog/sql_feature_package
# Regular TeX and pdfTeX have slightly differing requirements, so we
# Regular TeX and pdfTeX have slightly differing requirements, so we
# need to distinguish the path we're taking.
# need to distinguish the path we're taking.
%.tex-ps
:
%.sgml $(ALLSGML) stylesheet.dsl
JADE.tex.call
=
$(JADE)
$(JADEFLAGS)
$(SGMLINCLUDE)
$(CATALOG)
-d
$(srcdir)
/stylesheet.dsl
-t
tex
-V
tex-backend
-i
output-print
$(JADE)
$(JADEFLAGS)
$(SGMLINCLUDE)
$(CATALOG)
-d
stylesheet.dsl
-t
tex
-V
tex-backend
-i
output-print
-V
texdvi-output
-o
$@
$<
%-A4.tex-ps
:
%.sgml $(ALLSGML) stylesheet.dsl
$(JADE.tex.call)
-V
texdvi-output
-V
'%paper-type%'
=
A4
-o
$@
$<
%-US.tex-ps
:
%.sgml $(ALLSGML) stylesheet.dsl
$(JADE.tex.call)
-V
texdvi-output
-V
'%paper-type%'
=
USletter
-o
$@
$<
%.tex-pdf
:
%.sgml $(ALLSGML) stylesheet.dsl
%-A4.tex-pdf
:
%.sgml $(ALLSGML) stylesheet.dsl
$(JADE)
$(JADEFLAGS)
$(SGMLINCLUDE)
$(CATALOG)
-d
stylesheet.dsl
-t
tex
-V
tex-backend
-i
output-print
-V
texpdf-output
-o
$@
$<
$(JADE.tex.call)
-V
texpdf-output
-V
'%paper-type%'
=
A4
-o
$@
$<
%-US.tex-pdf
:
%.sgml $(ALLSGML) stylesheet.dsl
$(JADE.tex.call)
-V
texpdf-output
-V
'%paper-type%'
=
USletter
-o
$@
$<
%.dvi
:
%.tex-ps
%.dvi
:
%.tex-ps
@
rm
-f
$*
.aux
$*
.log
@
rm
-f
$*
.aux
$*
.log
...
@@ -145,7 +154,7 @@ features-unsupported.sgml: $(top_srcdir)/src/backend/catalog/sql_feature_package
...
@@ -145,7 +154,7 @@ features-unsupported.sgml: $(top_srcdir)/src/backend/catalog/sql_feature_package
jadetex
$<
jadetex
$<
jadetex
$<
jadetex
$<
# Post
s
cript from TeX
# Post
S
cript from TeX
%.ps
:
%.dvi
%.ps
:
%.dvi
dvips
-o
$@
$<
dvips
-o
$@
$<
...
@@ -218,6 +227,7 @@ postgres.xml: postgres.sgml $(GENERATED_SGML)
...
@@ -218,6 +227,7 @@ postgres.xml: postgres.sgml $(GENERATED_SGML)
sed
-e
's/\[\(amp\|copy\|egrave\|gt\|lt\|mdash\|nbsp\|ouml\|pi\|quot\|uuml\) *\]/\&\1;/g'
\
sed
-e
's/\[\(amp\|copy\|egrave\|gt\|lt\|mdash\|nbsp\|ouml\|pi\|quot\|uuml\) *\]/\&\1;/g'
\
-e
'1a\'
-e
'<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">'
\
-e
'1a\'
-e
'<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">'
\
>
$@
>
$@
# ' hello Emacs
override
XSLTPROCFLAGS
+=
--stringparam
pg.version
'
$(VERSION)
'
override
XSLTPROCFLAGS
+=
--stringparam
pg.version
'
$(VERSION)
'
...
@@ -227,8 +237,11 @@ xslthtml: stylesheet.xsl postgres.xml
...
@@ -227,8 +237,11 @@ xslthtml: stylesheet.xsl postgres.xml
htmlhelp
:
stylesheet-hh.xsl postgres.xml
htmlhelp
:
stylesheet-hh.xsl postgres.xml
$(XSLTPROC)
$(XSLTPROCFLAGS)
$^
$(XSLTPROC)
$(XSLTPROCFLAGS)
$^
%.fo
:
stylesheet-fo.xsl %.xml
%-A4.fo
:
stylesheet-fo.xsl %.xml
$(XSLTPROC)
$(XSLTPROCFLAGS)
-o
$@
$^
$(XSLTPROC)
$(XSLTPROCFLAGS)
--stringparam
paper.type A4
-o
$@
$^
%-US.fo
:
stylesheet-fo.xsl %.xml
$(XSLTPROC)
$(XSLTPROCFLAGS)
--stringparam
paper.type USletter
-o
$@
$^
##
##
...
...
doc/src/sgml/docguide.sgml
View file @
314c7b64
<!-- $PostgreSQL: pgsql/doc/src/sgml/docguide.sgml,v 1.6
0 2006/12/10 02:37:40
petere Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/docguide.sgml,v 1.6
1 2006/12/10 20:46:03
petere Exp $ -->
<appendix id="docguide">
<appendix id="docguide">
<title>Documentation</title>
<title>Documentation</title>
...
@@ -601,18 +601,13 @@ gmake man.tar.gz
...
@@ -601,18 +601,13 @@ gmake man.tar.gz
<itemizedlist>
<itemizedlist>
<listitem>
<listitem>
<para>
<para>
To
make a <acronym>DVI</acronym> version
:
To
generate PostScript via <acronym>DVI</acronym> in A4 format
:
<screen>
<screen>
<prompt>doc/src/sgml$ </prompt><userinput>gmake postgres
.dvi
</userinput>
<prompt>doc/src/sgml$ </prompt><userinput>gmake postgres
-A4.ps
</userinput>
</screen>
</screen>
</para>
In U.S. letter format:
</listitem>
<listitem>
<para>
To generate PostScript from the <acronym>DVI</acronym>:
<screen>
<screen>
<prompt>doc/src/sgml$ </prompt><userinput>gmake postgres.ps</userinput>
<prompt>doc/src/sgml$ </prompt><userinput>gmake postgres
-US
.ps</userinput>
</screen>
</screen>
</para>
</para>
</listitem>
</listitem>
...
@@ -621,7 +616,11 @@ gmake man.tar.gz
...
@@ -621,7 +616,11 @@ gmake man.tar.gz
<para>
<para>
To make a <acronym>PDF</acronym>:
To make a <acronym>PDF</acronym>:
<screen>
<screen>
<prompt>doc/src/sgml$ </prompt><userinput>gmake postgres.pdf</userinput>
<prompt>doc/src/sgml$ </prompt><userinput>gmake postgres-A4.pdf</userinput>
</screen>
or
<screen>
<prompt>doc/src/sgml$ </prompt><userinput>gmake postgres-US.pdf</userinput>
</screen>
</screen>
(Of course you can also make a <acronym>PDF</acronym> version
(Of course you can also make a <acronym>PDF</acronym> version
from the PostScript, but if you generate <acronym>PDF</acronym>
from the PostScript, but if you generate <acronym>PDF</acronym>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment