This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to Create Side Heads in XSL-FO


At 2002-01-23 13:33 -0600, W. Eliot Kimber wrote:
> > How does it compare to your generated FO file?  Have you tried copy and
> > paste of the generated FO file into a standalone snippet and rendering
> > that?  That, too, would indicate ancestral inheritance issues.
>
>I have not tried it isolation. Unfortunately, I've run out of time to
>track this down--I was hoping there was a simple answer. Here's the FO
>output for the flow in question:

The baselines are not aligned as you witness, so something in the ancestry 
must be affecting your results, or perhaps even in your page geometry 
(though I can't think of what).  Put the contents below into a file and you 
will see the baselines are not aligned.

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

T:\ftemp>type eliot2.fo
<?xml version="1.0" encoding="utf-8"?><!--test.fo-->
<root xmlns="http://www.w3.org/1999/XSL/Format";
       font-family="Times" font-size="20pt">

<layout-master-set>
   <simple-page-master master-name="frame"
     page-height="11in" page-width="8.5in"
     margin-top=".6in" margin-bottom=".6in"
     margin-left=".6in" margin-right=".6in">
     <region-body region-name="frame-body"/>
   </simple-page-master>
</layout-master-set>

<page-sequence master-reference="frame">

<flow flow-name="frame-body">

<block
text-align="left"
space-before.conditionality="discard"
score-spaces="false"
font-weight="bold"
space-after.conditionality="discard"
space-before.maximum="1em"
keep-with-next="always"
font-family="sans-serif"
space-after.maximum=".75em"
widows="2"
keep-with-previous="no"
space-after.optimum=".5em"
orphans="2"
space-after.minimum=".25em"
space-before.optimum=".75em"
space-before.minimum=".5em"
keep-together="always"
break-before="odd-page">
   <block
     font-size="78pt">1</block>
   <block
     margin-left="72pt"
     space-after.optimum="90pt"
     font-weight="normal"
     font-size="30pt">
Embedded Web server
</block>
</block>

</flow></page-sequence></root>
T:\ftemp>


--
Upcoming: 3-days XSLT/XPath and/or 2-days XSLFO - Feb 18-22, 2002

G. Ken Holman                mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.         http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995)
ISBN 0-13-065196-6                        Definitive XSLT & 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:  02-02-11,12,14,15,18,21,03-04,05,06,08,11,
-                                04-08,09,10,12,05-14,15,06-04,07


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]