Re: \enlargethispage{\baselineskip}

2009-06-11 Thread Guenter Milde
On 2009-06-10, Ralf wrote:
 Hi All,

 how often do we need the \enlargethispage{\baselineskip} ?
 Well, I use it quite a lot since I have a lot of large figures and sometimes I
 just need an extra line to keep it all together.

 Instead of typing the ERT each time, it would be fancy to have a button
 (and/or shortcut) that includes it ... how do you folks think?

I don't think this is widely used/needed by the general public.

How about creating this keybinding yourself?

It should be something like 
command-sequence; ert-insert; insert \enlargethispage{\baselineskip}

I do not remember the exact macro names now.

* Have a look at the LyX wiki for help with customizing bindings using
  command-sequence.

* Try the command sequence in the minibuffer (Alt-x ...) first.

Alternatively, you could consider defining a special Style in a layout
module and select it via the Style drop-down list (or again a shortcut).

Make sure to document your solution, either in a follow up or (more
durable) in the LyX wiki at wiki.lyx.org.

Günter



RE: LyX crashes in Ubuntu 9.04

2009-06-11 Thread Vincent van Ravesteijn - TNW
 
Hi! I have the following Problem:
LyX 1.6.2 crashes regularily while i scroll down in a bigger document.
This only happens if showing graphics is enabled. How can I solve this
problem?
Thank you very much!

There is a bug in qt4.5.0 that might crash LyX when you try to scale down a 
figure on screen to 50% and the figure has an odd number of lines.

Please upgrade to qt4.5.1, or change the 50% into e.g. 51%.

see also: http://www.lyx.org/trac/ticket/5957

Vincent




\bind C-k font-noun

2009-06-11 Thread Ralf
Okay,

tried to edit the cua.bind file and failed.

This I found 

#\bind C-k   font-noun

I got rid of the '#' and restarted Lyx,
hoping that a C-k would toggle a noun, but alas, it didn't ...

What magic is needed here to let a C-k toggle the noun ?

Cheers
-Ralf
p.s. Lyx1.6.3 on WinXP and c:\Program Files\LyX 1.6.3\Resources\bind\cua.bind



Re: Problem with LyxLauncher

2009-06-11 Thread Pavel Sanda
Ralf wrote:
 my situation is different, however, that error message looks familiar - I use
 PNG format and the error message occurs when changing the figure in an 
 external
 editor while Lyx is still open.
 
 It does not bother me so much, since the pdf-output works just fine. And when
 re-opening Lyx the figures are there again. 

this is a longterm problem or something new in 1.6.3 ?
pavel


Re: \enlargethispage{\baselineskip}

2009-06-11 Thread Ralf
Guenter Milde mi...@... writes:
[snip]
 On 2009-06-10, Ralf wrote:
  how often do we need the \enlargethispage{\baselineskip} ?

 I don't think this is widely used/needed by the general public.

+ yes, seems like it

 How about creating this keybinding yourself?

+ Alright, probably worthwhile to get familiar with Macros sooner or later - but
probably later for me, no time ...

 It should be something like 
 command-sequence; ert-insert; insert \enlargethispage{\baselineskip}
[snip]
 Make sure to document your solution, either in a follow up or (more
 durable) in the LyX wiki at wiki.lyx.org.

ok

Cheers
-Ralf






Re: \bind C-k font-noun

2009-06-11 Thread Ralf
Ralf ralf.sc...@... writes:
[snip]
 #\bind C-k   font-noun
 
 I got rid of the '#' and restarted Lyx,
 hoping that a C-k would toggle a noun, but alas, it didn't ...
 
 What magic is needed here to let a C-k toggle the noun ?

a simple spell worked: instead of 'k' I used 'j':

\bind C-j   font-noun

did the trick - I assume the \bind C-k clashes 
with something else, well ...

Cheers
-Ralf





Re: LyX crashes in Ubuntu 9.04

2009-06-11 Thread Michael Gasperl
2009/6/11 John McCabe-Dansted gma...@gmail.com:
 2009/6/11 Thomas Løcke thomas.granv...@gmail.com

 On Thu, Jun 11, 2009 at 6:25 AM, Michael Gasperlmich...@gasperl.at
 wrote:
  Hi! I have the following Problem:
  LyX 1.6.2 crashes regularily while i scroll down in a bigger document.
  This only happens if showing graphics is enabled. How can I solve this
  problem?
  Thank you very much!

 This also happpened to me, on Slackware 12.1,

 I fixed it by updating my QT4 library from version 4.4.3 to version
 4.5.1, and then recompile LyX against that.

   Heh, I upgraded my QT to QT4.5.1. Maybe thats  why I cannot reproduce.

   I upgraded this way. (NOTE: this is not supported. If  you use this, be
 careful, and make backups)

   first I did

 sudo aptitude update
 sudo aptitude upgrade

   to make sure I was up-to-date

   Then I added

 deb http://ftp.iinet.net.au/pub/ubuntu/ karmic main restricted universe

   to /etc/apt/sources.list (you may want to replace the http:// bit with
 your local mirror)

   added the following to /etc/apt/preferences

 Package: *
 Pin: release a=jaunty
 in-Priority: 700

 Package: *
 Pin: release a=karmic
 Pin-Priority: 600

 Package: libqt4*
 Pin: release a=karmic
 Pin-Priority: 800

 Package: qt4*
 Pin: release a=karmic
 Pin-Priority: 800

   then I did

 sudo aptitude update
 sudo aptitude upgrade

    IMPORTANT: make sure there are no packages without qt4 in
    their name being upgraded. Otherwise you could hose your system.

    Then I removed the

 deb http://ftp.iinet.net.au/pub/ubuntu/ karmic main restricted universe

    Line from /etc/apt/sources.list

 --
 John C. McCabe-Dansted
 PhD Student
 University of Western Australia

==

Thank you very much for your afford!! I compiled LyX 1.6.3 as
described, worked well. But the error was still there, didn't change
anything. Then I upgraded to QT 4.5.1 -- this was the solution!

I upgraded QT4 in an other way. In Ubuntu I added
deb http://ftp.iinet.net.au/pub/ubuntu/ karmic main restricted universe
To synaptic / package sources

Then I created the file (sudo nautilus)
/etc/apt/preferences
and added the from John C. McCabe-Dansted described lines:

Package: *
Pin: release a=jaunty
in-Priority: 700

Package: *
Pin: release a=karmic
Pin-Priority: 600

Package: libqt4*
Pin: release a=karmic
Pin-Priority: 800

Package: qt4*
Pin: release a=karmic
Pin-Priority: 800

[perhaps it would work without preferences?]

Then went to synaptic and selected
libqt4-core
for updating, synaptic automatically selected the rest and made an update

Finally i deactivated the
deb http://ftp.iinet.net.au/pub/ubuntu/ karmic main restricted universe
from sources.

I chose this way, because the first described way with update/upgrade
didn't work on my pc.

Thank you all for solving the problem!
Michael


Problem with installation of spell checker.

2009-06-11 Thread johndb

I tried downloading the standard lyx for windows, LyX-1.6.3-1-Installer.exe.
But every time I try it I get an error that says The setup wizard of the
English spell checker dictionary was not completed. Do you want to run the
setup again? and I click yes so it runs again but the error comes up again
so it cannot not resolve that problem so I could skip it and install without
it.

 I know I have enough memory on my computer to fit it. Other than that the
installation runs fine, I can see it isn't essential, but I would still like
to have it.

Any ideas or is there an alternative way to download it from another source
alone?

Regards
-- 
View this message in context: 
http://n2.nabble.com/Problem-with-installation-of-spell-checker.-tp3061816p3061816.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: \bind C-k font-noun

2009-06-11 Thread Rich Shepard

On Thu, 11 Jun 2009, Ralf wrote:


did the trick - I assume the \bind C-k clashes with something else, well


Ralf,

  Look in the preferences-short cuts menu to see all the bindings. I've
found in the latest version that editing the bindings in the short cuts
widget works better than directly editing the bind file.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Shortened Citations in Lyx-Editor

2009-06-11 Thread Ralf
Small stuff:

when having citations to more than one source, the citations inside the Lyx
interface get shortened, for example (Natbib)

(e.g. Hanneson, 1992; West and Macnae, 199...

instead of the full citation:

(e.g. Hanneson, 1992; West and Macnae, 1991, p.31)

I would like to see the entire citation without always compiling 
(or clicking on it). 

Is this behaviour editable somewhere?

Cheers
-Ralf





Re: \bind C-k font-noun

2009-06-11 Thread Ralf
Rich Shepard rshep...@... writes:
[snip]
Look in the preferences-short cuts menu to see all the bindings. I've
 found in the latest version that editing the bindings in the short cuts
 widget works better than directly editing the bind file.

cheers mate! will do next time
-ralf






RE: Shortened Citations in Lyx-Editor

2009-06-11 Thread Vincent van Ravesteijn - TNW
 
Small stuff:

when having citations to more than one source, the citations
inside the Lyx interface get shortened, for example (Natbib)

(e.g. Hanneson, 1992; West and Macnae, 199...

instead of the full citation:

(e.g. Hanneson, 1992; West and Macnae, 1991, p.31)

I would like to see the entire citation without always compiling
(or clicking on it). 

You even get a tooltip by just holding your mouse over a citation (at
least in 1.6.3).

Is this behaviour editable somewhere?

No.

-Ralf

Vincent





Re: \enlargethispage{\baselineskip}

2009-06-11 Thread Guenter Milde
On 2009-06-11, Ralf wrote:
 Guenter Milde mi...@... writes:
 On 2009-06-10, Ralf wrote:

 How about creating this keybinding yourself?

 + Alright, probably worthwhile to get familiar with Macros sooner or
   later - but probably later for me, no time ...

I found an even longer example in my bind file:

# insert a centered graphic in a figure float:
\bind C-S-B command-sequence float-insert figure; break-paragraph; 
ert-insert; self-insert \centering ;inset-toggle;graphics-insert

which could be scaled down to your needs:

* Open WerkzeugeEinstellungenBearbeitenTastenkürzel

* Click on the button [Neu].

* Insert 

   command-sequence ert-insert; self-insert \enlargethispage{\baselineskip}
 
  as Funktion.
  
* Set a binding.

* [OK]

Günter



Re: Problem with installation of spell checker.

2009-06-11 Thread Uwe Stöhr

johndb schrieb:


I tried downloading the standard lyx for windows, LyX-1.6.3-1-Installer.exe.
But every time I try it I get an error that says The setup wizard of the
English spell checker dictionary was not completed.

Any ideas or is there an alternative way to download it from another source
alone?


Try to reinstall LyX using the alternative Windows installer.

regards Uwe


Re: Alternate installer not working

2009-06-11 Thread Phil


  I tried to use the altinstaller to update my
 installation from 1.6.1 to 1.6.2.
 
 The update installer can only update from subsequent
 versions. So to update from 1.6.1 to 1.6.2, you have to use
 the update installer for LyX 1.6.2. then in a second step
 you can use the update installer for LyX 1.6.3.


I see.  However, when I look in the binaries folder I don't see any other 
update installer except the alternate one. I must be missing something. 
 




  


Re: Alternate installer not working

2009-06-11 Thread Uwe Stöhr

Phil schrieb:


The update installer can only update from subsequent
versions. So to update from 1.6.1 to 1.6.2, you have to use
the update installer for LyX 1.6.2. then in a second step
you can use the update installer for LyX 1.6.3.


I see.  However, when I look in the binaries folder I don't see any other update installer except the alternate one. 

 I must be missing something.

I don't understand.
In ftp://ftp.lyx.org/pub/lyx/bin/1.6.3/ you find the update installer that updates from 1.6.2 to 
1.6.3, in ftp://ftp.lyx.org/pub/lyx/bin/1.6.2/ you find the update installer that updates from 1.6.1 
to 1.6.2 and so on.


regards Uwe


Re: Alternate installer not working

2009-06-11 Thread Phil

 
  The update installer can only update from
 subsequent
  versions. So to update from 1.6.1 to 1.6.2, you
 have to use
  the update installer for LyX 1.6.2. then in a
 second step
  you can use the update installer for LyX 1.6.3.
  
  I see.  However, when I look in the binaries
 folder I don't see any other update installer except the
 alternate one. 
  I must be missing something.
 
 I don't understand.
 In ftp://ftp.lyx.org/pub/lyx/bin/1.6.3/ you
 find the update installer that updates from 1.6.2 to 1.6.3,
 in ftp://ftp.lyx.org/pub/lyx/bin/1.6.2/ you
 find the update installer that updates from 1.6.1 to 1.6.2
 and so on.
 
Hi Uwe,  

I'm sorry...I'm just not seeing it.

I guess it is a little confusing because only one of the files there has 
update in the filename. Out of the two choices for the standard installer 
being

LyX-1.6.3-1-Installer-Bundle.exe
and
LyX-1.6.3-1-Installer.exe

which of these would be used for an update









Re: Shortened Citations in Lyx-Editor

2009-06-11 Thread Ralf
Vincent van Ravesteijn - TNW v.f.vanraveste...@... writes:
[snip]
 when having citations to more than one source, the citations
 inside the Lyx interface get shortened, for example (Natbib)
 

 You even get a tooltip by just holding your mouse over a citation (at
 least in 1.6.3).

well yes, the tooltip shows the entire reference, not the citation as you would
in the compiled document, isn't it? 

Cheers
-Ralf





Re: Alternate installer not working

2009-06-11 Thread Uwe Stöhr

Phil schrieb:

  I'm sorry...I'm just not seeing it.


I guess it is a little confusing because only one of the files there has update in the filename. 

 Out of the two choices for the standard installer being


LyX-1.6.3-1-Installer-Bundle.exe
and
LyX-1.6.3-1-Installer.exe

which of these would be used for an update


But I just wrote you:

 In ftp://ftp.lyx.org/pub/lyx/bin/1.6.3/ you
 find the update installer that updates from 1.6.2 to 1.6.3,
 in ftp://ftp.lyx.org/pub/lyx/bin/1.6.2/ you
 find the update installer that updates from 1.6.1 to 1.6.2
 and so on.

Why is that not clear? You are currently looking at
ftp://ftp.lyx.org/pub/lyx/bin/1.6.3
so you find there only installers for LyX 1.6.3 and the update installer that 
updates LyX 1.6.2 to 1.6.3

When you want to update LyX 1.6.1 to 1.6.3:
- LyX 1.6.1 must have been installed using the alternative LyX Windows installer
- apply the update installer that updates 1.6.1 to 1.6.2
 (that you find in ftp://ftp.lyx.org/pub/lyx/bin/1.6.2)
- apply the update installer that updates 1.6.2 to 1.6.3
 (that you find in ftp://ftp.lyx.org/pub/lyx/bin/1.6.3)


(Alternatively, you can of course uninstall LyX 1.6.1 and reinstall LyX using the small version of 
the alternative installer. When LyX 1.6.4 comes out you can then use the update installer.)


regards Uwe


Re: Alternate installer not working

2009-06-11 Thread Siegfried Meunier-Guttin-Cluzel

Hi Uwe,

I think the problem is that there isn't any updater for the normal 
installer

there isn't any Lyx-1.6.3-1-Installer-Update.exe

And, yes I think Lyx must have been installed with the alt installer to 
use the alt installer update.


Siegfried.



Re: \enlargethispage{\baselineskip}

2009-06-11 Thread Ralf
Guenter Milde mi...@... writes:
[snip]
 
command-sequence ert-insert; self-insert \enlargethispage{\baselineskip}


Right on Guenter - problem solved !

Cheers
-Ralf 






Re: Alternate installer not working

2009-06-11 Thread Uwe Stöhr

Siegfried Meunier-Guttin-Cluzel schrieb:

I think the problem is that there isn't any updater for the normal 
installer there isn't any Lyx-1.6.3-1-Installer-Update.exe


Yes this is the case, because you can install LyX 1.6.3 over LyX 1.6.2 when you are using the 
standard installer. I created the update installer because users requested this to save download 
time and size.


And, yes I think Lyx must have been installed with the alt installer to 
use the alt installer update.


This is correct as described in my announcements, this Wiki page: 
http://wiki.lyx.org/Windows/LyXWinInstaller

and the alternative installer info file at
ftp://ftp.lyx.org/pub/lyx/bin/1.6.3/
ftp://ftp.lyx.org/pub/lyx/bin/1.6.3/AltInstaller-README.txt

regards Uwe


Re: LyX crashes in Ubuntu 9.04

2009-06-11 Thread John McCabe-Dansted
2009/6/11 Michael Gasperl mich...@gasperl.at

 Package: *
 Pin: release a=jaunty
 in-Priority: 700

 Package: *
 Pin: release a=karmic
 Pin-Priority: 600

 Package: libqt4*
 Pin: release a=karmic
 Pin-Priority: 800

 Package: qt4*
 Pin: release a=karmic
 Pin-Priority: 800

 [perhaps it would work without preferences?]


Well the conventional wisdom would be that without the preferences file,
apt-get would try to upgrade all your files to a completely different (and
Alpha quality) version of Ubuntu. If you let apt-get do this, this would
probably break your system horribly... However, in this case it would
probably be safe to do with without the preferences file for two reasons:
1) The Ubuntu GUI Upgrade Managers would allow you to uncheck the unwanted
upgrades anyway.
2) We are removing the karmic sources afterwards anyway, so it would be
unlikely that Ubuntu would install these unwanted updates later.

I chose this way, because the first described way with update/upgrade
 didn't work on my pc.


I must have made a mistake, since it should work on any 9.04 Ubuntu system.
Oh well, your way seems more user friendly anyway.

-- 
John C. McCabe-Dansted
PhD Student
University of Western Australia


Re: Shortened Citations in Lyx-Editor

2009-06-11 Thread Richard Heck

Ralf wrote:

Vincent van Ravesteijn - TNW v.f.vanraveste...@... writes:
[snip]
  

when having citations to more than one source, the citations
inside the Lyx interface get shortened, for example (Natbib)

  


  

You even get a tooltip by just holding your mouse over a citation (at
least in 1.6.3).



well yes, the tooltip shows the entire reference, not the citation as you would
in the compiled document, isn't it? 

  
Yes, but showing the entire citation in the inset isn't practical. This 
is due to the fact that LyX cannot break these things across lines.


rh


Cheers
-Ralf


  




Sweave code full of escape codes when printed?

2009-06-11 Thread Graham Smith

I've started using Sweave and having a problem

The code in Lyx is

library (car)

cabbages$Year-recode(cabbages$Year,'X2001=2001;X2002=2002;X2003=2003; 
etc


But its appearing in the PDF as


 cabbages$Year - recode(cabbages$Year, 
\X2001\=\2001\;\X2002\=\2002\;\X2003\=\2003\;\ etc


And obviously isn't working as printing out incorrectly.

Can anyone suggest what is happening here.

Many thanks,

Graham



Re: Sweave code full of escape codes when printed?

2009-06-11 Thread Philippe Grosjean

1) Have you placed your code in an ERT (Tex code)?

2) Did you enclose it with the required tags for noweb (INSIDE de ERT), 
i.e.,


=
library (car)
cabbages$Year-recode(cabbages$Year,'X2001=2001;X2002=2002;X2003=2003;
etc
@

3) Did you run Sweave on the Noweb version produced?

Best,

Philippe Grosjean

Graham Smith wrote:

I've started using Sweave and having a problem

The code in Lyx is

library (car)

cabbages$Year-recode(cabbages$Year,'X2001=2001;X2002=2002;X2003=2003; 
etc


But its appearing in the PDF as


  cabbages$Year - recode(cabbages$Year, 
\X2001\=\2001\;\X2002\=\2002\;\X2003\=\2003\;\ etc


And obviously isn't working as printing out incorrectly.

Can anyone suggest what is happening here.

Many thanks,

Graham





Re: \enlargethispage{\baselineskip}

2009-06-11 Thread Guenter Milde
On 2009-06-10, Ralf wrote:
 Hi All,

 how often do we need the \enlargethispage{\baselineskip} ?
 Well, I use it quite a lot since I have a lot of large figures and sometimes I
 just need an extra line to keep it all together.

 Instead of typing the ERT each time, it would be fancy to have a button
 (and/or shortcut) that includes it ... how do you folks think?

I don't think this is widely used/needed by the general public.

How about creating this keybinding yourself?

It should be something like 
command-sequence; ert-insert; insert \enlargethispage{\baselineskip}

I do not remember the exact macro names now.

* Have a look at the LyX wiki for help with customizing bindings using
  command-sequence.

* Try the command sequence in the minibuffer (Alt-x ...) first.

Alternatively, you could consider defining a special Style in a layout
module and select it via the Style drop-down list (or again a shortcut).

Make sure to document your solution, either in a follow up or (more
durable) in the LyX wiki at wiki.lyx.org.

Günter



RE: LyX crashes in Ubuntu 9.04

2009-06-11 Thread Vincent van Ravesteijn - TNW
 
Hi! I have the following Problem:
LyX 1.6.2 crashes regularily while i scroll down in a bigger document.
This only happens if showing graphics is enabled. How can I solve this
problem?
Thank you very much!

There is a bug in qt4.5.0 that might crash LyX when you try to scale down a 
figure on screen to 50% and the figure has an odd number of lines.

Please upgrade to qt4.5.1, or change the 50% into e.g. 51%.

see also: http://www.lyx.org/trac/ticket/5957

Vincent




\bind C-k font-noun

2009-06-11 Thread Ralf
Okay,

tried to edit the cua.bind file and failed.

This I found 

#\bind C-k   font-noun

I got rid of the '#' and restarted Lyx,
hoping that a C-k would toggle a noun, but alas, it didn't ...

What magic is needed here to let a C-k toggle the noun ?

Cheers
-Ralf
p.s. Lyx1.6.3 on WinXP and c:\Program Files\LyX 1.6.3\Resources\bind\cua.bind



Re: Problem with LyxLauncher

2009-06-11 Thread Pavel Sanda
Ralf wrote:
 my situation is different, however, that error message looks familiar - I use
 PNG format and the error message occurs when changing the figure in an 
 external
 editor while Lyx is still open.
 
 It does not bother me so much, since the pdf-output works just fine. And when
 re-opening Lyx the figures are there again. 

this is a longterm problem or something new in 1.6.3 ?
pavel


Re: \enlargethispage{\baselineskip}

2009-06-11 Thread Ralf
Guenter Milde mi...@... writes:
[snip]
 On 2009-06-10, Ralf wrote:
  how often do we need the \enlargethispage{\baselineskip} ?

 I don't think this is widely used/needed by the general public.

+ yes, seems like it

 How about creating this keybinding yourself?

+ Alright, probably worthwhile to get familiar with Macros sooner or later - but
probably later for me, no time ...

 It should be something like 
 command-sequence; ert-insert; insert \enlargethispage{\baselineskip}
[snip]
 Make sure to document your solution, either in a follow up or (more
 durable) in the LyX wiki at wiki.lyx.org.

ok

Cheers
-Ralf






Re: \bind C-k font-noun

2009-06-11 Thread Ralf
Ralf ralf.sc...@... writes:
[snip]
 #\bind C-k   font-noun
 
 I got rid of the '#' and restarted Lyx,
 hoping that a C-k would toggle a noun, but alas, it didn't ...
 
 What magic is needed here to let a C-k toggle the noun ?

a simple spell worked: instead of 'k' I used 'j':

\bind C-j   font-noun

did the trick - I assume the \bind C-k clashes 
with something else, well ...

Cheers
-Ralf





Re: LyX crashes in Ubuntu 9.04

2009-06-11 Thread Michael Gasperl
2009/6/11 John McCabe-Dansted gma...@gmail.com:
 2009/6/11 Thomas Løcke thomas.granv...@gmail.com

 On Thu, Jun 11, 2009 at 6:25 AM, Michael Gasperlmich...@gasperl.at
 wrote:
  Hi! I have the following Problem:
  LyX 1.6.2 crashes regularily while i scroll down in a bigger document.
  This only happens if showing graphics is enabled. How can I solve this
  problem?
  Thank you very much!

 This also happpened to me, on Slackware 12.1,

 I fixed it by updating my QT4 library from version 4.4.3 to version
 4.5.1, and then recompile LyX against that.

   Heh, I upgraded my QT to QT4.5.1. Maybe thats  why I cannot reproduce.

   I upgraded this way. (NOTE: this is not supported. If  you use this, be
 careful, and make backups)

   first I did

 sudo aptitude update
 sudo aptitude upgrade

   to make sure I was up-to-date

   Then I added

 deb http://ftp.iinet.net.au/pub/ubuntu/ karmic main restricted universe

   to /etc/apt/sources.list (you may want to replace the http:// bit with
 your local mirror)

   added the following to /etc/apt/preferences

 Package: *
 Pin: release a=jaunty
 in-Priority: 700

 Package: *
 Pin: release a=karmic
 Pin-Priority: 600

 Package: libqt4*
 Pin: release a=karmic
 Pin-Priority: 800

 Package: qt4*
 Pin: release a=karmic
 Pin-Priority: 800

   then I did

 sudo aptitude update
 sudo aptitude upgrade

    IMPORTANT: make sure there are no packages without qt4 in
    their name being upgraded. Otherwise you could hose your system.

    Then I removed the

 deb http://ftp.iinet.net.au/pub/ubuntu/ karmic main restricted universe

    Line from /etc/apt/sources.list

 --
 John C. McCabe-Dansted
 PhD Student
 University of Western Australia

==

Thank you very much for your afford!! I compiled LyX 1.6.3 as
described, worked well. But the error was still there, didn't change
anything. Then I upgraded to QT 4.5.1 -- this was the solution!

I upgraded QT4 in an other way. In Ubuntu I added
deb http://ftp.iinet.net.au/pub/ubuntu/ karmic main restricted universe
To synaptic / package sources

Then I created the file (sudo nautilus)
/etc/apt/preferences
and added the from John C. McCabe-Dansted described lines:

Package: *
Pin: release a=jaunty
in-Priority: 700

Package: *
Pin: release a=karmic
Pin-Priority: 600

Package: libqt4*
Pin: release a=karmic
Pin-Priority: 800

Package: qt4*
Pin: release a=karmic
Pin-Priority: 800

[perhaps it would work without preferences?]

Then went to synaptic and selected
libqt4-core
for updating, synaptic automatically selected the rest and made an update

Finally i deactivated the
deb http://ftp.iinet.net.au/pub/ubuntu/ karmic main restricted universe
from sources.

I chose this way, because the first described way with update/upgrade
didn't work on my pc.

Thank you all for solving the problem!
Michael


Problem with installation of spell checker.

2009-06-11 Thread johndb

I tried downloading the standard lyx for windows, LyX-1.6.3-1-Installer.exe.
But every time I try it I get an error that says The setup wizard of the
English spell checker dictionary was not completed. Do you want to run the
setup again? and I click yes so it runs again but the error comes up again
so it cannot not resolve that problem so I could skip it and install without
it.

 I know I have enough memory on my computer to fit it. Other than that the
installation runs fine, I can see it isn't essential, but I would still like
to have it.

Any ideas or is there an alternative way to download it from another source
alone?

Regards
-- 
View this message in context: 
http://n2.nabble.com/Problem-with-installation-of-spell-checker.-tp3061816p3061816.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: \bind C-k font-noun

2009-06-11 Thread Rich Shepard

On Thu, 11 Jun 2009, Ralf wrote:


did the trick - I assume the \bind C-k clashes with something else, well


Ralf,

  Look in the preferences-short cuts menu to see all the bindings. I've
found in the latest version that editing the bindings in the short cuts
widget works better than directly editing the bind file.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Shortened Citations in Lyx-Editor

2009-06-11 Thread Ralf
Small stuff:

when having citations to more than one source, the citations inside the Lyx
interface get shortened, for example (Natbib)

(e.g. Hanneson, 1992; West and Macnae, 199...

instead of the full citation:

(e.g. Hanneson, 1992; West and Macnae, 1991, p.31)

I would like to see the entire citation without always compiling 
(or clicking on it). 

Is this behaviour editable somewhere?

Cheers
-Ralf





Re: \bind C-k font-noun

2009-06-11 Thread Ralf
Rich Shepard rshep...@... writes:
[snip]
Look in the preferences-short cuts menu to see all the bindings. I've
 found in the latest version that editing the bindings in the short cuts
 widget works better than directly editing the bind file.

cheers mate! will do next time
-ralf






RE: Shortened Citations in Lyx-Editor

2009-06-11 Thread Vincent van Ravesteijn - TNW
 
Small stuff:

when having citations to more than one source, the citations
inside the Lyx interface get shortened, for example (Natbib)

(e.g. Hanneson, 1992; West and Macnae, 199...

instead of the full citation:

(e.g. Hanneson, 1992; West and Macnae, 1991, p.31)

I would like to see the entire citation without always compiling
(or clicking on it). 

You even get a tooltip by just holding your mouse over a citation (at
least in 1.6.3).

Is this behaviour editable somewhere?

No.

-Ralf

Vincent





Re: \enlargethispage{\baselineskip}

2009-06-11 Thread Guenter Milde
On 2009-06-11, Ralf wrote:
 Guenter Milde mi...@... writes:
 On 2009-06-10, Ralf wrote:

 How about creating this keybinding yourself?

 + Alright, probably worthwhile to get familiar with Macros sooner or
   later - but probably later for me, no time ...

I found an even longer example in my bind file:

# insert a centered graphic in a figure float:
\bind C-S-B command-sequence float-insert figure; break-paragraph; 
ert-insert; self-insert \centering ;inset-toggle;graphics-insert

which could be scaled down to your needs:

* Open WerkzeugeEinstellungenBearbeitenTastenkürzel

* Click on the button [Neu].

* Insert 

   command-sequence ert-insert; self-insert \enlargethispage{\baselineskip}
 
  as Funktion.
  
* Set a binding.

* [OK]

Günter



Re: Problem with installation of spell checker.

2009-06-11 Thread Uwe Stöhr

johndb schrieb:


I tried downloading the standard lyx for windows, LyX-1.6.3-1-Installer.exe.
But every time I try it I get an error that says The setup wizard of the
English spell checker dictionary was not completed.

Any ideas or is there an alternative way to download it from another source
alone?


Try to reinstall LyX using the alternative Windows installer.

regards Uwe


Re: Alternate installer not working

2009-06-11 Thread Phil


  I tried to use the altinstaller to update my
 installation from 1.6.1 to 1.6.2.
 
 The update installer can only update from subsequent
 versions. So to update from 1.6.1 to 1.6.2, you have to use
 the update installer for LyX 1.6.2. then in a second step
 you can use the update installer for LyX 1.6.3.


I see.  However, when I look in the binaries folder I don't see any other 
update installer except the alternate one. I must be missing something. 
 




  


Re: Alternate installer not working

2009-06-11 Thread Uwe Stöhr

Phil schrieb:


The update installer can only update from subsequent
versions. So to update from 1.6.1 to 1.6.2, you have to use
the update installer for LyX 1.6.2. then in a second step
you can use the update installer for LyX 1.6.3.


I see.  However, when I look in the binaries folder I don't see any other update installer except the alternate one. 

 I must be missing something.

I don't understand.
In ftp://ftp.lyx.org/pub/lyx/bin/1.6.3/ you find the update installer that updates from 1.6.2 to 
1.6.3, in ftp://ftp.lyx.org/pub/lyx/bin/1.6.2/ you find the update installer that updates from 1.6.1 
to 1.6.2 and so on.


regards Uwe


Re: Alternate installer not working

2009-06-11 Thread Phil

 
  The update installer can only update from
 subsequent
  versions. So to update from 1.6.1 to 1.6.2, you
 have to use
  the update installer for LyX 1.6.2. then in a
 second step
  you can use the update installer for LyX 1.6.3.
  
  I see.  However, when I look in the binaries
 folder I don't see any other update installer except the
 alternate one. 
  I must be missing something.
 
 I don't understand.
 In ftp://ftp.lyx.org/pub/lyx/bin/1.6.3/ you
 find the update installer that updates from 1.6.2 to 1.6.3,
 in ftp://ftp.lyx.org/pub/lyx/bin/1.6.2/ you
 find the update installer that updates from 1.6.1 to 1.6.2
 and so on.
 
Hi Uwe,  

I'm sorry...I'm just not seeing it.

I guess it is a little confusing because only one of the files there has 
update in the filename. Out of the two choices for the standard installer 
being

LyX-1.6.3-1-Installer-Bundle.exe
and
LyX-1.6.3-1-Installer.exe

which of these would be used for an update









Re: Shortened Citations in Lyx-Editor

2009-06-11 Thread Ralf
Vincent van Ravesteijn - TNW v.f.vanraveste...@... writes:
[snip]
 when having citations to more than one source, the citations
 inside the Lyx interface get shortened, for example (Natbib)
 

 You even get a tooltip by just holding your mouse over a citation (at
 least in 1.6.3).

well yes, the tooltip shows the entire reference, not the citation as you would
in the compiled document, isn't it? 

Cheers
-Ralf





Re: Alternate installer not working

2009-06-11 Thread Uwe Stöhr

Phil schrieb:

  I'm sorry...I'm just not seeing it.


I guess it is a little confusing because only one of the files there has update in the filename. 

 Out of the two choices for the standard installer being


LyX-1.6.3-1-Installer-Bundle.exe
and
LyX-1.6.3-1-Installer.exe

which of these would be used for an update


But I just wrote you:

 In ftp://ftp.lyx.org/pub/lyx/bin/1.6.3/ you
 find the update installer that updates from 1.6.2 to 1.6.3,
 in ftp://ftp.lyx.org/pub/lyx/bin/1.6.2/ you
 find the update installer that updates from 1.6.1 to 1.6.2
 and so on.

Why is that not clear? You are currently looking at
ftp://ftp.lyx.org/pub/lyx/bin/1.6.3
so you find there only installers for LyX 1.6.3 and the update installer that 
updates LyX 1.6.2 to 1.6.3

When you want to update LyX 1.6.1 to 1.6.3:
- LyX 1.6.1 must have been installed using the alternative LyX Windows installer
- apply the update installer that updates 1.6.1 to 1.6.2
 (that you find in ftp://ftp.lyx.org/pub/lyx/bin/1.6.2)
- apply the update installer that updates 1.6.2 to 1.6.3
 (that you find in ftp://ftp.lyx.org/pub/lyx/bin/1.6.3)


(Alternatively, you can of course uninstall LyX 1.6.1 and reinstall LyX using the small version of 
the alternative installer. When LyX 1.6.4 comes out you can then use the update installer.)


regards Uwe


Re: Alternate installer not working

2009-06-11 Thread Siegfried Meunier-Guttin-Cluzel

Hi Uwe,

I think the problem is that there isn't any updater for the normal 
installer

there isn't any Lyx-1.6.3-1-Installer-Update.exe

And, yes I think Lyx must have been installed with the alt installer to 
use the alt installer update.


Siegfried.



Re: \enlargethispage{\baselineskip}

2009-06-11 Thread Ralf
Guenter Milde mi...@... writes:
[snip]
 
command-sequence ert-insert; self-insert \enlargethispage{\baselineskip}


Right on Guenter - problem solved !

Cheers
-Ralf 






Re: Alternate installer not working

2009-06-11 Thread Uwe Stöhr

Siegfried Meunier-Guttin-Cluzel schrieb:

I think the problem is that there isn't any updater for the normal 
installer there isn't any Lyx-1.6.3-1-Installer-Update.exe


Yes this is the case, because you can install LyX 1.6.3 over LyX 1.6.2 when you are using the 
standard installer. I created the update installer because users requested this to save download 
time and size.


And, yes I think Lyx must have been installed with the alt installer to 
use the alt installer update.


This is correct as described in my announcements, this Wiki page: 
http://wiki.lyx.org/Windows/LyXWinInstaller

and the alternative installer info file at
ftp://ftp.lyx.org/pub/lyx/bin/1.6.3/
ftp://ftp.lyx.org/pub/lyx/bin/1.6.3/AltInstaller-README.txt

regards Uwe


Re: LyX crashes in Ubuntu 9.04

2009-06-11 Thread John McCabe-Dansted
2009/6/11 Michael Gasperl mich...@gasperl.at

 Package: *
 Pin: release a=jaunty
 in-Priority: 700

 Package: *
 Pin: release a=karmic
 Pin-Priority: 600

 Package: libqt4*
 Pin: release a=karmic
 Pin-Priority: 800

 Package: qt4*
 Pin: release a=karmic
 Pin-Priority: 800

 [perhaps it would work without preferences?]


Well the conventional wisdom would be that without the preferences file,
apt-get would try to upgrade all your files to a completely different (and
Alpha quality) version of Ubuntu. If you let apt-get do this, this would
probably break your system horribly... However, in this case it would
probably be safe to do with without the preferences file for two reasons:
1) The Ubuntu GUI Upgrade Managers would allow you to uncheck the unwanted
upgrades anyway.
2) We are removing the karmic sources afterwards anyway, so it would be
unlikely that Ubuntu would install these unwanted updates later.

I chose this way, because the first described way with update/upgrade
 didn't work on my pc.


I must have made a mistake, since it should work on any 9.04 Ubuntu system.
Oh well, your way seems more user friendly anyway.

-- 
John C. McCabe-Dansted
PhD Student
University of Western Australia


Re: Shortened Citations in Lyx-Editor

2009-06-11 Thread Richard Heck

Ralf wrote:

Vincent van Ravesteijn - TNW v.f.vanraveste...@... writes:
[snip]
  

when having citations to more than one source, the citations
inside the Lyx interface get shortened, for example (Natbib)

  


  

You even get a tooltip by just holding your mouse over a citation (at
least in 1.6.3).



well yes, the tooltip shows the entire reference, not the citation as you would
in the compiled document, isn't it? 

  
Yes, but showing the entire citation in the inset isn't practical. This 
is due to the fact that LyX cannot break these things across lines.


rh


Cheers
-Ralf


  




Sweave code full of escape codes when printed?

2009-06-11 Thread Graham Smith

I've started using Sweave and having a problem

The code in Lyx is

library (car)

cabbages$Year-recode(cabbages$Year,'X2001=2001;X2002=2002;X2003=2003; 
etc


But its appearing in the PDF as


 cabbages$Year - recode(cabbages$Year, 
\X2001\=\2001\;\X2002\=\2002\;\X2003\=\2003\;\ etc


And obviously isn't working as printing out incorrectly.

Can anyone suggest what is happening here.

Many thanks,

Graham



Re: Sweave code full of escape codes when printed?

2009-06-11 Thread Philippe Grosjean

1) Have you placed your code in an ERT (Tex code)?

2) Did you enclose it with the required tags for noweb (INSIDE de ERT), 
i.e.,


=
library (car)
cabbages$Year-recode(cabbages$Year,'X2001=2001;X2002=2002;X2003=2003;
etc
@

3) Did you run Sweave on the Noweb version produced?

Best,

Philippe Grosjean

Graham Smith wrote:

I've started using Sweave and having a problem

The code in Lyx is

library (car)

cabbages$Year-recode(cabbages$Year,'X2001=2001;X2002=2002;X2003=2003; 
etc


But its appearing in the PDF as


  cabbages$Year - recode(cabbages$Year, 
\X2001\=\2001\;\X2002\=\2002\;\X2003\=\2003\;\ etc


And obviously isn't working as printing out incorrectly.

Can anyone suggest what is happening here.

Many thanks,

Graham





Re: \enlargethispage{\baselineskip}

2009-06-11 Thread Guenter Milde
On 2009-06-10, Ralf wrote:
> Hi All,

> how often do we need the \enlargethispage{\baselineskip} ?
> Well, I use it quite a lot since I have a lot of large figures and sometimes I
> just need an extra line to keep it all together.

> Instead of typing the ERT each time, it would be fancy to have a button
> (and/or shortcut) that includes it ... how do you folks think?

I don't think this is widely used/needed by the general public.

How about creating this keybinding yourself?

It should be something like 
"command-sequence; ert-insert; insert \enlargethispage{\baselineskip}"

I do not remember the exact macro names now.

* Have a look at the LyX wiki for help with customizing bindings using
  "command-sequence".

* Try the command sequence in the minibuffer (Alt-x ...) first.

Alternatively, you could consider defining a special Style in a layout
module and select it via the Style drop-down list (or again a shortcut).

Make sure to document your solution, either in a follow up or (more
durable) in the LyX wiki at wiki.lyx.org.

Günter



RE: LyX crashes in Ubuntu 9.04

2009-06-11 Thread Vincent van Ravesteijn - TNW
 
>Hi! I have the following Problem:
>LyX 1.6.2 crashes regularily while i scroll down in a bigger document.
>This only happens if showing graphics is enabled. How can I solve this
>problem?
>Thank you very much!

There is a bug in qt4.5.0 that might crash LyX when you try to scale down a 
figure on screen to 50% and the figure has an odd number of lines.

Please upgrade to qt4.5.1, or change the 50% into e.g. 51%.

see also: http://www.lyx.org/trac/ticket/5957

Vincent




\bind "C-k" "font-noun"

2009-06-11 Thread Ralf
Okay,

tried to edit the cua.bind file and failed.

This I found 

#\bind "C-k"   "font-noun"

I got rid of the '#' and restarted Lyx,
hoping that a C-k would toggle a noun, but alas, it didn't ...

What magic is needed here to let a C-k toggle the noun ?

Cheers
-Ralf
p.s. Lyx1.6.3 on WinXP and c:\Program Files\LyX 1.6.3\Resources\bind\cua.bind



Re: Problem with LyxLauncher

2009-06-11 Thread Pavel Sanda
Ralf wrote:
> my situation is different, however, that error message looks familiar - I use
> PNG format and the error message occurs when changing the figure in an 
> external
> editor while Lyx is still open.
> 
> It does not bother me so much, since the pdf-output works just fine. And when
> re-opening Lyx the figures are there again. 

this is a longterm problem or something new in 1.6.3 ?
pavel


Re: \enlargethispage{\baselineskip}

2009-06-11 Thread Ralf
Guenter Milde  writes:
[snip]
> On 2009-06-10, Ralf wrote:
> > how often do we need the \enlargethispage{\baselineskip} ?

> I don't think this is widely used/needed by the general public.

+ yes, seems like it

> How about creating this keybinding yourself?

+ Alright, probably worthwhile to get familiar with Macros sooner or later - but
probably later for me, no time ...

> It should be something like 
> "command-sequence; ert-insert; insert \enlargethispage{\baselineskip}"
[snip]
> Make sure to document your solution, either in a follow up or (more
> durable) in the LyX wiki at wiki.lyx.org.

ok

Cheers
-Ralf






Re: \bind "C-k" "font-noun"

2009-06-11 Thread Ralf
Ralf  writes:
[snip]
> #\bind "C-k"   "font-noun"
> 
> I got rid of the '#' and restarted Lyx,
> hoping that a C-k would toggle a noun, but alas, it didn't ...
> 
> What magic is needed here to let a C-k toggle the noun ?

a simple spell worked: instead of 'k' I used 'j':

\bind "C-j"   "font-noun"

did the trick - I assume the \bind "C-k" clashes 
with something else, well ...

Cheers
-Ralf





Re: LyX crashes in Ubuntu 9.04

2009-06-11 Thread Michael Gasperl
2009/6/11 John McCabe-Dansted :
> 2009/6/11 Thomas Løcke 
>>
>> On Thu, Jun 11, 2009 at 6:25 AM, Michael Gasperl
>> wrote:
>> > Hi! I have the following Problem:
>> > LyX 1.6.2 crashes regularily while i scroll down in a bigger document.
>> > This only happens if showing graphics is enabled. How can I solve this
>> > problem?
>> > Thank you very much!
>>
>> This also happpened to me, on Slackware 12.1,
>>
>> I fixed it by updating my QT4 library from version 4.4.3 to version
>> 4.5.1, and then recompile LyX against that.
>
>   Heh, I upgraded my QT to QT4.5.1. Maybe thats  why I cannot reproduce.
>
>   I upgraded this way. (NOTE: this is not supported. If  you use this, be
> careful, and make backups)
>
>   first I did
>
> sudo aptitude update
> sudo aptitude upgrade
>
>   to make sure I was up-to-date
>
>   Then I added
>
> deb http://ftp.iinet.net.au/pub/ubuntu/ karmic main restricted universe
>
>   to /etc/apt/sources.list (you may want to replace the http:// bit with
> your local mirror)
>
>   added the following to /etc/apt/preferences
>
> Package: *
> Pin: release a=jaunty
> in-Priority: 700
>
> Package: *
> Pin: release a=karmic
> Pin-Priority: 600
>
> Package: libqt4*
> Pin: release a=karmic
> Pin-Priority: 800
>
> Package: qt4*
> Pin: release a=karmic
> Pin-Priority: 800
>
>   then I did
>
> sudo aptitude update
> sudo aptitude upgrade
>
>    IMPORTANT: make sure there are no packages without qt4 in
>    their name being upgraded. Otherwise you could hose your system.
>
>    Then I removed the
>
> deb http://ftp.iinet.net.au/pub/ubuntu/ karmic main restricted universe
>
>    Line from /etc/apt/sources.list
>
> --
> John C. McCabe-Dansted
> PhD Student
> University of Western Australia
>
==

Thank you very much for your afford!! I compiled LyX 1.6.3 as
described, worked well. But the error was still there, didn't change
anything. Then I upgraded to QT 4.5.1 --> this was the solution!

I upgraded QT4 in an other way. In Ubuntu I added
deb http://ftp.iinet.net.au/pub/ubuntu/ karmic main restricted universe
To synaptic / package sources

Then I created the file (sudo nautilus)
/etc/apt/preferences
and added the from John C. McCabe-Dansted described lines:

Package: *
Pin: release a=jaunty
in-Priority: 700

Package: *
Pin: release a=karmic
Pin-Priority: 600

Package: libqt4*
Pin: release a=karmic
Pin-Priority: 800

Package: qt4*
Pin: release a=karmic
Pin-Priority: 800

[perhaps it would work without preferences?]

Then went to synaptic and selected
libqt4-core
for updating, synaptic automatically selected the rest and made an update

Finally i deactivated the
deb http://ftp.iinet.net.au/pub/ubuntu/ karmic main restricted universe
from sources.

I chose this way, because the first described way with update/upgrade
didn't work on my pc.

Thank you all for solving the problem!
Michael


Problem with installation of spell checker.

2009-06-11 Thread johndb

I tried downloading the standard lyx for windows, LyX-1.6.3-1-Installer.exe.
But every time I try it I get an error that says "The setup wizard of the
English spell checker dictionary was not completed. Do you want to run the
setup again? and I click yes so it runs again but the error comes up again
so it cannot not resolve that problem so I could skip it and install without
it.

 I know I have enough memory on my computer to fit it. Other than that the
installation runs fine, I can see it isn't essential, but I would still like
to have it.

Any ideas or is there an alternative way to download it from another source
alone?

Regards
-- 
View this message in context: 
http://n2.nabble.com/Problem-with-installation-of-spell-checker.-tp3061816p3061816.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: \bind "C-k" "font-noun"

2009-06-11 Thread Rich Shepard

On Thu, 11 Jun 2009, Ralf wrote:


did the trick - I assume the \bind "C-k" clashes with something else, well


Ralf,

  Look in the preferences->short cuts menu to see all the bindings. I've
found in the latest version that editing the bindings in the short cuts
widget works better than directly editing the bind file.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Shortened Citations in Lyx-Editor

2009-06-11 Thread Ralf
Small stuff:

when having citations to more than one source, the citations inside the Lyx
interface get shortened, for example (Natbib)

(e.g. Hanneson, 1992; West and Macnae, 199...

instead of the full citation:

(e.g. Hanneson, 1992; West and Macnae, 1991, p.31)

I would like to see the entire citation without always compiling 
(or clicking on it). 

Is this behaviour editable somewhere?

Cheers
-Ralf





Re: \bind "C-k" "font-noun"

2009-06-11 Thread Ralf
Rich Shepard  writes:
[snip]
>Look in the preferences->short cuts menu to see all the bindings. I've
> found in the latest version that editing the bindings in the short cuts
> widget works better than directly editing the bind file.

cheers mate! will do next time
-ralf






RE: Shortened Citations in Lyx-Editor

2009-06-11 Thread Vincent van Ravesteijn - TNW
 
>Small stuff:
>
>when having citations to more than one source, the citations
>inside the Lyx interface get shortened, for example (Natbib)
>
>(e.g. Hanneson, 1992; West and Macnae, 199...
>
>instead of the full citation:
>
>(e.g. Hanneson, 1992; West and Macnae, 1991, p.31)
>
>I would like to see the entire citation without always compiling
>(or clicking on it). 

You even get a tooltip by just holding your mouse over a citation (at
least in 1.6.3).

>Is this behaviour editable somewhere?

No.

>-Ralf

Vincent





Re: \enlargethispage{\baselineskip}

2009-06-11 Thread Guenter Milde
On 2009-06-11, Ralf wrote:
> Guenter Milde  writes:
>> On 2009-06-10, Ralf wrote:

>> How about creating this keybinding yourself?

> + Alright, probably worthwhile to get familiar with Macros sooner or
>   later - but probably later for me, no time ...

I found an even longer example in my bind file:

# insert a centered graphic in a figure float:
\bind "C-S-B" "command-sequence float-insert figure; break-paragraph; 
ert-insert; self-insert \centering ;inset-toggle;graphics-insert"

which could be scaled down to your needs:

* Open Werkzeuge>Einstellungen>Bearbeiten>Tastenkürzel

* Click on the button [Neu].

* Insert 

   command-sequence ert-insert; self-insert \enlargethispage{\baselineskip}
 
  as "Funktion".
  
* Set a binding.

* [OK]

Günter



Re: Problem with installation of spell checker.

2009-06-11 Thread Uwe Stöhr

johndb schrieb:


I tried downloading the standard lyx for windows, LyX-1.6.3-1-Installer.exe.
But every time I try it I get an error that says "The setup wizard of the
English spell checker dictionary was not completed.

Any ideas or is there an alternative way to download it from another source
alone?


Try to reinstall LyX using the alternative Windows installer.

regards Uwe


Re: Alternate installer not working

2009-06-11 Thread Phil


> > I tried to use the altinstaller to update my
> installation from 1.6.1 to 1.6.2.
> 
> The update installer can only update from subsequent
> versions. So to update from 1.6.1 to 1.6.2, you have to use
> the update installer for LyX 1.6.2. then in a second step
> you can use the update installer for LyX 1.6.3.


I see.  However, when I look in the "binaries" folder I don't see any other 
"update" installer except the alternate one. I must be missing something. 
 




  


Re: Alternate installer not working

2009-06-11 Thread Uwe Stöhr

Phil schrieb:


The update installer can only update from subsequent
versions. So to update from 1.6.1 to 1.6.2, you have to use
the update installer for LyX 1.6.2. then in a second step
you can use the update installer for LyX 1.6.3.


I see.  However, when I look in the "binaries" folder I don't see any other "update" installer except the alternate one. 

> I must be missing something.

I don't understand.
In ftp://ftp.lyx.org/pub/lyx/bin/1.6.3/ you find the update installer that updates from 1.6.2 to 
1.6.3, in ftp://ftp.lyx.org/pub/lyx/bin/1.6.2/ you find the update installer that updates from 1.6.1 
to 1.6.2 and so on.


regards Uwe


Re: Alternate installer not working

2009-06-11 Thread Phil

 
> >> The update installer can only update from
> subsequent
> >> versions. So to update from 1.6.1 to 1.6.2, you
> have to use
> >> the update installer for LyX 1.6.2. then in a
> second step
> >> you can use the update installer for LyX 1.6.3.
> > 
> > I see.  However, when I look in the "binaries"
> folder I don't see any other "update" installer except the
> alternate one. 
> > I must be missing something.
> 
> I don't understand.
> In ftp://ftp.lyx.org/pub/lyx/bin/1.6.3/ you
> find the update installer that updates from 1.6.2 to 1.6.3,
> in ftp://ftp.lyx.org/pub/lyx/bin/1.6.2/ you
> find the update installer that updates from 1.6.1 to 1.6.2
> and so on.
> 
Hi Uwe,  

I'm sorry...I'm just not seeing it.

I guess it is a little confusing because only one of the files there has 
"update" in the filename. Out of the two choices for the standard installer 
being

LyX-1.6.3-1-Installer-Bundle.exe
and
LyX-1.6.3-1-Installer.exe

which of these would be used for an "update"









Re: Shortened Citations in Lyx-Editor

2009-06-11 Thread Ralf
Vincent van Ravesteijn - TNW  writes:
[snip]
> >when having citations to more than one source, the citations
> >inside the Lyx interface get shortened, for example (Natbib)
> >

> You even get a tooltip by just holding your mouse over a citation (at
> least in 1.6.3).

well yes, the tooltip shows the entire reference, not the citation as you would
in the compiled document, isn't it? 

Cheers
-Ralf





Re: Alternate installer not working

2009-06-11 Thread Uwe Stöhr

Phil schrieb:

 > I'm sorry...I'm just not seeing it.


I guess it is a little confusing because only one of the files there has "update" in the filename. 

> Out of the two choices for the standard installer being


LyX-1.6.3-1-Installer-Bundle.exe
and
LyX-1.6.3-1-Installer.exe

which of these would be used for an "update"


But I just wrote you:

>> In ftp://ftp.lyx.org/pub/lyx/bin/1.6.3/ you
>> find the update installer that updates from 1.6.2 to 1.6.3,
>> in ftp://ftp.lyx.org/pub/lyx/bin/1.6.2/ you
>> find the update installer that updates from 1.6.1 to 1.6.2
>> and so on.

Why is that not clear? You are currently looking at
ftp://ftp.lyx.org/pub/lyx/bin/1.6.3
so you find there only installers for LyX 1.6.3 and the update installer that 
updates LyX 1.6.2 to 1.6.3

When you want to update LyX 1.6.1 to 1.6.3:
- LyX 1.6.1 must have been installed using the alternative LyX Windows installer
- apply the update installer that updates 1.6.1 to 1.6.2
 (that you find in ftp://ftp.lyx.org/pub/lyx/bin/1.6.2)
- apply the update installer that updates 1.6.2 to 1.6.3
 (that you find in ftp://ftp.lyx.org/pub/lyx/bin/1.6.3)


(Alternatively, you can of course uninstall LyX 1.6.1 and reinstall LyX using the small version of 
the alternative installer. When LyX 1.6.4 comes out you can then use the update installer.)


regards Uwe


Re: Alternate installer not working

2009-06-11 Thread Siegfried Meunier-Guttin-Cluzel

Hi Uwe,

I think the problem is that there isn't any updater for the normal 
installer

there isn't any Lyx-1.6.3-1-Installer-Update.exe

And, yes I think Lyx must have been installed with the alt installer to 
use the alt installer update.


Siegfried.



Re: \enlargethispage{\baselineskip}

2009-06-11 Thread Ralf
Guenter Milde  writes:
[snip]
 
>command-sequence ert-insert; self-insert \enlargethispage{\baselineskip}


Right on Guenter - problem solved !

Cheers
-Ralf 






Re: Alternate installer not working

2009-06-11 Thread Uwe Stöhr

Siegfried Meunier-Guttin-Cluzel schrieb:

I think the problem is that there isn't any updater for the normal 
installer there isn't any Lyx-1.6.3-1-Installer-Update.exe


Yes this is the case, because you can install LyX 1.6.3 over LyX 1.6.2 when you are using the 
standard installer. I created the update installer because users requested this to save download 
time and size.


And, yes I think Lyx must have been installed with the alt installer to 
use the alt installer update.


This is correct as described in my announcements, this Wiki page: 
http://wiki.lyx.org/Windows/LyXWinInstaller

and the alternative installer info file at
ftp://ftp.lyx.org/pub/lyx/bin/1.6.3/
ftp://ftp.lyx.org/pub/lyx/bin/1.6.3/AltInstaller-README.txt

regards Uwe


Re: LyX crashes in Ubuntu 9.04

2009-06-11 Thread John McCabe-Dansted
2009/6/11 Michael Gasperl 

> Package: *
> Pin: release a=jaunty
> in-Priority: 700
>
> Package: *
> Pin: release a=karmic
> Pin-Priority: 600
>
> Package: libqt4*
> Pin: release a=karmic
> Pin-Priority: 800
>
> Package: qt4*
> Pin: release a=karmic
> Pin-Priority: 800
>
> [perhaps it would work without preferences?]


Well the conventional wisdom would be that without the preferences file,
apt-get would try to upgrade all your files to a completely different (and
Alpha quality) version of Ubuntu. If you let apt-get do this, this would
probably break your system horribly... However, in this case it would
probably be safe to do with without the preferences file for two reasons:
1) The Ubuntu GUI Upgrade Managers would allow you to uncheck the unwanted
upgrades anyway.
2) We are removing the karmic sources afterwards anyway, so it would be
unlikely that Ubuntu would install these unwanted updates later.

I chose this way, because the first described way with update/upgrade
> didn't work on my pc.


I must have made a mistake, since it should work on any 9.04 Ubuntu system.
Oh well, your way seems more user friendly anyway.

-- 
John C. McCabe-Dansted
PhD Student
University of Western Australia


Re: Shortened Citations in Lyx-Editor

2009-06-11 Thread Richard Heck

Ralf wrote:

Vincent van Ravesteijn - TNW  writes:
[snip]
  

when having citations to more than one source, the citations
inside the Lyx interface get shortened, for example (Natbib)

  


  

You even get a tooltip by just holding your mouse over a citation (at
least in 1.6.3).



well yes, the tooltip shows the entire reference, not the citation as you would
in the compiled document, isn't it? 

  
Yes, but showing the entire citation in the inset isn't practical. This 
is due to the fact that LyX cannot break these things across lines.


rh


Cheers
-Ralf


  




Sweave code full of escape codes when printed?

2009-06-11 Thread Graham Smith

I've started using Sweave and having a problem

The code in Lyx is

library (car)

cabbages$Year<-recode(cabbages$Year,'"X2001"="2001";"X2002"="2002";"X2003"="2003"; 
etc


But its appearing in the PDF as


> cabbages$Year <- recode(cabbages$Year, 
"\"X2001\"=\"2001\";\"X2002\"=\"2002\";\"X2003\"=\"2003\";\ etc


And obviously isn't working as printing out incorrectly.

Can anyone suggest what is happening here.

Many thanks,

Graham



Re: Sweave code full of escape codes when printed?

2009-06-11 Thread Philippe Grosjean

1) Have you placed your code in an ERT (Tex code)?

2) Did you enclose it with the required tags for noweb (INSIDE de ERT), 
i.e.,


<<>>=
library (car)
cabbages$Year<-recode(cabbages$Year,'"X2001"="2001";"X2002"="2002";"X2003"="2003";
etc
@

3) Did you run Sweave on the Noweb version produced?

Best,

Philippe Grosjean

Graham Smith wrote:

I've started using Sweave and having a problem

The code in Lyx is

library (car)

cabbages$Year<-recode(cabbages$Year,'"X2001"="2001";"X2002"="2002";"X2003"="2003"; 
etc


But its appearing in the PDF as


 > cabbages$Year <- recode(cabbages$Year, 
"\"X2001\"=\"2001\";\"X2002\"=\"2002\";\"X2003\"=\"2003\";\ etc


And obviously isn't working as printing out incorrectly.

Can anyone suggest what is happening here.

Many thanks,

Graham