Skip to main content
Participating Frequently
May 23, 2013
Question

EDD formatting won't appear in chapter template output?

  • May 23, 2013
  • 2 replies
  • 922 views

I've been working with FM for a little while now and have gradually picked up how to manipulate EDDs and such to do what I want. I've also learned a bit about output templates and how to work with them. But here's the thing that's driving me crazy:

I make changes to a template; I make sure to import the EDD into it; I can test that EDD formatting within the template and it works. I then attempt to create output from a DITA map, and the EDD formatting does not appear.

I have seen similar topics in this forum, but in those cases it seems to be a case of the OP forgetting to import the EDD into their templates. I know I have done this, and repeatedly at that. I also know that FM is looking at the template I created, because I can see other changes I've been making to the paragraph formats n the template.

I've imported the same EDD into every output template I can find (I have backups of the originals), and the formatting still does not seem to take.

Oh, and the EDDs used to import with errors, so I fixed those. They now import cleanly.

I also want to reiterate this: My EDD formatting works in the template itself.

In case it's relevant, the formatting I'm particularly interested in at this point adds a small graphic frame from the template reference page before each note tag; the graphic varies depending on the note tag's attribute. I'd like to figure out how to get that graphic into the side head, but that's another topic. First things first.

What am I doing wrong?

This topic has been closed for replies.

2 replies

Participating Frequently
May 12, 2014

Hello,

Did you manage to display a small graphic with each note and modify it based on the note's attribute? That's one of the requirement I have, I haven't started to test it and it doesn't seem that easy... but if you succeeded, I'll give it a try .

Thanks,

Annette

Known Participant
May 12, 2014

Hi Annette,

To get our note and caution graphics (and their corresponding frame above and frame below to add a thin line above and a thin line below), in the EDD we simply specify the paragraph tag to use. Then in the templates, we define the frame above (includes the graphic and the line above) and the frame below (includes the line below).

For the most part, our EDDs define which FrameMaker paragraph to use in the various instances. Then our templates define those paragraph tags.

Marsha

Participating Frequently
May 12, 2014

Hi Marsha,

I was a bit afraid by Gorly's comment. I don't have horizontal lines but the graphic in the margin on the left (ideally vertically centered) and a vertical line between the graphic and content. I may omit the vertical lines but the main requirement is to have a different graphic for caution/warning/danger notes. Now I know that it's doable so I'll follow your steps.

Many thanks!

Annette

Inspiring
May 24, 2013

So, first things first: Are you working with raw XML files or with SFM files? DITA 1.1 or 1.2? FM 11? Are you using object styles?

In case you are working with FM11 and DITA 1.2 on the base of XML files: expect more troubles with special formatting, as the DITAfm.dll has some nasty format overrides included and uses them whenever you open a DITA XML. It works fine as long as you don't do anything special with the formatting.