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
>

Reply via email to