[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Newbie-question: <para> doesn't render into paragraphs
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gueven Bay a écrit : >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Hi, >> >> Gueven Bay a écrit : >>> Hello, >>> >>> I made a Docbook document in which I am using <para> like this: (1) >>> I am using Ubuntu 7.04 where I have installed: >>> docbook-xml 4.4-5, docbook-xsl 1.71.0.dfsg.1-1.1 and >>> libxslt1.1 1.1.20-0ubuntu2, xsltproc 1.1.20-0ubuntu2. >>> >>> If transforming my document with: >>> >>> xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/xhtml/onechunk.xsl exam101.xml > exam101.html >>> >>> then the <para> doesn't render into own paragraphs. >>> Instead I get one line of output. >> This snippet is not valid: as the documentation puts it: "formalpara â�� A >> paragraph with a title" > > Yes, this snippet is not valid because it is "copy&pasted" out from a large document only to show > how I am using <para>. But I gave you the link where you can download the whole document which > is valid and renders with xsltproc fine BUT with the problem I mentioned with the <para> sections. > (Please look at the bottom of this mail where you can find the link.) > >> Aka: only one paragraph. >> In your case I'd simply use a section tag instead of formalpara. > > Thank you for your answer. Before I made the <formalpara> sections they were <sect2> sections. > This rendered into a ugly looking html with TOC links everywhere. So I went and made the <sect2> > to <formalpara> with which i get rid of the TOCs. Ah OK, that's a completely differetn problem :-) See http://www.sagehill.net/docbookxsl/TOCcontrol.html#TOClevels > >> Camille. >> >>> You can have a look at the transformed docs here: (2) (in this archive you also find the docbook documents.) >>> >>> My question: How do I get one paragraph out of every <para> in my document? >>> >>> Thank you. >>> regards >>> Gueven >>> >>> >>> (1) >>> <formalpara> >>> <title> >>> The following is a partial list of the used files, terms and utilities: >>> </title> >>> <para> >>> For Linux: >>> ldd >>> ldconfig >>> /etc/ld.so.conf >>> LD_LIBRARY_PATH >>> </para> >>> <para> >>> For FreeBSD: >>> /usr/bin/ldd >>> ldconfid >>> /etc/ld.so.conf >>> /etc/ld-elf.so.conf >>> </para> >>> <para> >>> For NetBSD: >>> /usr/bin/ldd >>> ldconfig >>> /etc/ld.so.conf >>> </para> >>> <para> >>> For OpenSolaris: >>> ldd(1) >>> ld.so.1(1) >>> /var/ld/ld.config >>> </para> >>> </formalpara> >>> >>> (2) >>> http://rapidshare.com/files/27161539/lpiport.tar.gz.html >>> http://rapidshare.com/files/27161846/lpiport.tar.gz.md5.html > > > > _______________________________________________________________ > SMS schreiben mit WEB.DE FreeMail - einfach, schnell und > kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org iD4DBQFGLwIsjv9P65BfOUMRAp2xAJICmj9QvV9GE9OKPfZDbvjoddVXAKCnRMGo +/TJUcrtgJ42BrsZBemeww== =5E8E -----END PGP SIGNATURE-----
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]