I created a framemaker document with the following content:
Body text before frame
First line of text frame in anchored frame
Last line of text frame in anchored 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:
<A NAME="pgfId-929642"></A>Body text before frame</P>
<A NAME="pgfId-929663"></A> </P>
<IMG SRC="Test_Export-1.gif" USEMAP="#Test_Export-1" ALT="">
<A NAME="pgfId-929653"></A>After Frame</P>
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!
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?
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.
@Bob Niland - that would be Matt Sullivan
Odd, here's what I see on my side. Yours is different?
Nope here's what we see:
Which is different still from what Bob mentioned. I'm betting on an Adobe server issue.
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.
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.
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.
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.
Jang F.M. Graat
Smart Information Design
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:
; TextFrameIsText is applied to an anchor para format to cause
; anchored frames containing a text frame to be rendered as in-line
AnchorParaFmt = TextFrameIsText