Re: Some Inconvenient Truths...
Ryan Cross wrote: I completely sypathize with you and using equations in my documents is one of the main reason I use latex. Just a thought though to perhaps ease the pain of transition. How about taking your ms word file, converting it into an open office file and then from there using the conversion from open office (ODF) to lyx/latex. I think there is also a fairly reliable converter between lyx/odt to go back and forth if you need to, but check the wiki for more details. skeptic_mode Does this actually work with math? /skeptic_mode
compile on pclinuxos needs moc uic
Hi, I've compiled lyx fine on debian and others however, with pclinuxos I continue to get: Configuration Host type:i686-pc-linux-gnu Special build flags: aiksaurus pch use-ispell C Compiler: gcc C Compiler LyX flags: C Compiler flags: -O2 C++ Compiler: g++ (4.1.1) C++ Compiler LyX flags: C++ Compiler flags: -O2 Linker flags: Linker user flags: Qt 4 Frontend: Qt 4 version: 4.3.2 Packaging:posix LyX binary dir: /usr/local/bin LyX files dir:/usr/local/share/lyx The following problems have been detected by configure. Please check the messages below before running 'make'. (see the section 'Problems' in the INSTALL file) ** moc 4 binary not found ! ** uic 4 binary not found ! I've installed what I think is all the relevant qt4, qt4-dev, libqt4, libqt4-dev packages. I have many different qt4 packages installed and lyx recognized it during configure as shown above, listing qt4 version 4.3.2. What package am I missing to satisfy moc 4 and uic 4? Thanks, Bob
Re: Some LyX 1.5.3 issues (OS-X specific?)
On 22.12.2007, at 17:59, Jens Noeckel wrote: On Dec 22, 2007, at 5:12 AM, Bennett Helm wrote: On Dec 21, 2007, at 8:17 AM, Daniel Lohmann wrote: And finally, on LyX OS-X related question: How can I use the Ctrl key in LyX key bindings? C is apparently bound to the Apple/Command key and M is bound to the Alt key. All this makes sense, of course, I would just like to use the Ctrl key as well. I believe this is a Qt/Mac limitation and so out of our control. Bennett When you say use Ctrl as well, do you mean you want Ctrl and Command keys to be switched? If that's what you want, it requires modifying the file src/gui/kernel/qkeymapper_mac.cpp in the qt-mac-opensource source distribution. I've done that and have compiled LyX 1.5.3 with it. That way, LyX uses Apple/Command as a meta key, and Ctrl as the control key. I can put that binary online, and post more details on the QT patch, if anyone is interested. I hadn't done that because I haven't had a chance to work with the new version myself yet (my main LyX is still at version 1.4). Jens Thanks Jens, However, what I actually want is to use *both* keys within LyX. Apparently (according to Bennett) this is not possible because of a MacQt limitation. Daniel
amsbook confusion
The LyX-made file has errors. I have MiKTeX2.7 . How could I resolve these? The LyX source is % Preview source code %% LyX 1.5.2 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \makeatletter [EMAIL PROTECTED]C:/Documents and Settings/Sandor/My Documents/\string/}} \makeatother \documentclass[oneside,english]{amsbook} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \makeatletter %% Textclass specific LaTeX commands. \numberwithin{section}{chapter} \numberwithin{equation}{section} %% Comment out for sequentially-numbered \numberwithin{figure}{section} %% Comment out for sequentially-numbered \theoremstyle{plain} \newtheorem{lem}[thm]{Lemma} \usepackage{babel} \makeatother \begin{document} \chapter{nmmm} \begin{lem} kkk \end{lem} \end{document} - The error messages are LaTeX Error: No counter 'thm' defined. \newtheorem{lem}[thm]{Lemma} Your command was ignored. Type I command return to replace it with another command, or return to continue without it. . LaTeX Error: Environment lem undefined. \begin{lem} Your command was ignored. Type I command return to replace it with another command, or return to continue without it. LaTeX Error: \begin{document} ended by \end{lem}. \end{lem} Your command was ignored. Type I command return to replace it with another command, or return to continue without it.
Re: Some Inconvenient Truths...
I haven't tested it, but it can't be any worse than the super long way that he is already trying. -Ryan On 12/24/07, Neal Becker [EMAIL PROTECTED] wrote: Ryan Cross wrote: I completely sypathize with you and using equations in my documents is one of the main reason I use latex. Just a thought though to perhaps ease the pain of transition. How about taking your ms word file, converting it into an open office file and then from there using the conversion from open office (ODF) to lyx/latex. I think there is also a fairly reliable converter between lyx/odt to go back and forth if you need to, but check the wiki for more details. skeptic_mode Does this actually work with math? /skeptic_mode
Re: amsbook confusion
Sandor Szabo wrote: The LyX-made file has errors. I have MiKTeX2.7 . How could I resolve these? The LyX source is % Preview source code %% LyX 1.5.2 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \makeatletter [EMAIL PROTECTED]C:/Documents and Settings/Sandor/My Documents/\string/}} \makeatother \documentclass[oneside,english]{amsbook} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \makeatletter %% Textclass specific LaTeX commands. \numberwithin{section}{chapter} \numberwithin{equation}{section} %% Comment out for sequentially-numbered \numberwithin{figure}{section} %% Comment out for sequentially-numbered \theoremstyle{plain} \newtheorem{lem}[thm]{Lemma} \usepackage{babel} \makeatother \begin{document} \chapter{nmmm} \begin{lem} kkk \end{lem} \end{document} - The error messages are LaTeX Error: No counter 'thm' defined. \newtheorem{lem}[thm]{Lemma} Your command was ignored. Type I command return to replace it with another command, or return to continue without it. . LaTeX Error: Environment lem undefined. \begin{lem} Your command was ignored. Type I command return to replace it with another command, or return to continue without it. LaTeX Error: \begin{document} ended by \end{lem}. \end{lem} Your command was ignored. Type I command return to replace it with another command, or return to continue without it. Sorry, this was a bug I accidentally introduced in revised AMS layouts for version 1.5.2 (which is fixed in version 1.5.3). You can find repaired files on the wiki at http://wiki.lyx.org/Layouts/AMS. You actually only need to update amsmaths.inc. The version in LyX 1.5.3 has a more elegant fix, but the one on the wiki is good enough to solve the problem until you are ready to upgrade. /Paul
Re: Some LyX 1.5.3 issues (OS-X specific?)
On Dec 23, 2007, at 12:00 PM, Daniel Lohmann wrote: On 22.12.2007, at 17:59, Jens Noeckel wrote: On Dec 22, 2007, at 5:12 AM, Bennett Helm wrote: On Dec 21, 2007, at 8:17 AM, Daniel Lohmann wrote: And finally, on LyX OS-X related question: How can I use the Ctrl key in LyX key bindings? C is apparently bound to the Apple/Command key and M is bound to the Alt key. All this makes sense, of course, I would just like to use the Ctrl key as well. I believe this is a Qt/Mac limitation and so out of our control. Bennett When you say use Ctrl as well, do you mean you want Ctrl and Command keys to be switched? If that's what you want, it requires modifying the file src/gui/kernel/qkeymapper_mac.cpp in the qt-mac-opensource source distribution. I've done that and have compiled LyX 1.5.3 with it. That way, LyX uses Apple/Command as a meta key, and Ctrl as the control key. I can put that binary online, and post more details on the QT patch, if anyone is interested. I hadn't done that because I haven't had a chance to work with the new version myself yet (my main LyX is still at version 1.4). Jens Thanks Jens, However, what I actually want is to use *both* keys within LyX. Apparently (according to Bennett) this is not possible because of a MacQt limitation. Daniel Daniel, yes - I don't think we can have all three modifiers (Ctrl, Apple and Option) work completely independently in LyX. Although Qt defines all three, Qt::ControlModifier Qt::MetaModifier Qt::AltModifier as separate values, Lyx doesn't let us use them. The Option key is somewhat special: unfortunatley, Lyx doesn't recognize the difference between Command-w (key binding for copy), and Option-w. But _some_ Option-key combinations are caught at a lower level and then work in a way that the analogous Command-key combination doesn't do. E.g., Option-u o produces the umlaut ö, but Command-u o doesn't. Here is an old reference on this issue: http://osdir.com/ml/editors.lyx.general/2004-09/msg00207.html That email was how I started using the patched Qt where Command and Ctrl are un-switched. I'm posting the patched binaries at http://www.uoregon.edu/~noeckel/LyX/ Starting to test it now, and already found another issue to add to the list: The key combinations M-~S-less and M-~S-greater aren't recognized anymore. So the xemacs binding for buffer-begin and buffer-end no longer work correctly. This holds for the official binaries (on Intel and PPC), and I see the same with my own builds. More precisely, it still works if I press Option as the Meta key, but not if I press Ctrl (for the official binary) as Meta. This used to work in LyX 1.4 - and the new behavior is clearly inconsistent. Jens
Re: Some Inconvenient Truths...
Ryan Cross wrote: I completely sypathize with you and using equations in my documents is one of the main reason I use latex. Just a thought though to perhaps ease the pain of transition. How about taking your ms word file, converting it into an open office file and then from there using the conversion from open office (ODF) to lyx/latex. I think there is also a fairly reliable converter between lyx/odt to go back and forth if you need to, but check the wiki for more details. skeptic_mode Does this actually work with math? /skeptic_mode
compile on pclinuxos needs moc uic
Hi, I've compiled lyx fine on debian and others however, with pclinuxos I continue to get: Configuration Host type:i686-pc-linux-gnu Special build flags: aiksaurus pch use-ispell C Compiler: gcc C Compiler LyX flags: C Compiler flags: -O2 C++ Compiler: g++ (4.1.1) C++ Compiler LyX flags: C++ Compiler flags: -O2 Linker flags: Linker user flags: Qt 4 Frontend: Qt 4 version: 4.3.2 Packaging:posix LyX binary dir: /usr/local/bin LyX files dir:/usr/local/share/lyx The following problems have been detected by configure. Please check the messages below before running 'make'. (see the section 'Problems' in the INSTALL file) ** moc 4 binary not found ! ** uic 4 binary not found ! I've installed what I think is all the relevant qt4, qt4-dev, libqt4, libqt4-dev packages. I have many different qt4 packages installed and lyx recognized it during configure as shown above, listing qt4 version 4.3.2. What package am I missing to satisfy moc 4 and uic 4? Thanks, Bob
Re: Some LyX 1.5.3 issues (OS-X specific?)
On 22.12.2007, at 17:59, Jens Noeckel wrote: On Dec 22, 2007, at 5:12 AM, Bennett Helm wrote: On Dec 21, 2007, at 8:17 AM, Daniel Lohmann wrote: And finally, on LyX OS-X related question: How can I use the Ctrl key in LyX key bindings? C is apparently bound to the Apple/Command key and M is bound to the Alt key. All this makes sense, of course, I would just like to use the Ctrl key as well. I believe this is a Qt/Mac limitation and so out of our control. Bennett When you say use Ctrl as well, do you mean you want Ctrl and Command keys to be switched? If that's what you want, it requires modifying the file src/gui/kernel/qkeymapper_mac.cpp in the qt-mac-opensource source distribution. I've done that and have compiled LyX 1.5.3 with it. That way, LyX uses Apple/Command as a meta key, and Ctrl as the control key. I can put that binary online, and post more details on the QT patch, if anyone is interested. I hadn't done that because I haven't had a chance to work with the new version myself yet (my main LyX is still at version 1.4). Jens Thanks Jens, However, what I actually want is to use *both* keys within LyX. Apparently (according to Bennett) this is not possible because of a MacQt limitation. Daniel
amsbook confusion
The LyX-made file has errors. I have MiKTeX2.7 . How could I resolve these? The LyX source is % Preview source code %% LyX 1.5.2 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \makeatletter [EMAIL PROTECTED]C:/Documents and Settings/Sandor/My Documents/\string/}} \makeatother \documentclass[oneside,english]{amsbook} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \makeatletter %% Textclass specific LaTeX commands. \numberwithin{section}{chapter} \numberwithin{equation}{section} %% Comment out for sequentially-numbered \numberwithin{figure}{section} %% Comment out for sequentially-numbered \theoremstyle{plain} \newtheorem{lem}[thm]{Lemma} \usepackage{babel} \makeatother \begin{document} \chapter{nmmm} \begin{lem} kkk \end{lem} \end{document} - The error messages are LaTeX Error: No counter 'thm' defined. \newtheorem{lem}[thm]{Lemma} Your command was ignored. Type I command return to replace it with another command, or return to continue without it. . LaTeX Error: Environment lem undefined. \begin{lem} Your command was ignored. Type I command return to replace it with another command, or return to continue without it. LaTeX Error: \begin{document} ended by \end{lem}. \end{lem} Your command was ignored. Type I command return to replace it with another command, or return to continue without it.
Re: Some Inconvenient Truths...
I haven't tested it, but it can't be any worse than the super long way that he is already trying. -Ryan On 12/24/07, Neal Becker [EMAIL PROTECTED] wrote: Ryan Cross wrote: I completely sypathize with you and using equations in my documents is one of the main reason I use latex. Just a thought though to perhaps ease the pain of transition. How about taking your ms word file, converting it into an open office file and then from there using the conversion from open office (ODF) to lyx/latex. I think there is also a fairly reliable converter between lyx/odt to go back and forth if you need to, but check the wiki for more details. skeptic_mode Does this actually work with math? /skeptic_mode
Re: amsbook confusion
Sandor Szabo wrote: The LyX-made file has errors. I have MiKTeX2.7 . How could I resolve these? The LyX source is % Preview source code %% LyX 1.5.2 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \makeatletter [EMAIL PROTECTED]C:/Documents and Settings/Sandor/My Documents/\string/}} \makeatother \documentclass[oneside,english]{amsbook} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \makeatletter %% Textclass specific LaTeX commands. \numberwithin{section}{chapter} \numberwithin{equation}{section} %% Comment out for sequentially-numbered \numberwithin{figure}{section} %% Comment out for sequentially-numbered \theoremstyle{plain} \newtheorem{lem}[thm]{Lemma} \usepackage{babel} \makeatother \begin{document} \chapter{nmmm} \begin{lem} kkk \end{lem} \end{document} - The error messages are LaTeX Error: No counter 'thm' defined. \newtheorem{lem}[thm]{Lemma} Your command was ignored. Type I command return to replace it with another command, or return to continue without it. . LaTeX Error: Environment lem undefined. \begin{lem} Your command was ignored. Type I command return to replace it with another command, or return to continue without it. LaTeX Error: \begin{document} ended by \end{lem}. \end{lem} Your command was ignored. Type I command return to replace it with another command, or return to continue without it. Sorry, this was a bug I accidentally introduced in revised AMS layouts for version 1.5.2 (which is fixed in version 1.5.3). You can find repaired files on the wiki at http://wiki.lyx.org/Layouts/AMS. You actually only need to update amsmaths.inc. The version in LyX 1.5.3 has a more elegant fix, but the one on the wiki is good enough to solve the problem until you are ready to upgrade. /Paul
Re: Some LyX 1.5.3 issues (OS-X specific?)
On Dec 23, 2007, at 12:00 PM, Daniel Lohmann wrote: On 22.12.2007, at 17:59, Jens Noeckel wrote: On Dec 22, 2007, at 5:12 AM, Bennett Helm wrote: On Dec 21, 2007, at 8:17 AM, Daniel Lohmann wrote: And finally, on LyX OS-X related question: How can I use the Ctrl key in LyX key bindings? C is apparently bound to the Apple/Command key and M is bound to the Alt key. All this makes sense, of course, I would just like to use the Ctrl key as well. I believe this is a Qt/Mac limitation and so out of our control. Bennett When you say use Ctrl as well, do you mean you want Ctrl and Command keys to be switched? If that's what you want, it requires modifying the file src/gui/kernel/qkeymapper_mac.cpp in the qt-mac-opensource source distribution. I've done that and have compiled LyX 1.5.3 with it. That way, LyX uses Apple/Command as a meta key, and Ctrl as the control key. I can put that binary online, and post more details on the QT patch, if anyone is interested. I hadn't done that because I haven't had a chance to work with the new version myself yet (my main LyX is still at version 1.4). Jens Thanks Jens, However, what I actually want is to use *both* keys within LyX. Apparently (according to Bennett) this is not possible because of a MacQt limitation. Daniel Daniel, yes - I don't think we can have all three modifiers (Ctrl, Apple and Option) work completely independently in LyX. Although Qt defines all three, Qt::ControlModifier Qt::MetaModifier Qt::AltModifier as separate values, Lyx doesn't let us use them. The Option key is somewhat special: unfortunatley, Lyx doesn't recognize the difference between Command-w (key binding for copy), and Option-w. But _some_ Option-key combinations are caught at a lower level and then work in a way that the analogous Command-key combination doesn't do. E.g., Option-u o produces the umlaut ö, but Command-u o doesn't. Here is an old reference on this issue: http://osdir.com/ml/editors.lyx.general/2004-09/msg00207.html That email was how I started using the patched Qt where Command and Ctrl are un-switched. I'm posting the patched binaries at http://www.uoregon.edu/~noeckel/LyX/ Starting to test it now, and already found another issue to add to the list: The key combinations M-~S-less and M-~S-greater aren't recognized anymore. So the xemacs binding for buffer-begin and buffer-end no longer work correctly. This holds for the official binaries (on Intel and PPC), and I see the same with my own builds. More precisely, it still works if I press Option as the Meta key, but not if I press Ctrl (for the official binary) as Meta. This used to work in LyX 1.4 - and the new behavior is clearly inconsistent. Jens
Re: Some Inconvenient Truths...
Ryan Cross wrote: > I completely sypathize with you and using equations in my documents is one > of the main reason I use latex. Just a thought though to perhaps ease the > pain of transition. How about taking your ms word file, converting it into > an open office file and then from there using the conversion from open > office (ODF) to lyx/latex. I think there is also a fairly reliable > converter between lyx/odt to go back and forth if you need to, but check > the wiki for more details. > Does this actually work with math?
compile on pclinuxos needs moc & uic
Hi, I've compiled lyx fine on debian and others however, with pclinuxos I continue to get: Configuration Host type:i686-pc-linux-gnu Special build flags: aiksaurus pch use-ispell C Compiler: gcc C Compiler LyX flags: C Compiler flags: -O2 C++ Compiler: g++ (4.1.1) C++ Compiler LyX flags: C++ Compiler flags: -O2 Linker flags: Linker user flags: Qt 4 Frontend: Qt 4 version: 4.3.2 Packaging:posix LyX binary dir: /usr/local/bin LyX files dir:/usr/local/share/lyx The following problems have been detected by configure. Please check the messages below before running 'make'. (see the section 'Problems' in the INSTALL file) ** moc 4 binary not found ! ** uic 4 binary not found ! I've installed what I think is all the relevant qt4, qt4-dev, libqt4, libqt4-dev packages. I have many different qt4 packages installed and lyx recognized it during configure as shown above, listing qt4 version 4.3.2. What package am I missing to satisfy moc 4 and uic 4? Thanks, Bob
Re: Some LyX 1.5.3 issues (OS-X specific?)
On 22.12.2007, at 17:59, Jens Noeckel wrote: On Dec 22, 2007, at 5:12 AM, Bennett Helm wrote: On Dec 21, 2007, at 8:17 AM, Daniel Lohmann wrote: And finally, on LyX OS-X related question: How can I use the "Ctrl" key in LyX key bindings? "C" is apparently bound to the "Apple/Command" key and "M" is bound to the "Alt" key. All this makes sense, of course, I would just like to use the "Ctrl" key as well. I believe this is a Qt/Mac limitation and so out of our control. Bennett When you say "use Ctrl as well", do you mean you want Ctrl and Command keys to be switched? If that's what you want, it requires modifying the file src/gui/kernel/qkeymapper_mac.cpp in the qt-mac-opensource source distribution. I've done that and have compiled LyX 1.5.3 with it. That way, LyX uses Apple/Command as a meta key, and Ctrl as the control key. I can put that binary online, and post more details on the QT patch, if anyone is interested. I hadn't done that because I haven't had a chance to work with the new version myself yet (my main LyX is still at version 1.4). Jens Thanks Jens, However, what I actually want is to use *both* keys within LyX. Apparently (according to Bennett) this is not possible because of a MacQt limitation. Daniel
amsbook confusion
The LyX-made file has errors. I have MiKTeX2.7 . How could I resolve these? The LyX source is % Preview source code %% LyX 1.5.2 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \makeatletter [EMAIL PROTECTED]"C:/Documents and Settings/Sandor/My Documents/\string"/}} \makeatother \documentclass[oneside,english]{amsbook} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \makeatletter %% Textclass specific LaTeX commands. \numberwithin{section}{chapter} \numberwithin{equation}{section} %% Comment out for sequentially-numbered \numberwithin{figure}{section} %% Comment out for sequentially-numbered \theoremstyle{plain} \newtheorem{lem}[thm]{Lemma} \usepackage{babel} \makeatother \begin{document} \chapter{nmmm} \begin{lem} kkk \end{lem} \end{document} - The error messages are LaTeX Error: No counter 'thm' defined. \newtheorem{lem}[thm]{Lemma} Your command was ignored. Type Ito replace it with another command, orto continue without it. . LaTeX Error: Environment lem undefined. \begin{lem} Your command was ignored. Type Ito replace it with another command, orto continue without it. LaTeX Error: \begin{document} ended by \end{lem}. \end{lem} Your command was ignored. Type Ito replace it with another command, orto continue without it.
Re: Some Inconvenient Truths...
I haven't tested it, but it can't be any worse than the super long way that he is already trying. -Ryan On 12/24/07, Neal Becker <[EMAIL PROTECTED]> wrote: > > Ryan Cross wrote: > > > I completely sypathize with you and using equations in my documents is > one > > of the main reason I use latex. Just a thought though to perhaps ease > the > > pain of transition. How about taking your ms word file, converting it > into > > an open office file and then from there using the conversion from open > > office (ODF) to lyx/latex. I think there is also a fairly reliable > > converter between lyx/odt to go back and forth if you need to, but check > > the wiki for more details. > > > > > Does this actually work with math? > > >
Re: amsbook confusion
Sandor Szabo wrote: The LyX-made file has errors. I have MiKTeX2.7 . How could I resolve these? The LyX source is % Preview source code %% LyX 1.5.2 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \makeatletter [EMAIL PROTECTED]"C:/Documents and Settings/Sandor/My Documents/\string"/}} \makeatother \documentclass[oneside,english]{amsbook} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \makeatletter %% Textclass specific LaTeX commands. \numberwithin{section}{chapter} \numberwithin{equation}{section} %% Comment out for sequentially-numbered \numberwithin{figure}{section} %% Comment out for sequentially-numbered \theoremstyle{plain} \newtheorem{lem}[thm]{Lemma} \usepackage{babel} \makeatother \begin{document} \chapter{nmmm} \begin{lem} kkk \end{lem} \end{document} - The error messages are LaTeX Error: No counter 'thm' defined. \newtheorem{lem}[thm]{Lemma} Your command was ignored. Type Ito replace it with another command, orto continue without it. . LaTeX Error: Environment lem undefined. \begin{lem} Your command was ignored. Type Ito replace it with another command, orto continue without it. LaTeX Error: \begin{document} ended by \end{lem}. \end{lem} Your command was ignored. Type Ito replace it with another command, orto continue without it. Sorry, this was a bug I accidentally introduced in revised AMS layouts for version 1.5.2 (which is fixed in version 1.5.3). You can find repaired files on the wiki at http://wiki.lyx.org/Layouts/AMS. You actually only need to update amsmaths.inc. The version in LyX 1.5.3 has a more elegant fix, but the one on the wiki is good enough to solve the problem until you are ready to upgrade. /Paul
Re: Some LyX 1.5.3 issues (OS-X specific?)
On Dec 23, 2007, at 12:00 PM, Daniel Lohmann wrote: On 22.12.2007, at 17:59, Jens Noeckel wrote: On Dec 22, 2007, at 5:12 AM, Bennett Helm wrote: On Dec 21, 2007, at 8:17 AM, Daniel Lohmann wrote: And finally, on LyX OS-X related question: How can I use the "Ctrl" key in LyX key bindings? "C" is apparently bound to the "Apple/Command" key and "M" is bound to the "Alt" key. All this makes sense, of course, I would just like to use the "Ctrl" key as well. I believe this is a Qt/Mac limitation and so out of our control. Bennett When you say "use Ctrl as well", do you mean you want Ctrl and Command keys to be switched? If that's what you want, it requires modifying the file src/gui/kernel/qkeymapper_mac.cpp in the qt-mac-opensource source distribution. I've done that and have compiled LyX 1.5.3 with it. That way, LyX uses Apple/Command as a meta key, and Ctrl as the control key. I can put that binary online, and post more details on the QT patch, if anyone is interested. I hadn't done that because I haven't had a chance to work with the new version myself yet (my main LyX is still at version 1.4). Jens Thanks Jens, However, what I actually want is to use *both* keys within LyX. Apparently (according to Bennett) this is not possible because of a MacQt limitation. Daniel Daniel, yes - I don't think we can have all three modifiers (Ctrl, Apple and Option) work "completely" independently in LyX. Although Qt defines all three, Qt::ControlModifier Qt::MetaModifier Qt::AltModifier as separate values, Lyx doesn't let us use them. The Option key is somewhat special: unfortunatley, Lyx doesn't recognize the difference between "Command-w" (key binding for "copy"), and "Option-w". But _some_ Option-key combinations are caught at a lower level and then work in a way that the analogous Command-key combination doesn't do. E.g., "Option-u o" produces the umlaut ö, but "Command-u o" doesn't. Here is an old reference on this issue: http://osdir.com/ml/editors.lyx.general/2004-09/msg00207.html That email was how I started using the patched Qt where Command and Ctrl are "un"-switched. I'm posting the patched binaries at http://www.uoregon.edu/~noeckel/LyX/ Starting to test it now, and already found another issue to add to the list: The key combinations "M-~S-less" and "M-~S-greater" aren't recognized anymore. So the xemacs binding for buffer-begin and buffer-end no longer work correctly. This holds for the official binaries (on Intel and PPC), and I see the same with my own builds. More precisely, it still works if I press "Option" as the Meta key, but not if I press "Ctrl" (for the official binary) as Meta. This used to work in LyX 1.4 - and the new behavior is clearly inconsistent. Jens