Something like \hbox?

2006-05-31 Thread Andreas Eckstein

Hi all!
Consider a block-container, parent of several other block-container 
elements. Now what I want is a way to fill that parent container in 
horizontal order with child block-containers (in TeX I would use '\hbox' 
for this...). Is something like this possible in XSL-FO, and if yes is 
it implemented in FOP?


Greetings,

Andreas

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Something like \hbox?

2006-05-31 Thread Andreas Eckstein

Thanks for your replies, guys!
To summarize, my options for an FOP \hbox are:
-wait until floats are implemented
-use table design
-use the 'reference-orientation' attribute.
-or alternatively, implement a horizontal box stacking algorithm in XSLT 
utilizing XSL-FO absolute positioning.
I think I will go for the reference-orientation option, it sounds like 
the one most likely to work...


Thanks!

Andreas

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Something like \hbox?

2006-05-31 Thread Simon Pepping
On Wed, May 31, 2006 at 11:35:57AM +0200, Vincent Hennebert wrote:
 Hi Andreas,
 
 Andreas Eckstein a écrit :
 Hi all!
 Consider a block-container, parent of several other block-container 
 elements. Now what I want is a way to fill that parent container in 
 horizontal order with child block-containers (in TeX I would use '\hbox' 
 for this...). Is something like this possible in XSL-FO, and if yes is 
 it implemented in FOP?
 
 So, if I understand you correctly, you want block-level elements stacked
 in the inline direction?

I think you can use fo:block with children that are inline elements,
e.g. fo:inline or fo:inline-container. The stacking direction is not
determined by the containing element, but by the type of the element
itself, whether it returns an inline or a block area.

Regards, Simon

-- 
Simon Pepping
home page: http://www.leverkruid.eu

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]