rd2odt
rd2odt is a converter for RD (Ruby Document) to OpenDocument.
Install
Requirements
-
The Ruby interpreter :> www.ruby-lang.org/
-
RDtool rubyforge.org/projects/rdtool/
-
rubyzip rubyforge.org/projects/rubyzip/ If you have RubyGems, you can install rubyzip with RubyGems:
% (sudo) gem install rubyzip
Do you have Debian/GNU Linux? These are installable with APT!
% (sudo) apt-get install rdtool libzip-ruby1.8
Install rd2odt
(1) Download newest tarballs and extract it.
http://rubyforge.org/projects/rd2odt/
(2) Run setup.rb and install it.
% cd rd2odt-<version number>
% (sudo) ruby setup.rb
Tutorials
1st: converting the sample
(1) Let’s try to convert sample RD to OpenDocument.
% cd rd2odt-<version number>
% rd2odt doc/sample.rd.ja
(2) You’ll get “doc/sample.rd.ja.odt” (OpenDocument Text).
Please open it by Office Suites (e.g: OpenOffice.org).
% ooffice doc/sample.rd.ja.odt
2nd: converting your document
(1) If you have a RD document, enjoy converting!
% cp path-to-rd2odt/doc/sample.rd.ja.ott some-your-document.rd.ott
% rd2odt some-your-document.rd
Or,
% rd2odt --template=path-to-rd2odt/doc/sample.rd.ja.ott \
some-your-document.rd
3rd: changing the style
(1) Do you want change the style?
Okey! You can edit its style by OpenOffice.org Writer.
% ooffice doc/sample.rd.ja.ott
(2) And retry convert.
% rd2odt doc/sample.rd.ja
License
The X11 License. See more LICENSE file.
Project home
rubyforge.org/projects/rd2odt/
Author
Yuya.Nishida. <yuya at@at j96 dot.dot org>
~~~ ~~~ ~~~~ ~~~~ <== remove it when email me.
http://www.j96.org/~yuya/
# Editor settings # - Emacs - # local variables: # mode: RD # end: