[postgis-users] postgis doc in latex is OK

TECHER Jean David davidtecher at yahoo.fr
Wed Sep 15 03:28:50 PDT 2004


Hi Paul


Few days ago, I made the conversion from postgis-out.xml to postgis.tex and
to postgis.pdf

i.e docbook to latex and to pdf...

It's OK... :-)

I used xsltproc from cygwin and dblatex to do the conversion (dblatex is
avalable at http://dblatex.sourceforge.net

I did :

from doc/Makefile:

postgis.tex: postgis-out.xml

	xslt-proc \
	--output $@ \
	--param shade.verbatim 1 \
	--param chunck.section.depth 0 \
	/home/david/dblatex-0.1.4.1/xsl/docbook.xsl \
	$<

I made two changes in postgis.tex

replace in line 589: 'force_2d' by 'force\_2d' and 'force_3d' by 'force\_3d'

replace in line 2257: 'length_spheroid' by 'length\_spheroid'

I put all *.sty file from dblatex  in postgis-0.9.0/doc in order to compil
latex->pdf.

I made few changes on *.sty for the author of the file (Tilte: PostGIS
0.9.0, Author: Paul Ramsey....)

then

pdflatex postgis.tex
pdflatex postgis.tex

The PDF is avalable at

http://www.01map.com/david/doc/postgis090/postgis.pdf

ALL files (postgis.tex,postgis.pdf,*.sty) are avalable at

http://www.01map.com/david/doc/postgis090/postgis090.zip




TECHER JEAN DAVID
- Responsable Informatique 01MAP -
e-mail:davidtecher at yahoo.fr
Tel: 06 85 37 36 75
Site PostGIS: http://techer.pascal.free.fr/postgis/index.htm

> -----Message d'origine-----
> De : postgis-users-bounces at postgis.refractions.net
> [mailto:postgis-users-bounces at postgis.refractions.net]De la part de Paul
> Ramsey
> Envoye : lundi 13 septembre 2004 18:01
> A : PostGIS Users
> Objet : Re: [postgis-users] postgis doc in latex
>
>
> TECHER Jean David wrote:
> > Can you send me the postgis.fo ???
>
> No way, it is a derived file, it should not be hand-edited.
>
> > I will made the conversion too?? thanks
>
> Yes, do the conversion. If you have fedora core 1, all the packages you
> need (xmltex, passivetex, libxslt, docbook-style-xsl, docbook-dtds) are
> available as standard distribution RPMs.
>
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>





More information about the postgis-users mailing list