Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hi,
I am working on a stylesheet and I noticed that my HTML output has very narrow columns for the tables, when I checked them I noticed that the value for width is set to px. In the source it was set to picas.
Arbortext Editor XML
<tgroup cols="3">
<colspec colname="col1" colwidth="12.80pi"/>
<colspec colname="col2" colwidth="12.00pi"/>
<colspec colname="col3" colwidth="13.00pi"/>
Styler HTML Output
<colgroup> | |
<col style="width: 12.8px; "> | |
<col style="width: 12px; "> | |
<col style="width: 13px; "> | |
</colgroup> |
Obviously, this conversion of units is way off. I am hoping there is a fix for this issue in Styler. Any ideas?
Solved! Go to Solution.
This issue is being corrected in the 6.1 M040 release of Arbortext, which is currently scheduled to be available in Dec. 2014.
Column widths are converted to pixels in HTML type output, but as you note picas are being viewed as a 1 to 1 conversion. This is incorrect.
1pi should be 16px
Correct conversions for points is 1pt=1.3px
for inches is 1in = 96px
for mm is 1mm = 3.8px
This issue is being corrected in the 6.1 M040 release of Arbortext, which is currently scheduled to be available in Dec. 2014.