[XeTeX] Import Sanskrit Text from CSV or Excel to XeLaTeX

Zdenek Wagner zdenek.wagner at gmail.com
Sun Jan 8 22:41:09 CET 2012


2012/1/8 Herbert Schulz <herbs at wideopenwest.com>:
>
> On Jan 8, 2012, at 3:27 PM, A u wrote:
>
>> I among windows user can you tell me a way to do in Linux or Mac OSX?
>>
>> Regards
>>
>> Sent from my iPad
>>
>> On Jan 8, 2012, at 12:00 PM, Zdenek Wagner <zdenek.wagner at gmail.com> wrote:
>>
>>> 2012/1/8 A u <akupadhyayula at gmail.com>:
>>>> I am trying to import text from Excel or CSV to Latex.
>>>> It works great when the text is in English. I am using exceltex to do that.
>>>> However when I put "Sanskrit" Text in the spreadsheet and import it to
>>>> excel, it bring only " ???" in place of the sanskrit text.
>>>> Is it possible to do?
>>>>
>>> Exceltex assumes Latin1 and thus can only work with western languages.
>>> You have to modify the script. Remove my $ENCODING = "latin1"; and
>>> insert use utf8; instead. I am not sure that it is enough, there are
>>> some tricks with encoding of the output files. There is some
>>> information in the manual but I am not a Windows user and do not have
>>> Excel so that I cannot try.
>>>
>>>> I would appreciate your help
>>>> regards
>
> Howdy,
>
> Another inquiry... I've got TL2011, via the MacTeX installer, with all updates and there is no exceltex program or package. Is that a Windows only item?
>
It's a LaTeX package + a perl script. It is available from CTAN and
included in MiKTeX but not in TeX Live. I am not sure how the perl
scripts accesses the Excel file, I did not try to read it. If it makes
use of a Windows specific GUI, it is useless for non-Windows users.

> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest dot com)
>
>
>
>
>
>
> --------------------------------------------------
> 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