RE: Figure titles in structured FrameMaker
Hi Bernard Thanks for ultra-rapid and comprehensive response, and Yves Barbion, Paul Wilbraham and John Posada too. Structure doesn't seem quite so scary with you guys around ;-) I think the big issue is to know what the structure of this is. For example, do you have something like: Fig FigTitleWidget Illustration/FigTitle FigImage attributes=many / /Fig In which case you can format the FigTitle as you see fit. However, the FigImage may appear weird (at first) if you then Esc m p the thing (hope that makes sense). I take the EDD and change FigTitle to have a suffix of \r to force a line break after the caption... If you simply have this: Fig FigImage attributes=many / /Fig The it gets a bit more tricky. Can't come up with a functional solution right away, but I'm sure it's out there. Can you email more info with the 'rules' you associate with the figure that you are working with? Well, the slate's bare at present, as I am writing the EDD from scratch. I am also considering structured FrameMaker only as a writing tool, but if content is to be imported, it will currently be based on a hacked version of DocBook. This seems to create titled figures as: Figure titleframeanchor¶ [anchored frame] I don't at present know how that would map to XML - and I've got enough to worry about just creating the EDD ;-) Having the text frame inside the anchored frame is a real headache (my opinion) ...ok, that's good enough for me ;-) Others agree with you (no surprises there). and I strongly suggest busting them out. [Done] If you have a lot of them, you could do so by using a FrameScript (right Rick?). FrameScript isn't an option here: client doesn't want the complexity. You can use the keep with next/prev features to ensure the caption and image stay together. Sorry: which 'next/prev' features are you referring to? The para-tag level ones, whether implemented in a tag or an element definition, won't keep a para and an anchored frame together, surely, if the frame is floated? Paul Wilbraham also suggested this ('You can then apply keep with next/previous to the Figure and Title elements in the EDD to keep these elements together.'), but I'm baffled. Maybe what you and others are suggesting is pairing the figure's title, with 'keep with next' set on, with a dummy para to contain the anchored frame's anchor? Ok, yes, I get that: I'm doing that elsewhere in this template. But if the anchored frame's *anchor* is actually in the figure title (in this design the figure's title is always above the figure), then the title and the anchored frame will stay together unless the anchored frame is floated: there's no need for a 'keep with next', surely? Finally, a single cell table with a title above/below would also do the trick and give you cleaner XML. Yes, Yves Barbion suggested this approach too. I'm using 'non-tables' to model other complex elements in the client's design, but FrameMaker's built-in table title support won't work here because of other design aspects, such as some colored pages. Feel free to email me a sample file (off list) and I can review it quickly. Thanks, and also to Yves B, Paul Wilbraham and John P. The consensus is that using text boxes in anchored frames is bad juju in structure, which was what I suspected. Onward with the learning process... -- Steve ___ You are currently subscribed to Framers as [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info.
Re: Figure titles in structured FrameMaker
Steve Whatever is contained within the anchored frame is isolated from the main structured flow. I suggest you take the figure title element out of the anchored frame and format it as a paragraph. For example, if you used the following structure: Figure Graphic Title The Figure element is a parent to Graphic and Title. The Figure element is a container formatted as 2 pt text, simply to anchor the frame. The Graphic is the frame graphic anchored in the Figure parent. The Title is the figure title, formatted as required. You can then apply keep with next/previous to the Figure and Title elements in the EDD to keep these elements together. HTH --Paul Wilbraham You can also create an empty paragraph in which to anchor the frame itself. - Original Message - From: Steve Rickaby [EMAIL PROTECTED] To: framers@FrameUsers.com Sent: Thursday, January 05, 2006 2:39 PM Subject: Figure titles in structured FrameMaker I am currently placing figure titles in a text frame within the figure's anchored frame to lock the two in the required relative positions. I cannot see that it is possible, however, to specify this in an EDD. Is there any way of doing this, perhaps by somehow automatically inserting a named reference page object, or would it be better to pull the figure title out of the anchored frame, make it a separate element, and deal with the potential for separation of the figure and its title in some other way? I see that DocBook documents, for example, appear to place graphics frame anchors within the figure title element. Fine - unless the anchored frame is floated. -- Steve ___ You are currently subscribed to Framers as [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/paulw%40aztex.co.uk Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info. ___ You are currently subscribed to Framers as [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info.
RE: Figure titles in structured FrameMaker
Steve wrote: Thanks for ultra-rapid and comprehensive response, and Yves Barbion, Paul Wilbraham and John Posada too. Structure doesn't seem quite so scary with you guys around ;-) Bernard: no problem. Glad to be of help. Steve: Well, the slate's bare at present, as I am writing the EDD from scratch. I am also considering structured FrameMaker only as a writing tool, but if content is to be imported, it will currently be based on a hacked version of DocBook. This seems to create titled figures as: Figure titleframeanchor¶ [anchored frame] I don't at present know how that would map to XML - and I've got enough to worry about just creating the EDD ;-) B: My xml looks a bit like this: fig frame=alltitleThe title here/title image href=images/deployment_initial.gif height=65.360pt width=186.320pt align=aleft otherprops=150 placement=inline//fig However, inside FM it looks like this: The title here\r Figure\p The EDD is (in part): Element (Container): Title General rule: TEXT Suffix rules If context is: Figure Suffix: \r Text format rules If context is: table Use paragraph format: Table_Title Else, if context is: Figure Use paragraph format: Figure_Title Element (Container): Figure General rule: Title, Graphic Text format rules In all context Use paragraph format: Table_Anchor Element (Graphic): Graphic Initial graphic element format In all contexts. Insert imported graphic file. Steve: Which 'next/prev' features are you referring to? The para-tag level ones, whether implemented in a tag or an element definition, won't keep a para and an anchored frame together, surely, if the frame is floated? Paul Wilbraham also suggested this ('You can then apply keep with next/previous to the Figure and Title elements in the EDD to keep these elements together.'), but I'm baffled. Maybe what you and others are suggesting is pairing the figure's title, with 'keep with next' set on, with a dummy para to contain the anchored frame's anchor? Ok, yes, I get that: I'm doing that elsewhere in this template. But if the anchored frame's *anchor* is actually in the figure title (in this design the figure's title is always above the figure), then the title and the anchored frame will stay together unless the anchored frame is floated: there's no need for a 'keep with next', surely? B: Para tag level ones. I like to set my Figure_Title to keep with previous so that the graphic generally 'sticks' with what leads into it. I don't even need a dummy paragraph for the figure, it's anchored 'in' the same one as the Title, but with the suffix of \r it works. Steve: Finally, a single cell table with a title above/below would also do the trick and give you cleaner XML. Yes, Yves Barbion suggested this approach too. I'm using 'non-tables' to model other complex elements in the client's design, but FrameMaker's built-in table title support won't work here because of other design aspects, such as some colored pages. B: Okay. However, if you go with a table, consider a single cell table with a title. Develop the format and the Figure_Title will stick to that table style. You can also toggle the position of the title to above/below the table very quickly. ___ You are currently subscribed to Framers as [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info.
RE: Figure titles in structured FrameMaker
At 9:34 am -0800 5/1/06, John Posada wrote: What I interpreted differently in Steve's post was him putting the anchor at the end of a paragraph, then trying to apply the attribute to the whole paragraph to control the attribute of the anchored frame. My approach had the anchored from divorced from the paragraph above it. Whatever...if it works for him, it works, if not, not. I'm not going to rehash a subject I've already addressed, right or wrong. There are too many other issues in my queue. Steve...If I misdirected you, my appologies, though I don't know if I did or not. Hey guys, I didn't mean to start a battle ;-) I think... ahem... that both of you are correct, and the debate stems from misunderstanding. Performing what John suggests to select the anchored frame selects the paragraph containing the frame's anchor as well, and any paragraph tag you select is applied to that. I see know what you are suggesting (separate para tags for the figure title and the frame anchor). If the frame anchor paragraph is made tiny, it looks as if you've selected only the anchored frame. As so often with Frame, there are multiple ways of achieving the same thing. Testament to the power of the tool, I guess. -- Steve ___ You are currently subscribed to Framers as [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info.
RE: Figure titles in structured FrameMaker
to that. I see know what you are suggesting (separate para tags for the figure title and the frame anchor). If the frame anchor paragraph is made tiny, it looks as if you've selected only the anchored frame. Don't play around with the paragraph sizing. Select the image and press, in sequence (not together, and case is important) esc m p. This will shrinkwrap the anchor frame around the image in the anchored frame and also eliminate the apprearance of any space above the frame (except for what you define as the space above in the paragraph style). John Posada Senior Technical Writer Bigamy is having one wife too many. Monogamy is the same. --Oscar Wilde ___ You are currently subscribed to Framers as [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info.