Re: hiding the menu bar
This is great. Thanks! On Fri, Nov 5, 2010 at 2:48 PM, Richard Heck rgh...@comcast.net wrote: On 11/05/2010 09:26 AM, Pavel Sanda wrote: Jose Quesada wrote: I finf the ability of most KDE apps of hiding the menu bar very useful. You can assign a shortcut to toggle it. Is this possible in lyx? If not, is it worth a feature request? alt+x ui-toggle menubar enter And of course you can assign a shortcut to ui-toggle menubar. rh -- Best, -Jose Jose Quesada, PhD. Research scientist, Max Planck Institute, Center for Adaptive Behavior and Cognition, Berlin http://www.josequesada.name/ http://twitter.com/Quesada
Re: Latex error in
On 11/06/2010 12:23 AM, Sandhya wrote: Hi all I am using the IJCGA Latex class and Lyx layout files from the LyX wiki page on MacOSX. I copied the *.cls and *.layout files to ~/tex/latex/ and /Library/Application Support/LyX-1.6/layouts/ respectively. I also reconfigured LyX. Now when I use the sample LyX document, it terminates with an error: LaTeX Error: Unknown option `english' for package `graphics'. I am unable to figure out a way of solving this. I have not used Latex before, and am stuck here. It would be great if you could give me some suggestions in this regard. Thanks in advance. This layout file is very old, by the way. I'm not sure I fully understand what's causing this bug, but perhaps someone else will. Even the totally trivial file attached throws this error. I think the problem is that they do this: \InputIfFileExists{epsfig.sty}{...}{...} This seems to have the effect that epsfig.sty tries to process all the options that have been passed to the document class, including, in this case, english. That ends up getting passed to graphics.sty somewhere down the road, and it chokes. So the problem here is with the class file. That is not really the right way to do things. Richard t.tex Description: TeX document
Re: Page headers problem... LaTeX rather
2010/11/5 Steve Litt sl...@troubleshooters.com: [...] Once again, I'd recommend you do experimentation on a trivial (and quick to compile) experimental LyX file. I just had to set page style to fancy, and redefine everything. -- Manveru jabber: manv...@manveru.pl gg: 1624001 http://www.manveru.pl
lyx single instance
Single-instance support for LyX on Windows has been discussed in the past, but has anything come of it? http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg105402.html
Re: lyx single instance
No. Op 6 nov 2010 17:02 schreef Jack Tanner i...@hotmail.com: Single-instance support for LyX on Windows has been discussed in the past, but has anything come of it? http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg105402.html
Re: Spellchecker and ú
Am 05.11.2010 um 04:46 schrieb Christopher Menzel: On Nov 4, 2010, at 1:48 AM, Stephan Witt wrote: Am 03.11.2010 um 18:57 schrieb Christopher Menzel: On Nov 2, 2010, at 3:26 AM, Stephan Witt wrote: Am 02.11.2010 um 03:28 schrieb Christopher Menzel: On 10/30/2010 02:53 AM, Stephan Witt wrote: Am 29.10.2010 um 22:01 schrieb Christopher Menzel: Greetings LyX users, The aspell-based spellchecker in LyX does not appear to be happy checking a document containing a Spanish name that includes the character ú. Specifically, the name seems throw the checker pretty seriously off balance; it begins to stop on perfectly ordinary words that occur in the document a word or two *after* a word that it apparently isn't recognizing internally -- for example, it asked if I wanted to replace the word that with bisection, where that occurred two words after bijection, which was clearly the word it had stopped on internally. Is there a solution to this beyond avoiding non-English unicode characters? Sorry, I've no solution but a question. You're using LyX 1.6.7? Which platform? 1.6.7 on a Mac, latest version of Snow Leopard. Interestingly... there are 2 options to use aspell then. What's your setup exactly? What did you do to make aspell work? IIRC, I installed a package that added a System Preferences thingy. Beyond that I don't recall doing anything. Spellchecking just worked. I'd guess it is cocoaSpell... Yes, that is correct. After upgrade to Snow Leopard I don't have it anymore. I'll check it on another system... To be sure: are you able to send me a test case? Sent to you directly. I tried it and I cannot reproduce your problem. What I did: * install cocoaSpell * start LyX 1.6.7 * open preferences, goto language - spellcheck * select aspell and apply * press F7 then Ignore until end of document * reopen preferences, goto language - spellcheck * select aspell(library) and apply * F7 = error message: no word lists for en_US * paste into the Alternative language field of spellcheck preferences: /Library/Application Support/cocoAspell/aspell6-en-6.0-0/english.alias * F7 = error message: no word lists for * so aspell(library) seems to not work here Please tell me, which way is yours? To be sure I checked in Terminal.app my LANG value = de_DE.UTF-8 I can't get LyX 2.0alpha6 running on my iMac; crashes almost immediately. That's bad. Is it Intel Snow Leopard? What's the first few dozen lines of the crash report contents? Stephan
Re: How to use babel -shortcuts in LYX directly?
On 2010-11-05, Richard Heck wrote: On 11/04/2010 11:08 PM, Vasily Letov wrote: Hello, people! In Babel there are many language-specific shortcuts. For example, we have ---, --~, --* and another. The package extdash (ncc-tools collection) provides extra useful shortcuts, too. Unfortunatelly, LYX converts into \char`\{}, Or to \textquotedbl if the encoding is T1. My question is how to configure LYX to use such sortcuts directly without ERT? Bind the key to an lfun (or command sequence) inserting as ERT? I'm not sure why we output '' as something other than '', but I expect there is a good reason I expect the very reason is because it is an active character in some cases. The LyX philosophy is to hide such things which will become unpleasant surprises for the LaTeX-agnostic (even at the expense of the TeXperts). Günter
Re: Page headers problem... LaTeX rather SOLVED
On Saturday 06 November 2010 09:45:47 Manveru wrote: I just had to set page style to fancy, and redefine everything. * * \ o / \|/ |T O O C O O L / \ _ / \/ / - SteveT
Re: lyx single instance
On Saturday 06 November 2010 12:01:03 Jack Tanner wrote: Single-instance support for LyX on Windows has been discussed in the past, but has anything come of it? http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg105402.html Just make sure it's a choice, and hopefully not the default. I've found single-instance to be a pain in the posterior in most situations, especially if you use lots of desktops. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: lyx single instance
On Sat, Nov 6, 2010 at 7:44 PM, Steve Litt sl...@troubleshooters.com wrote: Just make sure it's a choice, and hopefully not the default. I've found single-instance to be a pain in the posterior in most situations, especially if you use lots of desktops. Personally I'd much prefer if LyX could be configured for single-instance use; this is where tabs are useful. At the moment opening additional files can be a pain since you cannot simply use your file manager for that. Regards Liviu
Re: lyx single instance
On 11/06/2010 03:16 PM, Liviu Andronic wrote: On Sat, Nov 6, 2010 at 7:44 PM, Steve Littsl...@troubleshooters.com wrote: Just make sure it's a choice, and hopefully not the default. I've found single-instance to be a pain in the posterior in most situations, especially if you use lots of desktops. Note that even a single instance LyX would support multiple windows, via FileNew Window. Personally I'd much prefer if LyX could be configured for single-instance use; this is where tabs are useful. At the moment opening additional files can be a pain since you cannot simply use your file manager for that. If you're on Linux (or perhaps other *nices?), this is fairly easy to do. I'm attaching a simple script that looks for a running instance of LyX and tries to open the file there via the lyxpipe. If you set up for your file manager to call this script for .lyx files, then you have the best of both worlds. You can always launch a separate instance in the usual way. Obviously, you will need to adjust some of the settings for your own use (and you may want to remove the kdialog bit). Better would be to make it more general purpose. E.g., we'd need to parse the command line for LyX's own options; use them if we find them; find the location of the lyxpipe by grepping $USERDIR/preferences; etc. Then we could even distribute it with LyX. Richard #!/bin/bash LYX=/usr/local/bin/lyx; if [ ! -f $LYX ]; then LYX=/usr/bin/lyx; fi SYSDIR=${LYX%/bin*}/share/lyx; USERDIR=$HOME/.lyx; LYXFULL=$LYX -sysdir $SYSDIR -userdir $USERDIR -geometry 1024x1024+100+100; LYXPIPE=$HOME/.lyxpipe LYXPIPEIN=$LYXPIPE.in; LYXPIPEOUT=$LYXPIPE.out; CMD=file-open; PROG=$(basename $0); function printUsage { cat EOF ### USAGE: $PROG [-c] [LYX-COMMANDS] $PROG is a simple script to run LyX. Its main purpose is that it will open a requested file in a running instance of LyX, if it can find one. Argument: LYX-COMMANDS: Anything you could pass to LyX. Options: -c: Re-configure LyX before launching. -h: Print this message EOF } CONFIG=; #Option processing while getopts :c opt; do case $opt in c ) CONFIG=true;; h ) printUsage; exit 0;; \? ) printUsage; exit 1;; esac done shift $(($OPTIND - 1)); if [ ! -x $LYX ]; then LYX=$(which lyx); if [ ! -x $LYX ]; then echo Can't find LyX!; exit 1; fi fi if [ -n $CONFIG ]; then pushd $USERDIR /dev/null 21; if [ $? != 0 ]; then echo Couldn't change to user directory $USERDIR!!; exit 1; fi $SYSDIR/configure.py popd /dev/null 21; fi if [ -e $LYXPIPEIN ]; then if [ -n $1 ]; then echo LYXCMD:lyx-script:$CMD:$1 $LYXPIPEIN; exit 0; fi kdialog --title LyX Running --warningcontinuecancel LyX appears to be running. Click Continue to delete the lyxpipe and force a run.; if [ $? != 0 ]; then exit 0; fi rm -f $LYXPIPE fi $LYXFULL $1;
Re: How to use babel quot;-shortcuts in LYX directly?
Guenter Milde milde at users.berlios.de writes: Bind the key to an lfun (or command sequence) inserting as ERT? Is it possible to bind something already within ERT?! I don't know this :( I'm not sure why we output '' as something other than '', but I expect there is a good reason I expect the very reason is because it is an active character in some cases. The LyX philosophy is to hide such things which will become unpleasant surprises for the LaTeX-agnostic (even at the expense of the TeXperts). But we type --- or -- in LyX as is, yes? --- etc. are similar things, but for other languages. Of course, TeX, LaTeX, XeTeX, LyX were made for english-speaking users, but now we want to make them for all people in the world, isn't it?
Spell checking stopped working
Hello, The spell-check (aspell-library) in my LyX installation stopped working: if I hit F7 (or click on the icon), just a status message (dialog-show spellchecker: F7) is shown, but nothing happens. I am not sure, whether it is a bug, since I tried it before a few times, and it was working; however I do not remember changing any settings either. Did anyone already experience this problem? Regards, Andras P.S.: details: Using LyX v. 1.6.4 on OpenSUSE 11.2 Language: English Other spelling engines: ispell, aspell, hspell, aspell (library). aspell yields the same result, hspell executable is not installed as far as I know, and with ispell I get the error: The spellchecker could not be started ispell: unrecognized formatter type 'latin9' Spelling in other programs (OpenOffice, KMail, Firefox) is working fine.
Re: How to use babel quot;-shortcuts in LYX directly?
Le 6 nov. 10 à 22:20, Vasily Letov a écrit : But we type --- or -- in LyX as is, yes? --- etc. are similar things, but for other languages. Of course, TeX, LaTeX, XeTeX, LyX were made for english-speaking users, but now we want to make them for all people in the world, isn't it? The idea qt the time is that, while nice tricks like that are good for human users, it is a pain to handle at LyX level (like the infamous `? ligature). I would be much more comfortable with an old-fashionned \macro to the same effect that LyX could output. This avoids lots of stupid checks on output of plain characters. The problem is that people with a LaTeX background do not make the same assumtions as people with a word background. Another example: in spanish ~n gives you ñ. Since ~ is used for unbreakable space I let you imagine the nice consequences. JMarc
Re: How to use babel quot;-shortcuts in LYX directly?
Vasily Letov wrote: I think, LYX must provide the mechanism to configure such things by user: and since all lyx developers are basically its users, we are eagerly waiting for the patch implementing it from you. :) Bind the key to an lfun (or command sequence) inserting as ERT? Is it possible to bind something already within ERT?! I don't know this :( command-sequence ert-insert;self-insert my-string; char-forward pavel
Re: lyx single instance
Richard Heck wrote: Personally I'd much prefer if LyX could be configured for single-instance use; this is where tabs are useful. At the moment opening additional files can be a pain since you cannot simply use your file manager for that. If you're on Linux (or perhaps other *nices?), this is fairly easy to do. since we know pipe even on windows now, simple third party launcher should be doable there. just associate it with .lyx files then... pavel
Re: hiding the menu bar
This is great. Thanks! On Fri, Nov 5, 2010 at 2:48 PM, Richard Heck rgh...@comcast.net wrote: On 11/05/2010 09:26 AM, Pavel Sanda wrote: Jose Quesada wrote: I finf the ability of most KDE apps of hiding the menu bar very useful. You can assign a shortcut to toggle it. Is this possible in lyx? If not, is it worth a feature request? alt+x ui-toggle menubar enter And of course you can assign a shortcut to ui-toggle menubar. rh -- Best, -Jose Jose Quesada, PhD. Research scientist, Max Planck Institute, Center for Adaptive Behavior and Cognition, Berlin http://www.josequesada.name/ http://twitter.com/Quesada
Re: Latex error in
On 11/06/2010 12:23 AM, Sandhya wrote: Hi all I am using the IJCGA Latex class and Lyx layout files from the LyX wiki page on MacOSX. I copied the *.cls and *.layout files to ~/tex/latex/ and /Library/Application Support/LyX-1.6/layouts/ respectively. I also reconfigured LyX. Now when I use the sample LyX document, it terminates with an error: LaTeX Error: Unknown option `english' for package `graphics'. I am unable to figure out a way of solving this. I have not used Latex before, and am stuck here. It would be great if you could give me some suggestions in this regard. Thanks in advance. This layout file is very old, by the way. I'm not sure I fully understand what's causing this bug, but perhaps someone else will. Even the totally trivial file attached throws this error. I think the problem is that they do this: \InputIfFileExists{epsfig.sty}{...}{...} This seems to have the effect that epsfig.sty tries to process all the options that have been passed to the document class, including, in this case, english. That ends up getting passed to graphics.sty somewhere down the road, and it chokes. So the problem here is with the class file. That is not really the right way to do things. Richard t.tex Description: TeX document
Re: Page headers problem... LaTeX rather
2010/11/5 Steve Litt sl...@troubleshooters.com: [...] Once again, I'd recommend you do experimentation on a trivial (and quick to compile) experimental LyX file. I just had to set page style to fancy, and redefine everything. -- Manveru jabber: manv...@manveru.pl gg: 1624001 http://www.manveru.pl
lyx single instance
Single-instance support for LyX on Windows has been discussed in the past, but has anything come of it? http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg105402.html
Re: lyx single instance
No. Op 6 nov 2010 17:02 schreef Jack Tanner i...@hotmail.com: Single-instance support for LyX on Windows has been discussed in the past, but has anything come of it? http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg105402.html
Re: Spellchecker and ú
Am 05.11.2010 um 04:46 schrieb Christopher Menzel: On Nov 4, 2010, at 1:48 AM, Stephan Witt wrote: Am 03.11.2010 um 18:57 schrieb Christopher Menzel: On Nov 2, 2010, at 3:26 AM, Stephan Witt wrote: Am 02.11.2010 um 03:28 schrieb Christopher Menzel: On 10/30/2010 02:53 AM, Stephan Witt wrote: Am 29.10.2010 um 22:01 schrieb Christopher Menzel: Greetings LyX users, The aspell-based spellchecker in LyX does not appear to be happy checking a document containing a Spanish name that includes the character ú. Specifically, the name seems throw the checker pretty seriously off balance; it begins to stop on perfectly ordinary words that occur in the document a word or two *after* a word that it apparently isn't recognizing internally -- for example, it asked if I wanted to replace the word that with bisection, where that occurred two words after bijection, which was clearly the word it had stopped on internally. Is there a solution to this beyond avoiding non-English unicode characters? Sorry, I've no solution but a question. You're using LyX 1.6.7? Which platform? 1.6.7 on a Mac, latest version of Snow Leopard. Interestingly... there are 2 options to use aspell then. What's your setup exactly? What did you do to make aspell work? IIRC, I installed a package that added a System Preferences thingy. Beyond that I don't recall doing anything. Spellchecking just worked. I'd guess it is cocoaSpell... Yes, that is correct. After upgrade to Snow Leopard I don't have it anymore. I'll check it on another system... To be sure: are you able to send me a test case? Sent to you directly. I tried it and I cannot reproduce your problem. What I did: * install cocoaSpell * start LyX 1.6.7 * open preferences, goto language - spellcheck * select aspell and apply * press F7 then Ignore until end of document * reopen preferences, goto language - spellcheck * select aspell(library) and apply * F7 = error message: no word lists for en_US * paste into the Alternative language field of spellcheck preferences: /Library/Application Support/cocoAspell/aspell6-en-6.0-0/english.alias * F7 = error message: no word lists for * so aspell(library) seems to not work here Please tell me, which way is yours? To be sure I checked in Terminal.app my LANG value = de_DE.UTF-8 I can't get LyX 2.0alpha6 running on my iMac; crashes almost immediately. That's bad. Is it Intel Snow Leopard? What's the first few dozen lines of the crash report contents? Stephan
Re: How to use babel -shortcuts in LYX directly?
On 2010-11-05, Richard Heck wrote: On 11/04/2010 11:08 PM, Vasily Letov wrote: Hello, people! In Babel there are many language-specific shortcuts. For example, we have ---, --~, --* and another. The package extdash (ncc-tools collection) provides extra useful shortcuts, too. Unfortunatelly, LYX converts into \char`\{}, Or to \textquotedbl if the encoding is T1. My question is how to configure LYX to use such sortcuts directly without ERT? Bind the key to an lfun (or command sequence) inserting as ERT? I'm not sure why we output '' as something other than '', but I expect there is a good reason I expect the very reason is because it is an active character in some cases. The LyX philosophy is to hide such things which will become unpleasant surprises for the LaTeX-agnostic (even at the expense of the TeXperts). Günter
Re: Page headers problem... LaTeX rather SOLVED
On Saturday 06 November 2010 09:45:47 Manveru wrote: I just had to set page style to fancy, and redefine everything. * * \ o / \|/ |T O O C O O L / \ _ / \/ / - SteveT
Re: lyx single instance
On Saturday 06 November 2010 12:01:03 Jack Tanner wrote: Single-instance support for LyX on Windows has been discussed in the past, but has anything come of it? http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg105402.html Just make sure it's a choice, and hopefully not the default. I've found single-instance to be a pain in the posterior in most situations, especially if you use lots of desktops. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: lyx single instance
On Sat, Nov 6, 2010 at 7:44 PM, Steve Litt sl...@troubleshooters.com wrote: Just make sure it's a choice, and hopefully not the default. I've found single-instance to be a pain in the posterior in most situations, especially if you use lots of desktops. Personally I'd much prefer if LyX could be configured for single-instance use; this is where tabs are useful. At the moment opening additional files can be a pain since you cannot simply use your file manager for that. Regards Liviu
Re: lyx single instance
On 11/06/2010 03:16 PM, Liviu Andronic wrote: On Sat, Nov 6, 2010 at 7:44 PM, Steve Littsl...@troubleshooters.com wrote: Just make sure it's a choice, and hopefully not the default. I've found single-instance to be a pain in the posterior in most situations, especially if you use lots of desktops. Note that even a single instance LyX would support multiple windows, via FileNew Window. Personally I'd much prefer if LyX could be configured for single-instance use; this is where tabs are useful. At the moment opening additional files can be a pain since you cannot simply use your file manager for that. If you're on Linux (or perhaps other *nices?), this is fairly easy to do. I'm attaching a simple script that looks for a running instance of LyX and tries to open the file there via the lyxpipe. If you set up for your file manager to call this script for .lyx files, then you have the best of both worlds. You can always launch a separate instance in the usual way. Obviously, you will need to adjust some of the settings for your own use (and you may want to remove the kdialog bit). Better would be to make it more general purpose. E.g., we'd need to parse the command line for LyX's own options; use them if we find them; find the location of the lyxpipe by grepping $USERDIR/preferences; etc. Then we could even distribute it with LyX. Richard #!/bin/bash LYX=/usr/local/bin/lyx; if [ ! -f $LYX ]; then LYX=/usr/bin/lyx; fi SYSDIR=${LYX%/bin*}/share/lyx; USERDIR=$HOME/.lyx; LYXFULL=$LYX -sysdir $SYSDIR -userdir $USERDIR -geometry 1024x1024+100+100; LYXPIPE=$HOME/.lyxpipe LYXPIPEIN=$LYXPIPE.in; LYXPIPEOUT=$LYXPIPE.out; CMD=file-open; PROG=$(basename $0); function printUsage { cat EOF ### USAGE: $PROG [-c] [LYX-COMMANDS] $PROG is a simple script to run LyX. Its main purpose is that it will open a requested file in a running instance of LyX, if it can find one. Argument: LYX-COMMANDS: Anything you could pass to LyX. Options: -c: Re-configure LyX before launching. -h: Print this message EOF } CONFIG=; #Option processing while getopts :c opt; do case $opt in c ) CONFIG=true;; h ) printUsage; exit 0;; \? ) printUsage; exit 1;; esac done shift $(($OPTIND - 1)); if [ ! -x $LYX ]; then LYX=$(which lyx); if [ ! -x $LYX ]; then echo Can't find LyX!; exit 1; fi fi if [ -n $CONFIG ]; then pushd $USERDIR /dev/null 21; if [ $? != 0 ]; then echo Couldn't change to user directory $USERDIR!!; exit 1; fi $SYSDIR/configure.py popd /dev/null 21; fi if [ -e $LYXPIPEIN ]; then if [ -n $1 ]; then echo LYXCMD:lyx-script:$CMD:$1 $LYXPIPEIN; exit 0; fi kdialog --title LyX Running --warningcontinuecancel LyX appears to be running. Click Continue to delete the lyxpipe and force a run.; if [ $? != 0 ]; then exit 0; fi rm -f $LYXPIPE fi $LYXFULL $1;
Re: How to use babel quot;-shortcuts in LYX directly?
Guenter Milde milde at users.berlios.de writes: Bind the key to an lfun (or command sequence) inserting as ERT? Is it possible to bind something already within ERT?! I don't know this :( I'm not sure why we output '' as something other than '', but I expect there is a good reason I expect the very reason is because it is an active character in some cases. The LyX philosophy is to hide such things which will become unpleasant surprises for the LaTeX-agnostic (even at the expense of the TeXperts). But we type --- or -- in LyX as is, yes? --- etc. are similar things, but for other languages. Of course, TeX, LaTeX, XeTeX, LyX were made for english-speaking users, but now we want to make them for all people in the world, isn't it?
Spell checking stopped working
Hello, The spell-check (aspell-library) in my LyX installation stopped working: if I hit F7 (or click on the icon), just a status message (dialog-show spellchecker: F7) is shown, but nothing happens. I am not sure, whether it is a bug, since I tried it before a few times, and it was working; however I do not remember changing any settings either. Did anyone already experience this problem? Regards, Andras P.S.: details: Using LyX v. 1.6.4 on OpenSUSE 11.2 Language: English Other spelling engines: ispell, aspell, hspell, aspell (library). aspell yields the same result, hspell executable is not installed as far as I know, and with ispell I get the error: The spellchecker could not be started ispell: unrecognized formatter type 'latin9' Spelling in other programs (OpenOffice, KMail, Firefox) is working fine.
Re: How to use babel quot;-shortcuts in LYX directly?
Le 6 nov. 10 à 22:20, Vasily Letov a écrit : But we type --- or -- in LyX as is, yes? --- etc. are similar things, but for other languages. Of course, TeX, LaTeX, XeTeX, LyX were made for english-speaking users, but now we want to make them for all people in the world, isn't it? The idea qt the time is that, while nice tricks like that are good for human users, it is a pain to handle at LyX level (like the infamous `? ligature). I would be much more comfortable with an old-fashionned \macro to the same effect that LyX could output. This avoids lots of stupid checks on output of plain characters. The problem is that people with a LaTeX background do not make the same assumtions as people with a word background. Another example: in spanish ~n gives you ñ. Since ~ is used for unbreakable space I let you imagine the nice consequences. JMarc
Re: How to use babel quot;-shortcuts in LYX directly?
Vasily Letov wrote: I think, LYX must provide the mechanism to configure such things by user: and since all lyx developers are basically its users, we are eagerly waiting for the patch implementing it from you. :) Bind the key to an lfun (or command sequence) inserting as ERT? Is it possible to bind something already within ERT?! I don't know this :( command-sequence ert-insert;self-insert my-string; char-forward pavel
Re: lyx single instance
Richard Heck wrote: Personally I'd much prefer if LyX could be configured for single-instance use; this is where tabs are useful. At the moment opening additional files can be a pain since you cannot simply use your file manager for that. If you're on Linux (or perhaps other *nices?), this is fairly easy to do. since we know pipe even on windows now, simple third party launcher should be doable there. just associate it with .lyx files then... pavel
Re: hiding the menu bar
This is great. Thanks! On Fri, Nov 5, 2010 at 2:48 PM, Richard Heckwrote: > On 11/05/2010 09:26 AM, Pavel Sanda wrote: > >> Jose Quesada wrote: >> >> >>> I finf the ability of most KDE apps of hiding the menu bar very useful. >>> You >>> can assign a shortcut to toggle it. >>> Is this possible in lyx? If not, is it worth a feature request? >>> >>> >> alt+x >> ui-toggle menubar >> enter >> >> >> > And of course you can assign a shortcut to "ui-toggle menubar". > > rh > > -- Best, -Jose Jose Quesada, PhD. Research scientist, Max Planck Institute, Center for Adaptive Behavior and Cognition, Berlin http://www.josequesada.name/ http://twitter.com/Quesada
Re: Latex error in
On 11/06/2010 12:23 AM, Sandhya wrote: Hi all I am using the IJCGA Latex class and Lyx layout files from the LyX wiki page on MacOSX. I copied the *.cls and *.layout files to ~/tex/latex/ and /Library/Application Support/LyX-1.6/layouts/ respectively. I also reconfigured LyX. Now when I use the sample LyX document, it terminates with an error: LaTeX Error: Unknown option `english' for package `graphics'. I am unable to figure out a way of solving this. I have not used Latex before, and am stuck here. It would be great if you could give me some suggestions in this regard. Thanks in advance. This layout file is very old, by the way. I'm not sure I fully understand what's causing this bug, but perhaps someone else will. Even the totally trivial file attached throws this error. I think the problem is that they do this: \InputIfFileExists{epsfig.sty}{...}{...} This seems to have the effect that epsfig.sty tries to process all the options that have been passed to the document class, including, in this case, "english". That ends up getting passed to graphics.sty somewhere down the road, and it chokes. So the problem here is with the class file. That is not really the right way to do things. Richard t.tex Description: TeX document
Re: Page headers problem... LaTeX rather
2010/11/5 Steve Litt: [...] > Once again, I'd recommend you do experimentation on a trivial (and quick to > compile) experimental LyX file. I just had to set page style to fancy, and redefine everything. -- Manveru jabber: manv...@manveru.pl gg: 1624001 http://www.manveru.pl
lyx single instance
Single-instance support for LyX on Windows has been discussed in the past, but has anything come of it? http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg105402.html
Re: lyx single instance
No. Op 6 nov 2010 17:02 schreef "Jack Tanner": Single-instance support for LyX on Windows has been discussed in the past, but has anything come of it? http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg105402.html
Re: Spellchecker and ú
Am 05.11.2010 um 04:46 schrieb Christopher Menzel: > On Nov 4, 2010, at 1:48 AM, Stephan Witt wrote: >> Am 03.11.2010 um 18:57 schrieb Christopher Menzel: >> On Nov 2, 2010, at 3:26 AM, Stephan Witt wrote: Am 02.11.2010 um 03:28 schrieb Christopher Menzel: > On 10/30/2010 02:53 AM, Stephan Witt wrote: >> Am 29.10.2010 um 22:01 schrieb Christopher Menzel: >> >>> Greetings LyX users, >>> >>> The aspell-based spellchecker in LyX does not appear to be happy >>> checking a document containing a Spanish name that includes the >>> character ú. Specifically, the name seems throw the checker pretty >>> seriously off balance; it begins to stop on perfectly ordinary words >>> that occur in the document a word or two *after* a word that it >>> apparently isn't recognizing internally -- for example, it asked if I >>> wanted to replace the word "that" with "bisection", where "that" >>> occurred two words after "bijection", which was clearly the word it had >>> stopped on internally. Is there a solution to this beyond avoiding >>> non-English unicode characters? >>> >> Sorry, I've no solution but a question. >> You're using LyX 1.6.7? Which platform? >> > 1.6.7 on a Mac, latest version of Snow Leopard. Interestingly... there are 2 options to use aspell then. What's your setup exactly? What did you do to make aspell work? >>> >>> IIRC, I installed a package that added a System Preferences thingy. Beyond >>> that I don't recall doing anything. Spellchecking just worked. >> >> I'd guess it is cocoaSpell... > > Yes, that is correct. > >> After upgrade to Snow Leopard I don't have it anymore. >> I'll check it on another system... >> >> To be sure: are you able to send me a test case? > > Sent to you directly. I tried it and I cannot reproduce your problem. What I did: * install cocoaSpell * start LyX 1.6.7 * open preferences, goto language -> spellcheck * select aspell and apply * press F7 then Ignore until end of document * reopen preferences, goto language -> spellcheck * select aspell(library) and apply * F7 => error message: no word lists for en_US * paste into the "Alternative language" field of spellcheck preferences: /Library/Application Support/cocoAspell/aspell6-en-6.0-0/english.alias * F7 => error message: no word lists for "" * so aspell(library) seems to not work here Please tell me, which way is yours? To be sure I checked in Terminal.app my LANG value => de_DE.UTF-8 > I can't get LyX 2.0alpha6 running on my iMac; crashes almost immediately. That's bad. Is it Intel Snow Leopard? What's the first few dozen lines of the crash report contents? Stephan
Re: How to use babel "-shortcuts in LYX directly?
On 2010-11-05, Richard Heck wrote: > On 11/04/2010 11:08 PM, Vasily Letov wrote: >> Hello, people! >> In Babel there are many language-specific shortcuts. For example, we >> have "---, "--~, "--* and another. The package extdash (ncc-tools >> collection) provides extra useful shortcuts, too. Unfortunatelly, LYX >> converts " into \char`\"{}, > Or to \textquotedbl if the encoding is T1. >> My question is how to configure LYX to use such sortcuts directly >> without ERT? Bind the " key to an lfun (or command sequence) inserting " as ERT? > I'm not sure why we output '"' as something other than '"', but I expect > there is a good reason I expect the very reason is because it is an active character in some cases. The LyX philosophy is to hide such things which will become unpleasant surprises for the LaTeX-agnostic (even at the expense of the TeXperts). Günter
Re: Page headers problem... LaTeX rather
On Saturday 06 November 2010 09:45:47 Manveru wrote: > > I just had to set page style to fancy, and redefine everything. * * \ o / \|/ |T O O C O O L / \ _ / \/ / - SteveT
Re: lyx single instance
On Saturday 06 November 2010 12:01:03 Jack Tanner wrote: > Single-instance support for LyX on Windows has been discussed in the past, > but has anything come of it? > > http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg105402.html > Just make sure it's a choice, and hopefully not the default. I've found single-instance to be a pain in the posterior in most situations, especially if you use lots of desktops. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: lyx single instance
On Sat, Nov 6, 2010 at 7:44 PM, Steve Littwrote: > Just make sure it's a choice, and hopefully not the default. I've found > single-instance to be a pain in the posterior in most situations, especially > if you use lots of desktops. > Personally I'd much prefer if LyX could be configured for single-instance use; this is where tabs are useful. At the moment opening additional files can be a pain since you cannot simply use your file manager for that. Regards Liviu
Re: lyx single instance
On 11/06/2010 03:16 PM, Liviu Andronic wrote: On Sat, Nov 6, 2010 at 7:44 PM, Steve Littwrote: Just make sure it's a choice, and hopefully not the default. I've found single-instance to be a pain in the posterior in most situations, especially if you use lots of desktops. Note that even a single instance LyX would support multiple windows, via File>New Window. Personally I'd much prefer if LyX could be configured for single-instance use; this is where tabs are useful. At the moment opening additional files can be a pain since you cannot simply use your file manager for that. If you're on Linux (or perhaps other *nices?), this is fairly easy to do. I'm attaching a simple script that looks for a running instance of LyX and tries to open the file there via the lyxpipe. If you set up for your file manager to call this script for .lyx files, then you have the best of both worlds. You can always launch a separate instance in the usual way. Obviously, you will need to adjust some of the settings for your own use (and you may want to remove the kdialog bit). Better would be to make it more general purpose. E.g., we'd need to parse the command line for LyX's own options; use them if we find them; find the location of the lyxpipe by grepping $USERDIR/preferences; etc. Then we could even distribute it with LyX. Richard #!/bin/bash LYX="/usr/local/bin/lyx"; if [ ! -f "$LYX" ]; then LYX="/usr/bin/lyx"; fi SYSDIR="${LYX%/bin*}/share/lyx"; USERDIR="$HOME/.lyx"; LYXFULL="$LYX -sysdir $SYSDIR -userdir $USERDIR -geometry 1024x1024+100+100"; LYXPIPE="$HOME/.lyxpipe" LYXPIPEIN="$LYXPIPE.in"; LYXPIPEOUT="$LYXPIPE.out"; CMD="file-open"; PROG=$(basename $0); function printUsage { cat &1; if [ "$?" != "0" ]; then echo "Couldn't change to user directory $USERDIR!!"; exit 1; fi $SYSDIR/configure.py popd >/dev/null 2>&1; fi if [ -e $LYXPIPEIN ]; then if [ -n "$1" ]; then echo "LYXCMD:lyx-script:$CMD:$1" > $LYXPIPEIN; exit 0; fi kdialog --title "LyX Running" --warningcontinuecancel "LyX appears to be running. Click Continue to delete the lyxpipe and force a run."; if [ $? != 0 ]; then exit 0; fi rm -f $LYXPIPE fi $LYXFULL $1;
Re: How to use babel -shortcuts in LYX directly?
Guenter Milde users.berlios.de> writes: > > > Bind the " key to an lfun (or command sequence) inserting " as ERT? > Is it possible to bind something already within ERT?! I don't know this :( > > I'm not sure why we output '"' as something other than '"', but I expect > > there is a good reason > > I expect the very reason is because it is an active character in some > cases. The LyX philosophy is to hide such things which will become > unpleasant surprises for the LaTeX-agnostic (even at the expense of > the TeXperts). > But we type --- or -- in LyX as is, yes? "--- etc. are similar things, but for other languages. Of course, TeX, LaTeX, XeTeX, LyX were made for english-speaking users, but now we want to make them for all people in the world, isn't it?
Spell checking stopped working
Hello, The spell-check (aspell-library) in my LyX installation stopped working: if I hit F7 (or click on the icon), just a status message "(dialog-show spellchecker: F7)" is shown, but nothing happens. I am not sure, whether it is a bug, since I tried it before a few times, and it was working; however I do not remember changing any settings either. Did anyone already experience this problem? Regards, Andras P.S.: details: Using LyX v. 1.6.4 on OpenSUSE 11.2 Language: English Other spelling engines: ispell, aspell, hspell, aspell (library). aspell yields the same result, hspell executable is not installed as far as I know, and with ispell I get the error: "The spellchecker could not be started ispell: unrecognized formatter type 'latin9'" Spelling in other programs (OpenOffice, KMail, Firefox) is working fine.
Re: How to use babel -shortcuts in LYX directly?
Le 6 nov. 10 à 22:20, Vasily Letov a écrit : But we type --- or -- in LyX as is, yes? "--- etc. are similar things, but for other languages. Of course, TeX, LaTeX, XeTeX, LyX were made for english-speaking users, but now we want to make them for all people in the world, isn't it? The idea qt the time is that, while nice tricks like that are good for human users, it is a pain to handle at LyX level (like the infamous `? ligature). I would be much more comfortable with an old-fashionned \macro to the same effect that LyX could output. This avoids lots of stupid checks on output of plain characters. The problem is that people with a LaTeX background do not make the same assumtions as people with a word background. Another example: in spanish ~n gives you ñ. Since ~ is used for unbreakable space I let you imagine the nice consequences. JMarc
Re: How to use babel -shortcuts in LYX directly?
Vasily Letov wrote: > I think, LYX must provide the mechanism to configure such things by user: and since all lyx developers are basically its users, we are eagerly waiting for the patch implementing it from you. :) > > Bind the " key to an lfun (or command sequence) inserting " as ERT? > > > > Is it possible to bind something already within ERT?! I don't know this :( command-sequence ert-insert;self-insert my-string; char-forward pavel
Re: lyx single instance
Richard Heck wrote: >> Personally I'd much prefer if LyX could be configured for >> single-instance use; this is where tabs are useful. At the moment >> opening additional files can be a pain since you cannot simply use >> your file manager for that. >> >> > If you're on Linux (or perhaps other *nices?), this is fairly easy to do. since we know pipe even on windows now, simple third party launcher should be doable there. just associate it with .lyx files then... pavel