Re: [XeTeX] xetex installation

2016-03-13 Thread Zdenek Wagner
And if you do not know which font file to send me, this is a help:

$ fc-match -v lohitbengali
Pattern has 31 elts (size 32)
family: "Lohit Bengali"(s)
familylang: "en"(s)
style: "Regular"(w)
stylelang: "en"(w)
fullname: "Lohit Bengali"(w)
fullnamelang: "en"(w)
slant: 0(i)(s)
weight: 80(i)(s)
width: 100(i)(s)
size: 12(f)(s)
pixelsize: 12.5(f)(s)
foundry: "unknown"(s)
hintstyle: 3(i)(s)
hinting: FcTrue(s)
verticallayout: FcFalse(s)
autohint: FcTrue(w)
globaladvance: FcTrue(s)
file: "/usr/share/fonts/lohit-bengali/Lohit-Bengali.ttf"(s)
index: 0(i)(s)
outline: FcTrue(s)
scalable: FcTrue(s)
dpi: 75(f)(s)
scale: 1(f)(s)
charset:
:   f801 7801  0004
0080 0080
0009:    0030 fff99fee f3c5fdff
b080799f 0fcf
0020: 33183000 0040    0200
 
0022: 0004     
 
0025:      
1000 
(s)
lang: as|bn|mni(s)
fontversion: 163840(i)(s)
capability: "otlayout:beng"(s)
fontformat: "TrueType"(s)
embeddedbitmap: FcTrue(s)
decorative: FcFalse(s)
namelang: "en"(s)

Notice that fc-match tries to find similar names if the exact match is not
found. It says that the correct font name is Lohit Bengali and the
corresponding file is
/usr/share/fonts/lohit-bengali/Lohit-Bengali.ttf


Zdeněk Wagner
http://ttsm.icpf.cas.cz/team/wagner.shtml
http://icebearsoft.euweb.cz

2016-03-13 21:11 GMT+01:00 Zdenek Wagner :

> If it is a font issue, TeX Live 2015 will not help but downgrade to 2012
> will. I still have all versions from 2007 to 2015 installed. If I get a
> short text demonstrating complex conjuncts and your font file, I can test
> it in all TL versions both with your font and my fonts.
>
> Zdeněk Wagner
> http://ttsm.icpf.cas.cz/team/wagner.shtml
> http://icebearsoft.euweb.cz
>
> 2016-03-13 19:40 GMT+01:00 Susan Dittmar :
>
>> Hi!
>>
>> Purnendu Chakraborty schrieb:
>>
>>> I have a naive question to the group. How do I set up xetex distribution
>>> in the
>>> user area?  I could not find any documentation in this regard.
>>>
>>> The reason is the following. I have TeXlive 2013 from  Opensuse 13.2. I
>>> find
>>> that the xetex bundled with distribution is buggy. I have some issue
>>> with Bengali
>>> conjuncts with this version of xetex.  So I want a fresh install of
>>> xetex without
>>> touching the system-wide TexLive installation.
>>>
>>
>> If you have enough room on the disk -- my installation takes about 4.3 G
>> -- you can easily install the current texlive (which includes xetex) in
>> your home directory. Just download the installation script, start it as
>> instructed, and before you tell it to install, change the directories
>> appropriately. Then write a small script that adds the paths to your
>> current environment. Something like
>>
>> -- texlive2015.sh --
>> #!/bin/bash
>> export INFOPATH="~/texlive/2015/texmf-dist/doc/info:${INFOPATH}"
>> export  MANPATH="~/texlive/2015/texmf-dist/doc/man:${MANPATH}"
>> export PATH="~/texlive/2015/bin/x86_64-linux:${PATH}"
>> -- end of texlive2015.sh --
>>
>> You might have to adjust the paths. Now, before you use xetex, call this
>> script, for example
>>
>> . texlive2015.sh
>>
>> from the same shell (terminal) from which you call your XeTeX-using
>> programms.
>>
>> This precedes the given paths with the new version paths, so any program
>> you call with these environment variables active is searched for in the new
>> directories first.
>>
>> If you know you'll never want to use openSUSE's version of texlive 2013,
>> you can rename this file to '~/.profile' (make sure such a file does not
>> yet exist) or append those commands to an existing ~/.profile file. Then
>> you can even use (graphical) window manager shortcuts to TeX editors (in
>> case you use them) with the correct environment settings.
>>
>> Hope that helps,
>>
>> Susan
>>
>>
>>
>> --
>> Subscriptions, Archive, and List information, etc.:
>>  http://tug.org/mailman/listinfo/xetex
>>
>
>


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] xetex installation

2016-03-13 Thread Susan Dittmar

Hi!

Purnendu Chakraborty schrieb:

I have a naive question to the group. How do I set up xetex distribution in the
user area?  I could not find any documentation in this regard.

The reason is the following. I have TeXlive 2013 from  Opensuse 13.2. I find
that the xetex bundled with distribution is buggy. I have some issue
with Bengali
conjuncts with this version of xetex.  So I want a fresh install of
xetex without
touching the system-wide TexLive installation.


If you have enough room on the disk -- my installation takes about 4.3 G -- you 
can easily install the current texlive (which includes xetex) in your home 
directory. Just download the installation script, start it as instructed, and 
before you tell it to install, change the directories appropriately. Then write 
a small script that adds the paths to your current environment. Something like


-- texlive2015.sh --
#!/bin/bash
export INFOPATH="~/texlive/2015/texmf-dist/doc/info:${INFOPATH}"
export  MANPATH="~/texlive/2015/texmf-dist/doc/man:${MANPATH}"
export PATH="~/texlive/2015/bin/x86_64-linux:${PATH}"
-- end of texlive2015.sh --

You might have to adjust the paths. Now, before you use xetex, call this script, 
for example


. texlive2015.sh

from the same shell (terminal) from which you call your XeTeX-using programms.

This precedes the given paths with the new version paths, so any program you 
call with these environment variables active is searched for in the new 
directories first.


If you know you'll never want to use openSUSE's version of texlive 2013, you can 
rename this file to '~/.profile' (make sure such a file does not yet exist) or 
append those commands to an existing ~/.profile file. Then you can even use 
(graphical) window manager shortcuts to TeX editors (in case you use them) with 
the correct environment settings.


Hope that helps,

Susan


--
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] xetex installation

2016-03-13 Thread maxwell

On 3/13/2016 1:57 PM, Purnendu Chakraborty wrote:

I have tried using different fonts and the problem persists. I had
some Bengali documents which worked fine with an older installation
of TeXLive.  The problem appeared once I upgraded my distribution.
Also I tried some standard TeX documents, compiled successfully by
others in different system and I know how the output looks like.
Thus I ruled out font problems. Bengali text  looks alright when I
write it in gedit or any other word processor. Please let me also
tell you that not all the conjuncts appear messy but only two of
them.


Then probably the right thing is to create a minimal example which 
contains a few conjuncts (those that don't work, plus a sample of those 
that do).  Then attach the source code for that minimal example--should 
be 10-20 lines at most--to an email to this list.  That's assuming the 
font is free, otherwise it will be difficult for people on this list to 
reproduce the problem.


Given that most of us don't know Bangla, it might also be necessary to 
attach a PDF of the output you got, and maybe also a PDF of the correct 
output (what you get with a word processor).


Note: I have restored Purnendu's original subject line, which got 
changed to "XeTeX Digest..." in the last reply.

--
Mike Maxwell
maxw...@umiacs.umd.edu
"I cannot believe that our existence in this universe
is a mere quirk of fate, an accident of history, an
incidental blip in the great cosmic drama. Our
involvement is too intimate. The physical species
Homo may count for nothing, but the existence of
mind in some organism on some planet in the universe
is surely a fact of fundamental significance. Through
conscious beings the universe has generated
self-awareness." --Paul Davies


--
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] xetex installation

2016-03-13 Thread Zdenek Wagner
Most probably this is not a problem of xetex but a problem of the font.
Have you tried to use a different Bengali font? I do not know Bengali but I
use Devanagari frequently since XeTeX was compiled in TeX Live and I do not
have problems. Many years ago there were problems with FreeFont but these
bugs were fixed many years ago.

Zdeněk Wagner
http://ttsm.icpf.cas.cz/team/wagner.shtml
http://icebearsoft.euweb.cz

2016-03-13 17:57 GMT+01:00 Purnendu Chakraborty <
purnendu.chakrabo...@gmail.com>:

> I have a naive question to the group. How do I set up xetex distribution
> in the
> user area?  I could not find any documentation in this regard.
>
> The reason is the following. I have TeXlive 2013 from  Opensuse 13.2. I
> find
> that the xetex bundled with distribution is buggy. I have some issue
> with Bengali
> conjuncts with this version of xetex.  So I want a fresh install of
> xetex without
> touching the system-wide TexLive installation.
>
> Thanks,
> Purnendu
>
>
> --
> Subscriptions, Archive, and List information, etc.:
>   http://tug.org/mailman/listinfo/xetex
>


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex