[XeTeX] How to Convert Devanagari (sanskrit) text to Telugu Text

Zdenek Wagner zdenek.wagner at gmail.com
Thu Nov 3 16:32:16 CET 2011


2011/11/3 A u <akupadhyayula at gmail.com>:
> I am repatedly asked to compile here is the process of what I did

Yes, I know. I tried your .tec file by txtconv and it seems to work.

> Under this directory
> /usr/local/texlive/2011/texmf-dist/fonts/misc/xetex/fontmappings/
> 1. I created a folder called "xetex-devtotel"
> 2. I put the .map file there.
> 3. Run the teckit_compile
> 4. It generated the .tec file.
> 5. Ran the mktexlsr
> After that I run my .tex file using xetex.
> I got a blank output. am I missing something or is there anything wrong in
> the process I followed.
>
run:

strace xelatex DevtoTel 2>strace.log

and send me strace.log, I will try to find what's wrong

> On Thu, Nov 3, 2011 at 8:33 AM, Zdenek Wagner <zdenek.wagner at gmail.com>
> wrote:
>>
>> 2011/11/3 A u <akupadhyayula at gmail.com>:
>> > I did not get any error message either in my Mac or on my linux message.
>> > I
>> > did run mktexlsr after creating the ,map file.
>> > I am attaching the output that I got in my mac machine.
>> >
>> Tha .map file itself does nothing, the .tec file is important? Have
>> you run mktexlsr AFTER installing the .tec file? If the .tec file is
>> in a correct directory, mktexlst has been run and it still does not
>> work, it will be necessary to try
>>
>> strace xelatex DevtoTel
>>
>> in order to see what files are used.
>>
>> > On Wed, Nov 2, 2011 at 7:33 PM, Zdenek Wagner <zdenek.wagner at gmail.com>
>> > wrote:
>> >>
>> >> 2011/11/2 A u <akupadhyayula at gmail.com>:
>> >> > I am attaching the files, can you tell me what I am doing wrong. I
>> >> > created
>> >> > "xetex-devtotel" directory under this
>> >> >
>> >> > path /usr/local/texlive/2011/texmf-dist/fonts/misc/xetex/fontmappings/
>> >> > place .map and .tec file under the director. I am attaching the tex
>> >> > file
>> >> > along with output also.
>> >> > thanks for your help
>> >> >
>> >> Is there some error message? Trying with txtconv I can verify that the
>> >> map converts the file to something that looks like Telugu but then I
>> >> have a problem typical for RHEL based distros, XeTeX finds the
>> >> Pothana2000 font but xdvipdfmx cannot find it although the font is
>> >> installed and other applications can use it.
>> >>
>> >> > On Wed, Nov 2, 2011 at 8:49 AM, Zdenek Wagner
>> >> > <zdenek.wagner at gmail.com>
>> >> > wrote:
>> >> >>
>> >> >> 2011/11/2 A u <akupadhyayula at gmail.com>:
>> >> >> > I created the .tec file. How would I tell XeTeX to use the .tec
>> >> >> > file?
>> >> >> > I
>> >> >> > created a directory under this path and saved the .map and .tec
>> >> >> > file
>> >> >> > there.
>> >> >> >
>> >> >> > /usr/local/texlive/2011/texmf-dist/fonts/misc/xelatex/fontmappings/
>> >> >> >
>> >> >> When selecting the font, use option Mapping=mapfilename (in square
>> >> >> brackets). You can also add it to the current font by
>> >> >> \addfontfeatures[Mapping=mapfilename]. It is described in the
>> >> >> fontspec
>> >> >> manual.
>> >> >>
>> >> >> आशा कि यह सलाह आपके लिए लाभदायक होगा।
>> >> >> >
>> >> >> > On Wed, Nov 2, 2011 at 1:04 AM, bhutex <bhutex at gmail.com> wrote:
>> >> >> >>
>> >> >> >>
>> >> >> >> On Tue, Nov 1, 2011 at 5:10 PM, A u <akupadhyayula at gmail.com>
>> >> >> >> wrote:
>> >> >> >>>
>> >> >> >>> Thanks for your help. I am attaching the .map file I created. I
>> >> >> >>> was
>> >> >> >>> wondering if you can tell me if there are any errors. because I
>> >> >> >>> am
>> >> >> >>> getting a
>> >> >> >>> blank pdf output.
>> >> >> >>
>> >> >> >> After creating the .map file you have to compile it with teckit
>> >> >> >> and
>> >> >> >> .tec
>> >> >> >> file will be the output.
>> >> >> >> .tec file is a binary file. You have to keep this in appropriate
>> >> >> >> directory
>> >> >> >> and then run mktexlsr.
>> >> >> >>
>> >> >> >> After that you will tell XeTeX or XeLaTeX to use this .tec file.
>> >> >> >> Then
>> >> >> >> only
>> >> >> >> your devnagari document will convert in telugu script.
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> --
>> >> >> >> Happy TeXing
>> >> >> >> The BHU TeX Group
>> >> >> >> क्या आप यह देख पा रहें हैं।
>> >> >> >> इस का मतलब आप का कम्प्यूटर यूनीकोड
>> >> >> >> को समझती है। देर किस बात की हिन्दी मे
>> >> >> >> चिठ्ठियां लिखिये।
>> >> >> >> I use OpenOffice3.1! Do you!!
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> --------------------------------------------------
>> >> >> >> Subscriptions, Archive, and List information, etc.:
>> >> >> >>  http://tug.org/mailman/listinfo/xetex
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > --------------------------------------------------
>> >> >> > 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
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > --------------------------------------------------
>> >> > 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
>> >
>> >
>> >
>> >
>> > --------------------------------------------------
>> > 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
>
>
>
>
> --------------------------------------------------
> 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



More information about the XeTeX mailing list