docbook: DocBook question
Subject:
DocBook question
From:
Machtelt Garrels ####@####.####
Date:
3 Mar 2005 10:53:04 -0000
Message-Id: <Pine.LNX.4.44.0503030947280.8193-100000@cobra.xalasys.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello All,
Can anyone here help me with the following:
I'm writing a FAQ in DocBook XML, and I want the answer(s) to a question
to be printed on the same page.
I tried the advise that is explained here:
http://www.sagehill.net/docbookxsl/PageBreaking.html
- -> soft page breaks are not supported yet (I use xsltproc and fop-0.20.5)
- -> hard breaks with the code snippet and my own XSL stylesheet containing
only this template and a reference to
/usr/share/docbook-xsl-1.67.2/fo/docbook.xsl gives this error:
namespace error: Namespace prefix fo on block is not defined.
I also tried the keep-together method but it does not seem to work on
qandaentry.
Then I also want the questions to be numbered, and the answers as well:
1. question blabla
A. answer
B. answer
2. question blabla
A. answer
B. answer
C. answer
I tried labeling the questions using <question label="1">, <question
label="2"> etc, but to no effect. I guess there is no processing
instruction for this (yet).
Maybe I better go for orderedliss instead of trying this with qandaset?
Any advise would be greatly appreciated.
Tille.
- --
My Penguin, my freedom. http://tille.xalasys.com
Books: http://writers.fultus.com/garrels
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFCJt1VsIIUbMXbBA8RAjikAJ9AD1AsNHq+reqK6fd8JhEOcFzinQCggCxn
QxLwV+o3XDzJ/JpvV9IxJkI=
=7E0R
-----END PGP SIGNATURE-----