Re: Line breaks and figure titles in structure
At 12:15 pm -0500 5/1/06, Bernard Aschwanden wrote: The easiest solution is to set up the EDD to support everything... In the EDD define something like this: Figure Caption, Image Caption TEXT Image code for image Then attach paragraph formatting to the caption however you want, but add a prefix of \r to put a line break at the end of the paragraph. Now you get this: Figure 1: Some caption\r ANCHORED_FRAME\p The 'end' of the paragraph is now after the anchored frame. The entire formatting assigned to the paragraph for caption appears (with numbering etc.) before the text the author types. I've got this working in my DITA template and it's really nice. Even handles indents and more correctly. For example, if I need to indent because I have a 'task' within a 'task' I can do so. I can number then based on context and more. Bernard, as I read it, this is *exactly* what I want to do. Thanks for this information. -- 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.
Line breaks and figure titles in structure
The easiest solution is to set up the EDD to support everything... In the EDD define something like this: Figure Caption, Image Caption Image code for image Then attach paragraph formatting to the caption however you want, but add a prefix of \r to put a line break at the end of the paragraph. Now you get this: Figure 1: Some caption\r ANCHORED_FRAME\p The 'end' of the paragraph is now after the anchored frame. The entire formatting assigned to the paragraph for caption appears (with numbering etc.) before the text the author types. I've got this working in my DITA template and it's really nice. Even handles indents and more correctly. For example, if I need to indent because I have a 'task' within a 'task' I can do so. I can number then based on context and more. If anyone on the list is at the DITA conference I'll be showing this exact template there as well. If you want to see an example, I may be able to build a generic one over the weekend. Let me know... Bernard Bernard Aschwanden Publishing Technologies Expert Publishing Smarter bernard at publishingsmarter.com www.publishingsmarter.com -Original Message- From: framers-bounces+bernard=publishingsmarter.com at lists.frameusers.com [mailto:framers-bounces+bernard=publishingsmarter@lists.frameusers.com] On Behalf Of John Posada Sent: Thursday, January 05, 2006 11:55 AM To: Ridder, Fred; Steve Rickaby; framers at FrameUsers.com Subject: RE: Figure titles in structured FrameMaker Hi, Fred...never said it didn't. After all, it is a paragraph tag, so it must be a paragraph. However, in my case, my achored from is designated as "at insertion point" and I shrinkwrap all my graphics (esc m p). To me, it doesn't matter that it is a paragraph attribute as the graphic is the only thing in the paragraph. --- "Ridder, Fred" wrote: > Sorry, John. If it's a paragraph tag, it gets applied to the paragraph > that holds the frame anchor rather than the anchored frame itself. > > Consider the case where you have several frame anchors in the same > paragraph (perfectly valid, but not good practice). As you said, it isn't good practice. 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 bernard at publishingsmarter.com. To unsubscribe send a blank email to framers-unsubscribe at lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/bernard%40publishingsmarter.com Send administrative questions to lisa at frameusers.com. Visit http://www.frameusers.com/ for more resources and info.
Line breaks and figure titles in structure
Oops. Meant a suffix... See my other email for the details. Then attach paragraph formatting to the caption however you want, but add a Prefix of \r to put a line break at the end of the paragraph.
Line breaks and figure titles in structure
At 12:15 pm -0500 5/1/06, Bernard Aschwanden wrote: >The easiest solution is to set up the EDD to support everything... > >In the EDD define something like this: > >Figure > Caption, Image > >Caption > > >Image > code for image > > >Then attach paragraph formatting to the caption however you want, but add a >prefix of \r to put a line break at the end of the paragraph. > >Now you get this: > >Figure 1: Some caption\r >ANCHORED_FRAME\p > > >The 'end' of the paragraph is now after the anchored frame. The entire >formatting assigned to the paragraph for caption appears (with numbering etc.) >before the text the author types. > >I've got this working in my DITA template and it's really nice. Even handles >indents and more correctly. For example, if I need to indent because I have a >'task' within a 'task' I can do so. I can number then based on context and >more. Bernard, as I read it, this is *exactly* what I want to do. Thanks for this information. -- Steve
Line breaks and figure titles in structure
At 12:36 pm -0500 5/1/06, Bernard Aschwanden wrote: >Oops. Meant a suffix... See my other email for the details. > >Then attach paragraph formatting to the caption however you want, but add a > > >Prefix > > >of \r to put a line break at the end of the paragraph. Well, I was about to say... ;-) Yes, I really did notice this, this structure stuff is keeping me on my toes. As it's... er... all of nineteen years since I wrote any real computer code, it's reaching places in my brain that other tasks don't reach, to borrow a well-known commercial. And finding a great deal of cobwebs and general debris there. -- Steve