[postgis-devel] Docbook ID's and <a name> links

Obe, Regina robe.dnd at cityofboston.gov
Mon Jul 14 13:41:45 PDT 2008


That was one thing I wanted to do anyway.  I think at some point with our splitting of pages, generation of meta data comments etc. we are going to have the xsl in our distribution anyway.  Plus I find it annoying I have to point the xsl doc dir of styles to somewhere.
 Just my two cents.
Regina 

________________________________

From: postgis-devel-bounces at postgis.refractions.net on behalf of Paul Ramsey
Sent: Mon 7/14/2008 4:15 PM
To: PostGIS Development Discussion
Subject: Re: [postgis-devel] Docbook ID's and <a name> links



Right now we're using a stock XSL sheet from red hat linux.  We'd have
to bring the XSL into our distribution and start hacking it,
probably...  not that that is a bad thing, necessarily.

P

On Mon, Jul 14, 2008 at 12:49 PM, Dane Springmeyer <blake at hailmail.net> wrote:
> I find the ability to link to a specific a named term in the postgis
> documentation very useful.
>
> ie:
> http://postgis.refractions.net/documentation/manual-svn/ch06.html#AddGeometryColumn
>
> I can see that Docbook xsl turns entries with ID's like:
>
> <varlistentry id="AddGeometryColumn">
>          <term>AddGeometryColumn(varchar, varchar, varchar, integer,
> varchar, integer)</term>
>
> into:
>
> <a name="AddGeometryColumn"></a><span
> class="term">AddGeometryColumn(varchar, varchar, varchar, integer, varchar,
> integer)</span>
>
> I'm wondering if there are any customization hooks with Docbook such that
> the reference.xml terms could be transformed into something more like:
>
> <a name="AddGeometryColumn" href="#AddGeometryColumn"><span class="term"
> id="AddGeometryColumn">AddGeometryColumn(varchar, varchar, varchar, integer,
> varchar, integer)</span></a>
>
> This latter option would allow each entry title to be a hyperlink to itself
> and a quick click will give you the appropriate direct link in the browser
> address bar.
>
> Anyone know the right way to approach this given the current use of Docbook?
>
> Thanks,
>
> Dane
>
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>
_______________________________________________
postgis-devel mailing list
postgis-devel at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-devel




-----------------------------------------
The substance of this message, including any attachments, may be
confidential, legally privileged and/or exempt from disclosure
pursuant to Massachusetts law. It is intended
solely for the addressee. If you received this in error, please
contact the sender and delete the material from any computer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20080714/8480958e/attachment.html>


More information about the postgis-devel mailing list