086f4bb6ec
Now using CalHTMLPane to surf the offline and the online help.
491 lines
18 KiB
HTML
491 lines
18 KiB
HTML
<html>
|
|
<head>
|
|
<title>Help on Jskad</title>
|
|
</head>
|
|
|
|
<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">
|
|
|
|
<a name="top"></a>
|
|
<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>
|
|
<li><a href="#english">Typing English</a></li>
|
|
<li><a href="#copypaste">Copying and Pasting</a></li>
|
|
<li><a href="#wylietotmw">Converting Wylie to Tibetan</a></li>
|
|
<li><a href="#tmwtowylie">Converting Tibetan to Wylie</a></li>
|
|
<li><a href="#keyboards">Changing Keyboards</a></li>
|
|
<li><a href="#advancedkeyboards">More on Keyboards</a></li>
|
|
<li><a href="#preferences">Preferences</a></li>
|
|
<li><a href="#trouble">Troubleshooting</a></li>
|
|
<li><a href="#thanks">Thanks</a></li>
|
|
<li><a href="http://iris.lib.virginia.edu/tibet/tools/jskad.html">Jskad on the Web</a></li>
|
|
</ul>
|
|
|
|
<a name="latest"></a>
|
|
<h3>Latest Changes</h3>
|
|
|
|
<p>
|
|
Jskad now supports converting Tibetan Machine to Tibetan Machine Web
|
|
(which the menus refer to as "Tibetan") and vice
|
|
versa. Try it from the Tools menu. 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>
|
|
|
|
<p>
|
|
<center><font size="-1"><a href="#top">Back to top</a></font></center>
|
|
</p>
|
|
|
|
<a name="install"></a>
|
|
<h3>Running Jskad</h3>
|
|
|
|
<p>
|
|
Jskad is launched via Java Web Start. Java Web Start is a
|
|
technology from Sun which allows users to launch Java applications
|
|
directly from a web browser. Java Web Start is supported by
|
|
Windows, Linux, Solaris, and Mac OS X 10.1, and so Jskad should work
|
|
on all of these platforms.
|
|
</p>
|
|
|
|
<p>
|
|
Note that after you've run Jskad twice, it will ask you whether or not
|
|
you want to create a shortcut to Jskad on your desktop. If you
|
|
say yes, then you can launch Jskad from your desktop in future,
|
|
without having to visit our web site. Every time Jskad runs, it
|
|
will automatically check our site for updates - unless you're offline,
|
|
in which case Jskad will just run the version which is cached on your
|
|
computer.
|
|
</p>
|
|
|
|
<p>
|
|
Note that to run Jskad you no longer need to have the <a
|
|
href="http://iris.lib.virginia.edu/tibet/tools/tmw.html">Tibetan
|
|
Machine Web</a> family of fonts installed; they are now embedded in
|
|
Jskad itself. But if you wish to copy and paste into another
|
|
application, then you do need the <a
|
|
href="http://iris.lib.virginia.edu/tibet/tools/tmw.html">Tibetan
|
|
Machine Web</a> family of fonts installed.
|
|
</p>
|
|
|
|
<p>
|
|
Note also that due to a bug in earlier versions of Java, you should
|
|
run Jskad under Java Runtime v. 1.4. If you are running Windows,
|
|
Linux, or Solaris and you have an earlier version installed, please
|
|
uninstall it, and then install <a
|
|
href="http://java.sun.com/j2se/1.4/download.html" target="_blank">Java
|
|
Runtime v. 1.4</a>.
|
|
</p>
|
|
|
|
<p>
|
|
<center><font size="-1"><a href="#top">Back to top</a></font></center>
|
|
</p>
|
|
|
|
<a name="#start"></a>
|
|
<h3>Getting Started</h3>
|
|
|
|
<p>
|
|
When you fire up Jskad, a glitz-free window will pop up in the center
|
|
of your screen. Start typing and you'll get Tibetan. If
|
|
you get garbage instead, that probably means that you haven't <a
|
|
href="#install">installed the TibetanMachineWeb fonts</a>.
|
|
</p>
|
|
|
|
<p>
|
|
A menu bar appears at the top of the window. If you are running
|
|
Jskad as an application, you'll see four menus: File, Edit, Tools, and
|
|
Help. If you're running Jskad as an applet, you'll only see
|
|
Edit, Tools, and Help.
|
|
</p>
|
|
|
|
<p>
|
|
'File' provides basic options for opening, closing, saving, and
|
|
printing Rich Text Format (RTF) documents. To start a new
|
|
document, choose 'New'. To open an already existing document,
|
|
choose 'Open'. In either case, if there is any text in the
|
|
current Jskad window, a new window will be opened up. To close a
|
|
Jskad window, choose 'Close' or press the 'X' button. To close
|
|
all Jskad windows, choose 'Exit'. You will be prompted to save
|
|
if you haven't already done so.
|
|
</p>
|
|
|
|
<p>
|
|
To save, choose 'Save' or 'Save As'. Like other applications,
|
|
'Save' saves under the current name, while 'Save As' lets you save
|
|
under a new name.
|
|
</p>
|
|
|
|
<p>
|
|
The 'Edit' menu lets you cut, copy, and paste Tibetan text and set
|
|
document preferences. These topics are covered elsewhere, in <a
|
|
href="#copypaste">Copying and Pasting</a>, <a href="#tibetan">Typing
|
|
Tibetan</a>, and <a href="#english">Typing English</a>.
|
|
</p>
|
|
|
|
<p>
|
|
The 'Tools' menu provides options to help users who are <a
|
|
href="#wylietotmw">Converting Wylie to Tibetan</a> and <a
|
|
href="#tmwtowylie">Converting Tibetan to Wylie</a>.
|
|
</p>
|
|
|
|
<p>
|
|
<center><font size="-1"><a href="#top">Back to top</a></font></center>
|
|
</p>
|
|
|
|
<a name="tibetan"></a>
|
|
<h2>Typing Tibetan</h2>
|
|
|
|
<p>
|
|
Jskad lets you input Tibetan text according to several popular
|
|
keyboard input methods. The default keyboard is the <a
|
|
href="http://iris.lib.virginia.edu/tibet/tools/jskad_docs/Wylie_keyboard.rtf"
|
|
target="_blank">Extended Wylie</a> keyboard. Other supported
|
|
keyboards include <a
|
|
href="http://iris.lib.virginia.edu/tibet/tools/jskad_docs/TCC_keyboard_1.rtf"
|
|
target="_blank">Tibetan Computer Company Keyboard #1</a>, <a
|
|
href="http://iris.lib.virginia.edu/tibet/tools/jskad_docs/TCC_keyboard_2.rtf"
|
|
target="_blank">Tibetan Computer Company Keyboard #2</a> , and
|
|
Nitharta's <a
|
|
href="http://iris.lib.virginia.edu/tibet/tools/jskad_docs/Sambhota_keymap_one.rtf"
|
|
target="_blank">Sambhota Keymap One</a>. There is an ACIP
|
|
keyboard also, but it is pre-alpha; there are various known bugs with
|
|
it.
|
|
</p>
|
|
|
|
<p>
|
|
Jskad automatically opens up in Tibetan-entry mode upon starting it
|
|
for the first time, so all you have to do to get Tibetan is start
|
|
typing. Jskad subsequently remembers the keyboard you were using
|
|
when you last exited Jskad. If you are in Roman-entry mode, then
|
|
you will need to first switch to Tibetan-entry mode. Do this by
|
|
selecting "Tibetan" from the "Input mode:" selection. The
|
|
default point size for Tibetan text is 36. To change this go to
|
|
'Preferences' in the 'Edit' menu.
|
|
</p>
|
|
|
|
<p>
|
|
Due to a bug in Jskad, the keyboard may freeze and do nothing if you
|
|
type something which is not a Tibetan character in the currently
|
|
installed keyboard. To regain control press the spacebar or a
|
|
number key.
|
|
</p>
|
|
|
|
<p>
|
|
<center><font size="-1"><a href="#top">Back to top</a></font></center>
|
|
</p>
|
|
|
|
<a name="english"></a>
|
|
<h2>Typing English</h2>
|
|
|
|
<p>
|
|
With Jskad you are not restricted to just typing Tibetan. You
|
|
can also type English or other European languages. If you are in
|
|
Tibetan-entry mode, you can switch to Roman entry-mode by selection
|
|
"Roman" from the "Input mode:" drop-down box. If this doesn't
|
|
get you into Roman-entry mode, then Roman entry-mode has been
|
|
programmatically disabled by your alterations to your
|
|
<tt>my_thdl_preferences.txt</tt> file.
|
|
</p>
|
|
|
|
<p>
|
|
You can change the font and/or point size of Roman-based text entry by
|
|
selecting 'Preferences' from the 'Edit' menu.
|
|
</p>
|
|
|
|
<p>
|
|
<center><font size="-1"><a href="#top">Back to top</a></font></center>
|
|
</p>
|
|
|
|
<a name="copypaste"></a>
|
|
<h3>Copying and Pasting</h3>
|
|
|
|
<p>
|
|
Jskad supports RTF copy and paste. That means that you can copy
|
|
Tibetan back and forth between Microsoft Word and Jskad. To do
|
|
so, you can use standard keyboard shortcuts (Ctrl-A for select all,
|
|
Ctrl-X for cut, Ctrl-C for copy, and Ctrl-V for paste). Note
|
|
that you must have the <a
|
|
href="http://iris.lib.virginia.edu/tibet/tools/tmw.html">Tibetan
|
|
Machine Web</a> family of fonts installed on your computer for
|
|
applications besides Jskad to be aware of them.
|
|
</p>
|
|
|
|
<p>
|
|
Note that not all applications support RTF copy and paste.
|
|
Therefore, you cannot, for example, copy from Jskad and paste into
|
|
Microsoft Excel. You can, though, copy into Word, select the
|
|
snippet of Tibetan again, copy again, and then paste into Excel.
|
|
</p>
|
|
|
|
<p>
|
|
<center><font size="-1"><a href="#top">Back to top</a></font></center>
|
|
</p>
|
|
|
|
<a name="wylietotmw"></a>
|
|
<h3>Converting Wylie to Tibetan</h3>
|
|
|
|
<p>
|
|
One of the most useful features of Jskad is its ability to convert
|
|
from Extended Wylie to Tibetan. There are three ways to do this:
|
|
</p>
|
|
|
|
<ol>
|
|
<li><b>Copy and Paste from Another Application</b>
|
|
<br>Copy a block of Wylie text from Microsoft Word, and then paste it in Jskad.
|
|
|
|
<p><li><b>Select Text and Convert to Tibetan</b>
|
|
<br>Select the block of text you want to convert, and then choose 'Tools - Convert Wylie to Tibetan' from the menu bar. Note that if you try to convert a chunk of text in which Tibetan text is surrounded by Wylie, the Wylie will convert, and the Tibetan will remain unchanged.
|
|
|
|
<p><li><b>Import Wylie and Save as RTF</b>
|
|
<br>Choose 'Tools - Import Wylie as Tibetan' from the menu bar. You will be prompted to 'Import Wylie'. Use the file chooser to select a .txt (text) file which contains nothing but Extended Wylie. Then you'll be prompted to 'Save as Tibetan'. Type a new name for your document. If the Wylie is valid, it will be converted and saved as RTF. This document can then be opened in Jskad.
|
|
</ol>
|
|
|
|
<p>
|
|
All three of these options are suitable for most situations.
|
|
However, if you are converting a lengthy document, you are advised to
|
|
use the 'Import' option.
|
|
</p>
|
|
|
|
<p>
|
|
In all cases, Wylie can only be converted to Tibetan if it is valid
|
|
Extended Wylie. If there is any invalidity, the entire
|
|
conversion will halt. An informational message will appear, with
|
|
a guess as to what the problem is. Take special note of the fact
|
|
that Microsoft Word's 'smart quotes' cannot be converted. If you
|
|
are copying from Microsoft Word, please turn off smart quotes (see <a
|
|
href="#trouble">Troubleshooting</a>). Remember also that Jskad
|
|
does not know the difference between Wylie and English. Just
|
|
because you can see that a string of text is Wylie doesn't mean that a
|
|
computer knows that it is!
|
|
</p>
|
|
|
|
<p>
|
|
<center><font size="-1"><a href="#top">Back to top</a></font></center>
|
|
</p>
|
|
|
|
<a name="tmwtowylie"></a>
|
|
<h3>Converting Tibetan to Wylie</h3>
|
|
|
|
<p>
|
|
Another useful feature of Jskad is its ability to convert from Tibetan
|
|
to Extended Wylie. Simply select the Tibetan you want to
|
|
convert, and then choose 'Tools - Convert Tibetan to Wylie' from the
|
|
menu bar. The text will be converted, and will appear as Wylie
|
|
in the default Roman font and point size (see <a
|
|
href="#english">Typing English</a>). Jskad is fairly smart about
|
|
determining which Tibetan letter is the root letter when there is
|
|
ambiguity.
|
|
</p>
|
|
|
|
<p>
|
|
Remember that Jskad only works with the TibetanMachineWeb family of
|
|
fonts. Therefore, it will only recognize TibetanMachineWeb as
|
|
Tibetan. Any other Tibetan fonts will be assumed to be
|
|
non-Tibetan. Note that you can convert TibetanMachine to
|
|
TibetanMachineWeb and then convert that to Wylie if need be.
|
|
</p>
|
|
|
|
<p>
|
|
<center><font size="-1"><a href="#top">Back to top</a></font></center>
|
|
</p>
|
|
|
|
<a name="keyboards"></a>
|
|
<h3>Changing Keyboards</h3>
|
|
|
|
<p>
|
|
As already mentioned, Jskad supports four different keyboard input methods:
|
|
</p>
|
|
|
|
<ol>
|
|
<li><a
|
|
href="http://iris.lib.virginia.edu/tibet/tools/jskad_docs/Wylie_keyboard.rtf"
|
|
target="_blank">Extended Wylie</a></li>
|
|
|
|
<li><a
|
|
href="http://iris.lib.virginia.edu/tibet/tools/jskad_docs/TCC_keyboard_1.rtf"
|
|
target="_blank">Tibetan Computer Company Keyboard #1</a></li>
|
|
|
|
<li><a
|
|
href="http://iris.lib.virginia.edu/tibet/tools/jskad_docs/TCC_keyboard_2.rtf"
|
|
target="_blank">Tibetan Computer Company Keyboard #2</a></li>
|
|
|
|
<li><a
|
|
href="http://iris.lib.virginia.edu/tibet/tools/jskad_docs/Sambhota_keymap_one.rtf"
|
|
target="_blank">Sambhota Keymap One</a></li>
|
|
|
|
<li>Pre-alpha ACIP keyboard.</li>
|
|
</ol>
|
|
|
|
<p>
|
|
The default keyboard is Extended Wylie. To change to another
|
|
keyboard, choose 'Tools - Keyboards' and then select the keyboard you
|
|
want to use.
|
|
<p>
|
|
<center><font size="-1"><a href="#top">Back to top</a></font></center>
|
|
</p>
|
|
|
|
<a name="advancedkeyboards"></a>
|
|
<h3>More on Keyboards</h3>
|
|
|
|
<p>
|
|
If you are brave, you can create your own keyboards. A keyboard
|
|
file has five parts:
|
|
|
|
<ol type=a>
|
|
<li>Comments</li>
|
|
<li>A list of parameters</li>
|
|
<li>A list of characters</li>
|
|
<li>A list of vowels</li>
|
|
<li>A list of punctuation</li>
|
|
</ol>
|
|
|
|
<p>
|
|
Sections (c)-(e) are structured in exactly the same way. A line consists of a value, an equals sign, and another value, for example "k=K". This means that to get the Tibetan character associated with Wylie 'k', you must press 'K'. If there is no right part of the equation, then there is no way in this keyboard to get the relevant character. For example, if you see "k=", that means that there is no way in this keyboard to get the Tibetan character associated with Wylie 'k'. Be careful with whitespace, which is not ignored: for example, " = " means [space bar] = [space bar].
|
|
</p>
|
|
|
|
<p>
|
|
Although the three additional production-quality keyboards included in
|
|
this installation always define only one keystroke per
|
|
character/vowel, it is possible to define a keyboard in which multiple
|
|
keystrokes correspond to single characters/vowels, as in the Extended
|
|
Wylie keyboard. However, punctuation is only ever allowed to
|
|
correspond to a single keystroke. Below is a sample (partial)
|
|
keyboard, with key parts explained, and much omitted:
|
|
</p>
|
|
|
|
<p>
|
|
Sambhota keyboard //Everything before <?parameters?> is taken to be a comment.
|
|
</p>
|
|
|
|
<p>
|
|
<?parameters?> //describes the logic of the keyboard
|
|
<br>has sanskrit stacking=true //is there a stack key for sanskrit stacks?
|
|
<br>has tibetan stacking=true //is there a stack key for tibetan stacks?
|
|
<br>is stacking medial=false //is the stack key medial, ie like '+' in g+y, or not, as in +gy
|
|
<br>stack key=f //what is the stack key? must be single character
|
|
<br>has disambiguating key=false //is there a key to distinguish between Wylie gy and g.y?
|
|
<br>disambiguating key= //if so, what is it?
|
|
<br>needs a chen before vowels=true //for a-chen plus vowel, must you type a-chen first?
|
|
<br>has 'a' vowel=false //is there a dummy 'a' vowel?
|
|
<br>is achung consonant=true //can achung take part in consonantal stacks?
|
|
<p>
|
|
<?characters?> //characters include consonants and numerals
|
|
<br>k=k
|
|
<br>kh=K //left value is Extended Wylie & right is equivalent in Sambhota
|
|
<br>g=g
|
|
<br>ng=G
|
|
<br>f= //no equivalent of 'f' in Sambhota
|
|
<p>
|
|
<?vowels?>
|
|
<br>a=a
|
|
<br>i=i
|
|
<br>u=u
|
|
<br>e=e
|
|
<br>o=o
|
|
<p>
|
|
<?punctuation?>
|
|
<br> = //read as [Space] = [Space]
|
|
<br>/=,
|
|
</p>
|
|
|
|
<p>
|
|
<center><font size="-1"><a href="#top">Back to top</a></font></center>
|
|
</p>
|
|
|
|
<a name="preferences"></a>
|
|
<h3>Preferences</h3>
|
|
|
|
<p>
|
|
Jskad remembers your preferences for a few things, such as the working
|
|
directory, the keyboard to use, the font size, etc. Your
|
|
preferences are saved automatically at program exit. If you want
|
|
to reset your preferences, you must use 'Clear Preferences' from the
|
|
'Edit' menu.
|
|
</p>
|
|
|
|
<p>
|
|
<center><font size="-1"><a href="#top">Back to top</a></font></center>
|
|
</p>
|
|
|
|
|
|
<a name="trouble"></a>
|
|
<h3>Troubleshooting</h3>
|
|
|
|
<p>
|
|
The following are some common problems:
|
|
</p>
|
|
|
|
<ul>
|
|
<li><b>I get garbage when I type Tibetan.</b>
|
|
|
|
<br>This shouldn't happen now that the fonts are bundled inside
|
|
Jskad's JAR. But if it does, make sure the TibetanMachineWeb fonts
|
|
are installed. See <a href="#install">Running Jskad</a>.
|
|
|
|
<p><li><b>When I paste Tibetan into another application, it shows up
|
|
as garbage like <tt>0C-<m=-0+{;-{</tt>.</b>
|
|
|
|
<br>Either you haven't installed the <a
|
|
href="http://iris.lib.virginia.edu/tibet/tools/tmw.html">Tibetan
|
|
Machine Web</a> family of fonts, or the application you're pasting
|
|
into doesn't support RTF copying and pasting. To work around
|
|
this latter problem, try pasting into an application that does support
|
|
RTF copy and paste (such as Microsoft Word), and then select the
|
|
Tibetan from there, copy it again, and paste into the third
|
|
application.
|
|
|
|
<p><li><b>The vowels don't look right.</b>
|
|
|
|
<br>Due to <a
|
|
href="http://developer.java.sun.com/developer/bugParade/bugs/4498203.html"
|
|
target="_blank">Java Bug Id 4498203</a>, Tibetan vowels do not display
|
|
properly in some versions of Java. Problematic versions include
|
|
1.3.0-02, 1.3.1, and the 1.4 beta 2. Uninstall Java, and
|
|
reinstall Java 1.4. The vowels should look better.
|
|
|
|
<p><li><b>I can't convert from Wylie to Tibetan.</b>
|
|
|
|
<br>Make sure the Wylie you are using is <a
|
|
href="http://iris.lib.virginia.edu/tibet/tools/jskad_docs/Wylie_keyboard.rtf"
|
|
target="_blank">valid Extended Wylie</a>. Also, check to make
|
|
sure you aren't using any illegal characters such as Microsoft Word's
|
|
'smart quotes'. If smart quotes occur in your Microsoft Word
|
|
document, you can eliminate them by choosing the 'Save As Text Only'
|
|
option under 'Save'. Be warned that 'Save As Text Only With Line
|
|
Breaks' does not remove smart quotes.
|
|
|
|
<p><li><b>I opened up an RTF document in Jskad and some of the formatting was lost.</b>
|
|
|
|
<br>Java's RTF support has some problems. Therefore not all
|
|
formatting information will be retained when an RTF file is opened in
|
|
Jskad.
|
|
|
|
<p><li><b>Jskad runs slow or is error-prone on my Mac.</b>
|
|
|
|
<br>We are aware of this problem, and hope that things will get better
|
|
as both Jskad and Apple's implementation of Java improve.
|
|
</ul>
|
|
|
|
<p>
|
|
If all else fails, remove Java and Jskad from your computer, and then
|
|
reinstall both.
|
|
</p>
|
|
|
|
<p>
|
|
<center><font size="-1"><a href="#top">Back to top</a></font></center>
|
|
</p>
|
|
|
|
<a name="thanks"></a>
|
|
<h3>Thanks</h3>
|
|
|
|
<p>
|
|
Portions of this software are copyright Andrew Moulden. Our
|
|
thanks go to him. Without his hard work, our users wouldn't be
|
|
able to browse this very document with the ease they can.
|
|
</p>
|
|
|
|
</body>
|
|
</html>
|