Skip to main content
November 23, 2012
Question

FrameMaker 10 font size autonumbered xml lists on import to FM

  • November 23, 2012
  • 1 reply
  • 1644 views

I have a bizzare problem using Structured FrameMaker 10.

When importing xml documents, I have a set of Procedures which are broken down into numbered Steps, each with their own para.  So the tree would look like this:

section

     para

          Procedure

               Step

                    para

The numbering is described correctly in the EDD, with Step having a default font size of 11pt; this numbering works.

Given that I have several sections with several para/Procedure/Step/para contents, the first, say, two or three groups display the Step number in the required font size (11pt).  But thereafter the remainder have resized to 14pt.

The supporting para text in all cases is 11pt, which is what it should be.

The only thing I have at 14pt in my EDD is a section 2 title, but in most cases there is an intervening para which displays correctly at 11pt, so it does not look like an inheritance problem.

In Structured FrameMaker working on its own (with no xml import) this isn't a problem.

Has anyone seen anything like when trying to import xml, and more to the point, put a stop to this weird behaviour?

This topic has been closed for replies.

1 reply

Inspiring
November 26, 2012

Chris,

First, I am not sure you mean what your structure implies. To me, it looks as if the Procedure element is inside a para element, which is inside a section element. I am guessing that you really mean it to be:

section

     para

     Procedure

          Step

               para

Second, given the above, I am guessing the title element for the section fits in the structure as:

section

     title

     para

     Procedure

          Step

               para

If the above is indeed what you want to do, then I would have the EDD set the general font size (11 pt) in the section element; all elements contained within section and their children will have a font size equal to 11 pt. And then you need to set the font size ONLY in elements that you do not want to be 11 pt. In your case, the title element should set its font size to 14 pt; none of the elements following the title element will be at 14 pt, because they are not contained with the title element.

Formatting is governed by containment/inheritance, not order within the document.

Van

November 28, 2012

Van,

I saw your reply a couple of days ago but there was no "Reply" button available, hence the delay (I replied to the e-mail but as it has a no-reply indicator in the address, so I'm guessing that went straight down the toilet).

In sum, here's what I said.

I left out the "title" element (fat fingers), but the structure was as I described it.   The XML input requires that "Procedure" be legal for both a "section" or a "para"; for the most part it follows a para, which introduces the "Procedure" and its contents.

I like your suggestion about a setting of 11pt at "section" level, but I already have it at "chapter" and "para" so I'm guessing it should be covered.

I found a really silly solution (one off, I hasten to add) and that was to select the whole "chapter", set the font size for everything to 11pt and then re-import the EDD.

I've subsequently found that by setting "Step" at 11pt solved the problem - although this is really not the way FrameMaker describes inheritence, and considering that it worked properly for half of my document and then fell over for the other half, it's still a bit odd.   My fix, if somewhat overdoing things, does work.

Thanks again for your help; back to cross-references - what a joy!

Regards

Chris

Inspiring
November 28, 2012

Chris,

I like your suggestion about a setting of 11pt at "section" level, but I already have it at "chapter" and "para" so I'm guessing it should be covered.

The point is to set the font and its size in the root element of the document, whatever it might be. With NO other changes, all the children of the root element inherit the font size. Then change only those elements, such as the title element, that you want to be different. The only time you should need to set OTHER elements to 11pt is in the children of those elements that have font changes, likely a very rare case.

I like the EDD to control all the formatting. So, I avoid overrides completely. To make sure that I do not accidentally make an override, I periodically reimport the EDD with remove overrides checked (or whatever the option is in the dialog box). This makes sure the EDD formats are applied completely.

In your original post, you said that some steps are at 11 pt and some at 14 pt. I am suggesting that maybe an override was applied at some point. Reimporting the EDD without removing overrides makes it look as if something is wrong with the EDD. To make sure the EDD is working as expected, import the EDD with overrides removed. If the problem still exists, then you need to look very carefully at your EDD to make sure it is working as you want.

Another place to look is the formatting rules in the EDD. If some elements have a lot of them, a rule at the bottom of the list may be changing the effect of a rule at the top of the list. The EDD applies the rules in order. If rule 1 sets to the font to 11pt and rule 3 sets the font at 14pt, then the font will be 14pt. Check your rules carefully. Some may not be working as you think they should, or more likely being applied in situations that you did not expect.

Van