[mapserver-dev] MapServer Documentation and translation

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Thu Dec 31 10:20:29 EST 2009


Hi Lars: Thanks for the instructions, will have to try and get this working on a mac but I imagine that's possible...

Steve

-----Original Message-----
From: mapserver-dev-bounces at lists.osgeo.org [mailto:mapserver-dev-bounces at lists.osgeo.org] On Behalf Of Lars Lingner
Sent: Thursday, December 31, 2009 8:01 AM
To: mapserver-dev
Subject: Re: [mapserver-dev] MapServer Documentation and translation

Lime, Steve D (DNR) schrieb:
> Cool, glad to hear you're watching. I just tweaked the template.txt file in the 5.4 branch. Which brings me to my next question. What's the best way to preview edits with our setup? Seems inefficient to wait until something is published...
> 

I have setup sphinx here to build the html and pdf files. Just for the
html generation I did an 'easy_install Sphinx'
To generate the html just do an 'make html' in the MapServer document root.

To preview the html docs open the <builddir>/html/en/index.html in your
browser. I doesn't need to be served through a web server.

To genereate the PDF you will need an texlive installation. In my case
this was

texlive-latex-base
texlive-latex-extra
texlive-latex-recommended
texlive-fonts-recommended
(which will load a huge list of dependencies)

and an 'easy_install rst2pdf' on an debian system.

'make latex' and 'make all-pdf' will generate the pdf file.

Lars
_______________________________________________
mapserver-dev mailing list
mapserver-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-dev


More information about the mapserver-dev mailing list