summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/fonts/misc/xetex/fontmapping/xetex-devanagari/README67
-rw-r--r--Master/texmf-dist/fonts/misc/xetex/fontmapping/xetex-devanagari/harvardkyoto.map249
-rw-r--r--Master/texmf-dist/fonts/misc/xetex/fontmapping/xetex-devanagari/harvardkyoto.tecbin0 -> 1121 bytes
-rw-r--r--Master/texmf-dist/fonts/misc/xetex/fontmapping/xetex-devanagari/iast.map223
-rw-r--r--Master/texmf-dist/fonts/misc/xetex/fontmapping/xetex-devanagari/iast.tecbin0 -> 948 bytes
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check4
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds14
-rw-r--r--Master/tlpkg/tlpsrc/collection-xetex.tlpsrc2
-rw-r--r--Master/tlpkg/tlpsrc/xetex-devanagari.tlpsrc0
9 files changed, 550 insertions, 9 deletions
diff --git a/Master/texmf-dist/fonts/misc/xetex/fontmapping/xetex-devanagari/README b/Master/texmf-dist/fonts/misc/xetex/fontmapping/xetex-devanagari/README
new file mode 100644
index 00000000000..10d4d474dde
--- /dev/null
+++ b/Master/texmf-dist/fonts/misc/xetex/fontmapping/xetex-devanagari/README
@@ -0,0 +1,67 @@
+## xetex-devanagari 0.99a
+
+(based on velthuis-sanskrit.map by Zdeněk Wagner)
+
+XeTeX input mappings for convenient Unicode Devanagari (0900-097F) typesetting.
+To be processed with teckit_compile ([http://scripts.sil.org/TECkit](http://scripts.sil.org/TECkit)).
+
+#### harvardkyoto.map
+
+Input coding:
+
+A = ā, I = ī, U= ū, R = ṛ, RR = ṝ, L = ḷ
+
+G = ṅ, J = ñ
+
+T = ṭ, D = ḍ, N = ṇ
+
+z = ś, S = ṣ
+
+M = Anusvara, H = Visarga, , = Virama, ' = Avagraha
+
+.l = ऴ, .m = Anunasika, - = Anudatta (Rv), ! = Svarita (Rv), om = ॐ
+
+q = क़, x = ख़, .g = ग़, .z = ज़, f = फ़, .r = ड़, .R = ढ़
+
+Usage like:
+
+ \documentclass{article}
+
+ \usepackage{fontspec}
+ \setmainfont[Script=Devanagari,Mapping=harvardkyoto]{Devanagari2003}
+
+ \begin{document}
+ dharmakSetre kurukSetre samavetA yuyutsavaH | \\
+ mAmakAH pANDavAzcaiva kimakurvata saMjaya ||
+
+ a-gnimI!.le pu-rohi!taM ya-jJasya! de-vamR-tvijaM! | \\
+ hotA!raM ratna-dhA!tamaM ||
+
+ tumase itanI cau.rI nadI pAr karate nahIM banegA |
+ \end{document}
+
+#### iast.map
+
+Input coding includes IAST Unicode entities:
+
+ā ī ū ṛ ṝ (1E5B 0304) ḷ ṅ ñ ṭ ḍ ṇ ś ṣ ṃ ḥ
+
+Usage like:
+
+ \documentclass{article}
+
+ \usepackage{fontspec}
+ \setmainfont[Script=Devanagari,Mapping=iast]{Devanagari2003}
+
+ \begin{document}
+ dharmakṣetre kurukṣetre samavetā yuyutsavaḥ | \\
+ māmakāḥ pāṇḍavāścaiva kimakurvata saṃjaya ||
+ \end{document}
+
+Please report bugs to: [https://github.com/danstender/xetex-devanagari/issues](https://github.com/danstender/xetex-devanagari/issues)
+
+Enjoy!
+
+(C) 2008-2011 Daniel Stender ([daniel@danielstender.com](mailto:daniel@danielstender.com))
+
+[http://www.danielstender.com/granthinam](http://www.danielstender.com/granthinam)
diff --git a/Master/texmf-dist/fonts/misc/xetex/fontmapping/xetex-devanagari/harvardkyoto.map b/Master/texmf-dist/fonts/misc/xetex/fontmapping/xetex-devanagari/harvardkyoto.map
new file mode 100644
index 00000000000..bab86328539
--- /dev/null
+++ b/Master/texmf-dist/fonts/misc/xetex/fontmapping/xetex-devanagari/harvardkyoto.map
@@ -0,0 +1,249 @@
+LHSName "harvardkyoto"
+RHSName "Unicode"
+LHSDescription "Harvard/Kyoto input method for Unicode Devanagari"
+Version "0.91c"
+Contact "daniel@danielstender.com"
+
+Define dot U+002E
+
+Define a U+0061
+Define A U+0041
+Define i U+0069
+Define I U+0049
+Define u U+0075
+Define U U+0055
+Define R U+0052
+Define L U+004C
+
+Define e U+0065
+Define o U+006F
+
+Define k U+006B
+Define h U+0068
+Define g U+0067
+Define G U+0047
+
+Define c U+0063
+Define j U+006A
+Define J U+004A
+
+Define T U+0054
+Define D U+0044
+Define N U+004E
+
+Define t U+0074
+Define d U+0064
+Define n U+006E
+
+Define p U+0070
+Define b U+0062
+Define m U+006D
+
+Define y U+0079
+Define r U+0072
+Define l U+006C
+Define v U+0076
+
+Define z U+007A
+Define S U+0053
+Define s U+0073
+
+Define q U+0071
+Define f U+0066
+Define x U+0078
+
+Define vstroke U+0951
+Define hstroke U+0952
+
+Define asvara U+0905
+Define Asvara U+0906
+Define isvara U+0907
+Define Isvara U+0908
+Define usvara U+0909
+Define Usvara U+090A
+Define rvoc U+090B
+Define Rvoc U+0960
+Define lvoc U+090C
+Define esvara U+090F
+Define aisvara U+0910
+Define osvara U+0913
+Define ausvara U+0914
+
+Define Amatra U+093E
+Define imatra U+093F
+Define Imatra U+0940
+Define umatra U+0941
+Define Umatra U+0942
+Define rmatra U+0943
+Define Rmatra U+0944
+Define lmatra U+0962
+Define ematra U+0947
+Define aimatra U+0948
+Define omatra U+094B
+Define aumatra U+094C
+
+Define ka U+0915
+Define kha U+0916
+Define ga U+0917
+Define gha U+0918
+Define Ga U+0919
+Define ca U+091A
+Define cha U+091B
+Define ja U+091C
+Define jha U+091D
+Define Ja U+091E
+Define Ta U+091F
+Define Tha U+0920
+Define Da U+0921
+Define Dha U+0922
+Define Na U+0923
+Define ta U+0924
+Define tha U+0925
+Define da U+0926
+Define dha U+0927
+Define na U+0928
+Define pa U+092A
+Define pha U+092B
+Define ba U+092C
+Define bha U+092D
+Define ma U+092E
+Define ya U+092F
+Define ra U+0930
+Define la U+0932
+Define va U+0935
+Define za U+0936
+Define Sa U+0937
+Define sa U+0938
+Define ha U+0939
+
+Define anusvara U+0902
+Define visarga U+0903
+
+Define danda U+0964
+Define ddanda U+0965
+Define virama U+094D
+Define avagraha U+093D
+
+Define om U+0950
+
+Define rla U+0933
+Define anunasika U+0901
+
+Define anudatta U+002D
+Define svarita U+0021
+
+Define hka U+0958
+Define hkha U+0959
+Define hga U+095A
+Define hja U+095B
+Define hra U+095C
+Define hrha U+095D
+Define hpha U+095E
+
+pass(Unicode)
+
+a > asvara
+A > Asvara
+i > isvara
+I > Isvara
+u > usvara
+U > Usvara
+R > rvoc
+R R > Rvoc
+L > lvoc
+
+e > esvara
+a i > aisvara
+o > osvara
+a u > ausvara
+
+k > ka
+k h > kha
+g > ga
+g h > gha
+G > Ga
+c > ca
+c h > cha
+j > ja
+j h > jha
+J > Ja
+T > Ta
+T h > Tha
+D > Da
+D h > Dha
+N > Na
+t > ta
+t h > tha
+d > da
+d h > dha
+n > na
+p > pa
+p h > pha
+b > ba
+b h > bha
+m > ma
+y > ya
+r > ra
+l > la
+v > va
+z > za
+S > Sa
+s > sa
+h > ha
+
+q > hka
+x > hkha
+dot g > hga
+dot z > hja
+f > hpha
+dot r > hra
+dot R > hrha
+
+svarita > vstroke
+anudatta > hstroke
+
+dot l > rla
+dot m > anunasika
+
+o m > om
+
+U+004D > anusvara
+U+0048 > visarga
+U+0027 > avagraha
+U+002C > virama
+
+U+007C > danda
+U+007C U+007C > ddanda
+
+U+0030 > U+0966
+U+0031 > U+0967
+U+0032 > U+0968
+U+0033 > U+0969
+U+0034 > U+096A
+U+0035 > U+096B
+U+0036 > U+096C
+U+0037 > U+096D
+U+0038 > U+096E
+U+0039 > U+096F
+
+pass(Unicode)
+
+UniClass [vyanjana] = (ka .. ha rla hka .. hpha)
+UniClass [svara] = (Asvara isvara Isvara usvara Usvara rvoc Rvoc lvoc esvara aisvara osvara ausvara)
+UniClass [matra] = (Amatra imatra Imatra umatra Umatra rmatra Rmatra lmatra ematra aimatra omatra aumatra)
+[vyanjana] [svara] > [vyanjana] [matra]
+
+pass(Unicode)
+
+UniClass [vyanjana] = (ka .. ha)
+[vyanjana]=v1 [vyanjana]=v2 > @v1 virama @v2
+
+pass(Unicode)
+
+UniClass [vyanjana] = (ka .. ha)
+[vyanjana]=v1 [vyanjana]=v2 > @v1 virama @v2
+
+pass(Unicode)
+
+Uniclass [vyanjana] = (ka .. ha rla hka .. hpha)
+[vyanjana] asvara > [vyanjana]
diff --git a/Master/texmf-dist/fonts/misc/xetex/fontmapping/xetex-devanagari/harvardkyoto.tec b/Master/texmf-dist/fonts/misc/xetex/fontmapping/xetex-devanagari/harvardkyoto.tec
new file mode 100644
index 00000000000..8decbd98c14
--- /dev/null
+++ b/Master/texmf-dist/fonts/misc/xetex/fontmapping/xetex-devanagari/harvardkyoto.tec
Binary files differ
diff --git a/Master/texmf-dist/fonts/misc/xetex/fontmapping/xetex-devanagari/iast.map b/Master/texmf-dist/fonts/misc/xetex/fontmapping/xetex-devanagari/iast.map
new file mode 100644
index 00000000000..0a2f99445fd
--- /dev/null
+++ b/Master/texmf-dist/fonts/misc/xetex/fontmapping/xetex-devanagari/iast.map
@@ -0,0 +1,223 @@
+EncodingName "iast2dn"
+
+; Anstatt direkt umzusetzen (U+xxx [Umschrift] > U+yyy [Devanagari]), ist eine System
+; mit Ein- und Ausgabecodierung notwendig weil Aspirata und ai/au zusammengesetzt
+; eingegeben werden müssen und weil bei der Eingabe nicht zwischen abhängigen und
+; unabhängigen Vokale unterschieden wird
+
+; Eingabecodierung, fürs Mapping dürfen keine Unicode-Entities verwendet werden!
+
+Define a U+0061
+Define A U+0101
+Define i U+0069
+Define I U+012B
+Define u U+0075
+Define U U+016B
+Define R U+1E5B
+Define RR U+1E5B U+0304
+Define L U+1E37
+
+Define e U+0065 ; siehe unten, ai und au sind zusammengesetzt, "a i" usw.
+Define o U+006F
+
+Define k U+006B
+Define h U+0068 ; Aspirata sind zusammengesetzt, "k h" usw.
+Define g U+0067
+Define G U+1E45
+
+Define c U+0063
+Define j U+006A
+Define J U+00F1
+
+Define T U+1E6D
+Define D U+1E0D
+Define N U+1E47
+
+Define t U+0074
+Define d U+0064
+Define n U+006E
+
+Define p U+0070
+Define b U+0062
+Define m U+006D
+
+Define y U+0079
+Define r U+0072
+Define l U+006C
+Define v U+0076
+
+Define z U+015B
+Define S U+1E63
+Define s U+0073
+
+; Ausgabedcodierung (unverändert aus harvardkyoto.map)
+
+Define asvara U+0905
+Define Asvara U+0906
+Define isvara U+0907
+Define Isvara U+0908
+Define usvara U+0909
+Define Usvara U+090A
+Define rvoc U+090B
+Define Rvoc U+0960
+Define lvoc U+090C
+Define esvara U+090F
+Define aisvara U+0910
+Define osvara U+0913
+Define ausvara U+0914
+
+Define ka U+0915
+Define kha U+0916
+Define ga U+0917
+Define gha U+0918
+Define Ga U+0919
+Define ca U+091A
+Define cha U+091B
+Define ja U+091C
+Define jha U+091D
+Define Ja U+091E
+Define Ta U+091F
+Define Tha U+0920
+Define Da U+0921
+Define Dha U+0922
+Define Na U+0923
+Define ta U+0924
+Define tha U+0925
+Define da U+0926
+Define dha U+0927
+Define na U+0928
+Define pa U+092A
+Define pha U+092B
+Define ba U+092C
+Define bha U+092D
+Define ma U+092E
+Define ya U+092F
+Define ra U+0930
+Define la U+0932
+Define va U+0935
+Define za U+0936
+Define Sa U+0937
+Define sa U+0938
+Define ha U+0939
+
+Define Amatra U+093E
+Define imatra U+093F
+Define Imatra U+0940
+Define umatra U+0941
+Define Umatra U+0942
+Define rmatra U+0943
+Define Rmatra U+0944
+Define lmatra U+0962
+Define ematra U+0947
+Define aimatra U+0948
+Define omatra U+094B
+Define aumatra U+094C
+
+Define virama U+094D ; der Virama wird i.d. Unicode Devanagari auch eingesetzt ohne
+ ; dargestellt zu werden für Ligaturen, siehe 2. und 3. Durchlauf
+
+; 1. Durchlauf
+
+pass(Unicode)
+
+a > asvara
+A > Asvara
+i > isvara
+I > Isvara
+u > usvara
+U > Usvara
+R > rvoc
+RR > Rvoc
+L > lvoc
+
+e > esvara
+a i > aisvara
+o > osvara
+a u > ausvara
+
+k > ka ; der springende Punkt für das Vokalhaindling:
+ ;"k" = 0915 [ka], "k a" = 0915 0905 [ka asvara]
+k h > kha
+g > ga
+g h > gha
+G > Ga
+c > ca
+c h > cha
+j > ja
+j h > jha
+J > Ja
+T > Ta
+T h > Tha
+D > Da
+D h > Dha
+N > Na
+t > ta
+t h > tha
+d > da
+d h > dha
+n > na
+p > pa
+p h > pha
+b > ba
+b h > bha
+m > ma
+y > ya
+r > ra
+l > la
+v > va
+z > za
+S > Sa
+s > sa
+h > ha
+
+; Direkte Umsetzungen:
+
+U+1E25 > U+0903 ; Visarga
+U+1E43 > U+0902 ; Anusvara
+U+0027 > U+093D ; Avagraha
+
+U+0030 > U+0966 ; Numeralien
+U+0031 > U+0967
+U+0032 > U+0968
+U+0033 > U+0969
+U+0034 > U+096A
+U+0035 > U+096B
+U+0036 > U+096C
+U+0037 > U+096D
+U+0038 > U+096E
+U+0039 > U+096F
+
+U+007C > U+0964
+U+007C U+007C > U+0965 ; Danda und Doppeldanda
+
+U+002C > virama ; manueller Virama
+
+; 2. Durchlauf, Konvertierung der Vokale: alle xsvara ausser asvara hinter Konsonant werden xmatra
+
+pass(Unicode)
+
+UniClass [vyanjana] = (ka .. ha)
+UniClass [svara] = (Asvara isvara Isvara usvara Usvara rvoc Rvoc lvoc esvara aisvara osvara ausvara)
+UniClass [matra] = (Amatra imatra Imatra umatra Umatra rmatra Rmatra lmatra ematra aimatra omatra aumatra)
+[vyanjana] [svara] > [vyanjana] [matra]
+
+; 3. Durchlauf, Doppelkonsonanz
+
+pass(Unicode)
+
+UniClass [vyanjana] = (ka .. ha)
+[vyanjana]=v1 [vyanjana]=v2 > @v1 virama @v2
+
+; 4. Durchlauf, Trippelkonsonanz
+
+pass(Unicode)
+
+UniClass [vyanjana] = (ka .. ha)
+[vyanjana]=v1 [vyanjana]=v2 > @v1 virama @v2
+
+; 5. Durchlauf, asvara eliminieren
+
+pass(Unicode)
+
+Uniclass [vyanjana] = (ka .. ha)
+[vyanjana] asvara > [vyanjana]
diff --git a/Master/texmf-dist/fonts/misc/xetex/fontmapping/xetex-devanagari/iast.tec b/Master/texmf-dist/fonts/misc/xetex/fontmapping/xetex-devanagari/iast.tec
new file mode 100644
index 00000000000..770d5d6dfaf
--- /dev/null
+++ b/Master/texmf-dist/fonts/misc/xetex/fontmapping/xetex-devanagari/iast.tec
Binary files differ
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index 81683503ba8..3bb294688d5 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -178,7 +178,7 @@ my @TLP_working = qw(
graphicx-psmin greek-inputenc greekdates greenpoint grfpaste
grid gridset grverb gu guitar guitlogo
hands hanging har2nat hardwrap harmony harpoon
- harvard harvardkyoto harvmac hatching
+ harvard harvmac hatching
hc he-she hep hepnames
hepparticles hepthesis hepunits here hexgame
hhtensor histogr historische-zeitschrift hitec
@@ -378,7 +378,7 @@ my @TLP_working = qw(
wrapfig wsuipa
xargs xcolor xcomment xdoc
xecjk xecolour xecyr xeindex xepersian xesearch
- xetex-def xetex-itrans xetex-pstricks xetexfontinfo
+ xetex-def xetex-devanagari xetex-itrans xetex-pstricks xetexfontinfo
xetexref xfor xgreek
xifthen xits
xkeyval xlop xltxtra xmpincl xnewcommand xoptarg xpackages
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index a3a63588090..eb5d5a9f305 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -253,6 +253,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`);
'deleq', "die 'skipping, nosell license'",
'deproc', "die 'skipping, for latex 2.09'",
'devanagr', "&MAKEdevanagr",
+ 'devanagari', "die 'skipping, use velthuis'",
'devanagari-omega', "die 'skipping, author unknown, license unknown'",
'diagmac', "die 'skipping, for latex 2.09 and we have diagmac2'",
'diagnose', "&MAKEflatten",
@@ -372,6 +373,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`);
'grnumalt', "die 'skipping, nonfree'",
'grtimes', "die 'skipping, requires nonfree monotype times'",
'guitbeamer', "die 'skipping, nonfree'",
+ 'harvardkyoto',"die 'skipping, use xetex-devanagari'",
'he-le-na', "die 'skipping, nonfree (shareware) license'",
'hfbright', "&MAKEflatten",
'hfoldsty', "&MAKEflatten",
@@ -1825,20 +1827,20 @@ $standardpro='\.pro$';
$standardmap='\.(map|tec)$';
%specialmap = (
'adobemapping' => '.', # take them all
- 'harvardkyoto' => 'README|' . $standardmap, # no point in breaking up
'fundus' => 'NULL', # skip startrek fonts we don't have
'ibygrk' => 'iby\.map', # not ibycus4.map, which is tex|mf
'kerntest' => 'NULL', # skip test map file
'skak' => 'NULL', # skip ill-named special.map
+ 'xetex-devanagari' => 'README|' . $standardmap, # no point in breaking up
);
#
$standardmapdest = "fonts/map/dvips";
%specialmapdest = (
- 'adobemapping' => "fonts/cmap",
- 'arabxetex' => "fonts/misc/xetex/fontmapping",
- 'harvardkyoto' => "fonts/misc/xetex/fontmapping",
- 'xepersian' => "fonts/misc/xetex/fontmapping",
- 'xetex-itrans' => "fonts/misc/xetex/fontmapping",
+ 'adobemapping' => "fonts/cmap",
+ 'arabxetex' => "fonts/misc/xetex/fontmapping",
+ 'xepersian' => "fonts/misc/xetex/fontmapping",
+ 'xetex-devanagari' => "fonts/misc/xetex/fontmapping",
+ 'xetex-itrans' => "fonts/misc/xetex/fontmapping",
);
$standardafm='\.afm';
diff --git a/Master/tlpkg/tlpsrc/collection-xetex.tlpsrc b/Master/tlpkg/tlpsrc/collection-xetex.tlpsrc
index 833d3591d7f..1c3e9802554 100644
--- a/Master/tlpkg/tlpsrc/collection-xetex.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-xetex.tlpsrc
@@ -6,7 +6,6 @@ depend arabxetex
depend euenc
depend fixlatvian
depend fontwrap
-depend harvardkyoto
depend mathspec
depend philokalia
depend polyglossia
@@ -19,6 +18,7 @@ depend xepersian
depend xesearch
depend xetex
depend xetex-def
+depend xetex-devanagari
depend xetex-itrans
depend xetex-pstricks
depend xetexconfig
diff --git a/Master/tlpkg/tlpsrc/xetex-devanagari.tlpsrc b/Master/tlpkg/tlpsrc/xetex-devanagari.tlpsrc
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/xetex-devanagari.tlpsrc