Yes <listitem><simpara><?dbfo keep-together="always"?>Lorum ipsum</
simpara></listitem> could be made to work with some tweaking of the
XSL stylesheets.

At least using +++<?dbfo keep-together="always"?>+++ the PI can be
inserted on paragraph level without impact on the list structure. I
completely forgot about +++ and tried pass:[] before which failed.

Many thanks

Henrik


On Oct 21, 2:12 pm, Stuart Rackham <[email protected]> wrote:
> Hi Henrik
>
> On 20/10/10 18:15, Henrik wrote:
>
>
>
> > Hi all,
>
> > I have a requirement to insert processing instructions into  DocBook
> > list items elements. For example like this:
>
> > <listitem><?dbfo keep-together="always"?><simpara>Lorem ipsum</
> > simpara></listitem>
>
> > I tried to accomplish this using the pass macros and also using list
> > block styles and options by redefining the [listtags-numbered] item
> > tag.
>
> > None of these solution yields satisfactory results. The pass macros
> > seem to break the list block structure. And the style options for
> > example with a new option like [options="unbreakable"] cannot be
> > applied to a single list item. They are always applied to all list
> > items which is not what I want.
>
> > Are there any other options I can try?
>
> You are correct in that the block attribute list applies to the whole list not
> the list item. I assume that this won't work:
>
> <listitem><simpara><?dbfo keep-together="always"?>Lorum 
> ipsum</simpara></listitem>
>
>
>
> > Henrik
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to