OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: RE: DOCBOOK-APPS: keep-with-previous and block things inside of paras


XEP 2.7x, but these aren't floats. It's a block thing inside of a para, specifically when there's mixed content before the block thing. 

    <para>
      The following image shows just what I mean.
        <informalfigure float="0">
          <mediaobject>
            <imageobject><imagedata fileref="../image.gif"/>
            </imageobject>
          </mediaobject>
        </informalfigure>
	Here's some more text about the image.
    </para>

When the renderer has a choice of putting the image with the text that comes before the image (but is in the same para)or with text that comes after, it should go with the text that comes before. If you have a figure, list, procedure, or whatever inside of a para, you're indicating that the text in that para is closely related to the figure, list, or procedure. 

Unfortunately, it's difficult to put together good test cases that show the behavior, but in a document we're working with that has lots of screenshots we had lots of pages where the image was pushed to the next page, while the text that introduced it was on the previous page, sometimes with lots of blank space. 

Not sure if I'm expressing myself well, but it's intuitive when you see it :)

David


> -----Original Message-----
> From: Dave Pawson [mailto:dpawson@nildram.co.uk]
> Sent: Tuesday, October 08, 2002 12:14 PM
> To: David Cramer; docbook-apps@lists.oasis-open.org
> Subject: Re: DOCBOOK-APPS: keep-with-previous and block 
> things inside of
> paras
> 
> 
> At 23:29 07/10/2002, David Cramer wrote:
> 
> >XEP does this with the fo (Hope my ascii art doesn't get munged):
> >|-----------|  |-----------|
> >|Blah blah  |  ||---------||
> >|           |  ||image.gif||  
> >|           |  ||         ||
> >|           |  ||         ||
> >|           |  ||         ||
> >|           |  ||---------||
> >|           |  |More Text  |
> >|-----------|  |-----------|
> >
> >This is what we'd like:
> >|-----------|  |-----------|
> >|Blah blah  |  |More Text  |  
> >||---------||  |           |
> >||image.gif||  |           |
> >||         ||  |           |
> >||         ||  |           |
> >||         ||  |           |
> >||---------||  |           |
> >|-----------|  |-----------|
> 
> 
> Which version of xep please?
> 
> Floats are only available in 3.0 AFAIK.
> 
> regards DaveP
> 
> 
> 


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC