Tibetan-Chinese Buddhism MetaTranslation

Welcome to Sherab Chen's Dharma translation & research blog!

Notes on computing Tibetan and Sanskrit

leave a comment »

Often used html codes and strategies for inputting Tibetan and Sanskrit texts

(Right click and View Source to review the html codes)

梵文Arial Unicode MS體:

नमस्तारेतुरेवीरे||क्षणैर्द्युति निभेक्षणे||
त्रैलोक्यनाथवक्त्राब्ज||विकसत्केशरोद्भवे||

藏文 Jomolhari 體:
ཨོཾ
ཨོཾ
ཨོཾ

Inputting Tibetan texts in Word issues

Word line-breaks Tibetan syllables

After a hard-search for solving this headache, I finally found this configuration instruction on Digital Tibetan wiki :

Without Tibetan support enabled, Microsoft Office will break Tibetan syllables incorrectly. In order to use Microsoft Office 2003, 2007 or 2010 with Tibetan, Tibetan should be enabled using the Microsoft Office Language Settings tool:

  • Select Start / All Programs / Microsoft Office / Microsoft Office Tools / Microsoft Office 2003,7,10 Language Preferences.
  • Add Tibetan (PRC) as supported language.

add-tib-word

How to insert a non-breaking space

I haven’t figured out how to insert a non-breaking space when using Denjong TibType to type Tibetan. Either underscore nor Cltr+Shift+[space] works. When I use the space bar in non-Tib mode, it breaks the line. However, THL offers a work-around which I found working:

If the keyboard you are using does not have a keystroke for a non-breaking space, after typing in the text you can Find and Replace the breaking spaces with non-breaking spaces. To Find and Replace in MS Word, press Ctrl+H. Then, enter a space in the Find what field and enter “^s” (symbol for non-breaking space) in the Replace with field.

This approach is also helpful when an extra wide space occurs when you press the Space bar within Tibetan texts. Just copy that wide looking space, and use Replace with “^s”.

THL’s Tibetan Text Input Manual can be viewed here.

How to vertically align Tibetan Texts in Word 2010?

Word usually align (different sized) texts to the bottom in each line. This can be annoying for Tibetan writings that contains different sized texts (Tibetan uses smaller sized text for note and they are mixed in the paragraph); In written Tibetan, texts are aligned to an invisible line along each letter’s head, and above that is space for adding vowel marks (i, e and o; u is added below the letter), no matter what size they are.

Solution. In Word 2010, from Ribbon Home tab, choose Paragraph, then Asian Typography tab, select Center from the Text alignment box. If you choose Top, words that don’t have vowel marks on top will be aligned to the very top with those have, which violate Tibetan writing rule. You can also select the text you want to change alignment, then right click and choose Paragraph.

表格問題

唵 敬禮至尊母聖母救度母
敬禮達惹速疾勇母
都達惹除遣怖畏母
都惹施一切利度母
娑哈之字於尊禮敬
唵 敬禮至尊母聖母救度母
敬禮達惹速疾勇
都達惹除遣怖畏
都惹施予一切利
娑哈字於尊禮敬

_

以上html可避免表格下空行失效.

How to create a line with background color

_

This Row is Yellow!
This Row is Gray!
This Row is Yellow!
This Row is Gray!
This Row is Yellow!
This Row is Gray!

_

本貼含Unicode藏文和梵文, 如藏文不能顯示, 請先下載安裝Jomolhari字體.
具體安裝調適方法請閱讀如何顯示Unicode藏文.

_

HTML Tutorial sites

Written by sherabchen

December 15, 2010 at 5:45 am

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: