Re: DOCBOOK-APPS: qandaentry/question id
At 07:57 PM 4/23/01, Michael Wiedmann wrote: >Carsten Wartmann pointed me to a problem in the generated HTML version >of the "DocBook DSSSL FAQ": > >All links for s were pointing to "#.QQ" because of >missing id's for every . 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? I use docbook under Norms website. I have no problems creating the links in fact the stylesheet does it all for me. Regards DaveP www.dpawson.co.uk/xsl -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
Re: DOCBOOK-APPS: qandaentry/question id
Nik Clayton wrote on 010423 22:34 +0100: ... > Create a stylesheet customisation layer based off Norm's stylesheets, > and override the generate-anchor function to use the question numbers > instead. > > For example, take a look at > > http://www.freebsd.org/cgi/cvsweb.cgi/doc/share/sgml/freebsd.dsl Oh God! I already use a modified copy of 'freebsd.dsl' and have overlooked that part. If I comment it out I get the mentioned element numbers. That's OK for now, but I have to investigate why I don't get anchors like "Qx.y." :-( Michael -- [EMAIL PROTECTED] http://www.miwie.org [EMAIL PROTECTED] -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
Re: DOCBOOK-APPS: qandaentry/question id
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 s were pointing to "#.QQ" because of > missing id's for every . 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 instead. For example, take a look at http://www.freebsd.org/cgi/cvsweb.cgi/doc/share/sgml/freebsd.dsl and the code that starts
Re: DOCBOOK-APPS: qandaentry/question id
Michael Wiedmann wrote: > All links for s were pointing to "#.QQ" because of > missing id's for every . 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? XSL stylesheet generates missing IDs automaticaly. - Jirka Kosek e-mail: [EMAIL PROTECTED] http://www.kosek.cz -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]