Subject: | dump_miffile strips ID attribute from FNote node |
The effect of this is that document text after the first reference to a
footnote, while dumped out, is not visible in FrameMaker when read back in.
Numerous reports of
Invalid opcode: Para.
are logged when FrameMaker reads such a .mif file.
I already have a patch against version 0.075, released 2 May 2006, which
I am attaching.
Adrian
Subject: | MifTree.pm.patch |
diff -u f:\cygwin\lib\perl5\site_perl\5.8\FrameMaker\MifTree.pm.orig f:\cygwin\lib\perl5\site_perl\5.8\FrameMaker\MifTree.pm
--- f:\cygwin\lib\perl5\site_perl\5.8\FrameMaker\MifTree.pm.orig 2009-04-27 23:43:14.171875000 +0200
+++ f:\cygwin\lib\perl5\site_perl\5.8\FrameMaker\MifTree.pm 2009-04-27 23:43:14.171875000 +0200
@@ -921,7 +921,7 @@
'<' . $this->name .
($this->name eq 'DocFileInfo' ? "\n"
: ' ' ) . # not very elegant huh?
- ($this->is_node ? "\n"
+ ($this->is_node ? $this->attributes . "\n"
: $this->attributes . ">\n");
}
}