Oh, sorry!

Only now I understood what you've said.

I did this:
a. copied the file unicodesymbols
from /usr/share/lyx1.5.1/unicodesymbols
to /home/peleg/.lyx1.5.1/unicodesymbols
b. opened the copy with vim. there was no "0x03c8" string there at all,
so instead of modifying the file, I have added this line: 
0x03c8 "\\textgreek{y}"           "textgreek" "" "mathalpha" "\\psi" #
GREEK SMALL LETTER PSI
c. I have restarted LyX. Nothing has changed: I am clicking ψ on my
keyboard and getting the usual non-mathematical ψ.
d. I have tried to add the line to the original file in /usr/share/...
instead of in my home folder. restarted LyX. Still the same.
e. I have read this correspondance:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg129516.html
(well, not all of it...) - still couldn't understand.


Any ideas?

Thanks ahead,
Peleg.

On Fri, 2008-11-21 at 12:45 +0000, Peleg Michaeli wrote:
> Sorry... I am forwarding it to the list.
> 
> On Fri, 2008-11-21 at 12:41 +0000, Peleg Michaeli wrote:
> > On Fri, 2008-11-21 at 08:21 +0000, Guenter Milde wrote:
> > > However, you could adapt the unicodesymbols file (place a copy in
> > > ~/.lyx/unicodesymbols) and change
> > > 
> > > - 0x03c8 "\\textgreek{y}"           "textgreek" "" # GREEK SMALL
> > > LETTER PSI
> > > + 0x03c8 "\\textgreek{y}"           "textgreek" "" "mathalpha" "\\psi"
> > > # GREEK SMALL LETTER PSI
> > > 
> > > and you should be able to use an unicode ψ in math (untested). 
> > 
> > Thanks for your reply!
> > 
> > However, I have tried to put, as you recommended, this text:
> > - 0x03c8 "\\textgreek{y}"           "textgreek" "" # GREEK SMALL LETTER
> > PSI
> > + 0x03c8 "\\textgreek{y}"           "textgreek" "" "mathalpha" "\\psi" #
> > GREEK SMALL LETTER PSI
> > 
> > In the file ~/.lyx1.5.1/unicodesymbols (this is my relevant folder), and
> > I have restarted LyX - but nothing has changed. When I type ψ, either in
> > math mode or not, I get ψ and not \\psi.
> > 
> > What else can I try?


Reply via email to