Error in Lyx
I keep getting this error while typing in long sessions in Lyx. Could you tell me what's wrong pls? FN X Error: BadGC (invalid GC parameter) 13 Major opcode: 60 (X_FreeGC) Resource id: 0x2e0160b -- FN +91-9822122436 P +91-832-2409490 Konkani adages http://konkani-adages.notlong.com/ Medieval Goa http://medieval-goa.notlong.com/
Re: Classic Thesis and LyX
It most certainly is a font issue. Could you try if this happens with every math formula, only with sub- and superscripts, maybe with formulae in headings or otherwise scaled? Actually, you need no math formula for the error to show A title in an otherwise empty file is enough. Say, \title{blah}\maketitle Does the problem go away if you choose a different font set What commands exactly fix the font set? Could you be more specific about your font setup? I can try. How can I find the info you need? Thanks for your help! Manolo Günter
RE: RE: Will Lyx run on Mac OS X 10.6?
So, now some interim report about me trying to compile lyx on 10.6. To sum up, I think I messed things up with QT. First, I didn't find QT 4.3.3 on the QT/Nokia page, the links to the archives there aim to quite empty ftp-servers with QT3-versions on it. So I downloaded the actual QT4.5.2 for Mac binary installer and installed it. That was not a good thing to do. Later I found the QT4.3.3 source-package by googling around. I haven't installed this yet. I tried to compile the lyx 1.6branch which I got via svn (nice thing: 10.6 has svn already included now) following the instructions of the INSTALLMACOSX file. Well, configuring always fails as it cannot find the qt-directory. I looked up where the 4.5.2 binary installs files: Qt Designer, Qt Linguist: /Developer/Applications/Qt Qt Documentation: /Developer/Documentation/Qt Qt Examples: /Developer/Examples/Qt Qt Plugins: /Developer/Applications/Qt/Plugins Qt Frameworks: /Library/Frameworks Qt Libraries: /usr/lib qmake, moc, uic, etc.: /Developer/Tools/Qt (symlink to /usr/bin, so they are really there) Uninstall script: /Developer/Tools/uninstall-qt.py I tried it with /usr/bin and /Developer/Tools/QT as Qt-path-option of the configure command: Same result qt directory not found. So I thought about going one step back by removing 4.5.2 first and then compile 4.3.3, but: The uninstall.py script runs fine and exits without error, but it didn't remove anything. As this does not work, I think I have to figure out every single file that the binary installer placed onto my harddrive. How nice that it installs to /usr/lib and /usr/bin by default! *grml* I stopped here and didn't do anything, before making all that mess bigger
Re: Dear LyX experts!
2. Since I have high myopia it would be useful me to have really large buttons (as in Excel for example...). I am afraid it is not possible. Am I right? Just to emphasize what Paul said: Font size in LyX, as well as other things, like widget style, is controlled by Qt, so running qtconfig, or qtconfig-qt4, or whatever it's called on your system, will allow you to change font size. rh
Re: Some Problem about Auto unselecting
On 09/05/2009 11:48 PM, 瑞生王 wrote: Hi, I encounter a problem when I use lyx under ubuntu 9.04. I can not select words because the words I selected will be unselected automatically. Can anyone give me an explanation about this? How should I do? What version of LyX is this? rh
Re: Error in Lyx
On 09/06/2009 08:22 AM, Frederick Noronha [फ़रेदरिक नोरोनया] wrote: I keep getting this error while typing in long sessions in Lyx. Could you tell me what's wrong pls? FN X Error: BadGC (invalid GC parameter) 13 Major opcode: 60 (X_FreeGC) Resource id: 0x2e0160b No idea what would cause this. Are you seeing any effect from it? If not, just ignore it. rh
Re: citation brackets: why [] instead of () ?
Liviu, Liviu Andronic wrote: Dear all I have always failed to understand this behaviour in the citation mechanism, and I would suspect that this is a bug. In my document I'm using BibTeX with Natbib (plainnat). (Please check dummy examples attached.) Although I insert a random citation and keep the default formatting choices, which in the citation dialogue and in LyX are displayed as Author (year), the final .pdf document will feature a Author [year] formatting. The latter seems very strange to me, and nothing similar to anything that I've seen in papers. The issue is similar in case I choose a (Author, year) formatting, which will get displayed as [Author, year]. Can someone suggest how to work around [] brackets and obtain () brackets in the final .pdf? Round brackets are *supposed* to be the default in Natbib, and in fact if you use Natbib with a non-Natbib bibliography style (e.g., plain rather than plainnat), you do get round brackets. I suspect there's something in plainnat.bst (and the other .bst files that come with Natbib) that's overriding the default, although I did not find it in a quick scan of plainnat.bst. Anyway, the work-around is to add \setcitestyle{round} to your preamble. An easier work-around is to add 'round' to the document class options (it will be passed to Natbib). A somewhat distinct issue, but still citation formatting related, is when Text before/after is specified; say, a ( Author, year ) formatting. For some reason, LyX (or LaTeX) will insert a space between the text before/after and the main citation. Thus, instead of (Author, year) the final result will be more similar to ( Author, year ). Recently I also noticed that a comma is appended, so that the actual result is ( Author, year, ). The extra punctuation is the LaTeX default. You can override it by putting a \bibpunct command in your preamble and supplying an optional argument with the punctuation you want to replace the comma and space, but you'll also have to supply the six mandatory arguments to bibpunct. So, for instance, \bibpunct[]{(}{)}{;}{author-year}{}{,} removes both the comma and the space (and keeps round brackets -- I'm not sure if the other punctuation is to your taste). Adding a space between the square brackets in that command removes the trailing comma but leaves in the trailing space. /Paul
Re: Some Problem about Auto unselecting
The version of LyX I currently use is 1.6.4, but I have the same problem with LyX 1.6.2 On Sun, Sep 6, 2009 at 6:34 AM, rgheck rgh...@bobjweil.com wrote: On 09/05/2009 11:48 PM, 瑞生王 wrote: Hi, I encounter a problem when I use lyx under ubuntu 9.04. I can not select words because the words I selected will be unselected automatically. Can anyone give me an explanation about this? How should I do? What version of LyX is this? rh -- Ruisheng Wang, FIT 4104, Computer Network and Protocol Testing Laboratory, Tsinghua University, Beijing, 100084 China
Re: Some Problem about Auto unselecting
On 09/06/2009 01:46 PM, 瑞生王 wrote: The version of LyX I currently use is 1.6.4, but I have the same problem with LyX 1.6.2 I remember seeing this problem at some point in the 1.6.x development cycle, but I can't remember what the cause was. Anyway, do you have some clipboard manager program running? It may be the problem. I'm going to cross-post this to the devel list. Anyone who replies, please reply to both lists. Richard
Re: Some Problem about Auto unselecting
On 09/06/2009 01:46 PM, 瑞生王 wrote: The version of LyX I currently use is 1.6.4, but I have the same problem with LyX 1.6.2 I remember seeing this problem at some point in the 1.6.x development cycle, but I can't remember what the cause was. Anyway, do you have some clipboard manager program running? It may be the problem. I'm going to cross-post this to the devel list. Anyone who replies, please reply to both lists. Richard
Re: Dear LyX experts!
On 2009-09-05, m.kocin...@mini.pw.edu.pl wrote: Can You, please, answer me on following questions? 1. Why in my text long spaces between words appear, it seems especially after using zoom? In Yap they are yet ok. on the other hand... This is because LyX will try block layout (with even right and left borders) by default. And as LyX cannot split words, large inter-word spaces appear :-( As LyX is not WYSIWYG, it should be possible to have left aligned text on screen and block alignment in the output, the attached module is an attempt to do so. However it does not work nicely for the standard paragraph, as there is an interference with the indent vs. skip setting for paragraph separation. Usage: put in LYXDIR/layouts (~/.lyx/layouts on Unix) and select from the DocumentSettings. Günter #\DeclareLyXModule{leftalign} #DescriptionBegin #Left align text (instead of block align; on screen). #DescriptionEnd #Author: Günter Milde mi...@users.sf.net # Left align instead of block align (on screen) # - # As LyX's linebreaking algorithm does not include hyphenation of longer # words, some very large inter-word spaces frequently occure (especially in # languages with many long words as, e.g., German). # Readability can be improved by setting the paragraph alignment # in the LyX window to left. # This does not influence the appearance of the printout. # Drawbacks: # # * the EditParagraph Settings dialog will display default (left) # even if the default alignment of the class is block. # # * Paragraph indentation is supressed (therefore currently commented out). # Style Standard # Align Left # End #stdlists Style Itemize Align Left End Style Description Align Left End Style Enumeration Align Left End Style List Align Left End Style Quotation Align Left End Style Quote Align Left End # stdsections Style Part Align Left End Style Chapter Align Left End Style Section Align Left End Style Subsection Align Left End Style Subsubsection Align Left End
Re: Classic Thesis and LyX
On 2009-09-06, Manolo Martínez wrote: It most certainly is a font issue. Actually, you need no math formula for the error to show A title in an otherwise empty file is enough. Say, \title{blah}\maketitle OK, as also a title uses scaled fonts, I still believe it to be an issue with a specific font at a certain font size. What error do you get? Does the problem go away if you choose a different font set What commands exactly fix the font set? Several. In LyX, you can select a font with DocumentSettingsFont... And if you select [Default] in LyX, you can set your choice in the LaTeX preamble. However, also the document class could select a special font. Maybe disabling (commenting) the \usepackage{extsize} could already help. Could you be more specific about your font setup? I can try. How can I find the info you need? Did you set up some more fonts or change things after the standard installation of your TeX distribution (and which TeX distro do you use)? Maybe you can post a minimal example (smallest possible LyX file that exhibits the problem) so others can try. Günter
Hint for doing partial spellchecks
Here's what I do if I want to spellcheck only part of a document: At the bottom of the range to be checked I put a known nonsense word like Yarkadoodle. Spellchecking will stop on that. Then I put the cursor at the top of the range, and start my spellcheck. When it gets to Yarkadoodle, I click the close button and manually remove Yarkadoodle. It works really well for me -- I hope you like it. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Some Problem about Auto unselecting
Thanks for your answer. I do have a clip manager running (Parcellite). After I close Parcellite, LyX works well (the problem disappears). On Sun, Sep 6, 2009 at 2:01 PM, rgheck rgh...@bobjweil.com wrote: On 09/06/2009 01:46 PM, 瑞生王 wrote: The version of LyX I currently use is 1.6.4, but I have the same problem with LyX 1.6.2 I remember seeing this problem at some point in the 1.6.x development cycle, but I can't remember what the cause was. Anyway, do you have some clipboard manager program running? It may be the problem. I'm going to cross-post this to the devel list. Anyone who replies, please reply to both lists. Richard -- Ruisheng Wang, FIT 4104, Computer Network and Protocol Testing Laboratory, Tsinghua University, Beijing, 100084 China
Re: Some Problem about Auto unselecting
On 09/06/2009 07:16 PM, 瑞生王 wrote: Thanks for your answer. I do have a clip manager running (Parcellite). After I close Parcellite, LyX works well (the problem disappears). OK, thanks. I'm not sure why this happens, but it presumably has something to do with how we interact with the X11 clipboard. rh On Sun, Sep 6, 2009 at 2:01 PM, rgheck rgh...@bobjweil.com mailto:rgh...@bobjweil.com wrote: On 09/06/2009 01:46 PM, 瑞生王 wrote: The version of LyX I currently use is 1.6.4, but I have the same problem with LyX 1.6.2 I remember seeing this problem at some point in the 1.6.x development cycle, but I can't remember what the cause was. Anyway, do you have some clipboard manager program running? It may be the problem. I'm going to cross-post this to the devel list. Anyone who replies, please reply to both lists. Richard -- Ruisheng Wang, FIT 4104, Computer Network and Protocol Testing Laboratory, Tsinghua University, Beijing, 100084 China
Error in Lyx
I keep getting this error while typing in long sessions in Lyx. Could you tell me what's wrong pls? FN X Error: BadGC (invalid GC parameter) 13 Major opcode: 60 (X_FreeGC) Resource id: 0x2e0160b -- FN +91-9822122436 P +91-832-2409490 Konkani adages http://konkani-adages.notlong.com/ Medieval Goa http://medieval-goa.notlong.com/
Re: Classic Thesis and LyX
It most certainly is a font issue. Could you try if this happens with every math formula, only with sub- and superscripts, maybe with formulae in headings or otherwise scaled? Actually, you need no math formula for the error to show A title in an otherwise empty file is enough. Say, \title{blah}\maketitle Does the problem go away if you choose a different font set What commands exactly fix the font set? Could you be more specific about your font setup? I can try. How can I find the info you need? Thanks for your help! Manolo Günter
RE: RE: Will Lyx run on Mac OS X 10.6?
So, now some interim report about me trying to compile lyx on 10.6. To sum up, I think I messed things up with QT. First, I didn't find QT 4.3.3 on the QT/Nokia page, the links to the archives there aim to quite empty ftp-servers with QT3-versions on it. So I downloaded the actual QT4.5.2 for Mac binary installer and installed it. That was not a good thing to do. Later I found the QT4.3.3 source-package by googling around. I haven't installed this yet. I tried to compile the lyx 1.6branch which I got via svn (nice thing: 10.6 has svn already included now) following the instructions of the INSTALLMACOSX file. Well, configuring always fails as it cannot find the qt-directory. I looked up where the 4.5.2 binary installs files: Qt Designer, Qt Linguist: /Developer/Applications/Qt Qt Documentation: /Developer/Documentation/Qt Qt Examples: /Developer/Examples/Qt Qt Plugins: /Developer/Applications/Qt/Plugins Qt Frameworks: /Library/Frameworks Qt Libraries: /usr/lib qmake, moc, uic, etc.: /Developer/Tools/Qt (symlink to /usr/bin, so they are really there) Uninstall script: /Developer/Tools/uninstall-qt.py I tried it with /usr/bin and /Developer/Tools/QT as Qt-path-option of the configure command: Same result qt directory not found. So I thought about going one step back by removing 4.5.2 first and then compile 4.3.3, but: The uninstall.py script runs fine and exits without error, but it didn't remove anything. As this does not work, I think I have to figure out every single file that the binary installer placed onto my harddrive. How nice that it installs to /usr/lib and /usr/bin by default! *grml* I stopped here and didn't do anything, before making all that mess bigger
Re: Dear LyX experts!
2. Since I have high myopia it would be useful me to have really large buttons (as in Excel for example...). I am afraid it is not possible. Am I right? Just to emphasize what Paul said: Font size in LyX, as well as other things, like widget style, is controlled by Qt, so running qtconfig, or qtconfig-qt4, or whatever it's called on your system, will allow you to change font size. rh
Re: Some Problem about Auto unselecting
On 09/05/2009 11:48 PM, 瑞生王 wrote: Hi, I encounter a problem when I use lyx under ubuntu 9.04. I can not select words because the words I selected will be unselected automatically. Can anyone give me an explanation about this? How should I do? What version of LyX is this? rh
Re: Error in Lyx
On 09/06/2009 08:22 AM, Frederick Noronha [फ़रेदरिक नोरोनया] wrote: I keep getting this error while typing in long sessions in Lyx. Could you tell me what's wrong pls? FN X Error: BadGC (invalid GC parameter) 13 Major opcode: 60 (X_FreeGC) Resource id: 0x2e0160b No idea what would cause this. Are you seeing any effect from it? If not, just ignore it. rh
Re: citation brackets: why [] instead of () ?
Liviu, Liviu Andronic wrote: Dear all I have always failed to understand this behaviour in the citation mechanism, and I would suspect that this is a bug. In my document I'm using BibTeX with Natbib (plainnat). (Please check dummy examples attached.) Although I insert a random citation and keep the default formatting choices, which in the citation dialogue and in LyX are displayed as Author (year), the final .pdf document will feature a Author [year] formatting. The latter seems very strange to me, and nothing similar to anything that I've seen in papers. The issue is similar in case I choose a (Author, year) formatting, which will get displayed as [Author, year]. Can someone suggest how to work around [] brackets and obtain () brackets in the final .pdf? Round brackets are *supposed* to be the default in Natbib, and in fact if you use Natbib with a non-Natbib bibliography style (e.g., plain rather than plainnat), you do get round brackets. I suspect there's something in plainnat.bst (and the other .bst files that come with Natbib) that's overriding the default, although I did not find it in a quick scan of plainnat.bst. Anyway, the work-around is to add \setcitestyle{round} to your preamble. An easier work-around is to add 'round' to the document class options (it will be passed to Natbib). A somewhat distinct issue, but still citation formatting related, is when Text before/after is specified; say, a ( Author, year ) formatting. For some reason, LyX (or LaTeX) will insert a space between the text before/after and the main citation. Thus, instead of (Author, year) the final result will be more similar to ( Author, year ). Recently I also noticed that a comma is appended, so that the actual result is ( Author, year, ). The extra punctuation is the LaTeX default. You can override it by putting a \bibpunct command in your preamble and supplying an optional argument with the punctuation you want to replace the comma and space, but you'll also have to supply the six mandatory arguments to bibpunct. So, for instance, \bibpunct[]{(}{)}{;}{author-year}{}{,} removes both the comma and the space (and keeps round brackets -- I'm not sure if the other punctuation is to your taste). Adding a space between the square brackets in that command removes the trailing comma but leaves in the trailing space. /Paul
Re: Some Problem about Auto unselecting
The version of LyX I currently use is 1.6.4, but I have the same problem with LyX 1.6.2 On Sun, Sep 6, 2009 at 6:34 AM, rgheck rgh...@bobjweil.com wrote: On 09/05/2009 11:48 PM, 瑞生王 wrote: Hi, I encounter a problem when I use lyx under ubuntu 9.04. I can not select words because the words I selected will be unselected automatically. Can anyone give me an explanation about this? How should I do? What version of LyX is this? rh -- Ruisheng Wang, FIT 4104, Computer Network and Protocol Testing Laboratory, Tsinghua University, Beijing, 100084 China
Re: Some Problem about Auto unselecting
On 09/06/2009 01:46 PM, 瑞生王 wrote: The version of LyX I currently use is 1.6.4, but I have the same problem with LyX 1.6.2 I remember seeing this problem at some point in the 1.6.x development cycle, but I can't remember what the cause was. Anyway, do you have some clipboard manager program running? It may be the problem. I'm going to cross-post this to the devel list. Anyone who replies, please reply to both lists. Richard
Re: Some Problem about Auto unselecting
On 09/06/2009 01:46 PM, 瑞生王 wrote: The version of LyX I currently use is 1.6.4, but I have the same problem with LyX 1.6.2 I remember seeing this problem at some point in the 1.6.x development cycle, but I can't remember what the cause was. Anyway, do you have some clipboard manager program running? It may be the problem. I'm going to cross-post this to the devel list. Anyone who replies, please reply to both lists. Richard
Re: Dear LyX experts!
On 2009-09-05, m.kocin...@mini.pw.edu.pl wrote: Can You, please, answer me on following questions? 1. Why in my text long spaces between words appear, it seems especially after using zoom? In Yap they are yet ok. on the other hand... This is because LyX will try block layout (with even right and left borders) by default. And as LyX cannot split words, large inter-word spaces appear :-( As LyX is not WYSIWYG, it should be possible to have left aligned text on screen and block alignment in the output, the attached module is an attempt to do so. However it does not work nicely for the standard paragraph, as there is an interference with the indent vs. skip setting for paragraph separation. Usage: put in LYXDIR/layouts (~/.lyx/layouts on Unix) and select from the DocumentSettings. Günter #\DeclareLyXModule{leftalign} #DescriptionBegin #Left align text (instead of block align; on screen). #DescriptionEnd #Author: Günter Milde mi...@users.sf.net # Left align instead of block align (on screen) # - # As LyX's linebreaking algorithm does not include hyphenation of longer # words, some very large inter-word spaces frequently occure (especially in # languages with many long words as, e.g., German). # Readability can be improved by setting the paragraph alignment # in the LyX window to left. # This does not influence the appearance of the printout. # Drawbacks: # # * the EditParagraph Settings dialog will display default (left) # even if the default alignment of the class is block. # # * Paragraph indentation is supressed (therefore currently commented out). # Style Standard # Align Left # End #stdlists Style Itemize Align Left End Style Description Align Left End Style Enumeration Align Left End Style List Align Left End Style Quotation Align Left End Style Quote Align Left End # stdsections Style Part Align Left End Style Chapter Align Left End Style Section Align Left End Style Subsection Align Left End Style Subsubsection Align Left End
Re: Classic Thesis and LyX
On 2009-09-06, Manolo Martínez wrote: It most certainly is a font issue. Actually, you need no math formula for the error to show A title in an otherwise empty file is enough. Say, \title{blah}\maketitle OK, as also a title uses scaled fonts, I still believe it to be an issue with a specific font at a certain font size. What error do you get? Does the problem go away if you choose a different font set What commands exactly fix the font set? Several. In LyX, you can select a font with DocumentSettingsFont... And if you select [Default] in LyX, you can set your choice in the LaTeX preamble. However, also the document class could select a special font. Maybe disabling (commenting) the \usepackage{extsize} could already help. Could you be more specific about your font setup? I can try. How can I find the info you need? Did you set up some more fonts or change things after the standard installation of your TeX distribution (and which TeX distro do you use)? Maybe you can post a minimal example (smallest possible LyX file that exhibits the problem) so others can try. Günter
Hint for doing partial spellchecks
Here's what I do if I want to spellcheck only part of a document: At the bottom of the range to be checked I put a known nonsense word like Yarkadoodle. Spellchecking will stop on that. Then I put the cursor at the top of the range, and start my spellcheck. When it gets to Yarkadoodle, I click the close button and manually remove Yarkadoodle. It works really well for me -- I hope you like it. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Some Problem about Auto unselecting
Thanks for your answer. I do have a clip manager running (Parcellite). After I close Parcellite, LyX works well (the problem disappears). On Sun, Sep 6, 2009 at 2:01 PM, rgheck rgh...@bobjweil.com wrote: On 09/06/2009 01:46 PM, 瑞生王 wrote: The version of LyX I currently use is 1.6.4, but I have the same problem with LyX 1.6.2 I remember seeing this problem at some point in the 1.6.x development cycle, but I can't remember what the cause was. Anyway, do you have some clipboard manager program running? It may be the problem. I'm going to cross-post this to the devel list. Anyone who replies, please reply to both lists. Richard -- Ruisheng Wang, FIT 4104, Computer Network and Protocol Testing Laboratory, Tsinghua University, Beijing, 100084 China
Re: Some Problem about Auto unselecting
On 09/06/2009 07:16 PM, 瑞生王 wrote: Thanks for your answer. I do have a clip manager running (Parcellite). After I close Parcellite, LyX works well (the problem disappears). OK, thanks. I'm not sure why this happens, but it presumably has something to do with how we interact with the X11 clipboard. rh On Sun, Sep 6, 2009 at 2:01 PM, rgheck rgh...@bobjweil.com mailto:rgh...@bobjweil.com wrote: On 09/06/2009 01:46 PM, 瑞生王 wrote: The version of LyX I currently use is 1.6.4, but I have the same problem with LyX 1.6.2 I remember seeing this problem at some point in the 1.6.x development cycle, but I can't remember what the cause was. Anyway, do you have some clipboard manager program running? It may be the problem. I'm going to cross-post this to the devel list. Anyone who replies, please reply to both lists. Richard -- Ruisheng Wang, FIT 4104, Computer Network and Protocol Testing Laboratory, Tsinghua University, Beijing, 100084 China
Error in Lyx
I keep getting this error while typing in long sessions in Lyx. Could you tell me what's wrong pls? FN X Error: BadGC (invalid GC parameter) 13 Major opcode: 60 (X_FreeGC) Resource id: 0x2e0160b -- FN +91-9822122436 P +91-832-2409490 Konkani adages http://konkani-adages.notlong.com/ Medieval Goa http://medieval-goa.notlong.com/
Re: Classic Thesis and LyX
It most certainly is a font issue. Could you try if this happens with every math formula, only with sub- and superscripts, maybe with formulae in headings or otherwise scaled? Actually, you need no math formula for the error to show A title in an otherwise empty file is enough. Say, \title{blah}\maketitle Does the problem go away if you choose a different font set What commands exactly fix the font set? Could you be more specific about your font setup? I can try. How can I find the info you need? Thanks for your help! Manolo Günter
RE: RE: Will Lyx run on Mac OS X 10.6?
So, now some interim report about me trying to compile lyx on 10.6. To sum up, I think I messed things up with QT. First, I didn't find QT 4.3.3 on the QT/Nokia page, the links to the "archives" there aim to quite empty ftp-servers with QT3-versions on it. So I downloaded the actual QT4.5.2 for Mac binary installer and installed it. That was not a good thing to do. Later I found the QT4.3.3 source-package by googling around. I haven't installed this yet. I tried to compile the lyx 1.6branch which I got via svn (nice thing: 10.6 has svn already included now) following the instructions of the INSTALLMACOSX file. Well, configuring always fails as it cannot find the qt-directory. I looked up where the 4.5.2 binary installs files: Qt Designer, Qt Linguist: /Developer/Applications/Qt Qt Documentation: /Developer/Documentation/Qt Qt Examples: /Developer/Examples/Qt Qt Plugins: /Developer/Applications/Qt/Plugins Qt Frameworks: /Library/Frameworks Qt Libraries: /usr/lib qmake, moc, uic, etc.: /Developer/Tools/Qt (symlink to /usr/bin, so they are really there) Uninstall script: /Developer/Tools/uninstall-qt.py I tried it with /usr/bin and /Developer/Tools/QT as Qt-path-option of the configure command: Same result qt directory not found. So I thought about going one step back by removing 4.5.2 first and then compile 4.3.3, but: The uninstall.py script runs fine and exits without error, but it didn't remove anything. As this does not work, I think I have to figure out every single file that the binary installer placed onto my harddrive. How nice that it installs to /usr/lib and /usr/bin by default! *grml* I stopped here and didn't do anything, before making all that mess bigger
Re: Dear LyX experts!
2. Since I have high myopia it would be useful me to have really large buttons (as in Excel for example...). I am afraid it is not possible. Am I right? Just to emphasize what Paul said: Font size in LyX, as well as other things, like widget style, is controlled by Qt, so running qtconfig, or qtconfig-qt4, or whatever it's called on your system, will allow you to change font size. rh
Re: Some Problem about Auto unselecting
On 09/05/2009 11:48 PM, 瑞生王 wrote: Hi, I encounter a problem when I use lyx under ubuntu 9.04. I can not select words because the words I selected will be unselected automatically. Can anyone give me an explanation about this? How should I do? What version of LyX is this? rh
Re: Error in Lyx
On 09/06/2009 08:22 AM, Frederick Noronha [फ़रेदरिक नोरोनया] wrote: I keep getting this error while typing in long sessions in Lyx. Could you tell me what's wrong pls? FN X Error: BadGC (invalid GC parameter) 13 Major opcode: 60 (X_FreeGC) Resource id: 0x2e0160b No idea what would cause this. Are you seeing any effect from it? If not, just ignore it. rh
Re: citation brackets: why [] instead of () ?
Liviu, Liviu Andronic wrote: Dear all I have always failed to understand this behaviour in the citation mechanism, and I would suspect that this is a bug. In my document I'm using BibTeX with Natbib (plainnat). (Please check dummy examples attached.) Although I insert a random citation and keep the default formatting choices, which in the citation dialogue and in LyX are displayed as "Author (year)", the final .pdf document will feature a "Author [year]" formatting. The latter seems very strange to me, and nothing similar to anything that I've seen in papers. The issue is similar in case I choose a "(Author, year)" formatting, which will get displayed as "[Author, year]". Can someone suggest how to work around [] brackets and obtain () brackets in the final .pdf? Round brackets are *supposed* to be the default in Natbib, and in fact if you use Natbib with a non-Natbib bibliography style (e.g., plain rather than plainnat), you do get round brackets. I suspect there's something in plainnat.bst (and the other .bst files that come with Natbib) that's overriding the default, although I did not find it in a quick scan of plainnat.bst. Anyway, the work-around is to add \setcitestyle{round} to your preamble. An easier work-around is to add 'round' to the document class options (it will be passed to Natbib). A somewhat distinct issue, but still citation formatting related, is when "Text before/after" is specified; say, a "(" "Author, year" ")" formatting. For some reason, LyX (or LaTeX) will insert a space between the "text before/after" and the main citation. Thus, instead of "(Author, year)" the final result will be more similar to "( Author, year )". Recently I also noticed that a comma is appended, so that the actual result is "( Author, year, )". The extra punctuation is the LaTeX default. You can override it by putting a \bibpunct command in your preamble and supplying an optional argument with the punctuation you want to replace the comma and space, but you'll also have to supply the six mandatory arguments to bibpunct. So, for instance, \bibpunct[]{(}{)}{;}{author-year}{}{,} removes both the comma and the space (and keeps round brackets -- I'm not sure if the other punctuation is to your taste). Adding a space between the square brackets in that command removes the trailing comma but leaves in the trailing space. /Paul
Re: Some Problem about Auto unselecting
The version of LyX I currently use is 1.6.4, but I have the same problem with LyX 1.6.2 On Sun, Sep 6, 2009 at 6:34 AM, rgheckwrote: > On 09/05/2009 11:48 PM, 瑞生王 wrote: > >> Hi, >> >> I encounter a problem when I use lyx under ubuntu 9.04. I can not >> select >> words because the words I selected will be unselected automatically. Can >> anyone give me an explanation about this? How should I do? >> >> >> > What version of LyX is this? > > rh > > > -- Ruisheng Wang, FIT 4104, Computer Network and Protocol Testing Laboratory, Tsinghua University, Beijing, 100084 China
Re: Some Problem about Auto unselecting
On 09/06/2009 01:46 PM, 瑞生王 wrote: The version of LyX I currently use is 1.6.4, but I have the same problem with LyX 1.6.2 I remember seeing this problem at some point in the 1.6.x development cycle, but I can't remember what the cause was. Anyway, do you have some clipboard manager program running? It may be the problem. I'm going to cross-post this to the devel list. Anyone who replies, please reply to both lists. Richard
Re: Some Problem about Auto unselecting
On 09/06/2009 01:46 PM, 瑞生王 wrote: The version of LyX I currently use is 1.6.4, but I have the same problem with LyX 1.6.2 I remember seeing this problem at some point in the 1.6.x development cycle, but I can't remember what the cause was. Anyway, do you have some clipboard manager program running? It may be the problem. I'm going to cross-post this to the devel list. Anyone who replies, please reply to both lists. Richard
Re: Dear LyX experts!
On 2009-09-05, m.kocin...@mini.pw.edu.pl wrote: > Can You, please, answer me on following questions? > 1. Why in my text long spaces between words appear, it seems especially > after using zoom? In Yap they are yet ok. on the other hand... This is because LyX will try "block layout" (with even right and left borders) by default. And as LyX cannot split words, large inter-word spaces appear :-( As LyX is not WYSIWYG, it should be possible to have left aligned text on screen and block alignment in the output, the attached module is an attempt to do so. However it does not work nicely for the standard paragraph, as there is an interference with the "indent" vs. "skip" setting for paragraph separation. Usage: put in LYXDIR/layouts (~/.lyx/layouts on Unix) and select from the Document>Settings. Günter #\DeclareLyXModule{leftalign} #DescriptionBegin #Left align text (instead of block align; on screen). #DescriptionEnd #Author: Günter Milde# Left align instead of block align (on screen) # - # As LyX's linebreaking algorithm does not include hyphenation of longer # words, some very large inter-word spaces frequently occure (especially in # languages with many long words as, e.g., German). # Readability can be improved by setting the paragraph alignment # in the LyX window to "left". # This does not influence the appearance of the printout. # Drawbacks: # # * the Edit>Paragraph Settings dialog will display "default (left)" # even if the default alignment of the class is "block". # # * Paragraph indentation is supressed (therefore currently commented out). # Style Standard # Align Left # End #stdlists Style Itemize Align Left End Style Description Align Left End Style Enumeration Align Left End Style List Align Left End Style Quotation Align Left End Style Quote Align Left End # stdsections Style Part Align Left End Style Chapter Align Left End Style Section Align Left End Style Subsection Align Left End Style Subsubsection Align Left End
Re: Classic Thesis and LyX
On 2009-09-06, Manolo Martínez wrote: >> It most certainly is a font issue. > Actually, you need no math formula for the error to show A title in an > otherwise empty file is enough. Say, > \title{blah}\maketitle OK, as also a title uses scaled fonts, I still believe it to be an issue with a specific font at a certain font size. What error do you get? >> Does the problem go away if you choose a different font set > What commands exactly fix the font set? Several. In LyX, you can select a font with Document>Settings>Font... And if you select [Default] in LyX, you can set your choice in the LaTeX preamble. However, also the document class could select a special font. Maybe disabling (commenting) the \usepackage{extsize} could already help. >> Could you be more specific about your font setup? > I can try. How can I find the info you need? Did you set up some more fonts or change things after the standard installation of your TeX distribution (and which TeX distro do you use)? Maybe you can post a "minimal example" (smallest possible LyX file that exhibits the problem) so others can try. Günter
Hint for doing partial spellchecks
Here's what I do if I want to spellcheck only part of a document: At the bottom of the range to be checked I put a known nonsense word like Yarkadoodle. Spellchecking will stop on that. Then I put the cursor at the top of the range, and start my spellcheck. When it gets to Yarkadoodle, I click the close button and manually remove Yarkadoodle. It works really well for me -- I hope you like it. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Some Problem about Auto unselecting
Thanks for your answer. I do have a clip manager running (Parcellite). After I close Parcellite, LyX works well (the problem disappears). On Sun, Sep 6, 2009 at 2:01 PM, rgheckwrote: > On 09/06/2009 01:46 PM, 瑞生王 wrote: > >> The version of LyX I currently use is 1.6.4, but I have the same problem >> with LyX 1.6.2 >> >> >> I remember seeing this problem at some point in the 1.6.x development > cycle, but I can't remember what the cause was. Anyway, do you have some > clipboard manager program running? It may be the problem. > > I'm going to cross-post this to the devel list. Anyone who replies, please > reply to both lists. > > Richard > > -- Ruisheng Wang, FIT 4104, Computer Network and Protocol Testing Laboratory, Tsinghua University, Beijing, 100084 China
Re: Some Problem about Auto unselecting
On 09/06/2009 07:16 PM, 瑞生王 wrote: Thanks for your answer. I do have a clip manager running (Parcellite). After I close Parcellite, LyX works well (the problem disappears). OK, thanks. I'm not sure why this happens, but it presumably has something to do with how we interact with the X11 clipboard. rh On Sun, Sep 6, 2009 at 2:01 PM, rgheck> wrote: On 09/06/2009 01:46 PM, 瑞生王 wrote: The version of LyX I currently use is 1.6.4, but I have the same problem with LyX 1.6.2 I remember seeing this problem at some point in the 1.6.x development cycle, but I can't remember what the cause was. Anyway, do you have some clipboard manager program running? It may be the problem. I'm going to cross-post this to the devel list. Anyone who replies, please reply to both lists. Richard -- Ruisheng Wang, FIT 4104, Computer Network and Protocol Testing Laboratory, Tsinghua University, Beijing, 100084 China