> How would I markup my FOSI (is it a FOSI issue) to ignore the > EPS while editing (screen) and ignore the GIF while printing? >
Ed Benton beat me on one option. There are two other options to consider.
One option is to use profiling. Create a profile for print/PDF that uses the EPS and create others for HTML based outputs. You will still see both in the Editor view but you will get exactly the right one on final output.
The second option is to use the graphicpathhook. Have the users insert just the one <mediaobject> for the EPS graphic and code some ACL for this hook which figures out if it is being called for the Editor and if so it can return the location of the GIF instead. Then the users see the GIF in the Editor but the EPS in final. You may also need the htmlimginserthook if you want HTML outputs supported.
John Dreystadt Director of Product Management Arbortext
In your FOSI, you would use an <att><specval> to get the desired results see help 544 for the options available. The <att> follows the <charlist> in the <e-i-c> for the <imagedata>. It would look something like this.
<e-i-c gi="imagedata" occurr="all"> <charlist>- - add your common formatting rules here- -</charlist> <att> <specval attname="format" attloc="html-only" attval="gif"> <charsubset> - - enter your output specific values here- -</charsubset> </att>
Notice that you'll need to use the 'format' attribute on <imagedata> for this to work. Do an <att> (you can have more than one per <e-i-c> for each usage needed (including one for your screen display as if memory serves me correctly, if you specify an output location, then the screen editor doesn't have a graphic). In this case, you and use two <specval>s in the same <att>. The <att> supports two options one is 'and' , the other is 'or' (so you can better tune your selection, the default is "and").
Lynn Hales scribbled on 3/15/05 4:10 PM: > Peter, > > I am not sure that I understand the entire logic myself. But here goes. > > The first <specval> looks for the attribute named 'format' with a value of > "GIF". If this is met AND you are in the edit mode, then the graphic will > display. The <specval>s are not stopping the display, but allowing the > display at that point. Maybe it's like the original HP calculators with its > RPN. > > Hope this makes more sense of what is happening. > > Lynn