FOP does not seem to be properly processing the "margin-left"
attribute.  an example:

  writing in docbook, i frequently have an <orderedlist> or
<admonition> which adds an automatic indent, such as

   Tip   This would be the text
         of the tip ...

or

   1.    This might be the first question
         of the list of exercises...

now, if i *don't* add a margin-left attribute to things like
code sgements, and i put a code segment (like a <screen>) into
that text, it will show up as 

   Tip   Here's a tip that show's some code:

         print hello, world ;


IOW, the verbatim element in this case is properly indented to
match the contents of that block.

  however, if i add an attribute of "margin-left" of, say, 0.25in,
to indent all my code segments, what i'll get is

   Tip   Here's a tip ...

      print hello, world ;

as you can see, the indentation is applied not relative to the 
containing block, but to the left side of the page area (am i 
mangling the terminology?)

  a colleague tells me he tried the same thing with XEP and it
worked properly.  he got

   Tip   Here's a tip ...
  
            print hello, world ;
         ^^^
         (0.25in indent above)

so XEP gets it right, but FOP doesn't take into account the
immediately containing block.

  thoughts?

rday


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

Reply via email to