🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker.sgml
Article #597

Re: Defining Frame Below for Nested Elements

#597
From: Jon_White
Date: Thu, 16 Oct 2008 19:35
74 lines
2599 bytes
Hi Alex,

This is a case where you might consider the use of a prefix and suffix on your Steps element. If you define your <Steps> element to have a prefix and suffix consisting of just a space character, it will format with a paragraph at the start and the end of the element, and you can use a First Paragraph Rule and a Last Paragraph Rule to define a frame above and a frame below, which will appear before and after the element.

This will work in conjunction with your <Note> to display a Note Line below the <Note> and also the Step Rule at the end of the Step.

I think that the following element definitions will do what you want. The First Paragraph and Last Paragraph rules on <Steps> are there to minimise any extra space taken up.



 
EDD Version is 7.0

Automatically create formats on import.

Element (Container): Steps 
General rule:	Step+ 
Valid as the highest-level element.

Prefix rules 
In all contexts. 
Prefix:  

Suffix rules 
In all contexts. 
Suffix:  

Format rules for first paragraph in element 
In all contexts. 
Default font properties 
Size: 2 pt 
Basic properties 
Paragraph spacing 
Space above: 0 
Space below: 0 
Line spacing 
Height: 0 
Advanced properties 
Frame above element: Step Rule

Format rules for last paragraph in element 
In all contexts. 
Default font properties 
Size: 2 pt 
Basic properties 
Paragraph spacing 
Space above: 0 
Space below: 0 
Line spacing 
Height: 0 
Advanced properties 
Frame below element: Step Rule

Element (Container): Step 
General rule:	(Cmd | Info )+

Element (Container): Cmd 
General rule:	<TEXT>

Element (Container): Info 
General rule:	Note+ 
Element (Container): Note 
General rule:	<TEXT>

Format rules for first paragraph in element 
In all contexts. 
Numbering properties 
Autonumber format: Note: 

Text format rules 
In all contexts. 
Advanced properties 
Frame above: Note Rule 
Frame below: Note Rule 
Technical Details
Message-ID: <59b6bfe5.2@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.germany.com!news.motzarella.org!motzarella.org!news4us.nl!webcrossing
References: <59b6bfe5.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: fcc08,a495572a91724228
X-Google-Attributes: gidfcc08,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Jon_White@adobeforums.com
Newsgroups: adobe.framemaker.sgml
Subject: Re: Defining Frame Below for Nested Elements
Message-ID: <59b6bfe5.2@webcrossing.la2eafNXanI>
Date: Thu, 16 Oct 2008 12:35:17 -0700
References: <59b6bfe5.-1@webcrossing.la2eafNXanI>
Lines: 82
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.germany.com!news.motzarella.org!motzarella.org!news4us.nl!webcrossing