diff --git a/source/org/thdl/tib/scanner/AboutDialog.java b/source/org/thdl/tib/scanner/AboutDialog.java
index 6eca7dd..617522e 100644
--- a/source/org/thdl/tib/scanner/AboutDialog.java
+++ b/source/org/thdl/tib/scanner/AboutDialog.java
@@ -28,7 +28,7 @@ import java.awt.event.*;
*/
public class AboutDialog extends Dialog implements ActionListener, WindowListener
{
- public AboutDialog(Frame parent)
+ public AboutDialog(Frame parent, boolean big)
{
super(parent, "About...", true);
Button close = new Button("Close this window");
@@ -38,7 +38,12 @@ public class AboutDialog extends Dialog implements ActionListener, WindowListene
ta.setEditable(false);
addWindowListener(this);
add(ta, BorderLayout.CENTER);
- setSize(240,300); // the size ipaq's window.
+ if (big) setSize(480,400);
+ else
+ {
+ Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
+ setSize(d); // the size ipaq's window.
+ }
}
/* FIXME: what happens if this throws an exception? We'll just
diff --git a/source/org/thdl/tib/scanner/TibetanScanner.java b/source/org/thdl/tib/scanner/TibetanScanner.java
index 0f67392..8be9075 100644
--- a/source/org/thdl/tib/scanner/TibetanScanner.java
+++ b/source/org/thdl/tib/scanner/TibetanScanner.java
@@ -27,17 +27,241 @@ public interface TibetanScanner
{
public static final String copyrightUnicode="Copyright " + '\u00A9' + " 2000-2003 by Andr" + '\u00E9' + "s Montano Pellegrini, all rights reserved.";
public static final String copyrightASCII="Copyright 2000-2003 by Andres Montano Pellegrini, all rights reserved.";
- public static final String copyrightHTML="
" + "The Tibetan to English Translation Tool: Version 1.2, compiled on " + ThdlVersion.getTimeOfCompilation() + ". Copyright © 2000-2002 by Andrés Montano Pellegrini
All rights reserved
";
+ public static final String copyrightHTML="
" + "The Tibetan to English Translation Tool: Version 1.3.0, compiled on " + ThdlVersion.getTimeOfCompilation() + ". Copyright © 2000-2002 by Andrés Montano Pellegrini
All rights reserved
";
public static final String aboutUnicode=
- "The Tibetan to English Translation Tool: Version 1.2.\n" +
- "Compiled on " + ThdlVersion.getTimeOfCompilation() + ".\n\n" + /* FIXME HARD-CODED VERSION NUMBER */
- "Copyright " + '\u00A9' + " 2000-2003 by Andr" + '\u00E9' + "s Montano Pellegrini, all rights reserved.\n\n" +
- "This software is protected by the terms of the AMP Open Community\n" +
- "License 1.0 (available at www.tibet.iteso.mx/Guatemala/). The\n" +
- "Tibetan script input facility was built by THDL's Edward Garrett\n" +
- "(http://www.thdl.org/). It uses Tibetan Computer Company\n" +
- "(http://www.tibet.dk/tcc/) fonts created by Tony Duff and made\n" +
- "available by the Trace Foundation (http://trace.org/).";
+ "Warning: Since version 1.3.0. the dictionary database format changed and " +
+ "is incompatible with previous versions. In order to use the newest version " +
+ "you have to re-build the dictionary database.\n\n" +
+ "The Tibetan to English Translation Tool, version 1.3.0\n" +
+ "Copyright " + '\u00A9' + " 2000-2002 by Andr" + '\u00E9' + "s Montano Pellegrini, all rights reserved.\n\n" +
+ "This software is protected by the terms of the AMP Open Community License, " +
+ "Version 1.0 (available at www.tibet.iteso.mx/Guatemala/). The Tibetan script " +
+ "input facility was built by THDL's Edward Garrett (http://www.thdl.org/).\n" +
+ "It uses Tibetan Computer Company (http://www.tibet.dk/tcc/)fonts created by " +
+ "Tony Duff and made available by the Trace Foundation (http://trace.org/).\n\n" +
+ "About Jeffrey Hopkins' Tibetan-Sanskrit-English Dictionary Version 2.0.0:\n\n" +
+ "Formulator and Editor: Jeffrey Hopkins\n" +
+ "Contributors: Joe Wilson, Craig Preston, John Powers, Nathanial Garson, " +
+ "Paul Hackett, Andres Montano\n\n" +
+ "A project of the Tibetan Studies Institute, Boonesville, Virginia, and the " +
+ "University of Virginia Tibetan Studies Program\n\n" +
+ "\u00A9 Jeffrey Hopkins 1992.\n\n" +
+ "Apology\n\n" +
+ "This is a work in progress in crude form that is being shared with students " +
+ "of the Tibetan language mainly in order to receive input for further " +
+ "development. The English translations of the entries can be said only to " +
+ "represent what contributors, over a span of over thirty years, thought were " +
+ "my current translations. A small number are simply wrong; others need to be " +
+ "updated; and all will receive much more attention and, hence, detail.\n\n" +
+ "The Dictionary has been entered into a database with fields for the entry, " +
+ "Sanskrit, tenses, my English, a few others’ interests, examples, " +
+ "definition, divisions, and comments. At this point, very few entries " +
+ "contain all of these items, but the plan is provide these, where " +
+ "appropriate, over the years. Translations for entries that have arisen from " +
+ "my work and from interactions with my students are in boldface, whereas " +
+ "those from other works are in regular type on separate lines and are marked " +
+ "with an initial at the end of the line. A key to these markings is given on " +
+ "the next page.\n\n" +
+ "(Please note that the radical signs for Sanskrit roots are, after the first " +
+ "letter of the alphabet, in a state of disarray.)\n\n" +
+ "I hope that you will bear with the many inadequacies of this first release.\n\n" +
+ " Paul Jeffrey Hopkins\n" +
+ " Professor of Tibetan Studies\n\n" +
+ "Abbreviations\n\n" +
+ "B-7: ??? {PH: see dngos med ... & dngos po (synonyms) }\n\n" +
+ "BJ: Bel-jor-hlun-drup (Dpal \'byor lhun grub). Legs bshad snying po\'i dka' " +
+ "\'grel bstan pa\'i sgron me (Buxaduar: Sera Monastery, 1968).\n\n" +
+ "BK: ??? {PH: see bka\' (examples) }\n\n" +
+ "BR: Losang Gyatso (Blo bzang rgya mtsho). Presentation of Knowledge and " +
+ "Awareness (Blo rig).\n\n" +
+ "BWT: Ngak-wang-bel-den (Ngag dbang dpal ldan). Annotations for " +
+ "[Jam-yang-shay-ba\'s] \"Tenets\" (Grub mtha\' chen mo\'i mchan).\n\n" +
+ "C: Conze, Edward. Materials for a Dictionary of the Prajnaparamita " +
+ "Literature (Tokyo: Suzuki Research Foundation, 1967).\n\n" +
+ "col.: colloquial\n\n" +
+ "D1: Pur-bu-jok (Phur bu lcog). Presentation of the Collected Topics " +
+ "(Part 1: Bsdus grwa chung ngu).\n\n" +
+ "D2: Pur-bu-jok (Phur bu lcog). Presentation of the Collected Topics " +
+ "(Part 2: Bsdus grwa \'bring).\n\n" +
+ "DASI: Decisive Analysis of Special Insight.\n\n" +
+ "DG: Germano, David. Poetic Thought, the Intelligent Universe, and the " +
+ "Mystery of Self: the Tantric Synthesis of rDzogs Chen in Fourteenth Century " +
+ "Tibet. (Ph.d. dissertation, University of Wisconsin, Madison,WI 1992).\n\n" +
+ "DK: Dzong-ka-ba (Tsong kha pa blo bzang grags pa). Drang ba dang nges pa\'i " +
+ "don rnam par phye ba'i bstan bcos legs bshad snying po (Sarnath: Pleasure of " +
+ "Elegant Sayings Press, 1979).\n\n" +
+ "Ganden Triba: Oral commentary of Ganden Triba Jam-bel-shen-pen.\n\n" +
+ "GCT: Ngak-wang-dra-shi (Ngag dbang bkra shis). Collected Topics by a " +
+ "Spiritual Son of Jam-yang-shay-ba (Sgo mang sras bsdus grwa).\n\n" +
+ "GD: Dreyfus, George. Ontology, Philosophy of Language, and Epistemology in " +
+ "Buddhist Tradition (Ph.d. dissertation. Religious Studies, University of " +
+ "Virginia, Charlottesville,VA 1991).\n\n" +
+ "Gon-chok: Gon-chok-jik-may-wang-bo (Dkon mchog \'jigs med dbang po). " +
+ "Precious Garland of Tenets (Grub mtha\' rin chen phreng ba).\n\n" +
+ "Jang.: Jang-gya (Lcang skya rol pa\'i rdo rje). " +
+ "Presentation of Tenets (Lcang skya grub mtha').\n\n" +
+ "JKA: ??? {PH: see mngon sum (definition) } \n\n" +
+ "KS: Khetsun Sangpo, Biographical Dictionary of Tibet and Tibetan Buddhism. " +
+ "(LTWA: Dharamsala, HP)\n\n" +
+ "L: Lamotte, Etienne. Samdhinirmocana-sutra " +
+ "(Louvain: Universite de Louvain, 1935).\n\n" +
+ "LAK: Jam-bel-sam-pel (\'Jam dpal bsam phel). Presentation of Awareness and " +
+ "Knowledge (Blo rig gi rnam bzhag).\n\n" +
+ "Lati: Oral commentary by Lati Rinbochay.\n\n" +
+ "LCh: Chandra, Lokesh. Tibetan-Sanskrit Dictionary (New Delhi, 1987).\n\n" +
+ "LG: Losang Gyatso\'s Blo rig.\n\n" +
+ "LM: ??? {PH: see skye bu chung ngu ... }\n\n" +
+ "LR: Hopkins, Jeffrey. Glossary for Gsung rab kun gyi snying po lam rim gyi " +
+ "gtso bo rnam pa gsung gi khrid yid gzhan phan snying po (by Panchen Lama IV).\n\n" +
+ "LSR: Tsul-trim-nam-gyel (Tshul khrims rnam rgyal). Presentation of Signs " +
+ "and Reasonings (Rtags rigs kyi rnam bzhag).\n\n" +
+ "LWT: Lo-sang-gon-chok (Blo bzang dkon mchog). Word Commentary on the Root " +
+ "Text of [Jam-yang-shay-ba\'s] \"Tenets\".\n\n" +
+ "ME: Hopkins, Jeffrey. Meditation on Emptiness (London, Wisdom, 1983).\n\n" +
+ "MGP: ??? {PH: see bkag (examples) }\n\n" +
+ "MSA: Nagao, Gadjin. Index to the Mahayanasutralankara (Tokyo: Nippon " +
+ "Gakujutsu Shinkvo-kai, 1958).\n\n" +
+ "MSI: Dzong-ka-ba (Tsong kha pa blo bzang grags pa). Middling Exposition of " +
+ "Special Insight (Lhag mthong \'bring).\n\n" +
+ "MV: Nagao, Gadjin. Index to the Madhyanta-vibhaga (Tokyo: 1961).\n\n" +
+ "N: Zuiryu NAKAMURA. Index to the Ratnagotravibhaga-mahayanottaratantra-sastra " +
+ "(Tokyo, 1961).\n\n" +
+ "P: Peking edition of the Tripitaka.\n\n" +
+ "PGP: Lo-sang-da-yang (Blo bzang rta dbyangs). Presentation of the Grounds " +
+ "and Paths in Prasangika (Thal \'gyur pa\'i sa lam).\n\n" +
+ "PP: Candrakirti. Prasannapada.\n\n" +
+ "S: Samdhinirmocana-sutra (Tok Palace version, 160 pp., Leh, Ladakh: Shesrig " +
+ "Dpemzod, 1975-1980, vol. ja).\n\n" +
+ "TAK: Pur-bu-jok (Phur bu lcog). Explanation of the Presentation of Objects " +
+ "and Object-Possessors as Well as Awareness and Knowledge (Yul dang yul can " +
+ "dang blo rig).\n\n" +
+ "TCT: Pur-bu-jok (Phur bu lcog). Presentation of the Collected Topics (Yongs " +
+ "\'dzin bsdus grwa).\n\n" +
+ "TGP: Nga-wang-bel-den (Ngag dbang dpal ldan). Treatise Illuminating the " +
+ "Presentation of the Four Great Secret Tantra Sets (Sngags kyi sa lam).\n\n" +
+ "TN: Vasubandhu. Trisvabhavanirdesha.\n\n" +
+ "VM: Bu-don-rin-chen-drup (bu ston rin chen grub), The Practice of " +
+ "(Jnandagarbha\'s) \"The Rite of the Vajra-Element Mandala: The Source of All " +
+ "Vajras\": A Precious Enhancer of Thought (rDo rje dbyings kyi dkyil \'khor gyi " +
+ "cho ga rdo rje thams cad \'byung ba zhes bya ba\'i lag len rin chen bsam \'phel), " +
+ "in Collected Works, Part 12 na. Lhasa: Zhol Printing House, 1990.\n\n" +
+ "Y: Susumi YAMAGUCHI.Index to the Prasannapada Madhyamakavrtti. " +
+ "(Kyoto: Heirakuji-Shoten, 1974).\n\n" +
+ "YT: Oral commentary by Yeshi Thupten.";
+
+ public static final String aboutTomeraider=
+ "Welcome to Jeffrey Hopkins' Tibetan-Sanskrit-English Dictionary version 2.0.0!\n" +
+ "This file was automatically generated using software developed by Andres Montano Pellegrini. " +
+ "For more information, see http://www.people.virginia.edu/~am2zb/tibetan .
" +
+ "Formulator and Editor: Jeffrey Hopkins
\n" +
+ "Contributors: Joe Wilson, Craig Preston, John Powers, Nathanial Garson, " +
+ "Paul Hackett, Andres Montano
" +
+ "A project of the Tibetan Studies Institute, Boonesville, Virginia, and the " +
+ "University of Virginia Tibetan Studies Program
" +
+ "\u00A9 Jeffrey Hopkins 1992.
" +
+ "Apology
" +
+ "This is a work in progress in crude form that is being shared with students " +
+ "of the Tibetan language mainly in order to receive input for further " +
+ "development. The English translations of the entries can be said only to " +
+ "represent what contributors, over a span of over thirty years, thought were " +
+ "my current translations. A small number are simply wrong; others need to be " +
+ "updated; and all will receive much more attention and, hence, detail.
\n" +
+ "The Dictionary has been entered into a database with fields for the entry, " +
+ "Sanskrit, tenses, my English, a few others’ interests, examples, " +
+ "definition, divisions, and comments. At this point, very few entries " +
+ "contain all of these items, but the plan is provide these, where " +
+ "appropriate, over the years. Translations for entries that have arisen from " +
+ "my work and from interactions with my students are in boldface, whereas " +
+ "those from other works are in regular type on separate lines and are marked " +
+ "with an initial at the end of the line. A key to these markings is given on " +
+ "the next page.
\n" +
+ "(Please note that the radical signs for Sanskrit roots are, after the first" +
+ "letter of the alphabet, in a state of disarray.)
\n" +
+ "I hope that you will bear with the many inadequacies of this first release.
\n" +
+ "Paul Jeffrey Hopkins
\n" +
+ "Professor of Tibetan Studies
\n" +
+ "Abbreviations
\n" +
+ "B-7: ??? {PH: see dngos med ... & dngos po (synonyms) }
\n" +
+ "BJ: Bel-jor-hlun-drup (Dpal \'byor lhun grub). Legs bshad snying po\'i dka' " +
+ "\'grel bstan pa\'i sgron me (Buxaduar: Sera Monastery, 1968).
\n" +
+ "BK: ??? {PH: see bka\' (examples) }
\n" +
+ "BR: Losang Gyatso (Blo bzang rgya mtsho). Presentation of Knowledge and " +
+ "Awareness (Blo rig).
\n" +
+ "BWT: Ngak-wang-bel-den (Ngag dbang dpal ldan). Annotations for " +
+ "[Jam-yang-shay-ba\'s] \"Tenets\" (Grub mtha\' chen mo\'i mchan).
\n" +
+ "C: Conze, Edward. Materials for a Dictionary of the Prajnaparamita " +
+ "Literature (Tokyo: Suzuki Research Foundation, 1967).
\n" +
+ "col.: colloquial
\n" +
+ "D1: Pur-bu-jok (Phur bu lcog). Presentation of the Collected Topics " +
+ "(Part 1: Bsdus grwa chung ngu).
\n" +
+ "D2: Pur-bu-jok (Phur bu lcog). Presentation of the Collected Topics " +
+ "(Part 2: Bsdus grwa \'bring).
\n" +
+ "DASI: Decisive Analysis of Special Insight.
\n" +
+ "DG: Germano, David. Poetic Thought, the Intelligent Universe, and the " +
+ "Mystery of Self: the Tantric Synthesis of rDzogs Chen in Fourteenth Century " +
+ "Tibet. (Ph.d. dissertation, University of Wisconsin, Madison,WI 1992).
\n" +
+ "DK: Dzong-ka-ba (Tsong kha pa blo bzang grags pa). Drang ba dang nges pa\'i " +
+ "don rnam par phye ba'i bstan bcos legs bshad snying po (Sarnath: Pleasure of " +
+ "Elegant Sayings Press, 1979).
\n" +
+ "Ganden Triba: Oral commentary of Ganden Triba Jam-bel-shen-pen.
\n" +
+ "GCT: Ngak-wang-dra-shi (Ngag dbang bkra shis). Collected Topics by a " +
+ "Spiritual Son of Jam-yang-shay-ba (Sgo mang sras bsdus grwa).
\n" +
+ "GD: Dreyfus, George. Ontology, Philosophy of Language, and Epistemology in " +
+ "Buddhist Tradition (Ph.d. dissertation. Religious Studies, University of " +
+ "Virginia, Charlottesville,VA 1991).
\n" +
+ "Gon-chok: Gon-chok-jik-may-wang-bo (Dkon mchog \'jigs med dbang po). " +
+ "Precious Garland of Tenets (Grub mtha\' rin chen phreng ba).
\n" +
+ "Jang.: Jang-gya (Lcang skya rol pa\'i rdo rje). " +
+ "Presentation of Tenets (Lcang skya grub mtha').
\n" +
+ "JKA: ??? {PH: see mngon sum (definition) }
\n" +
+ "KS: Khetsun Sangpo, Biographical Dictionary of Tibet and Tibetan Buddhism. " +
+ "(LTWA: Dharamsala, HP)
\n" +
+ "L: Lamotte, Etienne. Samdhinirmocana-sutra " +
+ "(Louvain: Universite de Louvain, 1935).
\n" +
+ "LAK: Jam-bel-sam-pel (\'Jam dpal bsam phel). Presentation of Awareness and " +
+ "Knowledge (Blo rig gi rnam bzhag).
\n" +
+ "Lati: Oral commentary by Lati Rinbochay.
\n" +
+ "LCh: Chandra, Lokesh. Tibetan-Sanskrit Dictionary (New Delhi, 1987).
\n" +
+ "LG: Losang Gyatso\'s Blo rig.
\n" +
+ "LM: ??? {PH: see skye bu chung ngu ... }
\n" +
+ "LR: Hopkins, Jeffrey. Glossary for Gsung rab kun gyi snying po lam rim gyi " +
+ "gtso bo rnam pa gsung gi khrid yid gzhan phan snying po (by Panchen Lama IV).
\n" +
+ "LSR: Tsul-trim-nam-gyel (Tshul khrims rnam rgyal). Presentation of Signs " +
+ "and Reasonings (Rtags rigs kyi rnam bzhag).
\n" +
+ "LWT: Lo-sang-gon-chok (Blo bzang dkon mchog). Word Commentary on the Root " +
+ "Text of [Jam-yang-shay-ba\'s] \"Tenets\".
\n" +
+ "ME: Hopkins, Jeffrey. Meditation on Emptiness (London, Wisdom, 1983).
\n" +
+ "MGP: ??? {PH: see bkag (examples) }
\n" +
+ "MSA: Nagao, Gadjin. Index to the Mahayanasutralankara (Tokyo: Nippon " +
+ "Gakujutsu Shinkvo-kai, 1958).
\n" +
+ "MSI: Dzong-ka-ba (Tsong kha pa blo bzang grags pa). Middling Exposition of " +
+ "Special Insight (Lhag mthong \'bring).
\n" +
+ "MV: Nagao, Gadjin. Index to the Madhyanta-vibhaga (Tokyo: 1961).
\n" +
+ "N: Zuiryu NAKAMURA. Index to the Ratnagotravibhaga-mahayanottaratantra-sastra " +
+ "(Tokyo, 1961).
\n" +
+ "P: Peking edition of the Tripitaka.
\n" +
+ "PGP: Lo-sang-da-yang (Blo bzang rta dbyangs). Presentation of the Grounds " +
+ "and Paths in Prasangika (Thal \'gyur pa\'i sa lam).
\n" +
+ "PP: Candrakirti. Prasannapada.
\n" +
+ "S: Samdhinirmocana-sutra (Tok Palace version, 160 pp., Leh, Ladakh: Shesrig " +
+ "Dpemzod, 1975-1980, vol. ja).
\n" +
+ "TAK: Pur-bu-jok (Phur bu lcog). Explanation of the Presentation of Objects " +
+ "and Object-Possessors as Well as Awareness and Knowledge (Yul dang yul can " +
+ "dang blo rig).
\n" +
+ "TCT: Pur-bu-jok (Phur bu lcog). Presentation of the Collected Topics (Yongs " +
+ "\'dzin bsdus grwa).
\n" +
+ "TGP: Nga-wang-bel-den (Ngag dbang dpal ldan). Treatise Illuminating the " +
+ "Presentation of the Four Great Secret Tantra Sets (Sngags kyi sa lam).
\n" +
+ "TN: Vasubandhu. Trisvabhavanirdesha.
\n" +
+ "VM: Bu-don-rin-chen-drup (bu ston rin chen grub), The Practice of " +
+ "(Jnandagarbha\'s) \"The Rite of the Vajra-Element Mandala: The Source of All " +
+ "Vajras\": A Precious Enhancer of Thought (rDo rje dbyings kyi dkyil \'khor gyi " +
+ "cho ga rdo rje thams cad \'byung ba zhes bya ba\'i lag len rin chen bsam \'phel), " +
+ "in Collected Works, Part 12 na. Lhasa: Zhol Printing House, 1990.
\n" +
+ "Y: Susumi YAMAGUCHI.Index to the Prasannapada Madhyamakavrtti. " +
+ "(Kyoto: Heirakuji-Shoten, 1974).
\n" +
+ "YT: Oral commentary by Yeshi Thupten.";
+
public void scanLine(String linea);
public void scanBody(String linea);
public void finishUp();