Re: [xep-support] Confusion with FO tables and XEP

From: Jim Melton (jim.melton@acm.org)
Date: Sun Jun 22 2003 - 18:59:20 PDT

  • Next message: Joakim Norlöv: "[xep-support] Changing font in the intermediate XEP-file"

    David,

    At 12:36 2003-06-20 +0500 Friday, David Tolpin wrote:
    >Jim,
    >
    > > SUMMARY OF PROBLEM 1) The (vertical) distance between the paragraph
    > > preceding a table and the actual caption of the table does not change, no
    > > matter what I have tried. For reasons of document usability, I really
    > > would like to have a bit of space between the preceding text and the
    > caption.
    >
    >table-caption generates a reference area. space-before.conditionality is
    >'discard'
    >by default. If you really need to adjust the distance this way in your
    >stylesheets,
    >specify space-before.conditionality="retain" on the block with space-before.

    I have now implemented this and, of course, it works great!

    > >
    > > SUMMARY OF PROBLEM 2) In the first table in my document, the left
    > margin of
    > > text in the table cells is exactly what I would like them all to be. In
    > > the second and third tables, the left margin within table cells (all of
    > > them!) has been increased by something on the order of 20 or 30
    > points. In
    > > the fourth and fifth tables, the margins are back to "expected". I have
    > > not checked all of my tables (this document has 52 tables), but a random
    > > sampling suggests no particular pattern. The following two snippets are
    > > taken from the first and second tables, respectively:
    >
    >Starting with version 3.3, I think, XEP2_COMPATIBLE_MODE=false by default,
    >and indents are inherited through table boundaries (in accordance with XSL
    >FO Recommendation
    >and against common sense). Set start-indent="0pt" end indent="0pt"
    >on table-body and the problem will be resolved.

    I have also implemented this and, of course, it works great!

    > > SUMMARY OF PROBLEM 3) I would like for all of my tables' left border to be
    > > aligned with my pages' left margin. Many of my tables are aligned in this
    > > way, but others are not. There does not appear to be any pattern related
    > > to the tables immediately following ordinary (unindented) text or
    > following
    > > (indented) numbered rules or anything else that I can find. I have not
    > > included snippets of FO code for this problem because I have no idea what
    > > would be appropriate to provide.
    >
    >Put the sample on FTP somewhere and send me a link off-list.

    I have posted two files for you at:
        ftp://sqlstandards.org/SC32/WG3/Tempdocs/
    under filenames:
        DavidTest1.fo
        DavidTest1.pdf
    In the PDF file, please look on the page with number 123 at the bottom (it
    is the 135th page) and you will immediately see the problem.

    I apologize for the size of these files, but they are the smallest I have
    that clearly demonstrate the problem.

    Thanks again for all of your help!
        Jim
    ========================================================================
    Jim Melton --- Editor of ISO/IEC 9075-* (SQL) Phone: +1.801.942.0144
    Oracle Corporation Oracle Email: mailto:jim.melton@oracle.com
    1930 Viscounti Drive Standards email: mailto:jim.melton@acm.org
    Sandy, UT 84093-1063 Personal email: mailto:jim@melton.name
    USA Fax : +1.801.942.3345
    ========================================================================
    = Facts are facts. However, any opinions expressed are the opinions =
    = only of myself and may or may not reflect the opinions of anybody =
    = else with whom I may or may not have discussed the issues at hand. =
    ========================================================================

    -------------------
    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to majordomo@renderx.com from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



    This archive was generated by hypermail 2.1.5 : Sun Jun 22 2003 - 19:16:51 PDT