OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: RE: DOCBOOK-APPS: internal margin in <screen> and other blocks


Use the padding properties:

padding-top="2pt"
padding-left="2pt"
padding-right="2pt"
padding-bottom="2pt"

If you're concerned about other writing modes (e.g. Hebrew writing from
right-to-left instead of left-to-right), there are properties in the XSL-FO
specification that are supposed to work for this.  They are padding-before,
padding-after, padding-start, padding-end (corresponding to top, bottom,
left, right, respectively, for English).  IIRC, FOP doesn't correctly
support these yet.  (Of course, I haven't tried the latest version of FOP.
I hear they put out a 20.5 Release Candidate.)

Jeff Beal

----Original Message-----
From: ABX [mailto:abx@abx.art.pl]
Sent: Monday, December 16, 2002 3:13 PM
To: docbook-apps@lists.oasis-open.org
Subject: DOCBOOK-APPS: internal margin in <screen> and other blocks


I followed hints from
http://www.dpawson.co.uk/docbook/styling/fo.html#d2024e464 and created box
around monospaced blocks. But how to increase distance between frame and
content of it ?

Also I often have this blocks as parts of examples. How can I create frame
around examples (and only examples) without using table? (or rather table in
docbook source but it can be table in resulted fo).

I use xsltproc -> 1.58 -> FOP.

ABX


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC