Staff Instructions For The Glossary Table

THL Toolbox > Essays > THL Staff Documentation for XML Essays > Staff Instructions for the Glossary Table

Staff Instructions for the Glossary Table

Contributor(s): José Cabezón, Michael Cox, David Germano, Nathaniel Grove, Alison Melnick, Steven Weinberger.

For extensive information on how to fill out the glossary table (including how to use Wylie and phonetics, and markup for various languages), please go to the The Glossary Table & How to Render Non-English Terms in the Essay page. If an author has already created a glossary table for their work, double check to make sure that all terms have been included correctly (according to these instructions). It is important to read through the article once to make sure that:

  1. all English words are marked correctly
  2. all Tibetan words are in Wylie
  3. all non-English terms appear with all available information in the Glossary Table

Create Entries in the Glossary Table for Author and Title of All Sources in the Bibliography

We are not asking the authors to do this; THL staff is responsible for doing this. Note: this assumes that the author has included in the Bibliography every resource cited in a footnote.

Create entries in the Glossary Table for author and title, and for a few less frequent components, such as journal title, editor, volume title, and so forth. For Tibetan resources, you also need to create entries for publisher and publication place.
To do this:

  1. copy the entire Bibliography into a separate Word document
  2. delete all components of each entry that do NOT need to go in the Glossary Table. For English-language works, only the author and title (and journal title, editor, series title, etc) need to go in the Glossary Table. For Tibetan works, the author, Tibetan title, English translation of the title (if the author has provided one), publisher and publication place all need to go in the Glossary Table.
  3. separate all the individual components with a return (that is, a paragraph break)
  4. add the text that will go in the Type column
  5. convert the text into a table (be sure to account for English translation of Tibetan, Sanskrit, etc title)
  6. copy the column of the table with the author names and paste into the Glossary Table
  7. copy the column of the table with the titles and paste into the Glossary Table
  8. copy the column of the table with the Type into the Glossary Table
  9. in the Glossary Table, enter the appropriate text in the Lang column (this can also be done in the Word doc before converting text to table)
  10. in the Glossary Table, for non-Tibetan, non-Sanskrit, non-Chinese authors and texts, enter a dash ( - ) in the Variant column (this can also be done in the Word doc before converting text to table)

If a text title occurs more than once in the essay, create a second, abbreviated entry in the Glossary Table for it immediately below the first entry:

  • Use a four- or five-word (or shorter) abbreviated title.
  • Enter an asterisk (*) in the Variant column.
  • In the essay itself, use this abbreviated title for all occurrences after the first. Note: see Bibliographic Citations for specific instructions regarding citations.
  • For the author of a text that is cited more than once, create a second, abbreviated entry in the Glossary Table for it immediately below the first entry:
    • Use only the author’s last name.
    • Enter an asterisk (*) in the Variant column.
    • In the essay itself, use only the author’s last name for all occurrences after the first. Note: see Bibliographic Citations for specific instructions regarding citations.
    • For Tibetan authors: this does not apply. Always use the full name since they do not have first and last names.
    • For Chinese authors: for the abbreviated name, use the family name (this is the first word in a Chinese name, such as “Mao” in “Mao Zedong”). Create an entry for it in the Glossary Table immediately beneath the full entry, and enter an asterisk in the Variant column.

Search for genus in Glossary Table

If “genus” occurs in the Type column, change it to “scientific name”

Tibetan With English Translation in Quotation Marks

When an English translation of a Tibetan (or Sanskrit, Chinese, or Mongolian) word appears in quotation marks - for example: bkra shis mkhas grub was a “punk-monk” (ldob ldob) - the text will appear like this in the Word document: bkra shis mkhas grub was a ldob ldob.

Then, the essay must be fixed after it is converted to XML. Following the example from above, you should add the following item to your file of tasks to do after conversion to XML:

Change bkra shis mkhas grub was a punk-monk (ldob ldob) to bkra shis mkhas grub was a “punk-monk” (ldob ldob)

Details Regarding Sanskrit

As it says on the The Glossary Table page, all Sanskrit terms should be entered in the Word glossary table in lowercase (no capitalizations at all). However, after the essay is converted to XML, all Sanskrit proper nouns (person names, place names, text titles, etc.) will need to be capitalized by hand in the XML glossary file. Keep a list of all Sanskrit proper nouns (names of people, places, and so forth) as you are marking up the document so that you know what will need capitalization after conversion to XML.

EXTENSIVE LIST OF XML/WORD STYLE/TERMS GOES HERE!

Glossary Entry Types

typedescriptionexample as it appears in the body of the essayXML markup
affiliate houseuse this for an affiliate house (mi tshan) of a large monastery, such as the tshor khag mi tshan of se ra har gdong khang tshanHe was a monk of the the tshor khag affiliate house (mi tshan) of se ra har gdong khang tshanHe was a monk of the the <orgName type="affiliate-house">tshor khag</orgName> affiliate house
articleuse this for the title of an article. Note: be sure to include the open and close quotation marks around the article title. Title Article,ta; Title Article English,tae (for English)
We are not asking authors to enter in the Glossary Table components of bibliographic citations; THL staff will do this. However, authors are asked to include all bibliographic sources mentioned in their article/essay in the Bibliography. Use this for the title of an article. Note: in the Word doc of your article or essay itself, be sure to include the open and close quotation marks around the article title; however, in the Glossary Table, do NOT include the quotation marks around the article title. Also, be sure to create an entry in the Glossary Table for all article titles cited in a bibliographic reference in the footnotes/endnotes and also for all entries in the Bibliography that are not cited in a footnote/endote.
The late yon tan rgya mtsho published his article “skyid shod sde pa’i skor” in the second issue of JIATS.
In footnote/endnote: Jacob Dalton, “The Early Development of Padmasambhava Legend in Tibet: A Study of IOL Tib J 644 and Pelliot tibétain 307,” Journal of the American Oriental Society 124, no. 4 (2004): 759. Glossary Table entry: The Early Development of Padmasambhava Legend in Tibet: A Study of IOL Tib J 644 and Pelliot tibétain 307
 
authoronly enter this when the author is part of a bibliographic citation. author English,ae; author Sanskrit,as; author Tibetan,at; author,auSee Bibliographic References and Citations 
buddhist deityuse this for the names of Buddhist deities. Do not capitalize. Do not use this for the names of non-Buddhist deities; for those, use “non-buddhist deity” Name Buddhist Deity,npbThis region is sacred to rta mgrin. 
buildinguse this for the names of temples, chapels, and other buildings. Do not use this for monasteries or hermitages; for those, use “monastery.” Name Building,bdgThis statue is housed in the ’du khang 
clanuse this for the name of a family or clan. Name org clan,nocthe sba clan; the pha mo gru were involved in the civil war 
colophon chapter titleColophon Chapter Title,cct  
colophon text titleColophon Text Title,ctt  
date rangedate range,dr  
datesdates,dt  
doxographyuse this for doxographical or bibliographic categories, including tenet systems. Doxographical-Bibliographical Category,dbcrdzogs chen; theg dman; hīnayāna; rnal ’byor rgyud; dbu ma; gsang sngags rdo rje theg pa; madhyamaka; sems sde; sūtrayāna; spyi ti; bka’ brgyad. 
dynastyuse this for names of dynasties, such as the Ming dynasty. dynasty,dy <name type="dynasty">
editoruse this for the name of an editor of a book, article, or other work. Editor English,ee; Editor Tibetan,et; Editor,ed  
ethnicityuse this for the names of ethnic or cultural groups. Name of ethnicity,noemi nyag; mon pa; khams pa 
eventName event,ne  
festivaluse this for the name of a festival. Name festival,festsmon lam chen mo; zho ston 
geographic featureuse this for the name of a geographic feature that is not a lake, river, valley, or mountainSee the section below on XML for Geographic Features in the Word doc 
hermitage: use monastery   
humanuse this for the name of a person. Name Personal Human,nphmar pa and mi la ras pa and Beyond the steward’s quarters were the private rooms of the mkhar rdo bla maFor examples of how to mark up complex persNames, see section below, Complex persNames.
issue numberNumber Issue,ni  
journaluse this for the title of a journal. Title Journal,tj; Title Journal,tje (English)See Bibliographic References and Citations 
lakeuse this for the name of a lakelha mo bla tsho. See the section below on how to format and apply Word styles in the body of the essay. 
lineageuse this for the name of a lineage of religious practice. Name org lineage,nolthe ’phags lugs of the dbu ma school 
list (bulleted)use this to mark up entire lists that have bullet points. List Bullet,lb  
list (numbereduse this to mark up entire lists that are numbered. List Number,ln  
mi tshan (a division of a large monastery)see affiliate house <orgName type="affiliate-house">
monasteryuse this for the name of a monastery or a large monastic college (such as se ra byes grwa tshang); it refers to the organization associated with the monastery as well as the physical buildings. Name organization monastery,normHe spent four years at dpal spungs and five years at thub bstan dar rgyas chos ’khor gling 
monastic college (see monastery)   
monumentuse this for the names of stupas, pillars, and so forth. monument,mm. <name type="monument">
mountainuse this for the name of a mountain. Name mountain,mtbya skya dkar po ri; has po ri; Wutai shan 
name genericuse this only for a proper noun that does not fit into any of the other categories (that is, it is not the name of a monastery, person’s name, name of a deity, and so forth). Name generic,ng  
non-buddhist deityuse this for the names of non-Buddhist deities. Name Non-Buddhist Deity,nnbdmaheśvara 
organizationuse this for the name of an organization other than a monastery, including religious sects. Name organization,northe sa skya and jo nang schools of Tibetan Buddhism and the dge lugs pa hierarch 
page number (individual)Page Number,pgnThis converts into <milestone/> tags, which mark the boundaries of pages within a text. For example, after the PDF has been created, <milestone/> tags are inserted into the XML file; this is how the page numbers are displayed online.
DO NOT use for page range in a bibliographic citation and so forth. For that, use the style Pages,pg
<milestone unit="page" n=""/> (the page number is the value of the n attribute)
pagePages,pgUse this for page ranges in a bibliographic citation or for references to individual pages.<num type=""pagination""></num>
person other   
placeuse this for the name of a place, such as a town or city name, the name of a region. Name Place,nplha sa; la dwags; a mdo rnga ba 
practiceuse this for the name of a specific practice, such as gcod practice, or sgyu lus practice. Name of Practice,nopthey practiced rtsa rlung every morning 
pub placeuse this for the place of publication in a complete bibliographic citation .
Publication Place,pp
lha sa in this citation: ming med rdo rje, lam gtso rnam gnyis (lha sa: mi rigs dpe skrun khang, 2004) 
publisheruse this in a complete bibliographic citation for the publisher.
Publisher English,pue; Publisher Tibetan,put
mi rigs dpe skrun khang in this citation: ming med rdo rje, lam gtso rnam gnyis (lha sa: mi rigs dpe skrun khang, 2004) 
regional houseuse this for a regional house (khang tshan) of a large monastery, such as se ra tre hor khang tshan. Name organization regional house,nregThese murals are from the temple of tre hor khang tshan 
ritualuse this for the name of a ritual. Name ritual,ritthey performed ri bo bsang mchod to purify the house 
riveruse this for the name of a river. Name river,rivSee below for the format and Word style to apply in the essay itself 
roomuse this for the name of a room in a building, such as the name of a chapel in a monastery. Name room,rmAt the back of the building there is the byams pa lha khang and The first of these rooms was a two-pillar chapel called the grub thob lha khang 
seriesuse this for the title of a series in a bibliographic citationSee Bibliographic References and Citations 
termuse this for terms that do not fall under any of the other types of words listed here. This is likely the more common type of word that will appear in your essayOne type of room in monasteries is the mgon khang (note: this is not a room because it is not a proper noun and it does not refer to a specific room) and Under the misleading heading “commentaries on sūtras and śāstras” 
text groupuse this for the title of a group of texts: Text Group,tgthey study the rgyud bcu bdun for three years 
text titleText Title,tt; Text Title English,tte  
time rangeuse this for a time range: Time Range,tirphyi dar and snga dar 
titleuse this for the title of a book. This includes the title of individual Tibetan, Sanskrit, and Chinese texts, no matter how short they might be.He wrote the lam rim chen mo in 1403 and a commentary on the prasannapadā 
title collectionuse this for the title of a collection of texts: Title Collection Chinese,tcc; Title Collection English,tce; Title Collection Tibetan,tctbka’ ’gyur and bstan ’gyur; the rnying ma rgyud ’bum 
translatoruse this for the name of the translator in a bibliographic citation. Translator,trSee Bibliographic References and Citations 
unpublished textuse this for the title of an unpublished manuscript in a bibliographic citationSee Bibliographic References and Citations 
valleyuse this for the name of a valley: Title Unpublished English,tueSee the section below on XML for Geographic Features in the Word doc. Name valley,val 
volume numberNumber Volume,nv   

Note: when there are two English translations for a single Tib/San/Chi/Mongolian word: put both translations in English column of glossary table, separated by a comma, but add note to the file of things to do after conversion to XML that you need to fix the markup on the English so that each translation is in a separate tag

Languages and Their Abbreviations

LanguageAbbreviationXML Markup
Frenchfre 
Germanger 
Italianita 
Japanesejap 
Koreankor 
Mongolianmon 
Nepalinep 
Palipal 
Russianrus 
Sanskritsan 
Spanishspa 
Tibetantib 

Complex persNames

If a person's name has components in more than one language, treat it like any other persName in the Word document. Then, after the essay is converted to XML, internal markup must be added. To do this efficiently, conduct a search on &lt;persName throughout the entire document and check each name individually. Apply styles according to the following examples:

&lt;persName corresp="entry49" lang="tib" n="Jedrung Khutughtu"&gt;
&#xd;&lt;roleName lang="tib"&gt;rje drung&lt;/roleName&gt; 
&#xd;&lt;foreName lang="mon"&gt;qutuγtu&lt;/foreName&gt;&lt;/persName&gt;

For a Tibetan persName that includes a title in English and a title in Tibetan use this format:

&lt;persName n="Eleventh Penchen Lama" lang="tib"&gt;
&#xd;&lt;roleName lang="eng"&gt;Eleventh&lt;/roleName&gt; 
&#xd;&lt;roleName lang="tib"&gt;paN chen bla ma&lt;/roleName&gt;&lt;/persName&gt;

For a Tibetan persName that includes a surname use this format:

&lt;surname corresp="entry102" lang="tib" n="tromzher"&gt;khrom bzher&lt;/surname&gt;&lt;/persName&gt;

For a Tibetan persName that includes a clan name, use this format:

&lt;persName lang="tib" n="Leu Zhönnu Nyingpo"&gt;
&#xd;&lt;surname type="clan" lang="tib"&gt;gle’u&lt;/surname&gt; 
&#xd;&lt;foreName lang="tib" corresp="entry38"&gt;gzhon nu snying po&lt;/foreName&gt;&lt;/persName&gt;

XML Markup for Geographic Features

For geographic features that have an English translation but the English translation includes a Tibetan component, such as Lake Yamdrok, the nested markup for geographic features must be added to the XML file after conversion. In the Word glossary table, enter for example ya ’brog tsho in the Wylie field; enter Yamdrok Lake in the English field; enter Yamdrok Tso in the phonetic field; enter lake in the Type field. After conversion, fix the markup to look like this:

&lt;geogName type="lake" corresp="entry50"&gt;&lt;geog type="lake"&gt;Lake&lt;/geog&gt;
&#xd;&#x20;&#x20;&lt;name type="lake" lang="tib" n="Yamdrok"&gt;ya ’brog&lt;/name&gt;&lt;/geogName&gt;
&#xd;&#x20;&#x20;(&lt;geogName type="lake" lang="tib" n="Yamdrok Tso" corresp="entry50" rend="parenval"&gt;
&#xd;&#x20;&#x20;&lt;name type="lake"&gt;ya ’brog&lt;/name&gt; &lt;geog type="lake"&gt;mtsho&lt;/geog&gt;&lt;/geogName&gt;)

If a single geographic feature occurs more than once in the essay, do the following:

  1. construct the nested markup
  2. copy it
  3. do XPath search on the word (in this example, ya ’brog); be sure to use this syntax for the XPath search to insure that you find all instances, even when ya and ’brog are on different lines in XML file: /*//name[normalize-space(text())='Yamdrok']
  4. Paste in nested markup for each occurrence

XML Markup for Administrative Unit Names

For the names of townships, counties, prefectures, and so forth, use nested markup similar to that used for geographic features and persnames.

Markup for Tibetan, Sanskrit, Chinese and so forth Proper Nouns that Have an English Translation

Some Tibetan, Sanskrit, Chinese, Mongolian, Hindi, or Nepali proper nouns will have an English translation. The most frequent type of word that falls into this category are names of doxographical categories and text titles. In such cases, the markup looks like this:

&lt;title lang="eng" level="m" corresp="entry13"&gt;The Full Moon
      Dialogue&lt;/title&gt;
&#xd;&#x20;&#x20;(&lt;title lang="tib" level="m" corresp="entry13" n="Drilen Tsepé
   Dawa" rend="parenval"&gt;dri lan tshes pa’i zla ba&lt;/title&gt;)

Note: (1) the presence of rend="parenval"

For cases where there is an English translation and both Tibetan and Sanskrit, the markup looks like this:

&lt;name type="doxographical-category" corresp="entry68" lang="eng"&gt;Great Seal&lt;/name&gt;
&#xd;&#x20;&#x20; (&lt;name type="doxographical-category" rend="parenval" corresp="entry68" lang="tib" n="chakgya chenpo"&gt;phyag rgya chen po&lt;/name&gt;, 
&#xd;&#x20;&#x20; &lt;name type="doxographical-category" rend="parenval" corresp="entry68" lang="san"&gt;mahāmudrā&lt;/name&gt;)

For cases where there is no English translation but the Tibetan word has a Sanskrit equivalent, the markup looks like this:

&lt;name type="doxographical-category"  corresp="entry68" lang="tib" n="Chakgya Chenpo"&gt;phyag rgya chen po&lt;/name&gt; 
&#xd;&#x20;&#x20; (&lt;name type="doxographical-category" rend="parenval" corresp="entry68" lang="san"&gt;mahāmudrā&lt;/name&gt;)

This also applies if the main word is Sanskrit and it has a Tibetan or Chinese equivalent, when the main word is Chinese and it has a Tibetan or Sanskrit equivalent, and so forth. Whatever is in parentheses needs to have the rend="parenval" markup.

Post-Conversion Fixes to Make in Essay XML Files

  1. As of 2008-11-26, for every footnote, the converter automatically inserts a &lt;bibl&gt; tag inside the &lt;note&gt; tag. This makes the XML file validate, since if you have an &lt;author&gt; tag it MUST be inside &lt;bibl&gt; &lt;/bibl&gt; tags. However, if a note does not begin with a bibliographic reference, you need to delete the &lt;bibl&gt; &lt;/bibl&gt; tags, and if there is a bibliographic reference in the note but not at the very beginning, you need to move the &lt;bibl&gt; tag to the correct place. So you must check every note.
  2. If there is an author name in the body of the essay, the name goes in the Word glossary table with “author” in the Type column. The converter will then insert &lt;author&gt; tags. If it is with a text title and therefore part of a bibliographic reference, you need to wrap these two in a &lt;bibl&gt; tag. However, if it is a reference to an author that is not part of a bibliographic reference, then you need to change the markup from &lt;author&gt; to &lt;persName type="author"&gt;.
  3. Chinese words in ethnic pinyin as well as pinyin: this should only apply to Tibetan words (and especially place names and people names) for which the author has supplied Chinese ethnic pinyin as well as pinyin (if the author has only supplied ethnic pinyin then the pinyin needs to be obtained; for place names and geographic features, search the THL Place Dictionary, external link: http://places.thlib.org to find the corresponding pinyin). Add the ethnic pinyin as the n attribute in the tag that has the pinyin.
    Example: the Tibetan place name chu dmar leb, where Qumarlêb is ethnic pinyin and Qumalai is pinyin, at first occurrence in the body of the essay it will have: &lt;placeName lang="tib" corresp="entry###" n="Chumarlep"&gt;chu dmar leb&lt;/placeName&gt; (&lt;placeName lang="chi" corresp="entry###" n="Qumarlêb"&gt;Qumalai&lt;/placeName&gt;). Then the stylesheet will display the value of the n@ in placeName lang="chi" like this: Chu dmar leb (Qumalai, Qumarlêb)

Post-Conversion Tasks for XML Glossary Files

Ethnic pinyin

  1. If any words in the glossary have ethnic pinyin as well as pinyin, add the ethnic pinyin in parentheses to the glossary entry of its corresponding pinyin.

Adding Markup for Language and Letter Dividers in XML Glossary File

After conversion to XML, you need to add markup in the glossaries that will display as the headers and divisions for each Tibetan letter and as the headers for the Sanskrit section, Chinese section, and Mongolian section.

Adding Letter Dividers for Tibetan Entries

The Tibetan entries should already be in alphabetical order (a Tibetan entry is an entry with Tibetan as the primary language – that is, all the entries that have &lt;rs type="lang"&gt;tib&lt;/rs&gt; at the bottom of the entry).

  1. In the line above the first ka entry (that is, the first entry that has the root letter ka), you need to add this markup: &lt;anchor type="tiblet" n="ka" rend="Ka"/&gt;. If there is no ka entry then do NOT add the markup &lt;anchor type="tiblet" n="ka" rend="Ka"/&gt;. Rather, proceed to the next step.
  2. Find the first kha entry (if there is one) and add this markup in the line above it: &lt;anchor type="tiblet" n="kha" rend="Kha"/&gt;. If there is no entry that has the root letter kha, then do NOT add the markup &lt;anchor type="tiblet" n="kha" rend="Kha"/&gt;.
  3. Find the first ga entry (if there is one) and add this markup in the line above it: &lt;anchor type="tiblet" n="ga" rend="Ga"/&gt;. If there is no entry that has the root letter ga, then do NOT add the markup &lt;anchor type="tiblet" n="ga" rend="Ga"/&gt;.
  4. Add this markup for every Tibetan letter that appears in the glossary. You can look at a glossary from JIATS 3 (such as mayer; elverskog; mills) as a reference.

Sanskrit Entries

All Sanskrit entries – entries with &lt;rs type="lang"&gt;san&lt;/rs&gt; at the bottom of the entry – need to be placed in a section after the last Tibetan entry (that is, after the last entry with &lt;rs type="lang"&gt;tib&lt;/rs&gt;).

  1. Paste this markup in the line above the first Sanskrit entry: &lt;anchor type="tiblet" n="sanskrit" rend="Sanskrit"/&gt;.
  2. You then need to alphabetize the Sanskrit entries according to English alphabetical order.
  3. In the glossary (but not in the essay XML file), all Sanskrit proper nouns (person names, text titles, name of doxographical category, etc.) need to be capitalized.

Chinese Entries

All the Chinese entries—entries with &lt;rs type="lang"&gt;chi&lt;/rs&gt; at the bottom of the entry – should be after the last Sanskrit entry (that is, after the last entry with &lt;rs type="lang"&gt;san&lt;/rs&gt;).

  1. Paste this markup in the line above the first Chinese entry: &lt;anchor type="tiblet" n="chinese" rend="Chinese"/&gt;.
  2. You then need to alphabetize the Chinese entries according to English alphabetical order.
  3. In the glossary, all Chinese proper nouns (person names, text titles, name of doxographical category, etc.) need to be capitalized.

Mongolian Entries

All the Mongolian entries—entries with &lt;rs type="lang"&gt;mon&lt;/rs&gt; at the bottom of the entry – should be after the last Chinese entry (that is, after the last entry with &lt;rs type="lang"&gt;chi&lt;/rs&gt;).

  1. Paste this markup in the line above the first Mongolian entry: &lt;anchor type="tiblet" n="mongolian" rend="Mongolian"/&gt;.
  2. You then need to alphabetize the Mongolian entries according to English alphabetical order.
  3. In the glossary, all Mongolian proper nouns (person names, text titles, name of doxographical category, etc.) need to be capitalized.
  4. When there are two English translations for a single Tib/San/Chi/Mongolian word: put both translations in English column of glossary table, separated by a comma, but add note to the file of things to do after conversion to XML that you need to fix the markup on the English so that each translation is in a separate tag

Adding Entries to the XML Glossary File

Sometimes it is necessary to add an entry to the XML glossary file (that is, adding an entry after the glossary XML file has already been created).

Adding a Tibetan Entry

For a word that is a Tibetan word (if it has the Tibetan word and also Sanskrit or Chinese or Mongolian, it is considered a Tibetan word if the Tibetan comes first):

  1. Find where the word goes alphabetically within the Tibetan words already in the glossary (Tibetan words in the glossary have &lt;rs type="lang"&gt;tib&lt;/rs&gt; at the bottom of the entry).
  2. Copy the entire entry for the word in the glossary that immediately precedes the word you are adding.
  3. Hit the return key and paste the entry into the file.
  4. Replace the data in the entry you copied with the data for the entry you are creating (and, if the new entry has data such as dates, English translation, Sanskrit equivalent, and so forth, add that). For example:


&lt;term lang="tib" n="Drajor Bampo Nyipa"&gt;sgra sbyor bam bo gnyis pa&lt;/term&gt;
&lt;term lang="eng"&gt;Two-Part Lexicon&lt;/term&gt;
&lt;term lang="san"/&gt;
&lt;term lang="chi"/&gt;
&lt;term lang="mon"/&gt;
&lt;rs type="type"&gt;Text&lt;/rs&gt;
&lt;date value=""/&gt;
&lt;rs type="lang"&gt;tib&lt;/rs&gt;

  1. You also need to change the value in the &lt;p id="entry####"&gt;. To do this you first have to determine what the last entry number used in the glossary is:
    1. Hit the return so you are on a new line (note: these instructions are tailored to the Oxygen text editor and might not work in other text editors).
    2. Type &lt;p and then hit the space bar. A small dialog box with “id” in it should appear. Double-click on “id.” This will then open another dialog box listing all the entry numbers that have been used in the glossary. Scroll through this until you determine the last entry number used. Remember that in this list, the order is that all entries beginning with 1 are first; since this includes 1, 11, 12, 13-19, 100, 101, 102-199, etc, you cannot just scroll to the bottom of the list to find the last entry number.
    3. Once you have found the last entry number, increase it by 1 and use that as the entry number for the entry you are creating (so if the last entry number is 175, then use 176 for the entry you are creating)
  2. You also need to change the value in the &lt;num n="tib-sort-order"&gt;ts####&lt;/num&gt;. The tib-sort-order determines the order in which Tibetan words display. Take the number for the entry immediately preceding the one you created and add “.1” to it. For example, if the entry that immediately precedes the entry you are adding has &lt;num n="tib-sort-order"&gt;ts0015&lt;/num&gt;, then the entry you are adding will have &lt;num n="tib-sort-order"&gt;ts0015.1&lt;/num&gt;.
  3. After you have created the entry in the glossary, you need to go into the article XML file and in the markup for the word, add corresp="entry###". Example: you created an entry in the glossary for rnal ’byor rgyud, and you assigned it id="entry244". In the article XML file, you need to find the markup for rnal ’byor rgyud and add this attribute: corresp="entry244". Thus, the markup in the article XML file will look like this: &lt;name type="doxographical-category" lang="tib" n="Nenjor Gyü" corresp="entry244"&gt;rnal ’byor rgyud&lt;/name&gt;. You need to add the corresp attribute to every instance of rnal ’byor rgyud in the article XML file. You can find all the instances by doing an XPath Search on /*//orgName[contains(text(),"rnal ’byor rgyud")]; this will return at the bottom of the oXygen window all instances of &lt;name&gt;rnal ’byor rgyud&lt;/name&gt;.

Adding a Mongolian, Sanskrit, or Chinese Entry

For a word that is a Mongolian word (if it has the Mongolian word and also Tibetan or Sanskrit or Chinese, it is considered a Mongolian word if the Mongolian comes first):

  1. Find where the word goes alphabetically within the Mongolian words already in the glossary (Mongolian words in the glossary have &lt;rs type="lang"&gt;san&lt;/rs&gt; at the bottom of the entry).
  2. Copy the entire entry for the word in the glossary that immediately precedes the word you are adding.
  3. Hit the return key and paste the entry into the file.
  4. Replace the data in the entry you copied with the data for the entry you are creating.
  5. You also need to change the value in the &lt;p id="entry####"&gt;. To do this you first have to determine what the last entry number used in the glossary is:
    1. Hit the return so you are on a new line
    2. Type &lt;p and then hit the space bar. A small dialog box with “id” in it should appear. Double-click on “id.” This will then open another dialog box listing all the entry numbers that have been used in the glossary. Scroll through this until you determine the last entry number used. Remember that in this list, the order is that all entries beginning with 1 are first; since this includes 1, 11, 12, 13-19, 100, 101, 102-199, etc, you cannot just scroll to the bottom of the list to find the last entry number.
    3. Once you have found the last entry number, increase it by 1 and use that as the entry number for the entry you are creating (so if the last entry number is 175, then use 176 for the entry you are creating)
  6. After you have created the entry in the glossary, you need to go into the article XML file and in the markup for the word, add corresp="entry###". See above, step 3 under “Adding a Tibetan Entry.”

Follow the same procedure to add Sanskrit and Chinese entries.

Provided for unrestricted use by the external link: Tibetan and Himalayan Library