Quantcast
Channel: Adobe Community : Popular Discussions - FrameMaker Structured
Viewing all articles
Browse latest Browse all 66580

Why is my rules.txt file invalid?

$
0
0

I get an error that says A Valid Read/Write rules file must begin with "fm version is" rule.

 

 

Rules File Contents:

fm version is "11.0";

 

/*

* Include all ISO entity mapping rules.

*/

 

 

#include "isoall.rw"

 

 

element "Graphic"

{

  is fm graphic element;

  attribute "Fileref" is fm property file;

  attribute "dpi" is fm property dpi;

  attribute "width" is fm property width;

  attribute "height" is fm property height;

  fm property import by reference or copy value is "ref";

  attribute "scaled_width" drop;

  attribute "scaled_height" drop;

 

 

  writer anchored frame export to file "$(entity).gif" as "GIF";

 

 

}

 

 

 

 

element "Table"

{

   is fm table element;

   attribute "Columns" is fm property Columns;

   attribute "Frame"

   {

          is fm property table border ruling;

          value "All" is fm property value all;

          value "N" is fm property value none;

   }

 

 

}

 

 

element "THead" is fm table heading element;

element "TBody" is fm table body element;

element "TRow" is fm table row element;

element "TCell"

{

  is fm table cell element;

  attribute "Colspan" is fm property horizontal straddle;

  attribute "Rowspan" is fm property vertical straddle;

  attribute "ColumnName" is fm property column name;

}

 

 

element "colspec"

{

  is fm colspec;

  attribute "ColumnName" is fm property column name;

  attribute "ColumnWidth" is fm property column width;

}

 

 

element "spanspec"

{

  is fm spanspec;

  attribute "ColumnName" is fm property column name;

}

 

 

element "FigNumXRef"

{

          is fm cross-reference element;

          attribute "id" is fm property cross-reference id;

          attribute "format" is fm property cross-reference format;

 

}

 

 

element "TOCXRef"

{

          is fm cross-reference element;

          attribute "id" is fm property cross-reference id;

          attribute "format" is fm property cross-reference format;

 

}

 

 

element "SeeHeadPageXRef"

{

          is fm cross-reference element;

          attribute "id" is fm property cross-reference id;

          attribute "format" is fm property cross-reference format;

 

}


Viewing all articles
Browse latest Browse all 66580

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>