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

Herbert Schulz herbs at wideopenwest.com
Sun Jan 8 23:00:33 CET 2012


On Jan 8, 2012, at 3:41 PM, Zdenek Wagner wrote:

> 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.


Howdy,

Interesting that the path to the exceltex package file was given as

/usr/local/texlive/2011/texmf-dist/tex/latex/base/exceltex.sty

in the console output from the original message. Is that also where TL2011 and/or MikTeX put the packages?

PS: I'm not familiar with Windows at all.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the XeTeX mailing list