Skip to main content
Rsfl
Inspiring
April 7, 2014
Question

Display a line (via image frame) below suffix

  • April 7, 2014
  • 1 reply
  • 597 views

Hi all,

currently I am trying to format the DITA <lq> element (long quote) to display a line above and below its content. For the line below I have tried to use a suffix rule in the EDD. I can assign any text and character formatting below the long quote without problems, but Framemaker ignores any imaged frames that I define there.

The EDD does not allow the definition of a frame directly in the suffix rule, so I am using a format change list.

This is the suffix rule in the <lq> element. It refers to the format chanhe list "line_below" (the EDD language is German):

This is the corresponding format change list that defines a frame below.

If I define any other formatting in the format change list such as red text color there are no problems at all, only the image frames are ignored.

Does anybody have an idea how to solve this?

Robert

This topic has been closed for replies.

1 reply

Inspiring
April 7, 2014

Good morning,

    FrameMaker's Frame Above and Frame Below properties are paragraph properties, whereas a suffix is a text range. You can specify the Frame Below in Last Paragraph Rules for <lq> rather than in a Suffix rule.

     --Lynne

Rsfl
RsflAuthor
Inspiring
April 7, 2014

Hi Lynn,

the last element within the long quote is not neceessarily a paragraph, it may also be a list or table. Therefore using the Last Paragraph rule would only work in those cases when the last element really is a paragraph.

Do you see any other possibility to display the mentioned image frame? It seems to me that in practice a suffix actually is a paragraph because it is displayed as a block element.

Robert

Inspiring
April 7, 2014

Robert,

   Last Paragraph rules apply to the last FrameMaker paragraph in an element regardless of whether that paragraph as tagged Paragraph or some variation thereof. Thus, if the long quote ends with a list, the Last Paragraph rule will apply to the last paragraph in its last item.

   Unfortunately, if an element ends with a table, the last paragraph is the paragraph containing the table anchor rather than the table itself. Thus, if you have a long quote containing only a table, a Frame Below specified in a Last Paragraph rule appears above the table.

   A suffix is a text range. However, text ranges must appear inside paragraphs, so the suffix for an element like <lq> will appear in a paragraph by itself if the elements content contains only elements that themselves are paragraphs.

   Best I can think of in your case is to put an empty paragraph after a table that appears at the end of a long quote. You can minimize the resulting vertical space by setting the font size of this new paragraph to FM's minimum of 2pt, its line space, space above, and space below all to 0.