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

Paul Ramsey pramsey at cleverelephant.ca
Mon Jul 14 13:15:32 PDT 2008


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
>



More information about the postgis-devel mailing list