Copy link to clipboard
Copied
Hi,
I came across a file where <Unconditinal > tag is placed within a <TextLine> tag. According to the MIF Reference, this should not happen as it states the following:
The Conditional statement marks the beginning of conditional text and the Unconditional statement marks the
end. These statements must appear in a Row or ParaLine statement.
Should this file be considered a valid file? Framemaker 2015 renders it without any errors.
Here's the TextLine statement from the file:
<TextLine
<Unique 1176854>
<TLOrigin 1.0" 0.4489">
<TLAlignment Left>
<TLDirection INHERITLTR>
<Font
<FTag `'>
<FPlatformName `W.Arial.R.700'>
<FFamily `Arial'>
<FVar `Regular'>
<FWeight `Bold'>
<FAngle `Regular'>
<FEncoding `FrameRoman'>
<FSize 12.0 pt>
<FUnderlining FNoUnderlining>
<FOverline No>
<FStrike No>
<FChangeBar No>
<FOutline No>
<FShadow No>
<FPairKern No>
<FTsume No>
<FCase FAsTyped>
<FPosition FNormal>
<FDX 0.0%>
<FDY 0.0%>
<FDW 0.0%>
<FStretch 100.0%>
<FLanguage USEnglish>
<FLocked No>
<FSeparation 0>
<FColor `Black'>
<FBackgroundColor NoColor>
> # end of Font
<Unconditional >
<String `Footnote'>
> # end of TextLine
Thanks,
Veljko
I suspect you're going to have to talk to the FM folks at tcssupport@adobe.com. Does it make any difference if the source FM file is done in Structured FM vs. Unstructured?
Copy link to clipboard
Copied
Hi,
Can anyone help me with this?
Thanks,
Veljko
Copy link to clipboard
Copied
Sorry, not many of us play inside MIF files (except to search for stubborn colors or fonts to kill off); what are you trying to accomplish?
Copy link to clipboard
Copied
Hi Jeff,
Thanks for your reply.
I've built a tool that extracts translatable text from and insert it's translation back into .mif files. I followed MIF Reference guide to retain the correct structure of the file when inserting text back.
A client of mine sent me a .mif file which should have been generated by FrameMaker 12.0.4.445 (First line in the file is <MIFFile 12.0> # Generated by FrameMaker 12.0.4.445). Inside one of the <TextLine> statements in the file, I encountered a <Unconditional > statement. This structure is not covered by my tool so it breaks a .mif file when translated text is inserted back into it.
According to the MIF Reference guide, this case should not be valid.
The Conditional statement marks the beginning of conditional text and the Unconditional statement marks the
end. These statements must appear in a Row or ParaLine statement.
I just need a confirmation if a <Unconditional > statement within a <TextLine> statement should be considered valid or not?
Thanks,
Veljko
Copy link to clipboard
Copied
I suspect you're going to have to talk to the FM folks at tcssupport@adobe.com. Does it make any difference if the source FM file is done in Structured FM vs. Unstructured?
Copy link to clipboard
Copied
Thanks for your help, Jeff. I'll contact the support at the email you provided me with. I don't know if there's a difference if the source file is done in Structured vs Unstructured FM as I'm not the one who created it.
Best regards,
Veljko
Copy link to clipboard
Copied
Sorry, I got the e-mail wrong - use tcssup@adobe.com