Highlighted

Handling Anchored frame with text frame for HTML export - how do I?

Community Beginner ,
Mar 09, 2018

Copy link to clipboard

Copied

Hello,

I created a framemaker document with the following content:


Heading

Body text before frame

First line of text frame in anchored frame

Last line of text frame in anchored frame

After Frame


When I export it to HTML ("Save as" -> HTML) the contents of the anchored frame are converted into an image. The following is the code I get (leaving out the HTML headers) - note the IMG:

<TITLE>Heading</TITLE></HEAD>

<BODY>

<DIV>

<H2 class="Heading1">

<A NAME="pgfId-473591"></A>Heading</H2>

<P class="Body">

<A NAME="pgfId-929642"></A>Body text before frame</P>

<P class="Body">

<A NAME="pgfId-929663"></A> </P>

<DIV>

<MAP NAME="Test_Export-1">

</MAP>

<IMG SRC="Test_Export-1.gif" USEMAP="#Test_Export-1" ALT="">

</DIV>

<P class="Body">

<A NAME="pgfId-929653"></A>After Frame</P>

</DIV>

</BODY>

Framemaker is also generating the Test_Export-1.gif image - with the contents of the frame. How do I instead export the contents of the text frame directly in HTML (either inside a single celled table or just inline with the text)?

I'm a beginner in using Framemaker - so please forgive if I'm missing something very basic. Thanks for any help!

Regards,

Karthick

Views

237

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

Handling Anchored frame with text frame for HTML export - how do I?

Community Beginner ,
Mar 09, 2018

Copy link to clipboard

Copied

Hello,

I created a framemaker document with the following content:


Heading

Body text before frame

First line of text frame in anchored frame

Last line of text frame in anchored frame

After Frame


When I export it to HTML ("Save as" -> HTML) the contents of the anchored frame are converted into an image. The following is the code I get (leaving out the HTML headers) - note the IMG:

<TITLE>Heading</TITLE></HEAD>

<BODY>

<DIV>

<H2 class="Heading1">

<A NAME="pgfId-473591"></A>Heading</H2>

<P class="Body">

<A NAME="pgfId-929642"></A>Body text before frame</P>

<P class="Body">

<A NAME="pgfId-929663"></A> </P>

<DIV>

<MAP NAME="Test_Export-1">

</MAP>

<IMG SRC="Test_Export-1.gif" USEMAP="#Test_Export-1" ALT="">

</DIV>

<P class="Body">

<A NAME="pgfId-929653"></A>After Frame</P>

</DIV>

</BODY>

Framemaker is also generating the Test_Export-1.gif image - with the contents of the frame. How do I instead export the contents of the text frame directly in HTML (either inside a single celled table or just inline with the text)?

I'm a beginner in using Framemaker - so please forgive if I'm missing something very basic. Thanks for any help!

Regards,

Karthick

Views

238

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
Mar 09, 2018 0
Adobe Community Professional ,
Mar 09, 2018

Copy link to clipboard

Copied

Hi Karthick,

Anchored frames will be converted as graphics, so you'll want to find a different way to represent the text inside of FrameMaker.

You're on the right path by considering a single-celled table or other representation within FrameMaker.

Can you provide a screenshot so we can give you ideas?

-Matt

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...
Mar 09, 2018 1
Adobe Community Professional ,
Mar 09, 2018

Copy link to clipboard

Copied

TCT*: Anchored frames will be converted as graphics, so you'll want to find a different way to represent the text inside of FrameMaker.

SVG can contain text. SVG can be passed through more recent versions of FM to HTML or XML. What become of the text in that case?

But for a rapid fix, a borderless table with graphics in cell (run-around off, text overlay) might be a quicker fix.

_______
*TCT: Actual user name now lost to history. Not even in avatar hover bio. Might need a look.

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...
Mar 09, 2018 1
Adobe Community Professional ,
Mar 09, 2018

Copy link to clipboard

Copied

@Bob Niland - that would be Matt Sullivan

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...
Mar 09, 2018 0
Adobe Community Professional ,
Mar 09, 2018

Copy link to clipboard

Copied

Odd, here's what I see on my side. Yours is different?

Screenshot 2018-03-09 11.00.29.png

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...
Mar 09, 2018 0
Adobe Community Professional ,
Mar 09, 2018

Copy link to clipboard

Copied

Nope here's what we see:

Capture.PNG

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...
Mar 09, 2018 0
Adobe Community Professional ,
Mar 09, 2018

Copy link to clipboard

Copied

Which is different still from what Bob mentioned. I'm betting on an Adobe server issue.

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...
Mar 09, 2018 0
Adobe Community Professional ,
Mar 09, 2018

Copy link to clipboard

Copied

My user name appears differently to me "Bob Niland" than to other users "Bob Niland (Error 7103)". I suspect yours does too, so if you want people to know your real name, you'll need to take steps, and verify the result using a browser not logged in.

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...
Mar 09, 2018 0
Community Beginner ,
Mar 09, 2018

Copy link to clipboard

Copied

Matt,

Thanks! I'll attach a screenshot later today - but I wanted to emphasize that using a table in FM (instead of anchored frame+text frame) is not an option that I have. I already have a sizable document that I'm converting to HTML - and that doc uses frames. I meant to ask: can't I get the contents of the frame in a single called table in *HTML*?

Nothing that I've read so far shows how one can do it - but seems like it should be possible?

The other approach I'm trying is using MIF2GO plugin, but no success yet.

Thanks,

Karthick

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...
Mar 09, 2018 0
Adobe Employee ,
Mar 09, 2018

Copy link to clipboard

Copied

Anchored Frames and their content are always converted into a GIF image for HTML output.

One alternative might be to implement a process that export anchored Frames and their content into an SVG and reimports it as referenced graphic before export to HTML.

Jang Graat from http://www.smartinfodesign.com/  has such a solution.

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...
Mar 09, 2018 2
Advocate ,
Mar 09, 2018

Copy link to clipboard

Copied

Hello Karthick,

Yes, I did create an "anchored frame with text etc to SVG" conversion script. That has the advantage of not needing to create a table (which is really not a good replacement for what you are trying to do. Also you can place an image (screen shot or photo) and add text plus ellipses, rectangles, polygons, arrows to the anchored frame and then convert the whole thing to an SVG.

The script also allows editing text in any SVG that is imported into an anchored frame.

Let me know if this would be of interest to you. I am not actively selling this yet as it is not at product status, but we can probably figure something out.

Kind regards

Jang F.M. Graat

Smart Information Design

Amsterdam, Netherlands

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...
Mar 09, 2018 0
Community Beginner ,
Mar 11, 2018

Copy link to clipboard

Copied

Hi all,

Thanks for your help and suggestions.

I got what I needed using MIF2GO plugin. For those who look at this ticket later, this is the option:

If your FrameMaker document includes text frames inside anchored frames (for example, for sidebars or notes), you might want the text in those frames to appear in line with the main flow in HTML.

To include text-frame content in line:

[HTMLParaStyles]

; TextFrameIsText is applied to an anchor para format to cause

; anchored frames containing a text frame to be rendered as in-line

; text.

AnchorParaFmt = TextFrameIsText

Regards,

Karthick

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...
Mar 11, 2018 0