Re: lyx cannot display Greek symbol real time
On Thu, Dec 13, 2007, Enrico Forestieri wrote: Using a cygwin text editor (vim is ok, notepad is *not* ok) create the file /etc/fonts/local.conf with the following 5 lines: ?xml version=1.0? !DOCTYPE fontconfig SYSTEM fonts.dtd fontconfig dir/usr/share/lyx/fonts/dir /fontconfig save the file and then issue the following command: fc-cache /usr/share/lyx/fonts Now you should get the greek letters in LyX. Just a note that might help some people: Current cygwin versions install into /usr/local, so you may need to reference /usr/local/share/lyx/fonts instead of /usr/share/lyx/fonts in the instructions above. Just check to see what directories you have. (btw, I see that 1.4.4 is still the current available version) There is a lyx-1.5.2-cygwin.tar.gz at ftp://ftp.lyx.org/pub/lyx/bin/1.5.2, (and comparable versions for 1.5.0, 1.5.1 and 1.4.5.1). These have all worked fine for me, including showing math fonts. [A personal view: if you are already using cygwin, or if you are familiar with Unix/Linux, you should seriously consider using the cygwin version of LyX if you need a windows version.] dave case
Re: lyx cannot display Greek symbol real time
David A. Case writes: Just a note that might help some people: Current cygwin versions install into /usr/local, so you may need to reference /usr/local/share/lyx/fonts instead of /usr/share/lyx/fonts in the instructions above. Just check to see what directories you have. Just to clear up this. There is an official cygwin version of LyX that can be installed through official repositories. This version uses a X server and installs into /usr. Then there are unofficial versions, downloadable from ftp://ftp.lyx.org/pub/lyx/bin, that don't use a X server and install into /usr/local. These last versions cannot be made official because one of the requirements is that they should compile using only software available in the cygwin distro, and the non-X11 Qt which is used is not there. And there is no hope that it can be there, because they want the X11 version of Qt. (btw, I see that 1.4.4 is still the current available version) There is a lyx-1.5.2-cygwin.tar.gz at ftp://ftp.lyx.org/pub/lyx/bin/1.5.2, (and comparable versions for 1.5.0, 1.5.1 and 1.4.5.1). These have all worked fine for me, including showing math fonts. These are the unofficial versions not using X11. [A personal view: if you are already using cygwin, or if you are familiar with Unix/Linux, you should seriously consider using the cygwin version of LyX if you need a windows version.] I agree ;-) -- Enrico
Re: lyx cannot display Greek symbol real time
On Thu, Dec 13, 2007, Enrico Forestieri wrote: Using a cygwin text editor (vim is ok, notepad is *not* ok) create the file /etc/fonts/local.conf with the following 5 lines: ?xml version=1.0? !DOCTYPE fontconfig SYSTEM fonts.dtd fontconfig dir/usr/share/lyx/fonts/dir /fontconfig save the file and then issue the following command: fc-cache /usr/share/lyx/fonts Now you should get the greek letters in LyX. Just a note that might help some people: Current cygwin versions install into /usr/local, so you may need to reference /usr/local/share/lyx/fonts instead of /usr/share/lyx/fonts in the instructions above. Just check to see what directories you have. (btw, I see that 1.4.4 is still the current available version) There is a lyx-1.5.2-cygwin.tar.gz at ftp://ftp.lyx.org/pub/lyx/bin/1.5.2, (and comparable versions for 1.5.0, 1.5.1 and 1.4.5.1). These have all worked fine for me, including showing math fonts. [A personal view: if you are already using cygwin, or if you are familiar with Unix/Linux, you should seriously consider using the cygwin version of LyX if you need a windows version.] dave case
Re: lyx cannot display Greek symbol real time
David A. Case writes: Just a note that might help some people: Current cygwin versions install into /usr/local, so you may need to reference /usr/local/share/lyx/fonts instead of /usr/share/lyx/fonts in the instructions above. Just check to see what directories you have. Just to clear up this. There is an official cygwin version of LyX that can be installed through official repositories. This version uses a X server and installs into /usr. Then there are unofficial versions, downloadable from ftp://ftp.lyx.org/pub/lyx/bin, that don't use a X server and install into /usr/local. These last versions cannot be made official because one of the requirements is that they should compile using only software available in the cygwin distro, and the non-X11 Qt which is used is not there. And there is no hope that it can be there, because they want the X11 version of Qt. (btw, I see that 1.4.4 is still the current available version) There is a lyx-1.5.2-cygwin.tar.gz at ftp://ftp.lyx.org/pub/lyx/bin/1.5.2, (and comparable versions for 1.5.0, 1.5.1 and 1.4.5.1). These have all worked fine for me, including showing math fonts. These are the unofficial versions not using X11. [A personal view: if you are already using cygwin, or if you are familiar with Unix/Linux, you should seriously consider using the cygwin version of LyX if you need a windows version.] I agree ;-) -- Enrico
Re: lyx cannot display Greek symbol real time
On Thu, Dec 13, 2007, Enrico Forestieri wrote: > > Using a cygwin text editor (vim is ok, notepad is *not* ok) create the > file /etc/fonts/local.conf with the following 5 lines: > > > > > /usr/share/lyx/fonts > > > save the file and then issue the following command: > > fc-cache /usr/share/lyx/fonts > > Now you should get the greek letters in LyX. Just a note that might help some people: Current cygwin versions install into /usr/local, so you may need to reference /usr/local/share/lyx/fonts instead of /usr/share/lyx/fonts in the instructions above. Just check to see what directories you have. > > > (btw, I see that 1.4.4 is still the current available version) There is a lyx-1.5.2-cygwin.tar.gz at ftp://ftp.lyx.org/pub/lyx/bin/1.5.2, (and comparable versions for 1.5.0, 1.5.1 and 1.4.5.1). These have all worked fine for me, including showing math fonts. [A personal view: if you are already using cygwin, or if you are familiar with Unix/Linux, you should seriously consider using the cygwin version of LyX if you need a windows version.] dave case
Re: lyx cannot display Greek symbol real time
David A. Case writes: > Just a note that might help some people: Current cygwin versions install into > /usr/local, so you may need to reference /usr/local/share/lyx/fonts instead > of /usr/share/lyx/fonts in the instructions above. Just check to see what > directories you have. Just to clear up this. There is an official cygwin version of LyX that can be installed through official repositories. This version uses a X server and installs into /usr. Then there are unofficial versions, downloadable from ftp://ftp.lyx.org/pub/lyx/bin, that don't use a X server and install into /usr/local. These last versions cannot be made official because one of the requirements is that they should compile using only software available in the cygwin distro, and the non-X11 Qt which is used is not there. And there is no hope that it can be there, because they want the X11 version of Qt. > > (btw, I see that 1.4.4 is still the current available version) > > There is a lyx-1.5.2-cygwin.tar.gz at ftp://ftp.lyx.org/pub/lyx/bin/1.5.2, > (and comparable versions for 1.5.0, 1.5.1 and 1.4.5.1). These have all worked > fine for me, including showing math fonts. These are the unofficial versions not using X11. > [A personal view: if you are already using cygwin, or if you are familiar with > Unix/Linux, you should seriously consider using the cygwin version of LyX if > you need a windows version.] I agree ;-) -- Enrico
lyx cannot display Greek symbol real time
Hi, I have just installed LyX through Cygwin on my Windows XP system. When in math mode, I can type \frac and then press SPACE I will get the fraction symbol. Also it works for the \sqrt symbol. However, all the Greek letters are not displayed. For example, when I type in \alpha, it just returns alpha in the box, not the symbol. I can only see the symbol after I export my document to the pdf format. On the other hand, for the LyX under the Suse10.2 system on my work computer, all Greek terms appear immediately after I type in the corresponding latex code. Is this just a problem for the Windows version (through cygwin) ? Thanks a lot for your help, Zhi btw: I also installed texmacs through cygwin on my XP system. texamcs is able to accept latex input in its math mode, and display the equations immediately. However, as texmacs is not a latex frontend, it only simulates the latex functionality, and the equations it gives are not good as real latex ones...
Re: lyx cannot display Greek symbol real time
Zhi Huang writes: Hi, I have just installed LyX through Cygwin on my Windows XP system. When in math mode, I can type \frac and then press SPACE I will get the fraction symbol. Also it works for the \sqrt symbol. However, all the Greek letters are not displayed. For example, when I type in \alpha, it just returns alpha in the box, not the symbol. I can only see the symbol after I export my document to the pdf format. Using a cygwin text editor (vim is ok, notepad is *not* ok) create the file /etc/fonts/local.conf with the following 5 lines: ?xml version=1.0? !DOCTYPE fontconfig SYSTEM fonts.dtd fontconfig dir/usr/share/lyx/fonts/dir /fontconfig save the file and then issue the following command: fc-cache /usr/share/lyx/fonts Now you should get the greek letters in LyX. Bo, seems that recent versions of fontconfig for cygwin do not come with a default local.conf file, so the postinstall script is not able to register the fonts needed by LyX. You should upload a new version of LyX (btw, I see that 1.4.4 is still the current available version) with a corrected postinstall script that checks for the existence of /etc/fonts/local.conf and provides a minimal version in case it doesn't exist. The script should do something along the lines of: # In case /etc/fonts/local.conf is missing, provide a minimal one. if [ -f /etc/fonts/local.conf ]; then the old code goes here else echo '?xml version=1.0?' /etc/fonts/local.conf echo '!DOCTYPE fontconfig SYSTEM fonts.dtd' /etc/fonts/local.conf echo 'fontconfig' /etc/fonts/local.conf echo 'dir/usr/share/lyx/fonts/dir' /etc/fonts/local.conf echo '/fontconfig' /etc/fonts/local.conf fi fc-cache /usr/share/lyx/fonts -- Enrico
lyx cannot display Greek symbol real time
Hi, I have just installed LyX through Cygwin on my Windows XP system. When in math mode, I can type \frac and then press SPACE I will get the fraction symbol. Also it works for the \sqrt symbol. However, all the Greek letters are not displayed. For example, when I type in \alpha, it just returns alpha in the box, not the symbol. I can only see the symbol after I export my document to the pdf format. On the other hand, for the LyX under the Suse10.2 system on my work computer, all Greek terms appear immediately after I type in the corresponding latex code. Is this just a problem for the Windows version (through cygwin) ? Thanks a lot for your help, Zhi btw: I also installed texmacs through cygwin on my XP system. texamcs is able to accept latex input in its math mode, and display the equations immediately. However, as texmacs is not a latex frontend, it only simulates the latex functionality, and the equations it gives are not good as real latex ones...
Re: lyx cannot display Greek symbol real time
Zhi Huang writes: Hi, I have just installed LyX through Cygwin on my Windows XP system. When in math mode, I can type \frac and then press SPACE I will get the fraction symbol. Also it works for the \sqrt symbol. However, all the Greek letters are not displayed. For example, when I type in \alpha, it just returns alpha in the box, not the symbol. I can only see the symbol after I export my document to the pdf format. Using a cygwin text editor (vim is ok, notepad is *not* ok) create the file /etc/fonts/local.conf with the following 5 lines: ?xml version=1.0? !DOCTYPE fontconfig SYSTEM fonts.dtd fontconfig dir/usr/share/lyx/fonts/dir /fontconfig save the file and then issue the following command: fc-cache /usr/share/lyx/fonts Now you should get the greek letters in LyX. Bo, seems that recent versions of fontconfig for cygwin do not come with a default local.conf file, so the postinstall script is not able to register the fonts needed by LyX. You should upload a new version of LyX (btw, I see that 1.4.4 is still the current available version) with a corrected postinstall script that checks for the existence of /etc/fonts/local.conf and provides a minimal version in case it doesn't exist. The script should do something along the lines of: # In case /etc/fonts/local.conf is missing, provide a minimal one. if [ -f /etc/fonts/local.conf ]; then the old code goes here else echo '?xml version=1.0?' /etc/fonts/local.conf echo '!DOCTYPE fontconfig SYSTEM fonts.dtd' /etc/fonts/local.conf echo 'fontconfig' /etc/fonts/local.conf echo 'dir/usr/share/lyx/fonts/dir' /etc/fonts/local.conf echo '/fontconfig' /etc/fonts/local.conf fi fc-cache /usr/share/lyx/fonts -- Enrico
lyx cannot display Greek symbol real time
Hi, I have just installed LyX through Cygwin on my Windows XP system. When in math mode, I can type \frac and then press SPACE I will get the fraction symbol. Also it works for the \sqrt symbol. However, all the Greek letters are not displayed. For example, when I type in \alpha, it just returns "alpha" in the box, not the symbol. I can only see the symbol after I export my document to the pdf format. On the other hand, for the LyX under the Suse10.2 system on my work computer, all Greek terms appear immediately after I type in the corresponding latex code. Is this just a problem for the Windows version (through cygwin) ? Thanks a lot for your help, Zhi btw: I also installed texmacs through cygwin on my XP system. texamcs is able to accept latex input in its math mode, and display the equations immediately. However, as texmacs is not a latex frontend, it only "simulates" the latex functionality, and the equations it gives are not good as real latex ones...
Re: lyx cannot display Greek symbol real time
Zhi Huang writes: > Hi, > > I have just installed LyX through Cygwin on my Windows XP system. When in > math mode, I can type \frac and then press SPACE I will get the fraction > symbol. Also it works for the \sqrt symbol. However, all the Greek letters > are not displayed. For example, when I type in \alpha, it just returns > "alpha" in the box, not the symbol. I can only see the symbol after I export > my document to the pdf format. Using a cygwin text editor (vim is ok, notepad is *not* ok) create the file /etc/fonts/local.conf with the following 5 lines: /usr/share/lyx/fonts save the file and then issue the following command: fc-cache /usr/share/lyx/fonts Now you should get the greek letters in LyX. Bo, seems that recent versions of fontconfig for cygwin do not come with a default local.conf file, so the postinstall script is not able to register the fonts needed by LyX. You should upload a new version of LyX (btw, I see that 1.4.4 is still the current available version) with a corrected postinstall script that checks for the existence of /etc/fonts/local.conf and provides a minimal version in case it doesn't exist. The script should do something along the lines of: # In case /etc/fonts/local.conf is missing, provide a minimal one. if [ -f /etc/fonts/local.conf ]; then else echo '' > /etc/fonts/local.conf echo '' >> /etc/fonts/local.conf echo '' >> /etc/fonts/local.conf echo '/usr/share/lyx/fonts' >> /etc/fonts/local.conf echo '' >> /etc/fonts/local.conf fi fc-cache /usr/share/lyx/fonts -- Enrico