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