<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">

<channel>
<title>Object Design Blog</title>
<link>http://osima.jp/</link>
<language>ja</language>
<pubDate>Wed, 10 Mar 2010 04:24:26 +0900</pubDate>
<lastBuildDate>Wed, 10 Mar 2010 04:24:26 +0900</lastBuildDate>

<image>
<url></url>
<title>Object Design Blog</title>
<link>http://osima.jp/</link>
</image>
<description>Docbook XML Adobe FrameMaker,Groovy,Java</description>
<item>
<ttl>1440</ttl>
<title>ディレクトリが存在している場合だけ処理する方法, ifでフロー制御 ( GNU Make ) 改良</title>
<link>http://osima.jp/memo/make-if-dir-exists-2/index.html</link>
<description>

&gt; [ディレクトリが存在している場合だけ処理する方法](/memo/make-if-dir-exists/)
でも書いたのだが、もっとスマートな方法があったので追記。


Makefile で、
あるディレクトリが存在しているかどうかで処理を分岐させる方法。

→ if ...
</description>
<guid>http://osima.jp/memo/make-if-dir-exists-2/index.html</guid>
<pubDate>Wed, 10 Mar 2010 00:00:00 +0900</pubDate>
</item>
<item>
<ttl>1440</ttl>
<title>FrameMaker + RoboHelp , トピックの区切りに マーカを使う場合の注意点</title>
<link>http://osima.jp/dtp/robohelp-topicmarker/index.html</link>
<description>

[RoboHelp Howto, FrameMakerファイルをリンクしたときにトッピックの区切り指定方法](/dtp/robohelp-topic/index.html#method_marker)
のエントリーで書いたとおり、
FrameMakerで作成した文書をRo...
</description>
<guid>http://osima.jp/dtp/robohelp-topicmarker/index.html</guid>
<pubDate>Sat, 06 Mar 2010 00:00:00 +0900</pubDate>
</item>
<item>
<ttl>1440</ttl>
<title>JSON をデモで見せる場合に便利なView</title>
<link>http://osima.jp/groovy/jsonview/index.html</link>
<description>

JSONをデモで見せる場合に各ノード(配列やオブジェクト)を折りたたんで
見せられると便利です。
そういうJSONViewerのようなツールがないかと探していて行き着いたのが...

- [JSONView, Firefox AddOn](https://addons.m...
</description>
<guid>http://osima.jp/groovy/jsonview/index.html</guid>
<pubDate>Fri, 26 Feb 2010 00:00:00 +0900</pubDate>
</item>
<item>
<ttl>1440</ttl>
<title>MIFから段落スタイル名を抽出する (FrameMakerの話)</title>
<link>http://osima.jp/dtp/listup-pgftag/index.html</link>
<description>

RoboHelpでFrameMakerデータをリンクさせると、
RoboHelp側でFrameMakerに存在している段落タグの一覧が確認できる。
便利だなと思ったが、その一覧をテキストデータ化する方法は
RoboHelp上では提供されていないようなので、自分でMIFから...
</description>
<guid>http://osima.jp/dtp/listup-pgftag/index.html</guid>
<pubDate>Thu, 25 Feb 2010 00:00:00 +0900</pubDate>
</item>
<item>
<ttl>1440</ttl>
<title>アタリ画像の作成( groovy )</title>
<link>http://osima.jp/groovy/gen-atari/index.html</link>
<description>

アタリ画像を groovy で作成するコードメモ。
簡単なコードですが...


</description>
<guid>http://osima.jp/groovy/gen-atari/index.html</guid>
<pubDate>Wed, 24 Feb 2010 00:00:00 +0900</pubDate>
</item>
<item>
<ttl>1440</ttl>
<title>JSONに関する基本認識,リストの処理</title>
<link>http://osima.jp/groovy/json-br/index.html</link>
<description>

Groovyを使うようになってから、
XMLよりJSONで済ませてしまう機会が増えてきたのだが、いまいちよくわかっていない。
とりあえず現状で得たJSONに関する基本認識のメモ。（間違いもあるかもしれませんので注意）

ここではすべて [json-lib](http://...
</description>
<guid>http://osima.jp/groovy/json-br/index.html</guid>
<pubDate>Thu, 18 Feb 2010 00:00:00 +0900</pubDate>
</item>
<item>
<ttl>1440</ttl>
<title>EDDでテキスト範囲に指定したフォントが反映されない問題を MIF上で解決する</title>
<link>http://osima.jp/dtp/fix-mif-textrange/index.html</link>
<description>

構造化FrameMaker8の話。
EDD上でテキスト範囲指定している要素に対して、合成フォントやフォントファミリを指定しても
有効にならない。合成フォントでは、EDDの指定自体が反映されないようだ。
(再度構造化ツールでEDD書き出ししたときに指定が無効になっていないか...
</description>
<guid>http://osima.jp/dtp/fix-mif-textrange/index.html</guid>
<pubDate>Mon, 15 Feb 2010 00:00:00 +0900</pubDate>
</item>
<item>
<ttl>1440</ttl>
<title>Groovy でファイルを読む/書く、文字エンコーディングを指定して...</title>
<link>http://osima.jp/groovy/gdk-io/index.html</link>
<description>

GDK(Groovy-JDK)を使ってファイルからテキストを読む方法のメモ。
Groovy In Action にも詳しく書いていなかったのだが、
単に[このページ](http://groovy.codehaus.org/groovy-jdk/)
のJavaDocを見れば...
</description>
<guid>http://osima.jp/groovy/gdk-io/index.html</guid>
<pubDate>Sat, 13 Feb 2010 00:00:00 +0900</pubDate>
</item>
<item>
<ttl>1440</ttl>
<title>json-lib のテスト, groovy</title>
<link>http://osima.jp/groovy/json-lib/index.html</link>
<description>

couchdb のクライアント用コードをgroovyで書いていると、JSONを使いこなす
必要が生じたので作動確認用テストコードをメモ。

基本的には、&lt;http://json-lib.sourceforge.net/usage.html&gt; を見れば
使い方はわかると思い...
</description>
<guid>http://osima.jp/groovy/json-lib/index.html</guid>
<pubDate>Sat, 06 Feb 2010 00:00:00 +0900</pubDate>
</item>
<item>
<ttl>1440</ttl>
<title>Trados howto ,XML(Docbook等)の和文・英文から翻訳メモリを作成する方法</title>
<link>http://osima.jp/dtp/trados-winalign-xml/index.html</link>
<description>

WinAlignを使って、直接XMLを整合させることもできるが、できあがったメモリを見ると余計な情報が含まれている気がする。  
そこで、以下の手順で、ttx ファイルを整合させるとうまくいった。



</description>
<guid>http://osima.jp/dtp/trados-winalign-xml/index.html</guid>
<pubDate>Tue, 02 Feb 2010 00:00:00 +0900</pubDate>
</item>
<item>
<ttl>1440</ttl>
<title>Groovyコードを書くためのテキストエディタを速攻でつくる</title>
<link>http://osima.jp/groovy/console-text-editor/index.html</link>
<description>

groovyConsole コマンドでGroovyコードを書くためのテキストエディタが起動しますが、
あれを自分でも使えないか、という話。
実際にやってみると簡単に使うことができました。

{g:/groovy/console-text-editor/fig/myCons...
</description>
<guid>http://osima.jp/groovy/console-text-editor/index.html</guid>
<pubDate>Mon, 01 Feb 2010 00:00:00 +0900</pubDate>
</item>
<item>
<ttl>1440</ttl>
<title>as を使って Innerクラスの代わりに Closure を使って Innerクラスっぽく記述する方法, Groovy</title>
<link>http://osima.jp/groovy/innerclass-and-as/index.html</link>
<description>

Grails徹底入門を読んでいたら
Innerクラスの代わりに AS を使うという説明が載っていた。

{commentout}
&gt; 最新のGroovyでは
{commentout}

たとえば、RunnableインタフェースをClosureを使って記述するには...

...
</description>
<guid>http://osima.jp/groovy/innerclass-and-as/index.html</guid>
<pubDate>Mon, 01 Feb 2010 00:00:00 +0900</pubDate>
</item>
<item>
<ttl>1440</ttl>
<title>PropertyMissing の利用 (Groovy)</title>
<link>http://osima.jp/groovy/property-missing/index.html</link>
<description>

Map で key,value を設定したり呼び出したりしたい。
このとき通常であれば、以下のように使う。

{codeinclude:src/test1.groovy}

しかし、Groovyではもっと直感的にコードが書ける。
以下のように...

{codeinclu...
</description>
<guid>http://osima.jp/groovy/property-missing/index.html</guid>
<pubDate>Mon, 01 Feb 2010 00:00:00 +0900</pubDate>
</item>
<item>
<ttl>1440</ttl>
<title>GroovyでSwingする場合に Nimbus Look and Feel を使うには...</title>
<link>http://osima.jp/groovy/swing-laf-nimbus/index.html</link>
<description>

SunのJavaVMを使っていないと、Nimbus がない場合があるので注意。
それはともかく、Groovyでは以下のような簡単なコードで、
NimbusのLook And Feel を使うことができます。

{code}

javax.swing.UIManager.g...
</description>
<guid>http://osima.jp/groovy/swing-laf-nimbus/index.html</guid>
<pubDate>Mon, 01 Feb 2010 00:00:00 +0900</pubDate>
</item>
<item>
<ttl>1440</ttl>
<title>条件判定にクロージャを利用(改良版) groovy</title>
<link>http://osima.jp/groovy/closure-mypoint-2/index.html</link>
<description>

昨日[クロージャを使った条件判定についてエントリー書いた](/groovy/closure/)のですが、
その後、この方法より多少はよいと思われる別の書き方を思いついたのでメモ。



</description>
<guid>http://osima.jp/groovy/closure-mypoint-2/index.html</guid>
<pubDate>Wed, 27 Jan 2010 00:00:00 +0900</pubDate>
</item>
<item>
<ttl>1440</ttl>
<title>条件判定にクロージャを利用 groovy</title>
<link>http://osima.jp/groovy/closure/index.html</link>
<description>

たとえば、無数の点が平面上に存在していて、
その点と点の関係を調べてグループ分けしたい、という問題を解く場合。

考えられるグループは...

- 近くにある点のグループ
- 縦に揃っている点グループ
- 横に揃っている点グループ
- ある図形の上に存在している点のグルー...
</description>
<guid>http://osima.jp/groovy/closure/index.html</guid>
<pubDate>Tue, 26 Jan 2010 00:00:00 +0900</pubDate>
</item>
<item>
<ttl>1440</ttl>
<title>Java6SE の JDK Documentation(JavaDoc) をローカルPCで閲覧できるようにする(Ubuntu9.10)</title>
<link>http://osima.jp/groovy/javadoc-on-ubuntu/index.html</link>
<description>

Groovyのコードを書いているとたびたびJavaDocを参照するようになったので、
ローカルHDDにインストールすることにした。
aptで簡単に入れられないかと思ったが、ちょっと面倒だったので、その作業メモです。



</description>
<guid>http://osima.jp/groovy/javadoc-on-ubuntu/index.html</guid>
<pubDate>Sat, 23 Jan 2010 00:00:00 +0900</pubDate>
</item>
<item>
<ttl>1440</ttl>
<title>アイコンをSVGで作成してからEPSにする</title>
<link>http://osima.jp/dtp/svg-make-by-hand/index.html</link>
<description>

直接Illustratorでアイコンつくれば済む話とも言えますが、
線と文字で構成されたシンプルなアイコンならば vi 等を使って
SVGを直接記述してしまった方が楽です。

&gt; サイズの微調整もマウスを使う必要ありませんし、
&gt; 第一、それだけのためにIllustrat...
</description>
<guid>http://osima.jp/dtp/svg-make-by-hand/index.html</guid>
<pubDate>Wed, 20 Jan 2010 00:00:00 +0900</pubDate>
</item>
<item>
<ttl>1440</ttl>
<title>SVGデータを Illustrator で開くと オブジェクトトリムエリアが設定されてしまう...という問題</title>
<link>http://osima.jp/dtp/svg-to-eps/index.html</link>
<description>

[アイコンをSVGで作成してからEPSにする](/dtp/svg-make-by-hand/index.html)
という方法で作成したSVGをIllustrator CS3で開くと
以下のようにトリムエリア（トンボ）が設定されてしまっている。

以下のように...

{...
</description>
<guid>http://osima.jp/dtp/svg-to-eps/index.html</guid>
<pubDate>Wed, 20 Jan 2010 00:00:00 +0900</pubDate>
</item>
<item>
<ttl>1440</ttl>
<title>VMPlayer3.0のネット接続は VirtualBox より良い(on windows)</title>
<link>http://osima.jp/diary/20100118/index.html</link>
<description>

VirtualBoxとVMPlayerを Windows7 上で使っている。
メインはVirtualBoxなのだが、VirtualBoxはホストPCのネットワーク接続先を切り替えると
VirtualBoxのゲストOSのネットワークが使えなくなる、という問題がある。

単に...
</description>
<guid>http://osima.jp/diary/20100118/index.html</guid>
<pubDate>Mon, 18 Jan 2010 00:00:00 +0900</pubDate>
</item>
<item>
<ttl>1440</ttl>
<title>正規表現でテキスト置きかえ処理, 複数行にマッチさせる方法</title>
<link>http://osima.jp/java/regex-dotall/index.html</link>
<description>


正規表現で、.(dot)は改行にはマッチしない。これがポイントだった。

そこで、Pattern.DOTALL オプションをつけて、regex をcompileしてやれば、
.(dot)は改行にもマッチする。

したがって、以下のような Testクラスがあった場合に、
...
</description>
<guid>http://osima.jp/java/regex-dotall/index.html</guid>
<pubDate>Sat, 16 Jan 2010 00:00:00 +0900</pubDate>
</item>
<item>
<ttl>1440</ttl>
<title>XSLT変換処理あれこれ</title>
<link>http://osima.jp/dtp/xslt-cmd/index.html</link>
<description>

諸事情によりいろいろな方法でXSLTによるXML変換をするので、
そのやり方メモ。



</description>
<guid>http://osima.jp/dtp/xslt-cmd/index.html</guid>
<pubDate>Thu, 14 Jan 2010 00:00:00 +0900</pubDate>
</item>
<item>
<ttl>1440</ttl>
<title>CouchDB を Windows XPで使う方法 (colinux 上で動かすと楽かも)</title>
<link>http://osima.jp/couchdb/install-on-windows/index.html</link>
<description>


Windows XPで
[CouchDB](http://couchdb.apache.org/)
を使う必要が生じたので、そのとき調査したことのメモ。

結論としては、colinuxをインストールして、そこで
ゲストOSとしてUbuntu9.04を使いその上で Cou...
</description>
<guid>http://osima.jp/couchdb/install-on-windows/index.html</guid>
<pubDate>Thu, 14 Jan 2010 00:00:00 +0900</pubDate>
</item>
<item>
<ttl>1440</ttl>
<title>Simple wiki (Grails Plug-in) のインストールログ</title>
<link>http://osima.jp/groovy/simple-wiki/index.html</link>
<description>

Grailsのプラグインとして機能する &quot;Simple&quot; Wiki をインストールしたのでメモ。

&gt; *Simple*
&gt;
&gt; [Grails Simple Wiki](http://code.google.com/p/gcrnagoya/) grails.jpに使用し...
</description>
<guid>http://osima.jp/groovy/simple-wiki/index.html</guid>
<pubDate>Tue, 12 Jan 2010 00:00:00 +0900</pubDate>
</item>
<item>
<ttl>1440</ttl>
<title>Groovy を使った設定ファイルの作成 (スタイル設定用 ミニDSL の自作)</title>
<link>http://osima.jp/groovy/mybuilder/index.html</link>
<description>

Groovyのビルダを使うと、見かけ上設定ファイルのような記述ができるのですが、
それがそのまま実はGroovyのコードとして動かせるということができます。
これが便利なのは、単なる設定ファイルのように見えるものの、
実際はGroovyのコードなので、
変数やロジック等を...
</description>
<guid>http://osima.jp/groovy/mybuilder/index.html</guid>
<pubDate>Mon, 11 Jan 2010 00:00:00 +0900</pubDate>
</item>
<item>
<ttl>1440</ttl>
<title>Groovy流にXMLを扱う、XMLの読み書き変更</title>
<link>http://osima.jp/groovy/read-write-xml/index.html</link>
<description>

Groovyでは、[JDOM](http://www.jdom.org/)等の既存ライブラリを使って XML を処理できますが、
Groovyに組み込まれた XmlSlurper クラスを等を使うと 非常に *Groovy* に処理できるようになります。



</description>
<guid>http://osima.jp/groovy/read-write-xml/index.html</guid>
<pubDate>Wed, 06 Jan 2010 00:00:00 +0900</pubDate>
</item>
<item>
<ttl>1440</ttl>
<title>Adobe FrameMakerでXMLを開くときにありがちなXML変換のためのXSLT</title>
<link>http://osima.jp/dtp/xslt-preproc-for-fm/index.html</link>
<description>

FrameMakerでXML文書を開く前にXML変換して、
変換後のXMLをFrameMakerでフォーマット、というのが定番ですが、
このとき必ずといって良いほど使用するXSLTコードをメモ。


</description>
<guid>http://osima.jp/dtp/xslt-preproc-for-fm/index.html</guid>
<pubDate>Wed, 06 Jan 2010 00:00:00 +0900</pubDate>
</item>
<item>
<ttl>1440</ttl>
<title>MIF 上で EPS 画像を PNG に置きかえる方法( Adobe FrameMaker の話 )</title>
<link>http://osima.jp/dtp/replace-eps-with-png-on-mif/index.html</link>
<description>

Adobe FrameMaker ドキュメント中に含まれる(参照で挿入している) EPS 画像を PNG 形式の画像に
まとめて入れ替える方法。

単純に foo.eps を foo.png に置換すればOKと思ったのだが、そこまで簡単ではなかった。
(のでメモ)



</description>
<guid>http://osima.jp/dtp/replace-eps-with-png-on-mif/index.html</guid>
<pubDate>Sun, 03 Jan 2010 00:00:00 +0900</pubDate>
</item>
<item>
<ttl>1440</ttl>
<title>Cygwin上で EPSをPNGに変換する DPIを指定</title>
<link>http://osima.jp/dtp/eps-to-png/index.html</link>
<description>

Adobe Illustrator を使えば、DPI指定した上で、EPSをPNGに
変換するのは簡単だが、変換対象のファイル数が多いと何かとIllustratorでは都合が悪い。

- マウスで操作しないといけない
- (マウスなしで済ますために) Illustrator...
</description>
<guid>http://osima.jp/dtp/eps-to-png/index.html</guid>
<pubDate>Sun, 03 Jan 2010 00:00:00 +0900</pubDate>
</item>
<item>
<ttl>1440</ttl>
<title>Adobe RoboHelp Howto, FrameMakerファイルをリンクしたときに 相互参照を設定する方法</title>
<link>http://osima.jp/dtp/robohelp-xref/index.html</link>
<description>

FrameMaker ドキュメントを使って
RoboHelp でシングルソース方式(リンク方式)でヘルプを作成する場合に、
FrameMaker で作成した相互参照を
ハイパーリンクにするにはどうすればよいか、という話。



</description>
<guid>http://osima.jp/dtp/robohelp-xref/index.html</guid>
<pubDate>Sun, 03 Jan 2010 00:00:00 +0900</pubDate>
</item>
</channel>
</rss>
