cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Column Widths in Styler Sheet changed from pi to px, how?

GregoryMackenzi
12-Amethyst

Column Widths in Styler Sheet changed from pi to px, how?

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?

ACCEPTED SOLUTION

Accepted Solutions

This issue is being corrected in the 6.1 M040 release of Arbortext, which is currently scheduled to be available in Dec. 2014.

View solution in original post

2 REPLIES 2

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.

Announcements

Top Tags