Skip to main content
hadih26673991
Inspiring
October 21, 2020
Answered

Table column width in xml changes from mm to * after save

  • October 21, 2020
  • 1 reply
  • 489 views

Hi DITA users, I am trying to understand why FM changes the colwidth units of my tables from mm to * each time I save the xml files. Any ideas?

Example of a table with three columns.

before save:

<colspec colnum="1" colname="1" colwidth="35mm" colsep="0"/>
<colspec colnum="2" colname="2" colwidth="25mm" colsep="0"/>
<colspec colnum="3" colname="3" colwidth="100mm" colsep="0"/>

after any change in the xml file and then save (note that I did not change the colwidth, they got changed autonomously): 

<colspec colnum="1" colname="1" colwidth="22*" colsep="0"/>
<colspec colnum="2" colname="2" colwidth="16*" colsep="0"/>
<colspec colnum="3" colname="3" colwidth="63*" colsep="0"/>

 

consequently the width of each column and the whole width of the table are different after each save.

Now if I change the units to mm again and save they stay in mm until the next time I change and save the file.

This topic has been closed for replies.
Correct answer hadih26673991

I found the answer to my question in this thread.

One could comment out the line writer use proportional widths; in the read write rule in order to get the width in in rather than proportions.

1 reply

hadih26673991
hadih26673991AuthorCorrect answer
Inspiring
October 21, 2020

I found the answer to my question in this thread.

One could comment out the line writer use proportional widths; in the read write rule in order to get the width in in rather than proportions.