2013/11/25 S. venkataraman <[email protected]>: > Thanks folks for the response. > Dear Alastair, > Thanks for the tip. Annapurna font > seems to work perfectly. I haven't > gone through the entire document carefully. > The three words rendered correctly. There doesn't > seem to be any italic variant. However, regular and bold > are enough for me for the time being. > Dear Khaled, > Regarding the version of xetex I use, I have copied the line giving the > xetex version from > the log file. > > This is XeTeX, Version 3.1415926-2.5-0.9999.3 (TeX Live 2013) > (format=xelatex 2013.6.27) > > > Can you expand on the following remark? > >> The TECkit map is breaking the direct Unicode input, if I drop it the >> first line gets rendered correctly. > I am not using any TECkit mapping like velthuis or itrans. I am inputting > it directly. > Unless I have misunderstood it, Zdenek Wagner seems to be saying the > diametrically opposite thing.
No, I say the same. The font definition in your file contains Mapping=velthuis-sanskrit which means that you use TECkit mapping. This map works in several steps. first it converts all characters from transliteration to Devanagari (k to क, .n to ण etc). In the second step the vowels are properly set (dependent+independent). In the third step conjuncts are formed by replacing consonant+consonant by consonant+virama+consonant and the fourth step adds virama if the word ends in a consonant. The last step removes the inherent short "a". If you type विकर्णनीय in Devanagari, the following sequence of characters will be seen on the input: व ि क र ् ण न ी य The first two steps will do nothing. The third step will see क followed by र and will insert virama. The fourth step will see a consonant at the end of the word and thus add a virama. The resulting sequence of characters will thus be: व ि क ् र ् ण न ी य ् this is the very reason why half-kra will be formed because it exists but conjunct kr.n does not exist. You can see other errors if you specify Mapping=velthuis-sanskrit and input the text in Devanagari. Trust me, I am the author of this map. >>As Khaled wrote, it is the TECkit problem. The TECkit map assumes that >>the viramas were added as a result of the map and they are processed >>in several steps. If you enter the Devanagari text directly, it cannot >>work. > Dear Zdenek, >>It depends on the version of XeTeX and FreeFont. The shaping engine >>was changed in 2013 and the old versions of FreeFont (release >>2012-05-03) no longer works. You have to use the latest version from >>subversion at https://savannah.gnu.org/projects/freefont/ > > There doesn't seem to be any official release of GNU freefont after 2012. > How do I get the latest version from the subversion? I can't find any > instructions and I am not familiar with svn. > Best, > Oh, I forgot that the repository contains just the sources, you have to run make which means that fontforge is needed too. I can share the fonts from my computer. To Steve: isn't it a good time for another release? The problem is that the latest release does not work with XeTeX in TeX Live 2013 at all but the latest svn revision works. > > On Mon, Nov 25, 2013 at 5:16 AM, <[email protected]> wrote: >> >> Send XeTeX mailing list submissions to >> [email protected] >> >> To subscribe or unsubscribe via the World Wide Web, visit >> http://tug.org/mailman/listinfo/xetex >> or, via email, send a message with subject or body 'help' to >> [email protected] >> >> You can reach the person managing the list at >> [email protected] >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of XeTeX digest..." >> >> >> Today's Topics: >> >> 1. Re: Problems in Devanagari typing. (Zdenek Wagner) >> 2. Re: Problems in Devanagari typing. (Khaled Hosny) >> 3. Re: Problems in Devanagari typing. (Zdenek Wagner) >> 4. Re: Problems in Devanagari typing. (Mike Maxwell) >> >> >> ---------------------------------------------------------------------- >> >> Message: 1 >> Date: Sun, 24 Nov 2013 19:04:53 +0100 >> From: Zdenek Wagner <[email protected]> >> To: "XeTeX (Unicode-based TeX) discussion." <[email protected]> >> Subject: Re: [XeTeX] Problems in Devanagari typing. >> Message-ID: >> >> <cac1phyyf8zta58fpxmcabpaecz2o9kiub3fot-5sezcqihc...@mail.gmail.com> >> Content-Type: text/plain; charset="UTF-8" >> >> 2013/11/24 S. venkataraman <[email protected]>: >> > I was looking for some free, unicode compliant, >> > devanagari font family that has regular, italic and bold variants. I >> > found >> > that aksharyogini, CDAC-GISTYogesh, FreeSans and FreeSerif >> > fit the bill. But, there are different problems with different fonts. >> > Here is a minimal example with the problems explained with comments. >> > Yogesh font is OK but >> > for the one problem. >> > Is there a free font with all the three variants that works >> > properly? >> > *********example file begins*************** >> > \documentclass{article} >> > \usepackage{ifxetex} >> > \RequireXeTeX >> > \usepackage{fontspec} >> > \usepackage{xunicode} >> > \usepackage{xltxtra} >> > \newfontface\yogesh[Script=Devanagari,Ligatures=TeX]{CDAC-GISTYogesh} >> > \newfontface\aksharygni[Script=Devanagari,Ligatures=TeX]{Aksharyogini} >> > \newfontface\freeserif[Script=Devanagari,Ligatures=TeX]{FreeSerif} >> > \newfontface\freesans[Script=Devanagari,Ligatures=TeX]{FreeSans} >> > \begin{document} >> > \relax >> > {\yogesh ????????? ????-????? ????????}\\ %problem with the first word. >> > Repha is positioned wrongly. >> > {\aksharygni ????????? ????-????? ????????}\\ %problem with second >> > word. >> > dvi ligature is not correct. >> > {\freeserif ????????? ????-????? ????????}\\ %Problem with second and >> > third >> > words. dvi ligature is not correct and kri ligature is not correct. >> > {\freesans ????????? ????-????? ????????}\\ %kri ligature is not >> > correct. >> > \end{document} >> >> It depends on the version of XeTeX and FreeFont. The shaping engine >> was changed in 2013 and the old versions of FreeFont (release >> 2012-05-03) no longer works. You have to use the latest version from >> subversion at https://savannah.gnu.org/projects/freefont/ >> >> This book was typeset with it using XeLaTeX from TeX Live 2013: >> http://icebearsoft.euweb.cz/ArunakashKaRasta/index-hi.php >> >> > **********************example file ends**************** >> > Dr. S. Venkataraman >> > Associate Professor in Mathematics >> > School of Sciences >> > IGNOU >> > Tel. :29572812 >> > >> > >> > >> > -------------------------------------------------- >> > Subscriptions, Archive, and List information, etc.: >> > http://tug.org/mailman/listinfo/xetex >> > >> >> >> >> -- >> Zden?k Wagner >> http://hroch486.icpf.cas.cz/wagner/ >> http://icebearsoft.euweb.cz >> >> >> >> ------------------------------ >> >> Message: 2 >> Date: Sun, 24 Nov 2013 20:07:35 +0200 >> From: Khaled Hosny <[email protected]> >> To: "XeTeX (Unicode-based TeX) discussion." <[email protected]> >> Subject: Re: [XeTeX] Problems in Devanagari typing. >> Message-ID: <20131124180735.GB5092@khaled-laptop> >> Content-Type: text/plain; charset="utf-8" >> >> On Sun, Nov 24, 2013 at 06:48:56PM +0100, NMPOST7 wrote: >> > On 24/11/2013 18:23, Khaled Hosny wrote: >> > > What version of XeTeX are you using? You don't seem to be using the >> > > latest version. >> > >> > I am using the latest version from MacTeX (TexLive 2013) but I do not >> > have the >> > Fonts mentioned here. I am using velthui mapping. That works out well >> > with the >> > transliteration. >> > >> > In the attached file the direct typing in Devanagari is the first >> > example. The >> > ligature is wrongly placed (the second syllable). The second line is >> > interpreted >> > correctly. >> >> The TECkit map is breaking the direct Unicode input, if I drop it the >> first line gets rendered correctly. >> >> Regards, >> Khaled >> >> >> ------------------------------ >> >> Message: 3 >> Date: Sun, 24 Nov 2013 19:26:26 +0100 >> From: Zdenek Wagner <[email protected]> >> To: "XeTeX (Unicode-based TeX) discussion." <[email protected]> >> Subject: Re: [XeTeX] Problems in Devanagari typing. >> Message-ID: >> >> <CAC1phya8amM7ibTiRSUcS0c=tkc7zwojmr+ayrhosohxmug...@mail.gmail.com> >> Content-Type: text/plain; charset="utf-8" >> >> 2013/11/24 Khaled Hosny <[email protected]>: >> > On Sun, Nov 24, 2013 at 06:48:56PM +0100, NMPOST7 wrote: >> >> On 24/11/2013 18:23, Khaled Hosny wrote: >> >> > What version of XeTeX are you using? You don't seem to be using the >> >> > latest version. >> >> >> >> I am using the latest version from MacTeX (TexLive 2013) but I do not >> >> have the >> >> Fonts mentioned here. I am using velthui mapping. That works out well >> >> with the >> >> transliteration. >> >> >> >> In the attached file the direct typing in Devanagari is the first >> >> example. The >> >> ligature is wrongly placed (the second syllable). The second line is >> >> interpreted >> >> correctly. >> > >> > The TECkit map is breaking the direct Unicode input, if I drop it the >> > first line gets rendered correctly. >> > >> As Khaled wrote, it is the TECkit problem. The TECkit map assumes that >> the viramas were added as a result of the map and they are processed >> in several steps. If you enter the Devanagari text directly, it cannot >> work. See my samples with FreeSans and FreeSerif. Notice, that >> FreeSans is usable for modern languages as Hindi, Marathi, Nepali, but >> not for Sanskrit while FreeSerif is usable for all of them provided >> you switch not only the script but also the language. Try to type >> ????? with both Language=Hindi and Language=Sanskrit. The difference >> should also be visible here: >> http://hroch486.icpf.cas.cz/freefont-devanagari/ (it works even on >> many web browsers). >> >> > Regards, >> > Khaled >> > >> > >> > -------------------------------------------------- >> > Subscriptions, Archive, and List information, etc.: >> > http://tug.org/mailman/listinfo/xetex >> >> >> >> -- >> Zden?k Wagner >> http://hroch486.icpf.cas.cz/wagner/ >> http://icebearsoft.euweb.cz >> -------------- next part -------------- >> A non-text attachment was scrubbed... >> Name: Devanagari.pdf >> Type: application/pdf >> Size: 8015 bytes >> Desc: not available >> URL: >> <http://tug.org/pipermail/xetex/attachments/20131124/cf889f43/attachment-0001.pdf> >> -------------- next part -------------- >> A non-text attachment was scrubbed... >> Name: Devanagari.tex >> Type: application/x-tex >> Size: 698 bytes >> Desc: not available >> URL: >> <http://tug.org/pipermail/xetex/attachments/20131124/cf889f43/attachment-0001.tex> >> >> ------------------------------ >> >> Message: 4 >> Date: Sun, 24 Nov 2013 18:46:29 -0500 >> From: Mike Maxwell <[email protected]> >> To: "XeTeX (Unicode-based TeX) discussion." <[email protected]> >> Subject: Re: [XeTeX] Problems in Devanagari typing. >> Message-ID: <[email protected]> >> Content-Type: text/plain; charset="UTF-8"; format=flowed >> >> I'm having trouble understanding this: >> >> >> Am 24.11.2013 um 17:27 schrieb Khaled Hosny: >> > ...The problem I had with Malayalam (Rachana Font) has been fixed after >> > I updated it. >> >> The "it" that got fixed = the font or XeTeX? >> >> > However TexShop does have problem with certain ligatures when it comes >> > to Malayalam. However, the >> > pdf renders the ligature correctly. >> >> I'm not understanding: are you saying that the screen view of TexShop is >> at fault, or the PDF >> produced by XeTeX when you use TeXShop? >> >> > Mr Venkataraman is facing a similar problem. Font. As we have seen the >> > problem is with ligatures. >> >> Perhaps you could be more specific? >> -- >> Mike Maxwell >> [email protected] >> "My definition of an interesting universe is >> one that has the capacity to study itself." >> --Stephen Eastmond >> >> >> ------------------------------ >> >> Subject: Digest Footer >> >> _______________________________________________ >> XeTeX mailing list >> [email protected] >> http://tug.org/mailman/listinfo/xetex >> >> >> ------------------------------ >> >> End of XeTeX Digest, Vol 116, Issue 25 >> ************************************** > > > > > -- > Dr. S. Venkataraman > Associate Professor in Mathematics > School of Sciences > IGNOU > Tel. :29572812(o) > > > > -------------------------------------------------- > Subscriptions, Archive, and List information, etc.: > http://tug.org/mailman/listinfo/xetex > -- Zdeněk Wagner http://hroch486.icpf.cas.cz/wagner/ http://icebearsoft.euweb.cz -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
