Re: [docbook-apps] Admonition spacing

From
"Cob Rtayton"
Date
2008-09-03T16:15:18+00:00
ID
00f901c90de0$424ae610$6a00a8c0@pazu
Thread
Re: [docbook-apps] Admonition spacing
A procedure and its steps are processed as a 
fo:list-block and fo:list-items.  So any note in a step is wrapped in an 
fo:list-body element.  It appears that FOP and Antenna House do not 
respect the space-after of the last item inside the 
fo:list-body.   It works in XEP.  I think it should respect that 
space-after, since a list-item is a normal block area, not a reference area like 
a table cell.

 

Bob Stayton
Sagehill Enterprises


 

 

  
----- Original Message ----- 

  
From: 
  Alan 
  Oehler 

  
To:  
  ; Alan 
  Oehler 

  
Sent: Tuesday, August 26, 2008 9:58 
  AM

  
Subject: RE: [docbook-apps] Admonition 
  spacing

  

  

  
Ooops, small correction: not 
  the nongraphical admonitions title, the nongraphical admonition block 
  itself…

  
alan

  
 

  

  

  
From: Alan Oehler 
  
Sent: Tuesday, August 26, 2008 9:53 AM
To: 
Subject: 
  [docbook-apps] Admonition spacing

  
 

  
Hi again…

  
 

  
I have customized the nongraphical admonitions title with 
  space-before and space-after attributes:

  
 

  
<fo:block             
  

  
          
  space-before.minimum="2.2em"

  
          
  space-before.optimum="2.5em"

  
          
  space-before.maximum="2.7em"

  
          
  space-after.minimum="2.2em"

  
          
  space-after.optimum="2.5em"

  
          
  space-after.maximum="2.7em”

  
          
  …

  
 

  
 

  
 

  
This spacing appears to come out perfectly when the 
  admonition occurs between ordinary paragraphs within a section. However, when 
  they are within a step element within a procedure element, there is very 
  little space after, just the ordinary space that occurs between one step and 
  the next. 

  
 

  
How come this doesn’t work? Does the space between steps 
  override any space-after settings of the last object within the step 
  element?

  
 

  
Thanks…

  
Alan

  
 

  
Alan C. 
  Oehler

  
Sr. Technical 
  Writer

  
Citrix Systems, 
  Inc.

  
Virtualization & Management 
  Division