This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re[2]: [docbook-apps] Some problems with rendering db -> PDF
- From: Alexander Peshkov <peshkov at renderx dot com>
- To: Marc Baaden <docbook-apps at lists dot oasis-open dot org>
- Date: Wed, 10 Sep 2003 17:24:24 +0400
- Subject: Re[2]: [docbook-apps] Some problems with rendering db -> PDF
- Organization: RenderX
- References: <200309101312.PAA24328@apex.ibpc.fr>
- Reply-to: Alex Peshkov <peshkov at renderx dot com>
Hello Marc,
You should set line-height-shift-adjustment property to "disregard-shifts".
Best regards,
Alexander Peshkov mailto:peshkov@renderx.com
RenderX
MB> Hi,
MB> thanks for the example and comments concerning super/subscript.
MB> My remaining "problem" is that when I do this,
MB> the space between the line containing the
MB> superscript and the one above is extended by
MB> the baseline shift.
MB> Ideally I would like to shift the characters that are super-
MB> scripted, but keep the linespacing constant.
MB> I have played with baseline-shift and padding, but couldn't
MB> achieve this.
MB> Maybe there is an option for the fo-element above (block or so)
MB> to keep it at fixed line-spacing ?
MB> Thanks for any hints,
MB> marc
MB> bobs@sco.com said:
>>> The template for superscript does not reduce the font size. You will
>>> need to add a customized template that could respond to a role
>>> attribute on some superscripts (or change all superscripts if that is
>>> safe for your documents). Something like this:
>>> <xsl:template match="superscript[@role='sci']">
>>> <fo:inline baseline-shift="super" font-size="75%">
>>> <xsl:apply-templates/>
>>> </fo:inline> </xsl:template>
MB> Marc Baaden
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org.