Georg Datterl wrote:
Hi Brad,
I'm not sure I understand " causes nested sections to get "indented" one
column-width per level" but it sounds like a margin property is inherited to lower levels.
Find that property and reset it to 0 on lower levels. Maybe that already solves your problem.
Hi Brad, Georg,
sounds like the old indent inheritance problem as described here:
http://wiki.apache.org/xmlgraphics-fop/IndentInheritance
Thanks,
Chris
Regards,
Georg Datterl
------ Kontakt ------
Georg Datterl
Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg
HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert
Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20
www.geneon.de
Weitere Mitglieder der Willmy MediaGroup:
IRS Integrated Realization Services GmbH: www.irs-nbg.de
Willmy PrintMedia GmbH: www.willmy.de
Willmy Consult & Content GmbH: www.willmycc.de
-----Ursprüngliche Nachricht-----
Von: Brad Smith [mailto:[email protected]]
Gesendet: Mittwoch, 7. April 2010 21:33
An: [email protected]
Betreff: Alternatives to "float" graphics?
I would like to alter my docbook stylesheets so that sections with a
given role are designated by a margin icon. This seems like a place
where figure floats
(http://www.sagehill.net/docbookxsl/FigureFloats.html) would be
appropriate, but apparently fop does not support these. So, I am
looking at other ways of achieving a similar effect. The closest I've
come is changing the section template to create a two-column table,
with the icon on in col one and the content in col2, but this causes
nested sections to get "indented" one column-width per level, which I
don't want, because it creates nested tables. What I want is a single
table wherein each section and sub-section is represented by a row
with two columns: an icon (if applicable) in the left col, and the
content in the right. But so far I'm having trouble figuring out how
to do that in xslt. Before I hurt my brain too badly trying to figure
out a way to implement this, I wanted to check here and see if anyone
had other suggestions for how to get margin icons based on arbitrary
section roles.
Thanks,
--Brad
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]