English manual for লেখ
0. Lekho is still in the beta phase, so please save your work often. Lekho hasn't crashed on me yet, but there's always a first time...
1. You can type both Bangla and English using Lekho. To toggle the language you type press the ESC key. From version 1.1 the cursor no longer changes appearance depending on the language, this was a little clumsy but the message bar at the bottom of the window displays the current language
2. To know what to type on the English keyboard to get a particular Bangla letter hit "F1". This should pop up a new window showing the "keymap"
3. To get the bangla vowel modifier signs you need to type the consonant first then the vowel modifier e.g.
ka = ক + আ = কা
ki = ক + ই = কি
kI = ক + ঈ = কী
ku = ক + উ = কু
kU = ক + ঊ = কূ
kR = ক + ঋ = কৃ
4. To get conjunct consonants type each consonant separated by the '/' key. Thus:
Juk/tbr/N = যুক্তবর্ন
Ju = যু
k/t = ক + ত = ক্ত
r/N = র + ণ = র্ণ
Other examples are
p/ra = প + র + আ = প্রা
To get hoshonto type '/' followd by '\'. Thus
hak/\ka nuDel/\ = হাক্কা নুডেল্।
লেখ has spell checking capability. It uses Barda's bwedit word list and a simple spell checking engine to find wrongly spelt বাংলা words in the document. The spell checker currently only works with বাংলা words, ignoring everything else. Typing a word in the "replace" edit box and then pressing "check" will check that word for correctness. Hit F2, press the "ক/ম" icon on the tool bar or go to edit->spell to try this out.
লেখ has a find and replace tool, pressing F3 brings this up. Also pressing the eye icon or going to edit->find will do the same thing.
লেখ has unlimited redo/undo. Goto edit->undo or redo, or use the red left arrow (undo) and green right arrow (redo)
5. "Word wrap" is the process whereby lines that are wider than the current window width are broken up (but not in the middle of a word) such that the line "wraps around" the window to the next screen line. If you don't want this, go to Options->word wrap and click on it. This is a toggle switch
6. You can highlight sections of the text either by left clicking on the mouse and dragging it, or by holding down the shift key and pressing the cursor keys or the PgUp/PgDn keys. You can perform some operations on the selected text, and these are described next.
7. If you right click the mouse you will get a list of editing options. The options can be broken down into two groups "copy" and "paste"
Selecting a "copy" option copies any highlighted text into the clipboard. This text can be pasted into other applications.
Similarly "paste" will paste in any text on the clipboard into the current document, starting at the current cursor position. If any text is highlighted, paste will erase that text first.
8. The edit submenu has several sub-options, corresponding to different ways you can copy/paste the text. The options are as follows:
a) utf-8 and utf-16 (copy and paste)
These are basically two encoding methods for text information. For copying/cutting and pasting from one lekho window to another you can use either option (or just the CTRL+C, CTRL+X and CTRL+V keys) as long as you are consistent. i.e. if you copy/cut text as utf-8 you need to paste it as utf-8 too.
For linux users, KDE2 uses utf16 encoding, so to cut and paste between, say opera and Lekho, use utf16.
For windows users, Netscape 4.6 seems to use utf8. I don't know about other apps, but a quick test should be easy to do on your system.
b) html character reference (copy only).
This allows you to copy the text in the format xxx; where xxxx is a decimal code. Browsers can interpet this code to render the correct character, so you can paste this into a html document directly. This is useful when you have a html editor that doesn't allow unicode characters per se.
c) romanised bangla (paste only)
This is kind of fun. If you copy a stretch of romanised bangla and paste this into Lekho as romanised you get an approximate bangla version of this. For example if you have the text "asha kori tumi bhalo aacho" pasting as romanised yeilds অশা কোরি তুমি ভালো আছো , not perfect, but passable.
9. Exporting the text
You can export what you have typed into html or bangtex. When you export to html Lekho goes through the text and renders all the bangla parts in the current screen font. In addition Lekho adds some default headers html eg. and , some tags, and converts new lines to
symbols. So if you open up this file in a browser you can see it provided you have the Adarshalipi Fonts. help_lipi.hml is one such example.
Exporting to bangtex converts all the bangla letters into bangtex format. An example of such a source file is bangtex_example.tex. If you export this as bangtex into a file you can compile it with latex (with the bangtex macro package installed).