Skip to main content
1-Visitor
October 1, 2014
Solved

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

  • October 1, 2014
  • 2 replies
  • 1427 views

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?

Best answer by TimPhelps

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

2 replies

12-Amethyst
October 13, 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

TimPhelps12-AmethystAnswer
12-Amethyst
October 20, 2014

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