Highlighted

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

Contributor ,
Oct 21, 2020

Copy link to clipboard

Copied

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.

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.

TOPICS
Structured

Views

22

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

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

Contributor ,
Oct 21, 2020

Copy link to clipboard

Copied

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.

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.

TOPICS
Structured

Views

23

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Oct 21, 2020 0
Contributor ,
Oct 21, 2020

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 21, 2020 0