discuss: DocBook question


Previous by date: 24 Feb 2005 11:46:17 -0000 Re: HOWTO Proposal, Rahul Sundaram
Next by date: 24 Feb 2005 11:46:17 -0000 Re: Modifiability of documentation and software, David Lawyer
Previous in thread: 24 Feb 2005 11:46:17 -0000 Re: DocBook question, Mark Komarinski
Next in thread:

Subject: DocBook question
From: Machtelt Garrels ####@####.####
Date: 24 Feb 2005 11:46:17 -0000
Message-Id: <Pine.LNX.4.44.0502241140551.2005-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)

iD8DBQFCHb+wsIIUbMXbBA8RAnffAJ94jhpYmbl+HwZTIPt1swCdKLHaxACfQ+Cx
h8J3y0h47CYvxTZ0A3gus60=
=vVhc
-----END PGP SIGNATURE-----


Previous by date: 24 Feb 2005 11:46:17 -0000 Re: HOWTO Proposal, Rahul Sundaram
Next by date: 24 Feb 2005 11:46:17 -0000 Re: Modifiability of documentation and software, David Lawyer
Previous in thread: 24 Feb 2005 11:46:17 -0000 Re: DocBook question, Mark Komarinski
Next in thread:


  ©The Linux Documentation Project, 2014. Listserver maintained by dr Serge Victor on ibiblio.org servers. See current spam statz.