Steve Cheng | 5 Jul 19:23

Re: Help with info page generation

On 7/3/07, Orion Poplawski <orion <at> cora.nwra.com> wrote:
> I end up with the following in my .texi:
>
> INFO-DIR-SECTION Scientific Visualization
> START-INFO-DIR-ENTRY
> * The PLplot Plotting Library: (plplotdoc).   The PLplot Plotting Library
> END-INFO-DIR-ENTRY
>
> but I want:
>
> INFO-DIR-SECTION Scientific Visualization
> START-INFO-DIR-ENTRY
> * PLplot: (plplotdoc).   The PLplot Plotting Library
> END-INFO-DIR-ENTRY
>
> *without* changing the <title> tag.  Possible?

Yes, but it requires a little stylesheet customization.
You can add this small template:

<xsl:template match="book" mode="for-menu-title">
  <xsl:text>PLplot</xsl:text>
</xsl:template>

(I haven't yet tested this myself, I'll try to do when I get back home
this weekend.)

In all likelihood, I will also just make it the default, in the next
version of docbook2X, to use the "abbreviated" titles for the
directory entry.

Hope this helps, and if you need further clarification, please don't
hesitate to ask.

--
Steve Cheng
&#x912D;&#x541B;&#x535A;        http://www.gold-saucer.org

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

Gmane