OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Subject: Re: DOCBOOK-APPS: qandaentry/question id

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Apr 23, 2001 at 08:57:02PM +0200, Michael Wiedmann wrote:
> Carsten Wartmann pointed me to a problem in the generated HTML version
> of the "DocBook DSSSL FAQ":
> All links for <question>s were pointing to "#.QQ" because of
> missing id's for every <question>. After supplying every question with a
> 'id' attribute the links are correct (pointing e.g. to '#H1').
> Is there a more or less automatic procedure to generate the id's
> instead of doing this by hand?

Sort of.

Create a stylesheet customisation layer based off Norm's stylesheets,
and override the generate-anchor function to use the question numbers

For example, take a look at


and the code that starts

    <!-- Override generate-anchor ...

for an example of how to do this.

Internet connection, $19.95 a month.  Computer, $799.95.  Modem, $149.95.
Telephone line, $24.95 a month.  Software, free.  USENET transmission,
hundreds if not thousands of dollars.  Thinking before posting, priceless.
Somethings in life you can't buy.  For everything else, there's MasterCard.
  -- Graham Reed, in the Scary Devil Monastery

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.0.4 (FreeBSD)
Comment: For info see http://www.gnupg.org



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Powered by eList eXpress LLC