Loading ...
Sorry, an error occurred while loading the content.

Re: Keeping the contents of a block on the same page

Expand Messages
  • andypriya
    Ken, Thank you for the reply, could you pleas elaborate on the section numbers you have mentioned, I do not have any book, can I see this on any internet
    Message 1 of 4 , May 9, 2002
    • 0 Attachment
      Ken,

      Thank you for the reply, could you pleas elaborate on the section
      numbers you have mentioned, I do not have any book, can I see this on
      any internet sites?

      Thanks
      Andy
      --- In XSL-FO@y..., "G. Ken Holman" <gkholman@c...> wrote:
      > At 2002-05-09 00:52 +0000, andypriya wrote:
      > >I have a situation where we I am required to keep the contents of
      the
      > >block on the same page. ie. the block should be printed on the next
      > >page if it cannot be accomaodated on the same page.
      > >
      > >Any Suggestions ??
      >
      > See the keep-together= property (7.19.3) and the semantics of keeps
      and
      > breaks (4.8). You can fine-tune it with keep-together.within-
      column= and
      > keep-together.within-page= if you have multi-column pages.
      >
      > XSLFO describes a very powerful concept: the "strength" of a keep.
      This
      > allows a large block that tries to keep together but cannot because
      of its
      > size to contain smaller blocks that, by themselves, must keep
      together even
      > if the larger block around them cannot be kept together. A
      strength value
      > of "always" will flag an overflow error if the block cannot be kept
      > together because it is too large for the area even after a new area
      has
      > started.
      >
      > For those who have our book, the second edition added pages 239-241
      just on
      > keep strength. Examples are on pages 234-238.
      >
      > I hope this helps.
      >
      > ............... Ken
      >
      >
      > --
      > Upcoming: 3-days XSLT/XPath and/or 2-days XSLFO: June 17-21, 2002
      > - : 3-days XML Information Modeling: July 31-August 2, 2002
      >
      > G. Ken Holman mailto:gkholman@C...
      > Crane Softwrights Ltd. http://www.CraneSoftwrights.com/f/
      > Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995)
      > ISBN 0-13-065196-6 Definitive XSLT and XPath
      > ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath
      > ISBN 1-894049-07-1 Practical Formatting Using XSLFO
      > XSL/XML/DSSSL/SGML/OmniMark services, books(electronic, printed),
      > articles, training(instructor-live,Internet-live,web/CD,licensed)
      > Next public training: 2002-05-06,07,09,10,13,15,20,
      > - 06-04,07,10,11,13,14,17,20,07-31,08-05,27,30
    • G. Ken Holman
      ... http://www.w3.org/TR/xsl/ Sections 7.19.3 and 4.8 relate to keeping content together. Information on our book can be found under Book Sales (the top
      Message 2 of 4 , May 9, 2002
      • 0 Attachment
        At 2002-05-09 12:54 +0000, andypriya wrote:
        >Thank you for the reply, could you pleas elaborate on the section
        >numbers you have mentioned, I do not have any book, can I see this on
        >any internet sites?

        http://www.w3.org/TR/xsl/

        Sections 7.19.3 and 4.8 relate to keeping content together.

        Information on our book can be found under "Book Sales" (the top link) on
        our web site. Note that when you buy any edition you get all future
        editions at no charge; that way any time the book is improved, you get a
        brand new copy. We welcome input from anyone regarding ways to improve the
        book, and those who bought the first edition were really pleased with what
        they found in the second edition.

        Our PDF book is hyperlinked to the XSL Recommendation so when you click on
        "7.19.3" in our book, a browser opens up on the desktop and navigates you
        to that section of the specification itself.

        A free download excerpt of our book has helpful cross references, and the
        complete text of the first two chapters.

        ............. Ken

        Practical Formatting Using XSLFO
        (Extensible Stylesheet Language Formatting Objects)
        Second Edition - 2002-04-05 - ISBN 1-894049-09-8
        Copyright (c) 2002 Crane Softwrights Ltd.
        / 361 Pages / Subscription price includes free updates,
        / / soft-copy of included examples, and an
        / / accessible rendition and 10 PDF renditions.
        / / Free 175-page download preview excerpt.


        --
        Upcoming: 3-days XSLT/XPath and/or 2-days XSLFO: June 17-21, 2002
        - : 3-days XML Information Modeling: July 31-August 2, 2002

        G. Ken Holman mailto:gkholman@...
        Crane Softwrights Ltd. http://www.CraneSoftwrights.com/f/
        Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995)
        ISBN 0-13-065196-6 Definitive XSLT and XPath
        ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath
        ISBN 1-894049-07-1 Practical Formatting Using XSLFO
        XSL/XML/DSSSL/SGML/OmniMark services, books(electronic, printed),
        articles, training(instructor-live,Internet-live,web/CD,licensed)
        Next public training: 2002-05-06,07,09,10,13,15,20,
        - 06-04,07,10,11,13,14,17,20,07-31,08-05,27,30
      Your message has been successfully submitted and would be delivered to recipients shortly.