TM->TMW and TMW->TM conversion in RTF is now supported. I've

noticed that formatting is mostly OK but sometimes gets bungled slightly.
I tried everything I could think of, and now I'm passing the buck to Java's
RTF support.

TMW_RTF_TO_THDL_WYLIE (now misnamed) support TMW->TM
conversion (but not TM->TMW).  There is an automated test case for a
TMW->TM conversion.

I have full confidence in this conversion.  Even the smallest glitch in the core
functionality (not formatting) would surprise me.

Note that the JUnit test TMW_RTF_TO_THDL_WYLIETest sometimes fails
due to one- or two-line diffs between the actual and expected outputs.  This
is because Java's RTF support is not deterministic, I'm guessing, and is not
a real failure.  I'm too lazy to make a more elaborate sed/diff mechanism
that works on all platforms, and that would complicate the build anyway.
This commit is contained in:
dchandler 2003-05-31 23:21:29 +00:00
parent 56d5ac7210
commit 0235263ddf
8 changed files with 416 additions and 103 deletions

View file

@ -8,6 +8,7 @@
<h2>Jskad Documentation</h2>
<ul>
<li><a href="#latest">Latest Changes</a></li>
<li><a href="#install">Running Jskad</a></li>
<li><a href="#start">Getting Started</a></li>
<li><a href="#tibetan">Typing Tibetan</a></li>
@ -22,6 +23,17 @@
<li><a href="http://iris.lib.virginia.edu/tibet/tools/jskad.html">Jskad Home Page</a></li>
</ul>
<a name="latest"></a>
<h3>Latest Changes</h3>
<p>
Jskad now supports converting Tibetan Machine to Tibetan Machine Web
and vice versa.&nbsp; Try it form the Tools menu.&nbsp; Be on the
lookout for formatting changes; Java's RTF support is currently
poor.<!-- FIXME: do this correctly, not in a "Latest Changes"
section. -->
</p>
<a name="install"></a>
<h3>Running Jskad</h3>