[xmlroff] How important is small caps?

Keith Fahlgren keith at oreilly.com
Mon Feb 11 14:54:25 UTC 2008


On 2/11/08 3:14 AM, Tony Graham wrote:
>> (If someone happens to like stories by Terry Pratchett: The
>> character Death speaks in small caps, so it's important!)
> 
> Once an enthusiast marks up a Terry Pratchett book using DocBook, then
> handling Death would fit in with the goals for xmlroff.

True, but there is really need/use out there, even in DocBook.

some_orm_docbook_xsl_customization.xsl:
  8   <!-- basic, character-level taggin -->
  9   <xsl:template match="emphasis|phrase">
...
 45       <xsl:when test="@role[contains(., 'smallcaps')]">
 46         <fo:inline font-variant="small-caps">
 47           <xsl:call-template name="inline.charseq"/>
 48         </fo:inline>
 49       </xsl:when>


That said, I don't think this is the most pressing issue for xmlroff.


HTH,
Keith


More information about the xmlroff-list mailing list