This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: [docbook] How to format a check-list like output.
That's it.
Many thanks.
I made it like this :
<variablelist>
<?dbfo list-presentation="blocks"?>
<varlistentry>
<term><filename>ANTI ICE ................. AS RQRD</filename></term>
<listitem>
<para>
Set ENG ANTI ICE pb-switches and WING ANTI ICE etc etc
</para>
</listitem>
</varlistentry>
</variablelist>
I realise the "filename" part is a too "WYSIWYG" approach, but the
result is satisfactory.
In fact this solution was in your book. Concerning this book, it was
nearly a cause of divorce. I spend hours reading it (the online version
... but I order the paper copy), to the great despair of my wife ;-)
Seriously, it is a really good tool, well written and above all
understandable by somebody (like me) with nearly no XML-magics
knowledge.
Concerning the mail send by Steve Cogorno with the same subject :
> But in the true spirit of descriptive markup, you might want to create
> your
> own markup structure as an extension. It will make more sense to your
> authors and to anyone who might consume your SGML/XML later.
It will be good (better than "filename" in the example above), but such
an operation is for the moment above my skills.
Thanks a lot.
Phil
Le lun 27/10/2003 à 18:49, Bob Stayton a écrit :
> On Mon, Oct 27, 2003 at 06:40:17PM +0100, Philippe CHARLIER wrote:
> > Le lun 27/10/2003 à 05:23, waldron.Navix@canon.co.jp a écrit :
> > > Try using "variablelist" for your checklist. If you know how to also
> > write your
> > > own XSL files for transformation, you can create some pretty good
> > results to
> > > satisfy your requirements.
> > > Hope that helps.
> > >
> > > Dee
> >
> > Thanks,
> >
> > Seems good.
> > In html, with some CSS tweaking the result is correct.
> > In pdf (generated by fop 0.20.5, DTD 4.2, XSL stylesheet 1.60.1) I get 2
> > columns.
> >
> > -----------------------------------------------------------------------
> > ENG ANTI ICE If icing conditions description text blah blah
> > ................... description text blah blah description text blah
> > ................ AS blah description text blah blah description text
> > RQRD blah blah
> > -----------------------------------------------------------------------
> >
> > I suppose that I need some XSL tweaking here ?
>
> That's the normal presentation for variablelist.
> Try adding this to your variablelist:
>
> <?dbfo list-presentation="blocks"?>
>
> That will format the "ENG .. RQRD" stuff in a separate
> fo:block above the description rather than next to it.
>
>
> Bob Stayton 400 Encinal Street
> Publications Architect Santa Cruz, CA 95060
> Technical Publications voice: (831) 427-7796
> The SCO Group fax: (831) 429-1887
> email: bobs@sco.com
>
To unsubscribe from this list, send a post to docbook-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.