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] | [List Home]

Subject: Re: [docbook-apps] not so super superscript

I think you need to set the fop.extensions stylesheet parameter to 1.  FOP
does not support the baseline.shift property, so the stylesheets provide a
workaround when that parameter is set.  That's why your superscript is not
elevated. You'll have to figure out how to set a parameter for a
transformation driven by Oxygen.

If you think it is too big (it is 75% of the body font size), then you can
add a small customization of the superscript.properties attribute-set:

<xsl:attribute-set name="superscript.properties">
  <xsl:attribute name="font-size">60%</xsl:attribute>

It might be easier to put both of these into a customization layer and let
Oxygen apply that to your file.  If you need to learn about customization
layers, see this reference:


Bob Stayton
Sagehill Enterprises
DocBook Consulting

----- Original Message ----- 
From: "Cassafrass" <casferguson@gmail.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Wednesday, November 17, 2004 12:27 PM
Subject: [docbook-apps] not so super superscript

> Actually, the subscript isn't too great either. I'm finding that the
> superscript is nearly the same size as a regular character and that it
> not raised above regular characters. It looks particularly bad when I
> use superscript for references. Similarly, the subscript is not really
> sub at all.
> For example, these letters all turn out the same size:
> <emphasis>w<subscript>ph</subscript></emphasis>
> A second problem is that in order to keep the super/subscript next to
> a letter, it has to be included within the <emphasis>, otherwise a
> space is inserted between the two. For example:
> <emphasis>R</emphasis><subscript>o</subscript>
> puts a space between R and o. For time being, I've moved the emphasis,
> but now my subscript is forced to emphasize, too.
> I'm using Oxygen (OSX) saxon/FOP to generate a PS file with
> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
> and this stylesheet
> /docbook/xsl/fo/docbook.xsl
> Thanks for any advice you might have on making my superscript super.
> Casey

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