Highlighted

Unconditional tag within TextLine

New Here ,
Aug 20, 2018

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

Adobe Community Professional
Correct answer by Jeff_Coatsworth | Adobe Community Professional

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?

Views

233

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

Unconditional tag within TextLine

New Here ,
Aug 20, 2018

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

Adobe Community Professional
Correct answer by Jeff_Coatsworth | Adobe Community Professional

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?

Views

234

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
Aug 20, 2018 0
New Here ,
Aug 27, 2018

Copy link to clipboard

Copied

Hi,

Can anyone help me with this?

Thanks,
Veljko

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...
Aug 27, 2018 0
Adobe Community Professional ,
Aug 28, 2018

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?

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...
Aug 28, 2018 0
New Here ,
Aug 29, 2018

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

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...
Aug 29, 2018 0
Adobe Community Professional ,
Aug 29, 2018

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?

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...
Aug 29, 2018 0
New Here ,
Sep 12, 2018

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

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...
Sep 12, 2018 0
Adobe Community Professional ,
Sep 12, 2018

Copy link to clipboard

Copied

Sorry, I got the e-mail wrong - use tcssup@adobe.com

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...
Sep 12, 2018 1