• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Problem with saving width of tables in a concept-type xml file

Explorer ,
Jun 28, 2024 Jun 28, 2024

Copy link to clipboard

Copied

Hi everyone,

I have a problem with Structured FrameMaker  saving width of tables in a concept-type xml file. Has someone encountered this problem?

 

I changed and saved many files xml type-task - e.g. when the xml file starts with <task id="id205ODK040HS"  xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/">... </task>.

 

I have done everything correctly.

  1. Commented the appropriate line in the task.rules.txt - /* writer use proportional widths:*/
  2. In <FMInstallationPath>\fminit\ditafm, I changed ForceTGroupAlignmentToLeft=0
  3. My code Is as follows:  <concept id="id225PDG020XA">
    <title>User Manual</title>
    <shortdesc>Describes for which documents this manual is valid.</shortdesc>
    <prolog>
    <author>Zornitza Doneva, P.Eng.</author>
    </prolog>
    <concept id="id225PDK003E8">
    <title>Quick start guide for FL SWITCH
    EP72... network switch</title>
    <conbody>
    <p>UM QS EN EP72..., Revision A</p>
    <lines></lines>
    <p>This user manual is valid for:</p>
    <lines></lines>
    <table frame="all" colsep="1" rowsep="1">
    <tgroup cols="2" colsep="1" rowsep="1" outputclass="FormatA">
    <colspec colnum="1" colname="1" colwidth="3.92in"/>
    <colspec colnum="2" colname="2" colwidth="1.00in"/>
    <tbody>
    <row rowsep="1">
    <entry colname="1">FL SWITCH EP7232-HV</entry>
    <entry colname="2">1688995</entry>
    </row>
    <row rowsep="1">
    <entry colname="1">FL SWITCH EP7200-32GSFP-HV</entry>
    <entry colname="2">1688994</entry>
    </row>
    <row rowsep="1">
    <entry colname="1">FL SWITCH EP7216-16GSFP-HV</entry>
    <entry colname="2">1688993</entry>
    </row>
    <row rowsep="1">
    <entry colname="1">FL SWITCH EP7224-RED-HV</entry>
    <entry colname="2">1688992</entry>
    </row>
    <row rowsep="1">
    <entry colname="1">FL SWITCH EP7232-LV</entry>
    <entry colname="2">1688991</entry>
    </row>
    <row rowsep="1">
    <entry colname="1">FL SWITCH EP7200-32GSFP-LV</entry>
    <entry colname="2">1688990</entry>
    </row>
    <row rowsep="1">
    <entry colname="1">FL SWITCH EP7216-16GSFP-LV</entry>
    <entry colname="2">1688989</entry>
    </row>
    <row rowsep="1">
    <entry colname="1">FL SWITCH EP7224-RED-LV</entry>
    <entry colname="2">1688988</entry>
    </row>
    <row rowsep="1">
    <entry colname="1">FL SWITCH EP7232-MV</entry>
    <entry colname="2">1688987</entry>
    </row>
    <row rowsep="1">
    <entry colname="1">FL SWITCH EP7200-32GSFP-MV</entry>
    <entry colname="2">1688986</entry>
    </row>
    <row rowsep="1">
    <entry colname="1">FL SWITCH EP7216-16GSFP-MV</entry>
    <entry colname="2">1688985</entry>
    </row>
    <row rowsep="1">
    <entry colname="1">FL SWITCH EP7224-RED-MV</entry>
    <entry colname="2">1688983</entry>
    </row>
    <row rowsep="1">
    <entry colname="1">FL SWITCH EP7216-16GSFP-MV</entry>
    <entry colname="2">-</entry>
    </row>
    <row rowsep="0">
    <entry colname="1">FL SWITCH EP7232-MV-LV</entry>
    <entry colname="2">-</entry>
    </row>
    </tbody>
    </tgroup>
    </table>
    </conbody>
    </concept>
    </concept>
  4. Then I saved and reopened the file. However, after that the file is back to proportional measures and the table fits the whole width of the page.  The code is shown below. <concept id="id225PDG020XA">
    <title>User Manual</title>
    <shortdesc>Describes for which documents this manual is valid.</shortdesc>
    <prolog>
    <author>Zornitza Doneva, P.Eng.</author>
    </prolog>
    <concept id="id225PDK003E8">
    <title>Quick start guide for FL SWITCH
    EP72... network switch</title>
    <conbody>
    <p>UM QS EN EP72..., Revision A</p>
    <lines></lines>
    <p>This user manual is valid for:</p>
    <lines></lines>
    <table frame="all" colsep="1" rowsep="1">
    <tgroup cols="2" colsep="1" rowsep="1" outputclass="FormatA">
    <colspec colnum="1" colname="1" colwidth="80*"/>
    <colspec colnum="2" colname="2" colwidth="20*"/>
    <tbody>
    <row rowsep="1">
    <entry colname="1">FL SWITCH EP7232-HV</entry>
    <entry colname="2">1688995</entry>
    </row>
    <row rowsep="1">
    <entry colname="1">FL SWITCH EP7200-32GSFP-HV</entry>
    <entry colname="2">1688994</entry>
    </row>
    <row rowsep="1">
    <entry colname="1">FL SWITCH EP7216-16GSFP-HV</entry>
    <entry colname="2">1688993</entry>
    </row>
    <row rowsep="1">
    <entry colname="1">FL SWITCH EP7224-RED-HV</entry>
    <entry colname="2">1688992</entry>
    </row>
    <row rowsep="1">
    <entry colname="1">FL SWITCH EP7232-LV</entry>
    <entry colname="2">1688991</entry>
    </row>
    <row rowsep="1">
    <entry colname="1">FL SWITCH EP7200-32GSFP-LV</entry>
    <entry colname="2">1688990</entry>
    </row>
    <row rowsep="1">
    <entry colname="1">FL SWITCH EP7216-16GSFP-LV</entry>
    <entry colname="2">1688989</entry>
    </row>
    <row rowsep="1">
    <entry colname="1">FL SWITCH EP7224-RED-LV</entry>
    <entry colname="2">1688988</entry>
    </row>
    <row rowsep="1">
    <entry colname="1">FL SWITCH EP7232-MV</entry>
    <entry colname="2">1688987</entry>
    </row>
    <row rowsep="1">
    <entry colname="1">FL SWITCH EP7200-32GSFP-MV</entry>
    <entry colname="2">1688986</entry>
    </row>
    <row rowsep="1">
    <entry colname="1">FL SWITCH EP7216-16GSFP-MV</entry>
    <entry colname="2">1688985</entry>
    </row>
    <row rowsep="1">
    <entry colname="1">FL SWITCH EP7224-RED-MV</entry>
    <entry colname="2">1688983</entry>
    </row>
    <row rowsep="1">
    <entry colname="1">FL SWITCH EP7216-16GSFP-MV</entry>
    <entry colname="2">-</entry>
    </row>
    <row rowsep="0">
    <entry colname="1">FL SWITCH EP7232-MV-LV</entry>
    <entry colname="2">-</entry>
    </row>
    </tbody>
    </tgroup>
    </table>
    </conbody>
    </concept>
    </concept>

 

Regards,

 

Zornitza Doneva

Views

102

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
community guidelines

correct answers 1 Correct answer

Community Expert , Jun 28, 2024 Jun 28, 2024

Your step 1 will take care of it for tasks, but you need to comment that line out in the concept.rules.txt file. Each DITA topic type has its own Read/Write rules file.

Votes

Translate

Translate
Community Expert ,
Jun 28, 2024 Jun 28, 2024

Copy link to clipboard

Copied

Your step 1 will take care of it for tasks, but you need to comment that line out in the concept.rules.txt file. Each DITA topic type has its own Read/Write rules file.

Votes

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
community guidelines
Explorer ,
Jun 28, 2024 Jun 28, 2024

Copy link to clipboard

Copied

LATEST

Thanks a lot, Rick! Your help is greatly appreciated.

 

It worked with flying colors.

I  will apply it also to reference.rules.txt - we have some reference type xml  files with tables as well.

 

Regards,

Zornitza Doneva

Votes

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
community guidelines