RE: Giving some paragraphs a background colour with DITA
FYI - for those who haven't reviewed all new features in FrameMaker 12, a new Pgf box command is available on the Advanced Tab of the Paragraph Designer. Unlike single cell tables, the new paragraph background color creates a box of color than can break columns or pages. Naturally, these values can be replicated as format rules in the EDD. If you wish to see a brief video of this feature, you may view it here: http://adobe.ly/1g1ycpJ Maxwell Hoffmann | Product Evangelist | Adobe | p. 503.336.5952 | c. 503.805.3719 | mhoff...@adobe.commailto:mhoff...@adobe.com http://twitter.com/maxwellhoffmann - http://www.linkedin.com/in/maxwellhoffmann blogs.adobe.com/techcomm Upcoming webinars http://adobe.ly/Pbz6xIRecorded webinars: http://adobe.ly/Pbdp0J From: framers-boun...@lists.frameusers.com [mailto:framers-boun...@lists.frameusers.com] On Behalf Of Scott Prentice Sent: Wednesday, January 22, 2014 9:25 AM To: framers@lists.frameusers.com Subject: Re: Giving some paragraphs a background colour with DITA Hi Rebecca... For FM-DITA questions you'll probably get more replies by posting to the framemaker-dita Yahoo group. Applying coloring/formatting to paragraphs via @outputclass is fairly easy by adding context rules to the p (or whatever) element definition that check for a match of that outputclass value and assigning the necessary paragraph tag or style overrides. Doing the same with table cells is not so easy. While you can specify the overall table format based on the tgroup/@outputclass, there aren't any EDD context rules that you can use to assign properties to specific table cells or rows. Apparently FM11 added some new read/write rules that can assign these properties. I'm not familiar with setting these up, but you can read more about it in this post on the Adobe FrameMaker forum .. http://forums.adobe.com/message/6026704 BTW .. I'm in the process of developing a new feature in DITA-FMx that will allow you to specify outputclass values for rows and cells. This should be available in FMx 2.0 when that's released. Cheers, ...scott On 1/21/14 8:26 PM, rebecca officer wrote: Hi everyone We're going to be using FrameMaker (12) to output PDFs from DITA. We'd like certain paragraphs and/or table cells to have a background colour. Our specific usecase is that we produce multi-switch config examples. Sometimes, we find that each switch's content takes up more than a page, and that all the switches are nearly identical. It really helps if we can colour the content differently, so users (and us!) can see whether they're on switch 1, 2 or 3. We thought maybe outputclass would let us do this, but so far we haven't figured out how. We've found online references to doing this with the open toolkit, and for HTML with CSS, but nothing about Framemaker. Is there a way to use the outputclass attribute to style how some elements appear in FrameMaker? If not, is there another way to get the effect we're after? Thanks very much! Rebecca ___ You are currently subscribed to framers as arch...@mail-archive.com. Send list messages to framers@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info.
Re: Giving some paragraphs a background colour with DITA
Hi Rebecca... For FM-DITA questions you'll probably get more replies by posting to the framemaker-dita Yahoo group. Applying coloring/formatting to paragraphs via @outputclass is fairly easy by adding context rules to the p (or whatever) element definition that check for a match of that outputclass value and assigning the necessary paragraph tag or style overrides. Doing the same with table cells is not so easy. While you can specify the overall table format based on the tgroup/@outputclass, there aren't any EDD context rules that you can use to assign properties to specific table cells or rows. Apparently FM11 added some new read/write rules that can assign these properties. I'm not familiar with setting these up, but you can read more about it in this post on the Adobe FrameMaker forum .. http://forums.adobe.com/message/6026704 BTW .. I'm in the process of developing a new feature in DITA-FMx that will allow you to specify outputclass values for rows and cells. This should be available in FMx 2.0 when that's released. Cheers, ...scott On 1/21/14 8:26 PM, rebecca officer wrote: Hi everyone We're going to be using FrameMaker (12) to output PDFs from DITA. We'd like certain paragraphs and/or table cells to have a background colour. Our specific usecase is that we produce multi-switch config examples. Sometimes, we find that each switch's content takes up more than a page, and that all the switches are nearly identical. It really helps if we can colour the content differently, so users (and us!) can see whether they're on switch 1, 2 or 3. We thought maybe outputclass would let us do this, but so far we haven't figured out how. We've found online references to doing this with the open toolkit, and for HTML with CSS, but nothing about Framemaker. Is there a way to use the outputclass attribute to style how some elements appear in FrameMaker? If not, is there another way to get the effect we're after? Thanks very much! Rebecca NOTICE: This message contains privileged and confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that you must not disseminate, copy or take any action in reliance on it. If you have received this message in error please notify Allied Telesis Labs Ltd immediately. Any views expressed in this message are those of the individual sender, except where the sender has the authority to issue and specifically states them to be the views of Allied Telesis Labs. ___ You are currently subscribed to framers as s...@leximation.com. Send list messages to framers@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/sp10%40leximation.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info. ___ You are currently subscribed to framers as arch...@mail-archive.com. Send list messages to framers@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info.