<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi,<br>
<br>
I was part of that discussion on the DITA list, and I can confirm,
that at least for the xml where I'm running into this, you are
right, it is indeed the case that the fo table is being generated
with width="100%" (and table-layout="fixed", FWIW). It seems to me
that in this situation, the column-width and the table width in the
fo are asking for contradictory things. It seems to me that xep is
honoring the table width at the expense of the column width
(treating it as proportional and not absolute inches as it
indicates), whereas fop and antenna house both both honor the
column-width at the expense of the table width.<br>
<br>
I really have no idea which, if either, is right. Can anyone tell if
the FO spec indicates what should happen in this case? Or is it
undefined?<br>
<br>
Eric<br>
<br>
<br>
On 6/15/2011 1:08 PM, Kevin Brown wrote:
<blockquote cite="mid:03e801cc2b7e$e568dc30$b03a9490$@com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);">Leigh:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);">I have no idea what you are doing outside of
those two table-column elements, but I can assure you that
XEP does not produce incorrect column widths. This produces
two columns of the exact width you specified:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: black;">
</span><span style="color: rgb(0, 0, 150);"><fo:block-container></span><span
style="color: black;"><br>
</span><span
style="color: rgb(0, 0, 150);"><fo:table></span><span
style="color: black;"><br>
</span><span
style="color: rgb(0, 0, 150);"><fo:table-column</span><span
style="color: rgb(245, 132, 76);"> column-number</span><span
style="color: rgb(255, 128, 64);">=</span><span
style="color: rgb(153, 51, 0);">"1"</span><span
style="color: rgb(245, 132, 76);"> column-width</span><span
style="color: rgb(255, 128, 64);">=</span><span
style="color: rgb(153, 51, 0);">"1.25in"</span><span
style="color: rgb(0, 0, 150);">/></span><span
style="color: black;"><br>
</span><span
style="color: rgb(0, 0, 150);"><fo:table-column</span><span
style="color: rgb(245, 132, 76);"> column-number</span><span
style="color: rgb(255, 128, 64);">=</span><span
style="color: rgb(153, 51, 0);">"2"</span><span
style="color: rgb(245, 132, 76);"> column-width</span><span
style="color: rgb(255, 128, 64);">=</span><span
style="color: rgb(153, 51, 0);">"3in"</span><span
style="color: rgb(0, 0, 150);">/></span><span
style="color: black;"><br>
</span><span
style="color: rgb(0, 0, 150);"><fo:table-body></span><span
style="color: black;"><br>
</span><span style="color: rgb(0, 0, 150);"><fo:table-row></span><span
style="color: black;"><br>
</span><span style="color: rgb(0, 0, 150);"><fo:table-cell</span><span
style="color: rgb(245, 132, 76);"> border</span><span
style="color: rgb(255, 128, 64);">=</span><span
style="color: rgb(153, 51, 0);">"1pt solid black"</span><span
style="color: rgb(0, 0, 150);">></span><span
style="color: black;"><br>
</span><span style="color: rgb(0, 0, 150);"><fo:block></span><span
style="color: black;">1.25in</span><span style="color:
rgb(0, 0, 150);"></fo:block></span><span style="color:
black;"><br>
</span><span style="color: rgb(0, 0, 150);"></fo:table-cell></span><span
style="color: black;"><br>
</span><span style="color: rgb(0, 0, 150);"><fo:table-cell</span><span
style="color: rgb(245, 132, 76);"> border</span><span
style="color: rgb(255, 128, 64);">=</span><span
style="color: rgb(153, 51, 0);">"1pt solid black"</span><span
style="color: rgb(0, 0, 150);">></span><span
style="color: black;"><br>
</span><span style="color: rgb(0, 0, 150);"><fo:block></span><span
style="color: black;">3in</span><span style="color: rgb(0,
0, 150);"></fo:block></span><span style="color:
black;"><br>
</span><span style="color: rgb(0, 0, 150);"></fo:table-cell></span><span
style="color: black;"><br>
</span><span style="color: rgb(0, 0, 150);"></fo:table-row></span><span
style="color: black;"><br>
</span><span
style="color: rgb(0, 0, 150);"></fo:table-body></span><span
style="color: black;"><br>
</span><span
style="color: rgb(0, 0, 150);"></fo:table></span><span
style="color: black;"><br>
</span><span
style="color: rgb(0, 0, 150);"></fo:block-container></span><span
style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);">My assumption is that your FO has width=”100%” on
the table itself. If you take the snippet above and add
width=”100%” to the fo:table, you will get the result you
said (which is correct as the table is 100% of the available
width and the columns are proportional scaled to ft that
dimension). I tested this with FOP and XEP and the results
are what you report.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);">Kevin Brown<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);">RenderX<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);"><o:p> </o:p></span></p>
<div>
<div style="border-right: medium none; border-width: 1pt
medium medium; border-style: solid none none; border-color:
rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color;
padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span style="font-size: 10pt;
font-family:
"Tahoma","sans-serif";">From:</span></b><span
style="font-size: 10pt; font-family:
"Tahoma","sans-serif";">
<a class="moz-txt-link-abbreviated" href="mailto:xep-support-bounces@renderx.com">xep-support-bounces@renderx.com</a>
[<a class="moz-txt-link-freetext" href="mailto:xep-support-bounces@renderx.com">mailto:xep-support-bounces@renderx.com</a>] <b>On Behalf
Of </b>LW White<br>
<b>Sent:</b> Wednesday, June 15, 2011 8:59 AM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:xep-support@renderx.com">xep-support@renderx.com</a><br>
<b>Subject:</b> [xep-support] table column widths
correct in FOP but not in XEP<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Tahoma","sans-serif";">A recent post on
the DITA Users list provided a solution to a table column
width issue I had been struggling with for some time.
Unfortunately, the solution appears to work only with FOP.
It does not work with XEP. In short, the solution is to edit
the tableSpecNonProportional parameter to have a value of
"true" in tables.xsl and/or tables_1.0.xsl. After making
this change and generating a PDF using FOP, the table colums
are the width I specified in colspec (1.25 in and 3 in).
When generating with XEP, the column widths are 2.375" in
and 4.125 in.<br>
<br>
The FO is as follows:<br>
<br>
<fo:table-column column-number="1"
column-width="1.25in"/> <br>
<fo:table-column column-number="2"
column-width="3in"/><br>
<br>
Does XEP just not respect the value of column-width when
rendering tables?<br>
<br>
Thanks,<br>
Leigh<br>
<br>
<br>
<br>
<o:p></o:p></span></p>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
(*) To unsubscribe, please visit <a class="moz-txt-link-freetext" href="http://lists.renderx.com/mailman/options/xep-support">http://lists.renderx.com/mailman/options/xep-support</a>
(*) By using the Service, you expressly agree to these Terms of Service <a class="moz-txt-link-freetext" href="http://w">http://w</a>
ww.renderx.com/terms-of-service.html</pre>
</blockquote>
!DSPAM:87,4df9114c63731972518071!
</body>
</html>