IBM Developer is your one-stop location for getting hands-on training and learning in-demand skills on relevant technologies such as generative AI, data science, AI, and open source.
Date: 2010-04-01 Status: The first working draft Editor: MURATA Makoto (FAMILY Given) Authors: Hiroshi Takase and Masayuki Inoguchi 1. Introduction This document summarizes minimal requirements on future versions of EPUB for Japanese text layout. Such requirements include vertical writing and ruby among others. The focus is on electronic books. Publications such as magazines and pamphlets are kept
要約すると、本文のXHTMLファイルのHTML宣言に言語を指定する必要がある、ということです。 <html xmlns="http://www.w3.org/1999/xhtml"> | v <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> この修正で日本語の表示が確かにうまくいきました。 Epubとは、電子ブック(eBook)の公開規格のひとつで、ファイルの拡張子が.epubのため、この名前があります。 International Digital Publishing Forum(IDPF)という団体が規格を決めています。 現在のバージョンは、Open eBook Publication Structure (OeBPS) 1.2です。 簡単にまとめると、 一定の約束のもとに構成ファ
See related links to what you are looking for.
See related links to what you are looking for.
scalaでファイルやURLからテキストを読み込みたいときには、scala.io.Sourceオブジェクトとscala.io.Sourceクラスを利用するのが便利です。 scala.io.Sourceオブジェクトを利用するとファイルからの文字列の読込や、URLからフェッチする処理はこんなふうに簡単に書けます。 import scala.io.Source import scala.xml.XML import scala.xml.parsing.{ConstructingParser,XhtmlParser} // textファイルから読み込んで出力 Source.fromFile("test.txt","UTF-8").foreach(print) // URLからXMLを取得(twitterのxml) val src = scala.io.Source.fromURL("http://
Scala のパターンマッチング機能は非常に強力で、XML もパターンマッチング対象にする事ができる。という事で簡単に試してみた。 今回、試した環境は以下の通り。 Scala 2.7.3 XML パターン指定 XML のパターン指定は以下のように XML の要素と "{パターン}" という記述を使って行える。 <要素名>{パターン} {パターン} の定義方法は以下のようなものがある。 {変数名} で 1つのノードを持つ要素にマッチ {変数名 @ _*} で複数のノードを持つ要素にマッチし Array や ArrayBuffer でマッチ箇所を取得 なお、今のところ属性定義は使えないみたい。(<要素名 属性名="xxx"> のようなパターン指定はできない模様) xml_match.scala ファイル import scala.xml.Node def check(node: Node):
This page is no longer maintained — Please continue to the home page at www.scala-lang.org By: Toby Reyelts, Alex Rudnick, Lex Spoon (Google)Google App Engine As has been reported already, Scala works on Google App Engine. Gabriele Renzi has even used Scala with the Google Eclipse Plugin, meaning he gets to use tools such as the "deploy to app engine" button. David Pollak has verified that most of
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く