Re: [INDOLOGY] XeLaTeX and ड्भि

Olivelle, J P jpo at austin.utexas.edu
Wed Oct 9 14:28:09 UTC 2019


Hi Arlo:

On Mac using Devanagari-QWERTY keyboard and the Sanskrit 2003n or Pendantic Indic font I get:

ड्भि
Hope it shows the right ligature when transmitted. Best,

Patrick







On Oct 9, 2019, at 8:59 AM, Arlo Griffiths via INDOLOGY <indology at list.indology.info<mailto:indology at list.indology.info>> wrote:

Dear colleagues,

Does anyone know a way to get the ligature ड्भि to display without virāma inDevanagari MT, if need be through some amount of XeTeXglyph fiddling?

I am pasting below the list of ligatures for which I have found it necessary so far to fake special measures using Devanagari MT. If it is clear that adopting a different font will make most of these special cases go away, please advise me.

Thank you, and best wishes,

Arlo Griffiths


% to deal with font bug involving r.r
\newcommand{\rru}{\XeTeXglyph 59 \kern-.15em\hbox{\XeTeXglyph 533}}

% to make \rru with long ..rr
\newcommand{\rruu}{\XeTeXglyph 137 \XeTeXglyph 424}

%kka
\newcommand{\kka}{\XeTeXglyph 174}
\newcommand{\kkA}{\XeTeXglyph 174\XeTeXglyph 100}

%kta
\newcommand{\kta}{\XeTeXglyph 261}
\newcommand{\ktam}{\XeTeXglyph 261 \XeTeXglyph 530}
\newcommand{\ktah}{\XeTeXglyph 261 \XeTeXglyph 52}
\newcommand{\ktA}{\XeTeXglyph 261 \XeTeXglyph 100}
\newcommand{\ktAh}{\XeTeXglyph 261 \XeTeXglyph 100 \XeTeXglyph 52}
\newcommand{\ktAm}{\XeTeXglyph 261 \XeTeXglyph 100 \XeTeXglyph 530}
\newcommand{\kti}{\XeTeXglyph 401 \XeTeXglyph 261}
\newcommand{\ktim}{\XeTeXglyph 402 \XeTeXglyph 261}
\newcommand{\ktI}{\XeTeXglyph 261\XeTeXglyph 102}
\newcommand{\ktu}{\XeTeXglyph 261\XeTeXglyph 432}
\newcommand{\ktR}{\XeTeXglyph 261\XeTeXglyph 442}
\newcommand{\kte}{\XeTeXglyph 261 \XeTeXglyph 507}
\newcommand{\kto}{\XeTeXglyph 261 \XeTeXglyph 109}
\newcommand{\ktva}{क्त्वा}%if we ever need this again, it would be more logical to name it \ktvA

%to obtain proper ktya
\newcommand{\ktya}{{\XeTeXglyph 175}{\XeTeXglyph 252}य}
\newcommand{\ktyA}{{\XeTeXglyph 261}{\XeTeXglyph 252}य}

%ṅka
\newcommand{\ngka}{\XeTeXglyph 201}
\newcommand{\ngkA}{\XeTeXglyph 201 \XeTeXglyph 100}
\newcommand{\ngkAm}{\XeTeXglyph 201 \XeTeXglyph 100 \XeTeXglyph 530}
\newcommand{\ngkI}{\XeTeXglyph 201 \XeTeXglyph 102}
\newcommand{\ngku}{\XeTeXglyph 201 \XeTeXglyph 431}
\newcommand{\ngkti}{\XeTeXglyph 401 \XeTeXglyph 207}
\newcommand{\ngkSva}{\XeTeXglyph 208}
\newcommand{\ngkSve}{\XeTeXglyph 208 \XeTeXglyph 507}

%ṅkha
\newcommand{\ngkha}{\XeTeXglyph 202}
\newcommand{\ngkhA}{\XeTeXglyph 202 \XeTeXglyph 100}
\newcommand{\ngkhe}{\XeTeXglyph 202 \XeTeXglyph 507}

%to obtain proper ṅga, ṅgaṁ, ṅgā, ṅgi, ṅgī, ṅgu, ṅgū, ṅgr̥, ṅge, ṅgai, ṅgo, ṅgau
\newcommand{\ngga}{\XeTeXglyph 204}
\newcommand{\nggah}{\XeTeXglyph 204\XeTeXglyph 52}
\newcommand{\nggam}{\XeTeXglyph 204 \XeTeXglyph 530}
\newcommand{\nggaa}{\XeTeXglyph 204 \XeTeXglyph 100}
\newcommand{\nggaah}{\XeTeXglyph 204 \XeTeXglyph 100 \XeTeXglyph 52}
\newcommand{\nggi}{\XeTeXglyph 401 \XeTeXglyph 204}
\newcommand{\nggii}{\XeTeXglyph 204 \XeTeXglyph 102}
\newcommand{\nggiim}{\XeTeXglyph 204 \XeTeXglyph 405}
\newcommand{\nggu}{\XeTeXglyph 204 \XeTeXglyph 431}
%\newcommand{\ngguu}{\XeTeXglyph 104 \XeTeXglyph 204}
\newcommand{\nggr}{\XeTeXglyph 105 \XeTeXglyph 204}
%\newcommand{\ngge}{\XeTeXglyph 106 \XeTeXglyph 204}
\newcommand{\ngge}{\XeTeXglyph 204 \XeTeXglyph 507}
\newcommand{\nggeh}{\XeTeXglyph 204 \XeTeXglyph 507 \XeTeXglyph 52}
\newcommand{\nggai}{\XeTeXglyph 107 \XeTeXglyph 204}
\newcommand{\nggo}{\XeTeXglyph 204 \XeTeXglyph 109}
\newcommand{\nggau}{\XeTeXglyph 110 \XeTeXglyph 204}

%to obtain proper ṅgha
\newcommand{\nggha}{\XeTeXglyph 205}

%ṅmū, ṅmau
\newcommand{\ngma}{\XeTeXglyph 206}
\newcommand{\ngmA}{\XeTeXglyph 206\XeTeXglyph 100}
\newcommand{\ngmu}{\XeTeXglyph 206\XeTeXglyph 431}
\newcommand{\ngmU}{\XeTeXglyph 206\XeTeXglyph 436}
\newcommand{\ngmau}{\XeTeXglyph 206\XeTeXglyph 110}

% to deal with font bug involving cchv
\newcommand{\cchve}{\XeTeXglyph 217 \XeTeXglyph 72 \XeTeXglyph 362 \XeTeXglyph 414}

%jj
\newcommand{\jju}{\XeTeXglyph 482}

% to deal with font bug involving ñja
\newcommand{\nja}{\XeTeXglyph 482}
\newcommand{\njA}{\XeTeXglyph 482  \XeTeXglyph 100}
\newcommand{\njAm}{\XeTeXglyph 482  \XeTeXglyph 100 \XeTeXglyph 530}
\newcommand{\nji}{\XeTeXglyph 101 \XeTeXglyph 482}
\newcommand{\njI}{\XeTeXglyph 482 \XeTeXglyph 102}
\newcommand{\njai}{\XeTeXglyph 482 \XeTeXglyph 511}
\newcommand{\njo}{\XeTeXglyph 482 \XeTeXglyph 109}

%to make ttra ligature
\newcommand{\ttra}{त्त\XeTeXglyph470}

%to make ttri ligature
\newcommand{\ttri}{\XeTeXglyph401\XeTeXglyph259\XeTeXglyph470}

%ttvā
\newcommand{\ttvA}{\XeTeXglyph259\XeTeXglyph362\XeTeXglyph100}

%ḍbha
NO SOLUTION YET

% to make dgr̥
\newcommand{\dgr}{\XeTeXglyph 270 \XeTeXglyph 445}

%to make ddv ligature
\newcommand{\ddvA}{\XeTeXglyph 286 \XeTeXglyph 100}
\newcommand{\ddvi}{\XeTeXglyph 101 \XeTeXglyph 286}

%to make ddhv ligature
\newcommand{\ddhv}{द्ध\XeTeXglyph 362}

%to make db
\newcommand{\dba}{\XeTeXglyph272}
\newcommand{\dbu}{\XeTeXglyph272\XeTeXglyph 435}
\newcommand{\dbA}{\XeTeXglyph272 \XeTeXglyph 100}
\newcommand{\dbi}{\XeTeXglyph 101\XeTeXglyph272}
\newcommand{\dbR}{\XeTeXglyph272 \XeTeXglyph 445}
\newcommand{\dbra}{\XeTeXglyph 272\raise.19em\hbox{\XeTeXglyph469}}
\newcommand{\dbru}{द्ब\XeTeXglyph470\raise.05em\hbox{\XeTeXglyph436}}

%to make dbhu
\newcommand{\dbhu}{\XeTeXglyph280\raise.12em\hbox{\XeTeXglyph431}}

%pt
\newcommand{\pta}{\XeTeXglyph257}
\newcommand{\ptam}{\XeTeXglyph257\XeTeXglyph530}
\newcommand{\ptah}{\XeTeXglyph257 \XeTeXglyph52}
\newcommand{\ptA}{\XeTeXglyph257 \XeTeXglyph100}
\newcommand{\ptvA}{\XeTeXglyph258 \XeTeXglyph95 \XeTeXglyph100}
\newcommand{\ptAm}{\XeTeXglyph257 \XeTeXglyph100\XeTeXglyph530}
\newcommand{\ptAh}{\XeTeXglyph257 \XeTeXglyph100 \XeTeXglyph52}
\newcommand{\ptI}{\XeTeXglyph 257 \XeTeXglyph 102}
\newcommand{\ptim}{\XeTeXglyph 402 \XeTeXglyph 257}
\newcommand{\pte}{\XeTeXglyph257 \XeTeXglyph414}
\newcommand{\pto}{\XeTeXglyph257 \XeTeXglyph109}

%-om̐
\newcommand{\coM}{चो\kern.2em\raise.12em\hbox{\XeTeXglyph 531}}
\newcommand{\dyoM}{द्यो\raise.12em\hbox{\XeTeXglyph 531}}
\newcommand{\moM}{मो\kern.2em\raise.12em\hbox{\XeTeXglyph 531}}
\newcommand{\roM}{रो\raise.12em\hbox{\XeTeXglyph 531}}

%ṣṭv
\newcommand{\STvA}{\XeTeXglyph 368\XeTeXglyph 361\XeTeXglyph 100}
\newcommand{\STve}{\XeTeXglyph 368\XeTeXglyph 361\XeTeXglyph 414}

%hṇa
\newcommand{\hNa}{\XeTeXglyph393}
\newcommand{\hNA}{\XeTeXglyph393\XeTeXglyph100}
\newcommand{\hNi}{\XeTeXglyph101\XeTeXglyph393}
\newcommand{\hNI}{\XeTeXglyph393\XeTeXglyph102}












_______________________________________________
INDOLOGY mailing list
INDOLOGY at list.indology.info<mailto:INDOLOGY at list.indology.info>
indology-owner at list.indology.info<mailto:indology-owner at list.indology.info> (messages to the list's managing committee)
http://listinfo.indology.info<http://listinfo.indology.info/> (where you can change your list options or unsubscribe)
This message is from an external sender. Learn more about why this <<
matters at https://links.utexas.edu/rtyclf.                        <<



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://list.indology.info/pipermail/indology/attachments/20191009/75886e97/attachment.htm>


More information about the INDOLOGY mailing list