Article View: adobe.framemaker.sgml
Article #1487Re: tables and graphics
From: Lynne_A._Price
Date: Fri, 21 Jul 2006 13:47
Date: Fri, 21 Jul 2006 13:47
13 lines
2172 bytes
2172 bytes
Trevor,
Sounds like the problem is that the anchors for your graphics and tables are all going into the same FrameMaker paragraph. When there are multiple anchors in one paragraph, FM does display the graphics before the tables.
You can think of the anchor as a non-printing "character" that, like all other FM content, must go into a paragraph. In a structured document in which a graphic or table element follows a container that can contain text, FM places the anchor for the graphic or table at the end of the paragraph for the container.
A solution is to introduce a new element, which might be tagged anchor, to contain the graphic or table. Thus, your XML will become
<para> text goes here </para>
<anchor>...
</anchor>
<anchor><screenshot.../></anchor>
and so on.
There are various techniques you can use to minimize or eliminate any vertical space occupied by the anchor paragraphs: setting the font size to FM's minimum 2 pts, the line spacing to 0, or the space above to a negative number. Since the space between two paragraphs is the maximum of the space below the first and that above the second, the negative space above is only effective if you also set the space below a para element that precedes an anchor to the same value.
If you don't want the anchor elements in your archived XML documents, you can create them with XSLT before opening your documents in FM. If you are doing any editing within FM and saving the result as XML, you can use a r/w rule to unwrap the FM anchor elements.
Technical Details
Message-ID:
<3bc0fcfb.1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news1.google.com!news.germany.com!news.musoftware.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossingReferences:
<3bc0fcfb.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: fcc08,2a4092904f4b4e38 X-Google-Attributes: gidfcc08,public X-Google-Language: ENGLISH,ASCII-7-bit From: Lynne_A._Price@adobeforums.com Newsgroups: adobe.framemaker.sgml Subject: Re: tables and graphics Message-ID: <3bc0fcfb.1@webcrossing.la2eafNXanI> Date: Fri, 21 Jul 2006 06:47:16 -0700 References: <3bc0fcfb.-1@webcrossing.la2eafNXanI> Lines: 29 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news1.google.com!news.germany.com!news.musoftware.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing