On Thu, Jan 17, 2013 at 11:01 AM, Hridayesh Gupta
<hridayeshi...@gmail.com> wrote:
> Changing font worked and I am able to view proper font in generated pdf when
> compiling with XeTeX.
> There is small issue with display of font on LyX. In LyX font appears to be

> broken. Is there any option to use same font to display in LyX window, which
> I used to compile the file?
>
Tools > Prefs > Look&Feel > Fonts.

Liviu


> Thank you so much!
>
> Regards
> Hridayesh
>
>
> On Thu, Jan 17, 2013 at 1:05 PM, Liviu Andronic <landronim...@gmail.com>
> wrote:
>>
>> On Thu, Jan 17, 2013 at 3:54 AM, Hridayesh Gupta
>> <hridayeshi...@gmail.com> wrote:
>> >  I have installed all the packages as suggested and updated LyX to
>> > latest
>> > version 2.0.5 using ppa. I also need to change to LuaTeX/XeTeX font in
>> > Document -> Settings -> Font -> checked Use XeTeX/LuaTeX font. After
>> > that I
>> > am able to successfully compile the file without any errors, however In
>> > the
>> > pdf the spots with hindi language just shows up blank. tried with
>> > chinese
>> > and russian language as well but same thing.
>> >
>> I assume that the default font doesn't contain the necessary chars.
>> Try to select something like DejaVu or some other font that you know
>> it contains the needed chars.
>>
>> Liviu
>>
>>
>> > I am able to see those languages correctly in LyX, firefox, text editor
>> > but
>> > not in pdf generated.
>> > Do I need to include any font anywhere in settings?
>> >
>> >
>> >
>> > On Thu, Jan 17, 2013 at 1:26 AM, Scott Kostyshak <skost...@lyx.org>
>> > wrote:
>> >>
>> >> On Wed, Jan 16, 2013 at 7:53 AM, Liviu Andronic
>> >> <landronim...@gmail.com>
>> >> wrote:
>> >> > On Wed, Jan 16, 2013 at 12:18 PM, Hridayesh Gupta
>> >> > <hridayeshi...@gmail.com> wrote:
>> >> >> I have selected system fonts as you told. Still getting error when
>> >> >> compiling
>> >> >> using LuaTeX. I got following errors
>> >> >> 1. Package fontenc error: package file eu2enc.def not found
>> >> >> 2. encoding scheme eu2 unknown.
>> >> >> 3. file xunicode.sty not found
>> >> >>
>> >> > You have some missing packages. Go to packages.ubuntu.com and 'Search
>> >> > the contents of packages'. If you search for 'eu2enc.def', you will
>> >> > get [1]. This will indicate the Debian packages that you are still
>> >> > missing, in this case 'texlive-xetex', that you can install via
>> >> > Synaptic. Do the same for 'xunicode.sty', etc.
>> >> > [1]
>> >> >
>> >> > http://packages.ubuntu.com/search?searchon=contents&keywords=eu2enc.def&mode=exactfilename&suite=quantal&arch=any
>> >> >
>> >> > Liviu
>> >>
>> >> In addition to Liviu's suggestion, annother useful program to install
>> >> is apt-file:
>> >> $ apt-file find eu2enc.def
>> >> texlive-luatex:
>> >> /usr/share/texmf-texlive/tex/lualatex/luainputenc/eu2enc.def
>> >> $ apt-file find xunicode.sty
>> >> texlive-xetex:
>> >> /usr/share/texmf-texlive/tex/xelatex/xunicode/xunicode.sty
>> >>
>> >> Also, since you're on Ubuntu, consider the LyX PPA if you want a newer
>> >> version of LyX:
>> >> http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3
>> >>
>> >> Scott
>> >
>> >
>>
>>
>>
>> --
>> Do you know how to read?
>> http://www.alienetworks.com/srtest.cfm
>> http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
>> Do you know how to write?
>> http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
>
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail

Reply via email to