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: trademark customisation

I have customised the registration mark handling like this:
<xsl:template name="dingbat">
  <xsl:param name="dingbat">bullet</xsl:param>
  <xsl:variable name="symbol">
[ snip ]
      <xsl:when test="$dingbat='registered'">
        <fo:inline baseline-shift="super" font-size="75%" inline-progression-dimension="100%">&#x00AE;</fo:inline>
[ snip ]
All works well, but I want to extend this so that when the font size for registration make is (say) less than 8pt then just output the registration character without the superscript and font size reduction, as at some point it becomes difficult to read. [ I have the (r) on both the cover page and in the footer ].
The question is: how to test the active font size, so I can switch behaviour accordingly?

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