Re: Hindi typing in ubuntu 12.10

2013-02-10 Thread Scott Kostyshak
On Sat, Feb 9, 2013 at 6:38 AM, Hridayesh Gupta hridayeshi...@gmail.com wrote:
 this is wiki entry http://wiki.lyx.org/UbuntuLinux/Hindi
 added link to http://wiki.lyx.org/LyX/LyXOnUbuntu

 not wiki expert, so please correct formatting errors if any.


It looks good.

Thanks for doing this Hridayesh.

Scott


Re: Hindi typing in ubuntu 12.10

2013-02-10 Thread Scott Kostyshak
On Sat, Feb 9, 2013 at 6:38 AM, Hridayesh Gupta hridayeshi...@gmail.com wrote:
 this is wiki entry http://wiki.lyx.org/UbuntuLinux/Hindi
 added link to http://wiki.lyx.org/LyX/LyXOnUbuntu

 not wiki expert, so please correct formatting errors if any.


It looks good.

Thanks for doing this Hridayesh.

Scott


Re: Hindi typing in ubuntu 12.10

2013-02-10 Thread Scott Kostyshak
On Sat, Feb 9, 2013 at 6:38 AM, Hridayesh Gupta  wrote:
> this is wiki entry http://wiki.lyx.org/UbuntuLinux/Hindi
> added link to http://wiki.lyx.org/LyX/LyXOnUbuntu
>
> not wiki expert, so please correct formatting errors if any.
>

It looks good.

Thanks for doing this Hridayesh.

Scott


Re: Hindi typing in ubuntu 12.10

2013-02-09 Thread Hridayesh Gupta
Hi Scott
I was trying to make wiki, but I could not find how to create new page. All
pages have edit options, but no option to add page. Also could not find
ubuntu section.


On Wed, Jan 30, 2013 at 1:25 PM, Jürgen Spitzmüller sp...@lyx.org wrote:

 2013/1/30 Hridayesh Gupta:
  both suggestions worked for me and now i am able to see devanagari
 correctly
  in pdf and lyx.
  i will create wiki for this

 Good. Note, though that you are likely to get cursor placement
 problems to to the \force_draw_single_char change. You should add this
 warning also to the wiki.

 Jürgen



Re: Hindi typing in ubuntu 12.10

2013-02-09 Thread Scott Kostyshak
On Sat, Feb 9, 2013 at 5:04 AM, Hridayesh Gupta hridayeshi...@gmail.com wrote:
 Hi Scott
 I was trying to make wiki, but I could not find how to create new page. All
 pages have edit options, but no option to add page. Also could not find
 ubuntu section.

Hi Hridayesh,

Thank you very much for remembering to do this. I appreciate it and
you could save others a lot of pain.

I'm not sure where the best place to put it is. Perhaps you can create
a separate page and then link to it from the Ubuntu page, perhaps
close to the link for Hebrew On Linux. The way I find the LyX Ubuntu
wiki page is to put LyX Ubuntu wiki into google and click on the
first link. It is wiki.lyx.org/LyX/LyXOnUbuntu

The way to create a page is not obvious -- put in a URL that doesn't
exist. For example, go here: http://wiki.lyx.org/LyX/HindiOnLinux
You should see the following text:
The page LyX/HindiOnLinux doesn't exist. (Create LyX.HindiOnLinux).

Let us know if you have any other question.

Scott


Re: Hindi typing in ubuntu 12.10

2013-02-09 Thread Hridayesh Gupta
Hi Scott
I was trying to make wiki, but I could not find how to create new page. All
pages have edit options, but no option to add page. Also could not find
ubuntu section.


On Wed, Jan 30, 2013 at 1:25 PM, Jürgen Spitzmüller sp...@lyx.org wrote:

 2013/1/30 Hridayesh Gupta:
  both suggestions worked for me and now i am able to see devanagari
 correctly
  in pdf and lyx.
  i will create wiki for this

 Good. Note, though that you are likely to get cursor placement
 problems to to the \force_draw_single_char change. You should add this
 warning also to the wiki.

 Jürgen



Re: Hindi typing in ubuntu 12.10

2013-02-09 Thread Scott Kostyshak
On Sat, Feb 9, 2013 at 5:04 AM, Hridayesh Gupta hridayeshi...@gmail.com wrote:
 Hi Scott
 I was trying to make wiki, but I could not find how to create new page. All
 pages have edit options, but no option to add page. Also could not find
 ubuntu section.

Hi Hridayesh,

Thank you very much for remembering to do this. I appreciate it and
you could save others a lot of pain.

I'm not sure where the best place to put it is. Perhaps you can create
a separate page and then link to it from the Ubuntu page, perhaps
close to the link for Hebrew On Linux. The way I find the LyX Ubuntu
wiki page is to put LyX Ubuntu wiki into google and click on the
first link. It is wiki.lyx.org/LyX/LyXOnUbuntu

The way to create a page is not obvious -- put in a URL that doesn't
exist. For example, go here: http://wiki.lyx.org/LyX/HindiOnLinux
You should see the following text:
The page LyX/HindiOnLinux doesn't exist. (Create LyX.HindiOnLinux).

Let us know if you have any other question.

Scott


Re: Hindi typing in ubuntu 12.10

2013-02-09 Thread Hridayesh Gupta
Hi Scott
I was trying to make wiki, but I could not find how to create new page. All
pages have edit options, but no option to add page. Also could not find
ubuntu section.


On Wed, Jan 30, 2013 at 1:25 PM, Jürgen Spitzmüller  wrote:

> 2013/1/30 Hridayesh Gupta:
> > both suggestions worked for me and now i am able to see devanagari
> correctly
> > in pdf and lyx.
> > i will create wiki for this
>
> Good. Note, though that you are likely to get cursor placement
> problems to to the \force_draw_single_char change. You should add this
> warning also to the wiki.
>
> Jürgen
>


Re: Hindi typing in ubuntu 12.10

2013-02-09 Thread Scott Kostyshak
On Sat, Feb 9, 2013 at 5:04 AM, Hridayesh Gupta  wrote:
> Hi Scott
> I was trying to make wiki, but I could not find how to create new page. All
> pages have edit options, but no option to add page. Also could not find
> ubuntu section.

Hi Hridayesh,

Thank you very much for remembering to do this. I appreciate it and
you could save others a lot of pain.

I'm not sure where the best place to put it is. Perhaps you can create
a separate page and then link to it from the Ubuntu page, perhaps
close to the link for "Hebrew On Linux". The way I find the LyX Ubuntu
wiki page is to put "LyX Ubuntu wiki" into google and click on the
first link. It is wiki.lyx.org/LyX/LyXOnUbuntu

The way to create a page is not obvious -- put in a URL that doesn't
exist. For example, go here: http://wiki.lyx.org/LyX/HindiOnLinux
You should see the following text:
<>

Let us know if you have any other question.

Scott


Re: Hindi typing in ubuntu 12.10

2013-01-30 Thread Jean-Marc Lasgouttes

Le 30/01/2013 08:55, Jürgen Spitzmüller a écrit :

2013/1/30 Hridayesh Gupta:

both suggestions worked for me and now i am able to see devanagari correctly
in pdf and lyx.
i will create wiki for this


Good. Note, though that you are likely to get cursor placement
problems to to the \force_draw_single_char change. You should add this
warning also to the wiki.


Note sure, since AFAIU these languages use 0-width symbols for 
ligatures. The cursor problem is for western languages with ff-type 
ligatures, isn't it? Or it might be related to the use of kerning tables.


JMarc



Re: Hindi typing in ubuntu 12.10

2013-01-30 Thread Jean-Marc Lasgouttes

Le 30/01/2013 08:55, Jürgen Spitzmüller a écrit :

2013/1/30 Hridayesh Gupta:

both suggestions worked for me and now i am able to see devanagari correctly
in pdf and lyx.
i will create wiki for this


Good. Note, though that you are likely to get cursor placement
problems to to the \force_draw_single_char change. You should add this
warning also to the wiki.


Note sure, since AFAIU these languages use 0-width symbols for 
ligatures. The cursor problem is for western languages with ff-type 
ligatures, isn't it? Or it might be related to the use of kerning tables.


JMarc



Re: Hindi typing in ubuntu 12.10

2013-01-30 Thread Jean-Marc Lasgouttes

Le 30/01/2013 08:55, Jürgen Spitzmüller a écrit :

2013/1/30 Hridayesh Gupta:

both suggestions worked for me and now i am able to see devanagari correctly
in pdf and lyx.
i will create wiki for this


Good. Note, though that you are likely to get cursor placement
problems to to the \force_draw_single_char change. You should add this
warning also to the wiki.


Note sure, since AFAIU these languages use 0-width symbols for 
ligatures. The cursor problem is for western languages with ff-type 
ligatures, isn't it? Or it might be related to the use of kerning tables.


JMarc



Re: Hindi typing in ubuntu 12.10

2013-01-29 Thread Hridayesh Gupta
both suggestions worked for me and now i am able to see devanagari
correctly in pdf and lyx.
i will create wiki for this
On Jan 28, 2013 4:11 PM, Jürgen Spitzmüller sp...@lyx.org wrote:

 Hridayesh Gupta wrote:
  Chandas was already installed in my Ubuntu 12.10. I tried Chandas,
Sahdeva,
  Nakula, Siddhanta, Sanskrit2003, FreeSans from given list which were
  already installed, as well as some other installed fonts.
  Copied the same text mentioned in that email to try these fonts. not
able
  to understand Why this issue.

 Do you refer both to the PDF output and the LyX-internal display? I
understand
 that the display in the LyX view is broken, but I do not understand why
the
 PDF output should be, as long as the LaTeX source preview is correct.
 Did you use

 \setmainfont[Script=Devanagari]{Chandas}

 in the preamble, while having Use non-TeX fonts checked and having
selected
 _no_ particular font from the dropdown boxes?
 This setting seems to work for me. However, I cannot read Devanagari, so I
 cannot really judge whether the output is correct.


 As far as the LyX view is concerned, the problem comes from the fact that
we
 paint character by character, which breaks ligatures. As far as I can
see, the
 situation improves if you put the following line in your preferences file
in
 ~/.lyx (if you do not have a preferences file, do an arbitrary change in
 Tools  Preferences, and it will be generated):

 \force_paint_single_char false

 You also might need to uncheck Spellcheck continuously in Tools 
 Preferences  Language Settings  Spellchecker.

 This workaround probably has some disadvantages (else we would not force
this
 by default), but I don't remember which.

 Jürgen



Re: Hindi typing in ubuntu 12.10

2013-01-29 Thread Jürgen Spitzmüller
2013/1/30 Hridayesh Gupta:
 both suggestions worked for me and now i am able to see devanagari correctly
 in pdf and lyx.
 i will create wiki for this

Good. Note, though that you are likely to get cursor placement
problems to to the \force_draw_single_char change. You should add this
warning also to the wiki.

Jürgen


Re: Hindi typing in ubuntu 12.10

2013-01-29 Thread Hridayesh Gupta
both suggestions worked for me and now i am able to see devanagari
correctly in pdf and lyx.
i will create wiki for this
On Jan 28, 2013 4:11 PM, Jürgen Spitzmüller sp...@lyx.org wrote:

 Hridayesh Gupta wrote:
  Chandas was already installed in my Ubuntu 12.10. I tried Chandas,
Sahdeva,
  Nakula, Siddhanta, Sanskrit2003, FreeSans from given list which were
  already installed, as well as some other installed fonts.
  Copied the same text mentioned in that email to try these fonts. not
able
  to understand Why this issue.

 Do you refer both to the PDF output and the LyX-internal display? I
understand
 that the display in the LyX view is broken, but I do not understand why
the
 PDF output should be, as long as the LaTeX source preview is correct.
 Did you use

 \setmainfont[Script=Devanagari]{Chandas}

 in the preamble, while having Use non-TeX fonts checked and having
selected
 _no_ particular font from the dropdown boxes?
 This setting seems to work for me. However, I cannot read Devanagari, so I
 cannot really judge whether the output is correct.


 As far as the LyX view is concerned, the problem comes from the fact that
we
 paint character by character, which breaks ligatures. As far as I can
see, the
 situation improves if you put the following line in your preferences file
in
 ~/.lyx (if you do not have a preferences file, do an arbitrary change in
 Tools  Preferences, and it will be generated):

 \force_paint_single_char false

 You also might need to uncheck Spellcheck continuously in Tools 
 Preferences  Language Settings  Spellchecker.

 This workaround probably has some disadvantages (else we would not force
this
 by default), but I don't remember which.

 Jürgen



Re: Hindi typing in ubuntu 12.10

2013-01-29 Thread Jürgen Spitzmüller
2013/1/30 Hridayesh Gupta:
 both suggestions worked for me and now i am able to see devanagari correctly
 in pdf and lyx.
 i will create wiki for this

Good. Note, though that you are likely to get cursor placement
problems to to the \force_draw_single_char change. You should add this
warning also to the wiki.

Jürgen


Re: Hindi typing in ubuntu 12.10

2013-01-29 Thread Hridayesh Gupta
both suggestions worked for me and now i am able to see devanagari
correctly in pdf and lyx.
i will create wiki for this
On Jan 28, 2013 4:11 PM, "Jürgen Spitzmüller"  wrote:
>
> Hridayesh Gupta wrote:
> > Chandas was already installed in my Ubuntu 12.10. I tried Chandas,
Sahdeva,
> > Nakula, Siddhanta, Sanskrit2003, FreeSans from given list which were
> > already installed, as well as some other installed fonts.
> > Copied the same text mentioned in that email to try these fonts. not
able
> > to understand Why this issue.
>
> Do you refer both to the PDF output and the LyX-internal display? I
understand
> that the display in the LyX view is broken, but I do not understand why
the
> PDF output should be, as long as the LaTeX source preview is correct.
> Did you use
>
> \setmainfont[Script=Devanagari]{Chandas}
>
> in the preamble, while having "Use non-TeX fonts" checked and having
selected
> _no_ particular font from the dropdown boxes?
> This setting seems to work for me. However, I cannot read Devanagari, so I
> cannot really judge whether the output is correct.
>
>
> As far as the LyX view is concerned, the problem comes from the fact that
we
> paint character by character, which breaks ligatures. As far as I can
see, the
> situation improves if you put the following line in your preferences file
in
> ~/.lyx (if you do not have a "preferences" file, do an arbitrary change in
> Tools > Preferences, and it will be generated):
>
> \force_paint_single_char false
>
> You also might need to uncheck "Spellcheck continuously" in Tools >
> Preferences > Language Settings > Spellchecker.
>
> This workaround probably has some disadvantages (else we would not force
this
> by default), but I don't remember which.
>
> Jürgen
>


Re: Hindi typing in ubuntu 12.10

2013-01-29 Thread Jürgen Spitzmüller
2013/1/30 Hridayesh Gupta:
> both suggestions worked for me and now i am able to see devanagari correctly
> in pdf and lyx.
> i will create wiki for this

Good. Note, though that you are likely to get cursor placement
problems to to the \force_draw_single_char change. You should add this
warning also to the wiki.

Jürgen


Re: Hindi typing in ubuntu 12.10

2013-01-28 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote:
 I guess we need some 
 special support like we have for arabic. Are there some special 
 character composition rules we should know about?

Do we really have to reinvent the wheel given that Qt has all this 
information? I understand it would be significant work to break down and 
rebuild our painter on top of Qt, but I also understand it would solve many 
(performance and rendering) problems.

Jürgen


Re: Hindi typing in ubuntu 12.10

2013-01-28 Thread Jürgen Spitzmüller
Hridayesh Gupta wrote:
 Chandas was already installed in my Ubuntu 12.10. I tried Chandas, Sahdeva,
 Nakula, Siddhanta, Sanskrit2003, FreeSans from given list which were
 already installed, as well as some other installed fonts.
 Copied the same text mentioned in that email to try these fonts. not able
 to understand Why this issue.

Do you refer both to the PDF output and the LyX-internal display? I understand 
that the display in the LyX view is broken, but I do not understand why the 
PDF output should be, as long as the LaTeX source preview is correct. 
Did you use

\setmainfont[Script=Devanagari]{Chandas}

in the preamble, while having Use non-TeX fonts checked and having selected 
_no_ particular font from the dropdown boxes?
This setting seems to work for me. However, I cannot read Devanagari, so I 
cannot really judge whether the output is correct.


As far as the LyX view is concerned, the problem comes from the fact that we 
paint character by character, which breaks ligatures. As far as I can see, the 
situation improves if you put the following line in your preferences file in 
~/.lyx (if you do not have a preferences file, do an arbitrary change in 
Tools  Preferences, and it will be generated):

\force_paint_single_char false

You also might need to uncheck Spellcheck continuously in Tools  
Preferences  Language Settings  Spellchecker.

This workaround probably has some disadvantages (else we would not force this 
by default), but I don't remember which.

Jürgen



Re: Hindi typing in ubuntu 12.10

2013-01-28 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote:
 I guess we need some 
 special support like we have for arabic. Are there some special 
 character composition rules we should know about?

Do we really have to reinvent the wheel given that Qt has all this 
information? I understand it would be significant work to break down and 
rebuild our painter on top of Qt, but I also understand it would solve many 
(performance and rendering) problems.

Jürgen


Re: Hindi typing in ubuntu 12.10

2013-01-28 Thread Jürgen Spitzmüller
Hridayesh Gupta wrote:
 Chandas was already installed in my Ubuntu 12.10. I tried Chandas, Sahdeva,
 Nakula, Siddhanta, Sanskrit2003, FreeSans from given list which were
 already installed, as well as some other installed fonts.
 Copied the same text mentioned in that email to try these fonts. not able
 to understand Why this issue.

Do you refer both to the PDF output and the LyX-internal display? I understand 
that the display in the LyX view is broken, but I do not understand why the 
PDF output should be, as long as the LaTeX source preview is correct. 
Did you use

\setmainfont[Script=Devanagari]{Chandas}

in the preamble, while having Use non-TeX fonts checked and having selected 
_no_ particular font from the dropdown boxes?
This setting seems to work for me. However, I cannot read Devanagari, so I 
cannot really judge whether the output is correct.


As far as the LyX view is concerned, the problem comes from the fact that we 
paint character by character, which breaks ligatures. As far as I can see, the 
situation improves if you put the following line in your preferences file in 
~/.lyx (if you do not have a preferences file, do an arbitrary change in 
Tools  Preferences, and it will be generated):

\force_paint_single_char false

You also might need to uncheck Spellcheck continuously in Tools  
Preferences  Language Settings  Spellchecker.

This workaround probably has some disadvantages (else we would not force this 
by default), but I don't remember which.

Jürgen



Re: Hindi typing in ubuntu 12.10

2013-01-28 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote:
> I guess we need some 
> special support like we have for arabic. Are there some special 
> character composition rules we should know about?

Do we really have to reinvent the wheel given that Qt has all this 
information? I understand it would be significant work to break down and 
rebuild our painter on top of Qt, but I also understand it would solve many 
(performance and rendering) problems.

Jürgen


Re: Hindi typing in ubuntu 12.10

2013-01-28 Thread Jürgen Spitzmüller
Hridayesh Gupta wrote:
> Chandas was already installed in my Ubuntu 12.10. I tried Chandas, Sahdeva,
> Nakula, Siddhanta, Sanskrit2003, FreeSans from given list which were
> already installed, as well as some other installed fonts.
> Copied the same text mentioned in that email to try these fonts. not able
> to understand Why this issue.

Do you refer both to the PDF output and the LyX-internal display? I understand 
that the display in the LyX view is broken, but I do not understand why the 
PDF output should be, as long as the LaTeX source preview is correct. 
Did you use

\setmainfont[Script=Devanagari]{Chandas}

in the preamble, while having "Use non-TeX fonts" checked and having selected 
_no_ particular font from the dropdown boxes?
This setting seems to work for me. However, I cannot read Devanagari, so I 
cannot really judge whether the output is correct.


As far as the LyX view is concerned, the problem comes from the fact that we 
paint character by character, which breaks ligatures. As far as I can see, the 
situation improves if you put the following line in your preferences file in 
~/.lyx (if you do not have a "preferences" file, do an arbitrary change in 
Tools > Preferences, and it will be generated):

\force_paint_single_char false

You also might need to uncheck "Spellcheck continuously" in Tools > 
Preferences > Language Settings > Spellchecker.

This workaround probably has some disadvantages (else we would not force this 
by default), but I don't remember which.

Jürgen



Re: Hindi typing in ubuntu 12.10

2013-01-27 Thread Hridayesh Gupta
Hi

Actually I tried things on Linux, and also followed given steps on wiki for
windows. I was able to compile and generate pdf but it does not display
fonts correctly. The same problem I have seen with Devnagari on linux
terminal and many other softwares too.


On Sat, Jan 26, 2013 at 7:09 AM, Scott Kostyshak skost...@lyx.org wrote:

 On Tue, Jan 15, 2013 at 11:37 PM, Hridayesh Gupta
 hridayeshi...@gmail.com wrote:
  I have installed lyx 2.0.3 from ubuntu package manager, I hindi fonts
  installed in my system and I am able to read hindi in my system.
 
  Whenever I type something in hindi in lyx, font appears to be broken.
 When
  vew source, it shows correct font. When i try to preview/export pdf I get
  garbage.
 
  Is there any guide on how for Devnagri in Ubuntu as there is one for
 windows
  at http://wiki.lyx.org/Windows/Devanagari

 Hi Hridayesh,

 Can you please make a guide on the wiki for Devnagri under Ubuntu? It
 seems that there is some good information in this email between your
 and Liviu's findings that you could help out future users with similar
 issues. You might also help out yourself next time you install Ubuntu.

 It is easy to register and edit the wiki.

 Thanks,

 Scott



Re: Hindi typing in ubuntu 12.10

2013-01-27 Thread Liviu Andronic
On Sun, Jan 27, 2013 at 2:38 PM, Hridayesh Gupta
hridayeshi...@gmail.com wrote:
 Actually I tried things on Linux, and also followed given steps on wiki for
 windows. I was able to compile and generate pdf but it does not display
 fonts correctly. The same problem I have seen with Devnagari on linux
 terminal and many other softwares too.

It is possible that the problem lies with your PDF reader. Did you try
with another one?

Liviu



 On Sat, Jan 26, 2013 at 7:09 AM, Scott Kostyshak skost...@lyx.org wrote:

 On Tue, Jan 15, 2013 at 11:37 PM, Hridayesh Gupta
 hridayeshi...@gmail.com wrote:
  I have installed lyx 2.0.3 from ubuntu package manager, I hindi fonts
  installed in my system and I am able to read hindi in my system.
 
  Whenever I type something in hindi in lyx, font appears to be broken.
  When
  vew source, it shows correct font. When i try to preview/export pdf I
  get
  garbage.
 
  Is there any guide on how for Devnagri in Ubuntu as there is one for
  windows
  at http://wiki.lyx.org/Windows/Devanagari

 Hi Hridayesh,

 Can you please make a guide on the wiki for Devnagri under Ubuntu? It
 seems that there is some good information in this email between your
 and Liviu's findings that you could help out future users with similar
 issues. You might also help out yourself next time you install Ubuntu.

 It is easy to register and edit the wiki.

 Thanks,

 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


Re: Hindi typing in ubuntu 12.10

2013-01-27 Thread Hridayesh Gupta
I think it maybe font issue. Not only in pdf file but inside LyX too same
text is being displayed.
see the screenshot below.
The text display in with red circle (in LaTeX source pane) is the correct
one, This is how text should appear everywhere. But in LyX main main body
and in pdf it is showing incorrectly.
Note that this result I am getting with both fonts(Siddhanta.ttf and
Sanskrit.ttf) those were given in Windows Devnagari wiki and I have set
those fonts in Document Settings as well as LyX look and feel.

I wonder how LyX is able to display correct font in LaTeX source pane.

[image: Inline image 1]




On Sun, Jan 27, 2013 at 8:42 PM, Liviu Andronic landronim...@gmail.comwrote:

 On Sun, Jan 27, 2013 at 2:38 PM, Hridayesh Gupta
 hridayeshi...@gmail.com wrote:
  Actually I tried things on Linux, and also followed given steps on wiki
 for
  windows. I was able to compile and generate pdf but it does not display
  fonts correctly. The same problem I have seen with Devnagari on linux
  terminal and many other softwares too.
 
 It is possible that the problem lies with your PDF reader. Did you try
 with another one?

 Liviu


 
  On Sat, Jan 26, 2013 at 7:09 AM, Scott Kostyshak skost...@lyx.org
 wrote:
 
  On Tue, Jan 15, 2013 at 11:37 PM, Hridayesh Gupta
  hridayeshi...@gmail.com wrote:
   I have installed lyx 2.0.3 from ubuntu package manager, I hindi fonts
   installed in my system and I am able to read hindi in my system.
  
   Whenever I type something in hindi in lyx, font appears to be broken.
   When
   vew source, it shows correct font. When i try to preview/export pdf I
   get
   garbage.
  
   Is there any guide on how for Devnagri in Ubuntu as there is one for
   windows
   at http://wiki.lyx.org/Windows/Devanagari
 
  Hi Hridayesh,
 
  Can you please make a guide on the wiki for Devnagri under Ubuntu? It
  seems that there is some good information in this email between your
  and Liviu's findings that you could help out future users with similar
  issues. You might also help out yourself next time you install Ubuntu.
 
  It is easy to register and edit the wiki.
 
  Thanks,
 
  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

lyx_devnagari.png

Re: Hindi typing in ubuntu 12.10

2013-01-27 Thread Hridayesh Gupta
However my browser can display Devnagari text correctly just by setting
encoding to unicode, not font setting is needed and default font is set to
serif. Same font does not work in LyX.


On Sun, Jan 27, 2013 at 9:10 PM, Hridayesh Gupta hridayeshi...@gmail.comwrote:

 I think it maybe font issue. Not only in pdf file but inside LyX too same
 text is being displayed.
 see the screenshot below.
 The text display in with red circle (in LaTeX source pane) is the correct
 one, This is how text should appear everywhere. But in LyX main main body
 and in pdf it is showing incorrectly.
 Note that this result I am getting with both fonts(Siddhanta.ttf and
 Sanskrit.ttf) those were given in Windows Devnagari wiki and I have set
 those fonts in Document Settings as well as LyX look and feel.

 I wonder how LyX is able to display correct font in LaTeX source pane.

 [image: Inline image 1]




 On Sun, Jan 27, 2013 at 8:42 PM, Liviu Andronic landronim...@gmail.comwrote:

 On Sun, Jan 27, 2013 at 2:38 PM, Hridayesh Gupta
 hridayeshi...@gmail.com wrote:
  Actually I tried things on Linux, and also followed given steps on wiki
 for
  windows. I was able to compile and generate pdf but it does not display
  fonts correctly. The same problem I have seen with Devnagari on linux
  terminal and many other softwares too.
 
 It is possible that the problem lies with your PDF reader. Did you try
 with another one?

 Liviu


 
  On Sat, Jan 26, 2013 at 7:09 AM, Scott Kostyshak skost...@lyx.org
 wrote:
 
  On Tue, Jan 15, 2013 at 11:37 PM, Hridayesh Gupta
  hridayeshi...@gmail.com wrote:
   I have installed lyx 2.0.3 from ubuntu package manager, I hindi fonts
   installed in my system and I am able to read hindi in my system.
  
   Whenever I type something in hindi in lyx, font appears to be broken.
   When
   vew source, it shows correct font. When i try to preview/export pdf I
   get
   garbage.
  
   Is there any guide on how for Devnagri in Ubuntu as there is one for
   windows
   at http://wiki.lyx.org/Windows/Devanagari
 
  Hi Hridayesh,
 
  Can you please make a guide on the wiki for Devnagri under Ubuntu? It
  seems that there is some good information in this email between your
  and Liviu's findings that you could help out future users with similar
  issues. You might also help out yourself next time you install Ubuntu.
 
  It is easy to register and edit the wiki.
 
  Thanks,
 
  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



lyx_devnagari.png

Re: Hindi typing in ubuntu 12.10

2013-01-27 Thread Jürgen Spitzmüller
Hridayesh Gupta wrote:
 However my browser can display Devnagari text correctly just by setting
 encoding to unicode, not font setting is needed and default font is set to
 serif. Same font does not work in LyX.

Maybe this is of interest:
http://tug.org/pipermail/xetex/2012-January/022573.html

Seems that Chandas (which is also mentioned on the LyX wiki page) is a good 
choice:
http://www.sanskritweb.net/cakram/

Jürgen


Re: Hindi typing in ubuntu 12.10

2013-01-27 Thread Hridayesh Gupta
Chandas was already installed in my Ubuntu 12.10. I tried Chandas, Sahdeva,
Nakula, Siddhanta, Sanskrit2003, FreeSans from given list which were
already installed, as well as some other installed fonts.
Copied the same text mentioned in that email to try these fonts. not able
to understand Why this issue.

Thanks everyone for the help.


On Sun, Jan 27, 2013 at 9:48 PM, Jürgen Spitzmüller sp...@lyx.org wrote:

 Hridayesh Gupta wrote:
  However my browser can display Devnagari text correctly just by setting
  encoding to unicode, not font setting is needed and default font is set
 to
  serif. Same font does not work in LyX.

 Maybe this is of interest:
 http://tug.org/pipermail/xetex/2012-January/022573.html

 Seems that Chandas (which is also mentioned on the LyX wiki page) is a good
 choice:
 http://www.sanskritweb.net/cakram/

 Jürgen



Re: Hindi typing in ubuntu 12.10

2013-01-27 Thread Jean-Marc Lasgouttes

Le 16/01/2013 05:37, Hridayesh Gupta a écrit :

I have installed lyx 2.0.3 from ubuntu package manager, I hindi fonts
installed in my system and I am able to read hindi in my system.

Whenever I type something in hindi in lyx, font appears to be broken.
When vew source, it shows correct font. When i try to preview/export pdf
I get garbage.

Is there any guide on how for Devnagri in Ubuntu as there is one for
windows at http://wiki.lyx.org/Windows/Devanagari

I have installed texlive-lang-indic package as well.

Thank you!
Hridayesh


Is this related to this thread?
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg93592.html

I guess that we have problems with font rendering. I guess we need some 
special support like we have for arabic. Are there some special 
character composition rules we should know about?


JMarc


Re: Hindi typing in ubuntu 12.10

2013-01-27 Thread Hridayesh Gupta
Hi

Actually I tried things on Linux, and also followed given steps on wiki for
windows. I was able to compile and generate pdf but it does not display
fonts correctly. The same problem I have seen with Devnagari on linux
terminal and many other softwares too.


On Sat, Jan 26, 2013 at 7:09 AM, Scott Kostyshak skost...@lyx.org wrote:

 On Tue, Jan 15, 2013 at 11:37 PM, Hridayesh Gupta
 hridayeshi...@gmail.com wrote:
  I have installed lyx 2.0.3 from ubuntu package manager, I hindi fonts
  installed in my system and I am able to read hindi in my system.
 
  Whenever I type something in hindi in lyx, font appears to be broken.
 When
  vew source, it shows correct font. When i try to preview/export pdf I get
  garbage.
 
  Is there any guide on how for Devnagri in Ubuntu as there is one for
 windows
  at http://wiki.lyx.org/Windows/Devanagari

 Hi Hridayesh,

 Can you please make a guide on the wiki for Devnagri under Ubuntu? It
 seems that there is some good information in this email between your
 and Liviu's findings that you could help out future users with similar
 issues. You might also help out yourself next time you install Ubuntu.

 It is easy to register and edit the wiki.

 Thanks,

 Scott



Re: Hindi typing in ubuntu 12.10

2013-01-27 Thread Liviu Andronic
On Sun, Jan 27, 2013 at 2:38 PM, Hridayesh Gupta
hridayeshi...@gmail.com wrote:
 Actually I tried things on Linux, and also followed given steps on wiki for
 windows. I was able to compile and generate pdf but it does not display
 fonts correctly. The same problem I have seen with Devnagari on linux
 terminal and many other softwares too.

It is possible that the problem lies with your PDF reader. Did you try
with another one?

Liviu



 On Sat, Jan 26, 2013 at 7:09 AM, Scott Kostyshak skost...@lyx.org wrote:

 On Tue, Jan 15, 2013 at 11:37 PM, Hridayesh Gupta
 hridayeshi...@gmail.com wrote:
  I have installed lyx 2.0.3 from ubuntu package manager, I hindi fonts
  installed in my system and I am able to read hindi in my system.
 
  Whenever I type something in hindi in lyx, font appears to be broken.
  When
  vew source, it shows correct font. When i try to preview/export pdf I
  get
  garbage.
 
  Is there any guide on how for Devnagri in Ubuntu as there is one for
  windows
  at http://wiki.lyx.org/Windows/Devanagari

 Hi Hridayesh,

 Can you please make a guide on the wiki for Devnagri under Ubuntu? It
 seems that there is some good information in this email between your
 and Liviu's findings that you could help out future users with similar
 issues. You might also help out yourself next time you install Ubuntu.

 It is easy to register and edit the wiki.

 Thanks,

 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


Re: Hindi typing in ubuntu 12.10

2013-01-27 Thread Hridayesh Gupta
I think it maybe font issue. Not only in pdf file but inside LyX too same
text is being displayed.
see the screenshot below.
The text display in with red circle (in LaTeX source pane) is the correct
one, This is how text should appear everywhere. But in LyX main main body
and in pdf it is showing incorrectly.
Note that this result I am getting with both fonts(Siddhanta.ttf and
Sanskrit.ttf) those were given in Windows Devnagari wiki and I have set
those fonts in Document Settings as well as LyX look and feel.

I wonder how LyX is able to display correct font in LaTeX source pane.

[image: Inline image 1]




On Sun, Jan 27, 2013 at 8:42 PM, Liviu Andronic landronim...@gmail.comwrote:

 On Sun, Jan 27, 2013 at 2:38 PM, Hridayesh Gupta
 hridayeshi...@gmail.com wrote:
  Actually I tried things on Linux, and also followed given steps on wiki
 for
  windows. I was able to compile and generate pdf but it does not display
  fonts correctly. The same problem I have seen with Devnagari on linux
  terminal and many other softwares too.
 
 It is possible that the problem lies with your PDF reader. Did you try
 with another one?

 Liviu


 
  On Sat, Jan 26, 2013 at 7:09 AM, Scott Kostyshak skost...@lyx.org
 wrote:
 
  On Tue, Jan 15, 2013 at 11:37 PM, Hridayesh Gupta
  hridayeshi...@gmail.com wrote:
   I have installed lyx 2.0.3 from ubuntu package manager, I hindi fonts
   installed in my system and I am able to read hindi in my system.
  
   Whenever I type something in hindi in lyx, font appears to be broken.
   When
   vew source, it shows correct font. When i try to preview/export pdf I
   get
   garbage.
  
   Is there any guide on how for Devnagri in Ubuntu as there is one for
   windows
   at http://wiki.lyx.org/Windows/Devanagari
 
  Hi Hridayesh,
 
  Can you please make a guide on the wiki for Devnagri under Ubuntu? It
  seems that there is some good information in this email between your
  and Liviu's findings that you could help out future users with similar
  issues. You might also help out yourself next time you install Ubuntu.
 
  It is easy to register and edit the wiki.
 
  Thanks,
 
  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

lyx_devnagari.png

Re: Hindi typing in ubuntu 12.10

2013-01-27 Thread Hridayesh Gupta
However my browser can display Devnagari text correctly just by setting
encoding to unicode, not font setting is needed and default font is set to
serif. Same font does not work in LyX.


On Sun, Jan 27, 2013 at 9:10 PM, Hridayesh Gupta hridayeshi...@gmail.comwrote:

 I think it maybe font issue. Not only in pdf file but inside LyX too same
 text is being displayed.
 see the screenshot below.
 The text display in with red circle (in LaTeX source pane) is the correct
 one, This is how text should appear everywhere. But in LyX main main body
 and in pdf it is showing incorrectly.
 Note that this result I am getting with both fonts(Siddhanta.ttf and
 Sanskrit.ttf) those were given in Windows Devnagari wiki and I have set
 those fonts in Document Settings as well as LyX look and feel.

 I wonder how LyX is able to display correct font in LaTeX source pane.

 [image: Inline image 1]




 On Sun, Jan 27, 2013 at 8:42 PM, Liviu Andronic landronim...@gmail.comwrote:

 On Sun, Jan 27, 2013 at 2:38 PM, Hridayesh Gupta
 hridayeshi...@gmail.com wrote:
  Actually I tried things on Linux, and also followed given steps on wiki
 for
  windows. I was able to compile and generate pdf but it does not display
  fonts correctly. The same problem I have seen with Devnagari on linux
  terminal and many other softwares too.
 
 It is possible that the problem lies with your PDF reader. Did you try
 with another one?

 Liviu


 
  On Sat, Jan 26, 2013 at 7:09 AM, Scott Kostyshak skost...@lyx.org
 wrote:
 
  On Tue, Jan 15, 2013 at 11:37 PM, Hridayesh Gupta
  hridayeshi...@gmail.com wrote:
   I have installed lyx 2.0.3 from ubuntu package manager, I hindi fonts
   installed in my system and I am able to read hindi in my system.
  
   Whenever I type something in hindi in lyx, font appears to be broken.
   When
   vew source, it shows correct font. When i try to preview/export pdf I
   get
   garbage.
  
   Is there any guide on how for Devnagri in Ubuntu as there is one for
   windows
   at http://wiki.lyx.org/Windows/Devanagari
 
  Hi Hridayesh,
 
  Can you please make a guide on the wiki for Devnagri under Ubuntu? It
  seems that there is some good information in this email between your
  and Liviu's findings that you could help out future users with similar
  issues. You might also help out yourself next time you install Ubuntu.
 
  It is easy to register and edit the wiki.
 
  Thanks,
 
  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



lyx_devnagari.png

Re: Hindi typing in ubuntu 12.10

2013-01-27 Thread Jürgen Spitzmüller
Hridayesh Gupta wrote:
 However my browser can display Devnagari text correctly just by setting
 encoding to unicode, not font setting is needed and default font is set to
 serif. Same font does not work in LyX.

Maybe this is of interest:
http://tug.org/pipermail/xetex/2012-January/022573.html

Seems that Chandas (which is also mentioned on the LyX wiki page) is a good 
choice:
http://www.sanskritweb.net/cakram/

Jürgen


Re: Hindi typing in ubuntu 12.10

2013-01-27 Thread Hridayesh Gupta
Chandas was already installed in my Ubuntu 12.10. I tried Chandas, Sahdeva,
Nakula, Siddhanta, Sanskrit2003, FreeSans from given list which were
already installed, as well as some other installed fonts.
Copied the same text mentioned in that email to try these fonts. not able
to understand Why this issue.

Thanks everyone for the help.


On Sun, Jan 27, 2013 at 9:48 PM, Jürgen Spitzmüller sp...@lyx.org wrote:

 Hridayesh Gupta wrote:
  However my browser can display Devnagari text correctly just by setting
  encoding to unicode, not font setting is needed and default font is set
 to
  serif. Same font does not work in LyX.

 Maybe this is of interest:
 http://tug.org/pipermail/xetex/2012-January/022573.html

 Seems that Chandas (which is also mentioned on the LyX wiki page) is a good
 choice:
 http://www.sanskritweb.net/cakram/

 Jürgen



Re: Hindi typing in ubuntu 12.10

2013-01-27 Thread Jean-Marc Lasgouttes

Le 16/01/2013 05:37, Hridayesh Gupta a écrit :

I have installed lyx 2.0.3 from ubuntu package manager, I hindi fonts
installed in my system and I am able to read hindi in my system.

Whenever I type something in hindi in lyx, font appears to be broken.
When vew source, it shows correct font. When i try to preview/export pdf
I get garbage.

Is there any guide on how for Devnagri in Ubuntu as there is one for
windows at http://wiki.lyx.org/Windows/Devanagari

I have installed texlive-lang-indic package as well.

Thank you!
Hridayesh


Is this related to this thread?
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg93592.html

I guess that we have problems with font rendering. I guess we need some 
special support like we have for arabic. Are there some special 
character composition rules we should know about?


JMarc


Re: Hindi typing in ubuntu 12.10

2013-01-27 Thread Hridayesh Gupta
Hi

Actually I tried things on Linux, and also followed given steps on wiki for
windows. I was able to compile and generate pdf but it does not display
fonts correctly. The same problem I have seen with Devnagari on linux
terminal and many other softwares too.


On Sat, Jan 26, 2013 at 7:09 AM, Scott Kostyshak  wrote:

> On Tue, Jan 15, 2013 at 11:37 PM, Hridayesh Gupta
>  wrote:
> > I have installed lyx 2.0.3 from ubuntu package manager, I hindi fonts
> > installed in my system and I am able to read hindi in my system.
> >
> > Whenever I type something in hindi in lyx, font appears to be broken.
> When
> > vew source, it shows correct font. When i try to preview/export pdf I get
> > garbage.
> >
> > Is there any guide on how for Devnagri in Ubuntu as there is one for
> windows
> > at http://wiki.lyx.org/Windows/Devanagari
>
> Hi Hridayesh,
>
> Can you please make a guide on the wiki for Devnagri under Ubuntu? It
> seems that there is some good information in this email between your
> and Liviu's findings that you could help out future users with similar
> issues. You might also help out yourself next time you install Ubuntu.
>
> It is easy to register and edit the wiki.
>
> Thanks,
>
> Scott
>


Re: Hindi typing in ubuntu 12.10

2013-01-27 Thread Liviu Andronic
On Sun, Jan 27, 2013 at 2:38 PM, Hridayesh Gupta
 wrote:
> Actually I tried things on Linux, and also followed given steps on wiki for
> windows. I was able to compile and generate pdf but it does not display
> fonts correctly. The same problem I have seen with Devnagari on linux
> terminal and many other softwares too.
>
It is possible that the problem lies with your PDF reader. Did you try
with another one?

Liviu


>
> On Sat, Jan 26, 2013 at 7:09 AM, Scott Kostyshak  wrote:
>>
>> On Tue, Jan 15, 2013 at 11:37 PM, Hridayesh Gupta
>>  wrote:
>> > I have installed lyx 2.0.3 from ubuntu package manager, I hindi fonts
>> > installed in my system and I am able to read hindi in my system.
>> >
>> > Whenever I type something in hindi in lyx, font appears to be broken.
>> > When
>> > vew source, it shows correct font. When i try to preview/export pdf I
>> > get
>> > garbage.
>> >
>> > Is there any guide on how for Devnagri in Ubuntu as there is one for
>> > windows
>> > at http://wiki.lyx.org/Windows/Devanagari
>>
>> Hi Hridayesh,
>>
>> Can you please make a guide on the wiki for Devnagri under Ubuntu? It
>> seems that there is some good information in this email between your
>> and Liviu's findings that you could help out future users with similar
>> issues. You might also help out yourself next time you install Ubuntu.
>>
>> It is easy to register and edit the wiki.
>>
>> Thanks,
>>
>> 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


Re: Hindi typing in ubuntu 12.10

2013-01-27 Thread Hridayesh Gupta
I think it maybe font issue. Not only in pdf file but inside LyX too same
text is being displayed.
see the screenshot below.
The text display in with red circle (in LaTeX source pane) is the correct
one, This is how text should appear everywhere. But in LyX main main body
and in pdf it is showing incorrectly.
Note that this result I am getting with both fonts(Siddhanta.ttf and
Sanskrit.ttf) those were given in Windows Devnagari wiki and I have set
those fonts in Document Settings as well as LyX look and feel.

I wonder how LyX is able to display correct font in LaTeX source pane.

[image: Inline image 1]




On Sun, Jan 27, 2013 at 8:42 PM, Liviu Andronic wrote:

> On Sun, Jan 27, 2013 at 2:38 PM, Hridayesh Gupta
>  wrote:
> > Actually I tried things on Linux, and also followed given steps on wiki
> for
> > windows. I was able to compile and generate pdf but it does not display
> > fonts correctly. The same problem I have seen with Devnagari on linux
> > terminal and many other softwares too.
> >
> It is possible that the problem lies with your PDF reader. Did you try
> with another one?
>
> Liviu
>
>
> >
> > On Sat, Jan 26, 2013 at 7:09 AM, Scott Kostyshak 
> wrote:
> >>
> >> On Tue, Jan 15, 2013 at 11:37 PM, Hridayesh Gupta
> >>  wrote:
> >> > I have installed lyx 2.0.3 from ubuntu package manager, I hindi fonts
> >> > installed in my system and I am able to read hindi in my system.
> >> >
> >> > Whenever I type something in hindi in lyx, font appears to be broken.
> >> > When
> >> > vew source, it shows correct font. When i try to preview/export pdf I
> >> > get
> >> > garbage.
> >> >
> >> > Is there any guide on how for Devnagri in Ubuntu as there is one for
> >> > windows
> >> > at http://wiki.lyx.org/Windows/Devanagari
> >>
> >> Hi Hridayesh,
> >>
> >> Can you please make a guide on the wiki for Devnagri under Ubuntu? It
> >> seems that there is some good information in this email between your
> >> and Liviu's findings that you could help out future users with similar
> >> issues. You might also help out yourself next time you install Ubuntu.
> >>
> >> It is easy to register and edit the wiki.
> >>
> >> Thanks,
> >>
> >> 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
>
<>

Re: Hindi typing in ubuntu 12.10

2013-01-27 Thread Hridayesh Gupta
However my browser can display Devnagari text correctly just by setting
encoding to unicode, not font setting is needed and default font is set to
serif. Same font does not work in LyX.


On Sun, Jan 27, 2013 at 9:10 PM, Hridayesh Gupta wrote:

> I think it maybe font issue. Not only in pdf file but inside LyX too same
> text is being displayed.
> see the screenshot below.
> The text display in with red circle (in LaTeX source pane) is the correct
> one, This is how text should appear everywhere. But in LyX main main body
> and in pdf it is showing incorrectly.
> Note that this result I am getting with both fonts(Siddhanta.ttf and
> Sanskrit.ttf) those were given in Windows Devnagari wiki and I have set
> those fonts in Document Settings as well as LyX look and feel.
>
> I wonder how LyX is able to display correct font in LaTeX source pane.
>
> [image: Inline image 1]
>
>
>
>
> On Sun, Jan 27, 2013 at 8:42 PM, Liviu Andronic wrote:
>
>> On Sun, Jan 27, 2013 at 2:38 PM, Hridayesh Gupta
>>  wrote:
>> > Actually I tried things on Linux, and also followed given steps on wiki
>> for
>> > windows. I was able to compile and generate pdf but it does not display
>> > fonts correctly. The same problem I have seen with Devnagari on linux
>> > terminal and many other softwares too.
>> >
>> It is possible that the problem lies with your PDF reader. Did you try
>> with another one?
>>
>> Liviu
>>
>>
>> >
>> > On Sat, Jan 26, 2013 at 7:09 AM, Scott Kostyshak 
>> wrote:
>> >>
>> >> On Tue, Jan 15, 2013 at 11:37 PM, Hridayesh Gupta
>> >>  wrote:
>> >> > I have installed lyx 2.0.3 from ubuntu package manager, I hindi fonts
>> >> > installed in my system and I am able to read hindi in my system.
>> >> >
>> >> > Whenever I type something in hindi in lyx, font appears to be broken.
>> >> > When
>> >> > vew source, it shows correct font. When i try to preview/export pdf I
>> >> > get
>> >> > garbage.
>> >> >
>> >> > Is there any guide on how for Devnagri in Ubuntu as there is one for
>> >> > windows
>> >> > at http://wiki.lyx.org/Windows/Devanagari
>> >>
>> >> Hi Hridayesh,
>> >>
>> >> Can you please make a guide on the wiki for Devnagri under Ubuntu? It
>> >> seems that there is some good information in this email between your
>> >> and Liviu's findings that you could help out future users with similar
>> >> issues. You might also help out yourself next time you install Ubuntu.
>> >>
>> >> It is easy to register and edit the wiki.
>> >>
>> >> Thanks,
>> >>
>> >> 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
>>
>
>
<>

Re: Hindi typing in ubuntu 12.10

2013-01-27 Thread Jürgen Spitzmüller
Hridayesh Gupta wrote:
> However my browser can display Devnagari text correctly just by setting
> encoding to unicode, not font setting is needed and default font is set to
> serif. Same font does not work in LyX.

Maybe this is of interest:
http://tug.org/pipermail/xetex/2012-January/022573.html

Seems that Chandas (which is also mentioned on the LyX wiki page) is a good 
choice:
http://www.sanskritweb.net/cakram/

Jürgen


Re: Hindi typing in ubuntu 12.10

2013-01-27 Thread Hridayesh Gupta
Chandas was already installed in my Ubuntu 12.10. I tried Chandas, Sahdeva,
Nakula, Siddhanta, Sanskrit2003, FreeSans from given list which were
already installed, as well as some other installed fonts.
Copied the same text mentioned in that email to try these fonts. not able
to understand Why this issue.

Thanks everyone for the help.


On Sun, Jan 27, 2013 at 9:48 PM, Jürgen Spitzmüller  wrote:

> Hridayesh Gupta wrote:
> > However my browser can display Devnagari text correctly just by setting
> > encoding to unicode, not font setting is needed and default font is set
> to
> > serif. Same font does not work in LyX.
>
> Maybe this is of interest:
> http://tug.org/pipermail/xetex/2012-January/022573.html
>
> Seems that Chandas (which is also mentioned on the LyX wiki page) is a good
> choice:
> http://www.sanskritweb.net/cakram/
>
> Jürgen
>


Re: Hindi typing in ubuntu 12.10

2013-01-27 Thread Jean-Marc Lasgouttes

Le 16/01/2013 05:37, Hridayesh Gupta a écrit :

I have installed lyx 2.0.3 from ubuntu package manager, I hindi fonts
installed in my system and I am able to read hindi in my system.

Whenever I type something in hindi in lyx, font appears to be broken.
When vew source, it shows correct font. When i try to preview/export pdf
I get garbage.

Is there any guide on how for Devnagri in Ubuntu as there is one for
windows at http://wiki.lyx.org/Windows/Devanagari

I have installed texlive-lang-indic package as well.

Thank you!
Hridayesh


Is this related to this thread?
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg93592.html

I guess that we have problems with font rendering. I guess we need some 
special support like we have for arabic. Are there some special 
character composition rules we should know about?


JMarc


Re: Hindi typing in ubuntu 12.10

2013-01-25 Thread Scott Kostyshak
On Tue, Jan 15, 2013 at 11:37 PM, Hridayesh Gupta
hridayeshi...@gmail.com wrote:
 I have installed lyx 2.0.3 from ubuntu package manager, I hindi fonts
 installed in my system and I am able to read hindi in my system.

 Whenever I type something in hindi in lyx, font appears to be broken. When
 vew source, it shows correct font. When i try to preview/export pdf I get
 garbage.

 Is there any guide on how for Devnagri in Ubuntu as there is one for windows
 at http://wiki.lyx.org/Windows/Devanagari

Hi Hridayesh,

Can you please make a guide on the wiki for Devnagri under Ubuntu? It
seems that there is some good information in this email between your
and Liviu's findings that you could help out future users with similar
issues. You might also help out yourself next time you install Ubuntu.

It is easy to register and edit the wiki.

Thanks,

Scott


Re: Hindi typing in ubuntu 12.10

2013-01-25 Thread Scott Kostyshak
On Tue, Jan 15, 2013 at 11:37 PM, Hridayesh Gupta
hridayeshi...@gmail.com wrote:
 I have installed lyx 2.0.3 from ubuntu package manager, I hindi fonts
 installed in my system and I am able to read hindi in my system.

 Whenever I type something in hindi in lyx, font appears to be broken. When
 vew source, it shows correct font. When i try to preview/export pdf I get
 garbage.

 Is there any guide on how for Devnagri in Ubuntu as there is one for windows
 at http://wiki.lyx.org/Windows/Devanagari

Hi Hridayesh,

Can you please make a guide on the wiki for Devnagri under Ubuntu? It
seems that there is some good information in this email between your
and Liviu's findings that you could help out future users with similar
issues. You might also help out yourself next time you install Ubuntu.

It is easy to register and edit the wiki.

Thanks,

Scott


Re: Hindi typing in ubuntu 12.10

2013-01-25 Thread Scott Kostyshak
On Tue, Jan 15, 2013 at 11:37 PM, Hridayesh Gupta
 wrote:
> I have installed lyx 2.0.3 from ubuntu package manager, I hindi fonts
> installed in my system and I am able to read hindi in my system.
>
> Whenever I type something in hindi in lyx, font appears to be broken. When
> vew source, it shows correct font. When i try to preview/export pdf I get
> garbage.
>
> Is there any guide on how for Devnagri in Ubuntu as there is one for windows
> at http://wiki.lyx.org/Windows/Devanagari

Hi Hridayesh,

Can you please make a guide on the wiki for Devnagri under Ubuntu? It
seems that there is some good information in this email between your
and Liviu's findings that you could help out future users with similar
issues. You might also help out yourself next time you install Ubuntu.

It is easy to register and edit the wiki.

Thanks,

Scott


Re: Hindi typing in ubuntu 12.10

2013-01-17 Thread Hridayesh Gupta
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?

Thank you so much!

Regards
Hridayesh


On Thu, Jan 17, 2013 at 1:05 PM, Liviu Andronic landronim...@gmail.comwrote:

 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=contentskeywords=eu2enc.defmode=exactfilenamesuite=quantalarch=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



Re: Hindi typing in ubuntu 12.10

2013-01-17 Thread Liviu Andronic
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  LookFeel  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=contentskeywords=eu2enc.defmode=exactfilenamesuite=quantalarch=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


Re: Hindi typing in ubuntu 12.10

2013-01-17 Thread Hridayesh Gupta
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?

Thank you so much!

Regards
Hridayesh


On Thu, Jan 17, 2013 at 1:05 PM, Liviu Andronic landronim...@gmail.comwrote:

 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=contentskeywords=eu2enc.defmode=exactfilenamesuite=quantalarch=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



Re: Hindi typing in ubuntu 12.10

2013-01-17 Thread Liviu Andronic
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  LookFeel  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=contentskeywords=eu2enc.defmode=exactfilenamesuite=quantalarch=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


Re: Hindi typing in ubuntu 12.10

2013-01-17 Thread Hridayesh Gupta
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?

Thank you so much!

Regards
Hridayesh


On Thu, Jan 17, 2013 at 1:05 PM, Liviu Andronic wrote:

> On Thu, Jan 17, 2013 at 3:54 AM, Hridayesh Gupta
>  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 
> wrote:
> >>
> >> On Wed, Jan 16, 2013 at 7:53 AM, Liviu Andronic  >
> >> wrote:
> >> > On Wed, Jan 16, 2013 at 12:18 PM, Hridayesh Gupta
> >> >  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=eu2enc.def=exactfilename=quantal=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
>


Re: Hindi typing in ubuntu 12.10

2013-01-17 Thread Liviu Andronic
On Thu, Jan 17, 2013 at 11:01 AM, Hridayesh Gupta
 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 > Fonts.

Liviu


> Thank you so much!
>
> Regards
> Hridayesh
>
>
> On Thu, Jan 17, 2013 at 1:05 PM, Liviu Andronic 
> wrote:
>>
>> On Thu, Jan 17, 2013 at 3:54 AM, Hridayesh Gupta
>>  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 
>> > wrote:
>> >>
>> >> On Wed, Jan 16, 2013 at 7:53 AM, Liviu Andronic
>> >> 
>> >> wrote:
>> >> > On Wed, Jan 16, 2013 at 12:18 PM, Hridayesh Gupta
>> >> >  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=eu2enc.def=exactfilename=quantal=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


Re: Hindi typing in ubuntu 12.10

2013-01-16 Thread Liviu Andronic
On Wed, Jan 16, 2013 at 5:37 AM, Hridayesh Gupta
hridayeshi...@gmail.com wrote:
 I have installed lyx 2.0.3 from ubuntu package manager, I hindi fonts
 installed in my system and I am able to read hindi in my system.

 Whenever I type something in hindi in lyx, font appears to be broken. When
 vew source, it shows correct font. When i try to preview/export pdf I get
 garbage.

No expert, but I expect that if you use pdflatex then you need to load
some specialized LaTeX package, perhaps via the Preamble. If however
you use Document  Fonts  Non-TeX fonts, then you should be able to
select any of your system fonts, and then compile the document using
XeTeX or LuaTeX.

Liviu


 Is there any guide on how for Devnagri in Ubuntu as there is one for windows
 at http://wiki.lyx.org/Windows/Devanagari

 I have installed texlive-lang-indic package as well.

 Thank you!
 Hridayesh



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


Re: Hindi typing in ubuntu 12.10

2013-01-16 Thread Hridayesh Gupta
Thanks for the reply.

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


On Wed, Jan 16, 2013 at 1:30 PM, Liviu Andronic landronim...@gmail.comwrote:

 On Wed, Jan 16, 2013 at 5:37 AM, Hridayesh Gupta
 hridayeshi...@gmail.com wrote:
  I have installed lyx 2.0.3 from ubuntu package manager, I hindi fonts
  installed in my system and I am able to read hindi in my system.
 
  Whenever I type something in hindi in lyx, font appears to be broken.
 When
  vew source, it shows correct font. When i try to preview/export pdf I get
  garbage.
 
 No expert, but I expect that if you use pdflatex then you need to load
 some specialized LaTeX package, perhaps via the Preamble. If however
 you use Document  Fonts  Non-TeX fonts, then you should be able to
 select any of your system fonts, and then compile the document using
 XeTeX or LuaTeX.

 Liviu


  Is there any guide on how for Devnagri in Ubuntu as there is one for
 windows
  at http://wiki.lyx.org/Windows/Devanagari
 
  I have installed texlive-lang-indic package as well.
 
  Thank you!
  Hridayesh



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



Re: Hindi typing in ubuntu 12.10

2013-01-16 Thread Liviu Andronic
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=contentskeywords=eu2enc.defmode=exactfilenamesuite=quantalarch=any

Liviu

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


Re: Hindi typing in ubuntu 12.10

2013-01-16 Thread Scott Kostyshak
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=contentskeywords=eu2enc.defmode=exactfilenamesuite=quantalarch=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


Re: Hindi typing in ubuntu 12.10

2013-01-16 Thread Hridayesh Gupta
 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 [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=contentskeywords=eu2enc.defmode=exactfilenamesuite=quantalarch=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



Re: Hindi typing in ubuntu 12.10

2013-01-16 Thread Liviu Andronic
On Wed, Jan 16, 2013 at 5:37 AM, Hridayesh Gupta
hridayeshi...@gmail.com wrote:
 I have installed lyx 2.0.3 from ubuntu package manager, I hindi fonts
 installed in my system and I am able to read hindi in my system.

 Whenever I type something in hindi in lyx, font appears to be broken. When
 vew source, it shows correct font. When i try to preview/export pdf I get
 garbage.

No expert, but I expect that if you use pdflatex then you need to load
some specialized LaTeX package, perhaps via the Preamble. If however
you use Document  Fonts  Non-TeX fonts, then you should be able to
select any of your system fonts, and then compile the document using
XeTeX or LuaTeX.

Liviu


 Is there any guide on how for Devnagri in Ubuntu as there is one for windows
 at http://wiki.lyx.org/Windows/Devanagari

 I have installed texlive-lang-indic package as well.

 Thank you!
 Hridayesh



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


Re: Hindi typing in ubuntu 12.10

2013-01-16 Thread Hridayesh Gupta
Thanks for the reply.

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


On Wed, Jan 16, 2013 at 1:30 PM, Liviu Andronic landronim...@gmail.comwrote:

 On Wed, Jan 16, 2013 at 5:37 AM, Hridayesh Gupta
 hridayeshi...@gmail.com wrote:
  I have installed lyx 2.0.3 from ubuntu package manager, I hindi fonts
  installed in my system and I am able to read hindi in my system.
 
  Whenever I type something in hindi in lyx, font appears to be broken.
 When
  vew source, it shows correct font. When i try to preview/export pdf I get
  garbage.
 
 No expert, but I expect that if you use pdflatex then you need to load
 some specialized LaTeX package, perhaps via the Preamble. If however
 you use Document  Fonts  Non-TeX fonts, then you should be able to
 select any of your system fonts, and then compile the document using
 XeTeX or LuaTeX.

 Liviu


  Is there any guide on how for Devnagri in Ubuntu as there is one for
 windows
  at http://wiki.lyx.org/Windows/Devanagari
 
  I have installed texlive-lang-indic package as well.
 
  Thank you!
  Hridayesh



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



Re: Hindi typing in ubuntu 12.10

2013-01-16 Thread Liviu Andronic
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=contentskeywords=eu2enc.defmode=exactfilenamesuite=quantalarch=any

Liviu

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


Re: Hindi typing in ubuntu 12.10

2013-01-16 Thread Scott Kostyshak
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=contentskeywords=eu2enc.defmode=exactfilenamesuite=quantalarch=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


Re: Hindi typing in ubuntu 12.10

2013-01-16 Thread Hridayesh Gupta
 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 [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=contentskeywords=eu2enc.defmode=exactfilenamesuite=quantalarch=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



Re: Hindi typing in ubuntu 12.10

2013-01-16 Thread Liviu Andronic
On Wed, Jan 16, 2013 at 5:37 AM, Hridayesh Gupta
 wrote:
> I have installed lyx 2.0.3 from ubuntu package manager, I hindi fonts
> installed in my system and I am able to read hindi in my system.
>
> Whenever I type something in hindi in lyx, font appears to be broken. When
> vew source, it shows correct font. When i try to preview/export pdf I get
> garbage.
>
No expert, but I expect that if you use pdflatex then you need to load
some specialized LaTeX package, perhaps via the Preamble. If however
you use Document > Fonts > Non-TeX fonts, then you should be able to
select any of your system fonts, and then compile the document using
XeTeX or LuaTeX.

Liviu


> Is there any guide on how for Devnagri in Ubuntu as there is one for windows
> at http://wiki.lyx.org/Windows/Devanagari
>
> I have installed texlive-lang-indic package as well.
>
> Thank you!
> Hridayesh



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


Re: Hindi typing in ubuntu 12.10

2013-01-16 Thread Hridayesh Gupta
Thanks for the reply.

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


On Wed, Jan 16, 2013 at 1:30 PM, Liviu Andronic wrote:

> On Wed, Jan 16, 2013 at 5:37 AM, Hridayesh Gupta
>  wrote:
> > I have installed lyx 2.0.3 from ubuntu package manager, I hindi fonts
> > installed in my system and I am able to read hindi in my system.
> >
> > Whenever I type something in hindi in lyx, font appears to be broken.
> When
> > vew source, it shows correct font. When i try to preview/export pdf I get
> > garbage.
> >
> No expert, but I expect that if you use pdflatex then you need to load
> some specialized LaTeX package, perhaps via the Preamble. If however
> you use Document > Fonts > Non-TeX fonts, then you should be able to
> select any of your system fonts, and then compile the document using
> XeTeX or LuaTeX.
>
> Liviu
>
>
> > Is there any guide on how for Devnagri in Ubuntu as there is one for
> windows
> > at http://wiki.lyx.org/Windows/Devanagari
> >
> > I have installed texlive-lang-indic package as well.
> >
> > Thank you!
> > Hridayesh
>
>
>
> --
> 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
>


Re: Hindi typing in ubuntu 12.10

2013-01-16 Thread Liviu Andronic
On Wed, Jan 16, 2013 at 12:18 PM, Hridayesh Gupta
 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=eu2enc.def=exactfilename=quantal=any

Liviu

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


Re: Hindi typing in ubuntu 12.10

2013-01-16 Thread Scott Kostyshak
On Wed, Jan 16, 2013 at 7:53 AM, Liviu Andronic  wrote:
> On Wed, Jan 16, 2013 at 12:18 PM, Hridayesh Gupta
>  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=eu2enc.def=exactfilename=quantal=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


Re: Hindi typing in ubuntu 12.10

2013-01-16 Thread Hridayesh Gupta
 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  wrote:

> On Wed, Jan 16, 2013 at 7:53 AM, Liviu Andronic 
> wrote:
> > On Wed, Jan 16, 2013 at 12:18 PM, Hridayesh Gupta
> >  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=eu2enc.def=exactfilename=quantal=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
>


Hindi typing in ubuntu 12.10

2013-01-15 Thread Hridayesh Gupta
I have installed lyx 2.0.3 from ubuntu package manager, I hindi fonts
installed in my system and I am able to read hindi in my system.

Whenever I type something in hindi in lyx, font appears to be broken. When
vew source, it shows correct font. When i try to preview/export pdf I get
garbage.

Is there any guide on how for Devnagri in Ubuntu as there is one for
windows at http://wiki.lyx.org/Windows/Devanagari

I have installed texlive-lang-indic package as well.

Thank you!
Hridayesh


Hindi typing in ubuntu 12.10

2013-01-15 Thread Hridayesh Gupta
I have installed lyx 2.0.3 from ubuntu package manager, I hindi fonts
installed in my system and I am able to read hindi in my system.

Whenever I type something in hindi in lyx, font appears to be broken. When
vew source, it shows correct font. When i try to preview/export pdf I get
garbage.

Is there any guide on how for Devnagri in Ubuntu as there is one for
windows at http://wiki.lyx.org/Windows/Devanagari

I have installed texlive-lang-indic package as well.

Thank you!
Hridayesh


Hindi typing in ubuntu 12.10

2013-01-15 Thread Hridayesh Gupta
I have installed lyx 2.0.3 from ubuntu package manager, I hindi fonts
installed in my system and I am able to read hindi in my system.

Whenever I type something in hindi in lyx, font appears to be broken. When
vew source, it shows correct font. When i try to preview/export pdf I get
garbage.

Is there any guide on how for Devnagri in Ubuntu as there is one for
windows at http://wiki.lyx.org/Windows/Devanagari

I have installed texlive-lang-indic package as well.

Thank you!
Hridayesh