W3C home > Mailing lists > Public > public-multilingualweb-lt@w3.org > June 2012

[ACTION-121] Jirka to summarize usage of Ruby in DocBook

From: Jirka Kosek <jirka@kosek.cz>
Date: Fri, 22 Jun 2012 13:08:16 +0200
Message-ID: <4FE45220.2070900@kosek.cz>
To: MultilingualWeb-LT Working Group <public-multilingualweb-lt@w3.org>
Hi,

the standard part of DocBook distribution is ITS augmented schema which
contains additional elements for Ruby in ITS namespace. Schema is
available at http://www.docbook.org/xml/5.0/rng/dbits.rnc

So today, you can use Ruby inside DocBook in the following way:

<book
  xmlns="http://docbook.org/ns/docbook";
  xmlns:its="http://www.w3.org/2005/11/its";
  version="5.0">
 <title>...</title>
 <chapter>
  <title>...</title>
  <para>この本は <its:ruby>
    <its:rb>慶応義塾大学</its:rb>
    <its:rp>(</its:rp>
    <its:rt>けいおうぎじゅくだいがく</its:rt>
    <its:rp>)</its:rp>
   </its:ruby>の歴史を説明するものです。</para>
 </chapter>
</book>

However usage is probably very small because standard stylesheets are
not supporting Ruby yet and there were only spare request for this.

Based on this I assume that DocBook can live with simplified Ruby model
in ITS 2.0 based on one from HTML5.

				Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------


Received on Friday, 22 June 2012 11:08:50 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 9 June 2013 00:24:56 UTC