Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite5fadc7

Browse files
committed
Support for images in jadetex and pdfjadetex. Formatting improvements for
lists, bibliography, index, page numbering. Add comments.
1 parent03048ff commite5fadc7

File tree

2 files changed

+405
-33
lines changed

2 files changed

+405
-33
lines changed

‎doc/src/sgml/Makefile

Lines changed: 41 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#
99
#
1010
# IDENTIFICATION
11-
# $Header: /cvsroot/pgsql/doc/src/sgml/Makefile,v 1.42 2001/10/09 18:45:59 petere Exp $
11+
# $Header: /cvsroot/pgsql/doc/src/sgml/Makefile,v 1.43 2001/11/08 23:46:29 petere Exp $
1212
#
1313
#----------------------------------------------------------------------------
1414

@@ -26,7 +26,7 @@ endif
2626
ifndefJADE
2727
JADE = jade
2828
endif
29-
SGMLINCLUDE = -D$(srcdir) -D$(srcdir)/ref -D$(srcdir)/../graphics
29+
SGMLINCLUDE = -D$(srcdir) -D$(srcdir)/ref
3030

3131
ifndefNSGMLS
3232
NSGMLS = nsgmls
@@ -36,6 +36,9 @@ ifndef SGMLSPL
3636
SGMLSPL = sgmlspl
3737
endif
3838

39+
CONVERT = convert
40+
EPSTOPDF = epstopdf
41+
3942

4043
# docbook2man generates man pages from docbook refentry source code.
4144

@@ -89,9 +92,8 @@ $(addsuffix .html, $(ALLBOOKS)): %.html: %.sgml $(ALLSGML) stylesheet.dsl
8992
$(JADE.html) book-decl.sgml$<
9093
ln -sf index.html$@
9194

92-
tutorial.html: clientserver.gif
9395
programmer.html: catalogs.gif connections.gif
94-
postgres.html:clientserver.gifcatalogs.gif connections.gif
96+
postgres.html: catalogs.gif connections.gif
9597

9698

9799
COLLATEINDEX =$(PERL)$(DOCBOOKSTYLE)/bin/collateindex.pl -f -g -t 'Index'
@@ -117,17 +119,32 @@ endif
117119
$(addsuffix .rtf,$(ALLBOOKS)):%.rtf:%.sgml$(ALLSGML) stylesheet.dsl
118120
$(JADE)$(JADEFLAGS)$(SGMLINCLUDE) -c$(CATALOG) -d stylesheet.dsl -t rtf -V rtf-backend -i output-print book-decl.sgml$<
119121

120-
# TeX and DVI
121-
$(addsuffix .tex,$(ALLBOOKS)):%.tex:%.sgml$(ALLSGML) stylesheet.dsl
122-
$(JADE)$(JADEFLAGS)$(SGMLINCLUDE) -c$(CATALOG) -d stylesheet.dsl -t tex -V tex-backend -i output-print book-decl.sgml$<
122+
# TeX
123+
# Regular TeX and pdfTeX have slightly differing requirements, so we
124+
# need to distinguish the path we're taking.
125+
126+
$(addsuffix .tex-ps,$(ALLBOOKS)):%.tex-ps:%.sgml$(ALLSGML) stylesheet.dsl
127+
$(JADE)$(JADEFLAGS)$(SGMLINCLUDE) -c$(CATALOG) -d stylesheet.dsl -t tex -V tex-backend -i output-print -V texdvi-output -o$@ book-decl.sgml$<
123128
# TeX transforms '--' into en-dashes. This hack should go away when
124129
# OpenJade is fixed (ver. 1.4?)
125130
$(PERL) -pi -e 's/\-\-/\\mbox{}-\\mbox{}-\\mbox{}/g' $@
126131
$(PERL) -pi -e 's/\<\</\\mbox{}<\\mbox{}<\\mbox{}/g' $@
127132
$(PERL) -pi -e 's/\>\>/\\mbox{}>\\mbox{}>\\mbox{}/g' $@
128133
$(PERL) -pi -e "s/\'\'/\\\\mbox{}'\\\\mbox{}'\\\\mbox{}/g" $@
129134

130-
%.dvi:%.tex
135+
programmer.tex-ps: catalogs.eps connections.eps
136+
137+
$(addsuffix .tex-pdf,$(ALLBOOKS)):%.tex-pdf:%.sgml$(ALLSGML) stylesheet.dsl
138+
$(JADE)$(JADEFLAGS)$(SGMLINCLUDE) -c$(CATALOG) -d stylesheet.dsl -t tex -V tex-backend -i output-print -V texpdf-output -o$@ book-decl.sgml$<
139+
$(PERL) -pi -e's/\-\-/\\mbox{}-\\mbox{}-\\mbox{}/g'$@
140+
$(PERL) -pi -e's/\<\</\\mbox{}<\\mbox{}<\\mbox{}/g'$@
141+
$(PERL) -pi -e's/\>\>/\\mbox{}>\\mbox{}>\\mbox{}/g'$@
142+
$(PERL) -pi -e"s/\'\'/\\\\mbox{}'\\\\mbox{}'\\\\mbox{}/g"$@
143+
144+
programmer.tex-pdf: catalogs.pdf connections.pdf
145+
146+
%.dvi:%.tex-ps
147+
@rm$*.aux$*.log
131148
jadetex$<
132149
jadetex$<
133150
jadetex$<
@@ -136,17 +153,31 @@ $(addsuffix .tex, $(ALLBOOKS)): %.tex: %.sgml $(ALLSGML) stylesheet.dsl
136153
%.ps:%.dvi
137154
dvips -o$@$<
138155

139-
%.pdf:%.tex
156+
%.pdf:%.tex-pdf
157+
@rm$*.aux$*.log$*.out
140158
pdfjadetex$<
141159
pdfjadetex$<
142160
pdfjadetex$<
143161

144162

163+
# This generates an XML version of the flow-object tree. It's useful
164+
# for debugging DSSSL code, and possibly to interface to some other
165+
# tools that can make use of this.
166+
$(addsuffix .fot,$(ALLBOOKS)):%.fot:%.sgml$(ALLSGML) stylesheet.dsl
167+
$(JADE)$(JADEFLAGS)$(SGMLINCLUDE) -c$(CATALOG) -d stylesheet.dsl -t fot -i output-print -o$@ book-decl.sgml$<
168+
169+
145170
# Graphics
146171

147172
%.gif:
148173
cp$(srcdir)/../graphics/$@.
149174

175+
%.eps:%.gif
176+
$(CONVERT)$< eps:$@
177+
178+
%.pdf:%.eps
179+
$(EPSTOPDF)$<
180+
150181

151182
##
152183
## Semi-automatic generation of some text files.
@@ -201,6 +232,6 @@ clean distclean maintainer-clean:
201232
# man
202233
rm -rf *.1 *.$(DEFAULTSECTION) man1 man$(DEFAULTSECTION) manpage.refs manpage.links manpage.log
203234
# print
204-
rm -f *.rtf *.tex *.dvi *.aux *.log *.ps *.pdf *.out
235+
rm -f *.rtf *.tex-ps *.tex-pdf *.dvi *.aux *.log *.ps *.pdf *.out *.eps *.fot
205236
# index
206237
rm -f HTML.index bookindex.sgml setindex.sgml

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp