Compatibility

2009-07-07 Thread Hellmut Weber

Hi LyX team,
by chance I found a LyX document nearly ten years old (generated by lyx 
1.0).

And it opened witout any problem with my actual lyx-1.6.2.

Another of the aspects of LyX I really do appreciate ;-)

Thanks for your work

Hellmut

--
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: Use instead of the fancy ones in pdf

2009-07-07 Thread Rainer M Krug
On Mon, Jul 6, 2009 at 9:57 PM, John McCabe-Danstedgma...@gmail.com wrote:
 On Mon, Jul 6, 2009 at 8:44 PM, Rainer M Krugr.m.k...@gmail.com wrote:
 Hi

 I use beamer to create a handout and would like to have the normal 
 instead of the fancy ones. The reason is that they are in computer
 code and it should be possible to copy-paste them.

 You can insert  as ERT (Ctrl-L ). However for computer code it is

Thanks for that - that is what I was looking for.

 common to import it verbatim
  Insert-File-Child Document-Include Type-Verbatim (or Program Listing)

 (see also
 http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html/ltx-79.html)

 This may look more appropriate for code, as well as solving the 

I tried that (or at least Program Listing environment), but it does
not work with beamer. In Addition, I have the commands in normal text,
so I resorted to make the commands bold and typewriter. I will use the
ERT.

 problem. Is this what you wanted?

I hoped, that there would be a global option which would keep the
inverted commas, but I can live with it.


Thanks a lot,

Rainer








-- 
Rainer M. Krug, Centre of Excellence for Invasion Biology,
Stellenbosch University, South Africa


How to wrap long non-dictionary words in table cell?

2009-07-07 Thread A B
Hi.
I'm having the problem of creating a table with three columns and each
column will contain a lot of text, so I've set the columns to be like
5 cm wide (each). The problem is now that some cells contains strings
of characters that are not properwords and these must be wrapped, else
you can't read anything.

There are many words in many cells so I don't want to add to many
manual breaks (CTRL+ENTER?) in the words since any change could mean I
have to do it all over again. Look at pdf and try to figure out where
to put the break.

What options are there? Isn't this like one of the major things LyX
should handle? I seem to remember there were an option to insert
hidden breaks in words where they can be wrapped (not sure what they
are called though).


Re: How to wrap long non-dictionary words in table cell?

2009-07-07 Thread Vincent van Ravesteijn

A B schreef:

Hi.
I'm having the problem of creating a table with three columns and each
column will contain a lot of text, so I've set the columns to be like
5 cm wide (each). The problem is now that some cells contains strings
of characters that are not properwords and these must be wrapped, else
you can't read anything.

There are many words in many cells so I don't want to add to many
manual breaks (CTRL+ENTER?) in the words since any change could mean I
have to do it all over again. Look at pdf and try to figure out where
to put the break.

What options are there? Isn't this like one of the major things LyX
should handle? I seem to remember there were an option to insert
hidden breaks in words where they can be wrapped (not sure what they
are called though).
  
It's called an hyphenation point. Insert-Formatting-Hyphenation 
Point, or Ctrl-minus.


Vincent



Re: Use instead of the fancy ones in pdf

2009-07-07 Thread Helge Hafting

Rainer M Krug wrote:


I hoped, that there would be a global option which would keep the
inverted commas, but I can live with it.


When I type  , I get guillemets because of language settings.
But if I hold down CTRL while typing , I get the plain 
ERT isn't really needed, I think.

Helge Hafting


Re: Page break in float

2009-07-07 Thread Helge Hafting

Michael Hill wrote:

Hi everyone!

I'm writing my PhD thesis in Lyx and it's great but I have one problem 
to which I couldn't find a solution (I've been trying for hours and 
would really appreciate some help):


I have some figures (in floats) that are quite large but don't fill a 
whole page. On their own everything's fine. However as soon as I add a 
long caption to such a figure (easily three quoters of a page, which is 
quite usual in biology) the float is too big for one page and just runs 
over the margin which is unusable. Basically, all I want is for Lyx to 
insert page breaks into long figure legends. If I can do this in a 
straight forward manner I'll be very happy. I did try the nonfloat 
package (http://wiki.lyx.org/Tips/PlacingFiguresAndProducingLegends) but 
it was a mess because it replaces all figures in a certain way, which I 
don't like and I'm not good enough at ERT to reconfigure all of 
nonfloats parameters back to the original Lyx ones (that's the reason 
I use Lyx and not clean LATEX). I really am happy with the whole rest of 
the float formatting, it's just the page break that I need! Please tell 
me that there's an easy way out without me risking my beautiful document 
layout and formatting!


It is possible to spread a figure over several pages, but there is no
way to break up a float. Floats exist precisely because some matter
is not supposed to be broken up. Instead, these large pieces float 
around so that it is possible to get nice page brekaing. If you typeset 
large pictures that doesn't float, then you get problems with page 
breaking instead. I.e. if there is plenty of room on a page but not 
enough for the picture, then the picture goes on the next page, and

the rest of the page becomes blank. So writers normally use floats.

Floats also have a nice system for captions, that too is tricky to
get without floats.

Ideas for solutions:
* Package dpfloat.sty might actually do what you want. It lets you
  spread floating material out over two facing pages, by using two
  floats. In your case, you put the figure (and no caption) in
  the first, and the caption alone in the next float.

  You may even have pictures in both floats. But this mechanism
  will not put a page break into a caption. You can achieve
  a similiar effect by entering normal text into one of
  the floats. You don't want to use captions in both, because then
  you get a figure number for each of them.

  See http://staff.washington.edu/fox/tex/dpfloat.shtml

  It might look good if you systematically have the figure on
  one page and the whole caption text on the other. At least if
  you print two-sided.

* Scale down the figure, and/or use a smaller font for caption text.
  This way the figure+caption can be made to fit in a single
  full-page float.

* You seem to have lot of information in the captions. You obviously
  need to have that information in your document, but does it have to be
  in the floating figure itself? Could it be in the text that refers to
  the figure, or alternatively in some appendix that lists all your
  figures and detail information about them?


Helge Hafting


Re: How to wrap long non-dictionary words in table cell?

2009-07-07 Thread A B
 It's called an hyphenation point. Insert-Formatting-Hyphenation Point,
 or Ctrl-minus.

Great. Although I have to add them manually.  So the two questions remains:
How to avoid doing that manually, and how can I not get the
hyphenation character (minus) at the end of the line?

Is manual adding of spaces in the long words the only option?


LyX 1.6.3 on Intel Mac consumes a lot of cpu

2009-07-07 Thread Alexander Barcza
Hi

I use LyX 1.6.3 (installed the mac version, so no fink or other port) on an
Intel Mac 10.5.7 and experience a rather high cup usage by LyX even when
it's doing nothing. I just have the LyX window open and watch 'top' next to
it. The cpu shoots up to 50% and more for LyX with it doing nothing.

There seemed to be a bug with a blinking cursor a while ago (LyX 1.4) and
I'm wondering whether this issue is related. Or is it me doing something
wrong?

Comments are welcome since this is quite a waste of resources.

Otherwise I became a real fan of lyx within the short time I've been using
it.

Thanks
Alex


Re: Use instead of the fancy ones in pdf

2009-07-07 Thread Rainer M Krug
On Tue, Jul 7, 2009 at 11:34 AM, Helge Haftinghelge.haft...@hist.no wrote:
 Rainer M Krug wrote:

 I hoped, that there would be a global option which would keep the
 inverted commas, but I can live with it.

 When I type  , I get guillemets because of language settings.
 But if I hold down CTRL while typing , I get the plain 
 ERT isn't really needed, I think.

Thanks a lot - that is very useful. I'll use that from now on.

Cheers

Rainer


 Helge Hafting





-- 
Rainer M. Krug, Centre of Excellence for Invasion Biology,
Stellenbosch University, South Africa


Re: LyX 1.6.3 on Intel Mac consumes a lot of cpu

2009-07-07 Thread Alexander Barcza
2009/7/7 BH bewih...@gmail.com

 On Tue, Jul 7, 2009 at 7:13 AM, Alexander Barczaab...@cam.ac.uk wrote:
  Hi
 
  I use LyX 1.6.3 (installed the mac version, so no fink or other port) on
 an
  Intel Mac 10.5.7 and experience a rather high cup usage by LyX even when
  it's doing nothing. I just have the LyX window open and watch 'top' next
 to
  it. The cpu shoots up to 50% and more for LyX with it doing nothing.
 
  There seemed to be a bug with a blinking cursor a while ago (LyX 1.4) and
  I'm wondering whether this issue is related. Or is it me doing something
  wrong?

 I agree that LyX uses more resources than it should on Mac -- but only
 when it's actively doing something. (Typing and opening files are the
 two big culprits as far as I can tell.) However, in my experience it
 does not use much when sitting idle. Are you sure it's LyX consuming
 CPU power in your case? -- Try running Activity Monitor.app
 (/Applications/Utilities/) to see what's responsible for the CPU usage
 in your case.



 BH


After closing a big file that was opened the cpu load dropped. Even when I
restarted LyX and opened the large file again the cpu stayed around 3% which
is totally acceptable. I haven't restarted the computer and LyX in a while
so maybe the whole issue was caused by that (don't ask me how). Sorry for
causing traffic for such a benign problem. In any case, thanks for the
reply!

Alex


Re: LyX 1.6.3 on Intel Mac consumes a lot of cpu

2009-07-07 Thread Jean-Marc Lasgouttes
Alexander Barcza ab...@cam.ac.uk writes:
 After closing a big file that was opened the cpu load dropped. Even when I
 restarted LyX and opened the large file again the cpu stayed around 3% which
 is totally acceptable. I haven't restarted the computer and LyX in a while
 so maybe the whole issue was caused by that (don't ask me how). Sorry for
 causing traffic for such a benign problem. In any case, thanks for the
 reply!

If you have access to a binary with debug information and to the
Shark.app profiler, it would be interesting to know what parts of LyX
are causing the cpu load.

JMarc


Re: How to wrap long non-dictionary words in table cell?

2009-07-07 Thread Wolfgang Engelmann
Am Tuesday 07 July 2009 12:13:35 schrieb A B:
  It's called an hyphenation point. Insert-Formatting-Hyphenation
  Point, or Ctrl-minus.

 Great. Although I have to add them manually.  So the two questions remains:
 How to avoid doing that manually, and how can I not get the
 hyphenation character (minus) at the end of the line?

 Is manual adding of spaces in the long words the only option?

\sloppy in the preamble
might help

there is another latex command which allows variation in the hyphenation (or 
suppresses it completely)  by using {a number} behind it but I forgot which 
one

Wolfgang


Re: LyX 1.6.3 on Intel Mac consumes a lot of cpu

2009-07-07 Thread Alexander Barcza
2009/7/7 Jean-Marc Lasgouttes lasgout...@lyx.org

 Alexander Barcza ab...@cam.ac.uk writes:
  After closing a big file that was opened the cpu load dropped. Even when
 I
  restarted LyX and opened the large file again the cpu stayed around 3%
 which
  is totally acceptable. I haven't restarted the computer and LyX in a
 while
  so maybe the whole issue was caused by that (don't ask me how). Sorry for
  causing traffic for such a benign problem. In any case, thanks for the
  reply!

 If you have access to a binary with debug information and to the
 Shark.app profiler, it would be interesting to know what parts of LyX
 are causing the cpu load.

 JMarc


I'd be pleased to help but not a developer. Shark.app is installed and if
you give me a quick description of what you are interested in I can run
Shark the next time this scenario repeats. I don't know when that will be
because as I said just reopening the file doesn't lead to the high cpu load.


Re: LyX 1.6.3 on Intel Mac consumes a lot of cpu

2009-07-07 Thread Jean-Marc Lasgouttes
Alexander Barcza ab...@cam.ac.uk writes:
 If you have access to a binary with debug information and to the
 Shark.app profiler, it would be interesting to know what parts of LyX
 are causing the cpu load.

 I'd be pleased to help but not a developer. Shark.app is installed and if
 you give me a quick description of what you are interested in I can run
 Shark the next time this scenario repeats. I don't know when that will be
 because as I said just reopening the file doesn't lead to the high cpu load.

It may be a bit complicated to explain if we do not know when it
happens.

Basically, you launch shark.app, click on 'start' (I am not sure when
the button name is, but there is only one :), and wait until it has
finished (30 seconds or something like that). Then it shows you a window
with the list of functions/methods where cpu time is spent. 

However, in practice it is a bit difficult to master, so the best you
can do is probably to try to understand what puts LyX in this situation.

JMarc


Keyboard Shortcuts: 1.6.3

2009-07-07 Thread Rich Shepard

  This question is about my installation of 1.6.3 on linux. Under
Tools-Preferences-Shortcuts-Documents and window, there is a key
'buffer-export' with the assigned value of 'Ctrl-X H'. That key combination
does nothing; the status line tells me it's been disabled. What I don't know
is what flavor of buffer export it is supposed to invoke. If I try to change
the valued from 'Ctrl-X H' to 'Ctrl-H' a message pops up telling me that
chord is already assigned to buffer-export.

  Under File-Export I can manually select pdflatex and that works as
intended.

  In ~/.lyx/bind/my.bind the 'buffer-export' value is assigned to the key
'Ctrl-H', but that does not work either. It moves the cursor a line above
the title, but that's it.

  I'd appreciate learning what to do to get ctrl-h to export the buffer
using pdflatex. Of course, learning why the icon bar handles don't let me
move them would also be appreciated.

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


Compatibility

2009-07-07 Thread Hellmut Weber

Hi LyX team,
by chance I found a LyX document nearly ten years old (generated by lyx 
1.0).

And it opened witout any problem with my actual lyx-1.6.2.

Another of the aspects of LyX I really do appreciate ;-)

Thanks for your work

Hellmut

--
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: Use instead of the fancy ones in pdf

2009-07-07 Thread Rainer M Krug
On Mon, Jul 6, 2009 at 9:57 PM, John McCabe-Danstedgma...@gmail.com wrote:
 On Mon, Jul 6, 2009 at 8:44 PM, Rainer M Krugr.m.k...@gmail.com wrote:
 Hi

 I use beamer to create a handout and would like to have the normal 
 instead of the fancy ones. The reason is that they are in computer
 code and it should be possible to copy-paste them.

 You can insert  as ERT (Ctrl-L ). However for computer code it is

Thanks for that - that is what I was looking for.

 common to import it verbatim
  Insert-File-Child Document-Include Type-Verbatim (or Program Listing)

 (see also
 http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html/ltx-79.html)

 This may look more appropriate for code, as well as solving the 

I tried that (or at least Program Listing environment), but it does
not work with beamer. In Addition, I have the commands in normal text,
so I resorted to make the commands bold and typewriter. I will use the
ERT.

 problem. Is this what you wanted?

I hoped, that there would be a global option which would keep the
inverted commas, but I can live with it.


Thanks a lot,

Rainer








-- 
Rainer M. Krug, Centre of Excellence for Invasion Biology,
Stellenbosch University, South Africa


How to wrap long non-dictionary words in table cell?

2009-07-07 Thread A B
Hi.
I'm having the problem of creating a table with three columns and each
column will contain a lot of text, so I've set the columns to be like
5 cm wide (each). The problem is now that some cells contains strings
of characters that are not properwords and these must be wrapped, else
you can't read anything.

There are many words in many cells so I don't want to add to many
manual breaks (CTRL+ENTER?) in the words since any change could mean I
have to do it all over again. Look at pdf and try to figure out where
to put the break.

What options are there? Isn't this like one of the major things LyX
should handle? I seem to remember there were an option to insert
hidden breaks in words where they can be wrapped (not sure what they
are called though).


Re: How to wrap long non-dictionary words in table cell?

2009-07-07 Thread Vincent van Ravesteijn

A B schreef:

Hi.
I'm having the problem of creating a table with three columns and each
column will contain a lot of text, so I've set the columns to be like
5 cm wide (each). The problem is now that some cells contains strings
of characters that are not properwords and these must be wrapped, else
you can't read anything.

There are many words in many cells so I don't want to add to many
manual breaks (CTRL+ENTER?) in the words since any change could mean I
have to do it all over again. Look at pdf and try to figure out where
to put the break.

What options are there? Isn't this like one of the major things LyX
should handle? I seem to remember there were an option to insert
hidden breaks in words where they can be wrapped (not sure what they
are called though).
  
It's called an hyphenation point. Insert-Formatting-Hyphenation 
Point, or Ctrl-minus.


Vincent



Re: Use instead of the fancy ones in pdf

2009-07-07 Thread Helge Hafting

Rainer M Krug wrote:


I hoped, that there would be a global option which would keep the
inverted commas, but I can live with it.


When I type  , I get guillemets because of language settings.
But if I hold down CTRL while typing , I get the plain 
ERT isn't really needed, I think.

Helge Hafting


Re: Page break in float

2009-07-07 Thread Helge Hafting

Michael Hill wrote:

Hi everyone!

I'm writing my PhD thesis in Lyx and it's great but I have one problem 
to which I couldn't find a solution (I've been trying for hours and 
would really appreciate some help):


I have some figures (in floats) that are quite large but don't fill a 
whole page. On their own everything's fine. However as soon as I add a 
long caption to such a figure (easily three quoters of a page, which is 
quite usual in biology) the float is too big for one page and just runs 
over the margin which is unusable. Basically, all I want is for Lyx to 
insert page breaks into long figure legends. If I can do this in a 
straight forward manner I'll be very happy. I did try the nonfloat 
package (http://wiki.lyx.org/Tips/PlacingFiguresAndProducingLegends) but 
it was a mess because it replaces all figures in a certain way, which I 
don't like and I'm not good enough at ERT to reconfigure all of 
nonfloats parameters back to the original Lyx ones (that's the reason 
I use Lyx and not clean LATEX). I really am happy with the whole rest of 
the float formatting, it's just the page break that I need! Please tell 
me that there's an easy way out without me risking my beautiful document 
layout and formatting!


It is possible to spread a figure over several pages, but there is no
way to break up a float. Floats exist precisely because some matter
is not supposed to be broken up. Instead, these large pieces float 
around so that it is possible to get nice page brekaing. If you typeset 
large pictures that doesn't float, then you get problems with page 
breaking instead. I.e. if there is plenty of room on a page but not 
enough for the picture, then the picture goes on the next page, and

the rest of the page becomes blank. So writers normally use floats.

Floats also have a nice system for captions, that too is tricky to
get without floats.

Ideas for solutions:
* Package dpfloat.sty might actually do what you want. It lets you
  spread floating material out over two facing pages, by using two
  floats. In your case, you put the figure (and no caption) in
  the first, and the caption alone in the next float.

  You may even have pictures in both floats. But this mechanism
  will not put a page break into a caption. You can achieve
  a similiar effect by entering normal text into one of
  the floats. You don't want to use captions in both, because then
  you get a figure number for each of them.

  See http://staff.washington.edu/fox/tex/dpfloat.shtml

  It might look good if you systematically have the figure on
  one page and the whole caption text on the other. At least if
  you print two-sided.

* Scale down the figure, and/or use a smaller font for caption text.
  This way the figure+caption can be made to fit in a single
  full-page float.

* You seem to have lot of information in the captions. You obviously
  need to have that information in your document, but does it have to be
  in the floating figure itself? Could it be in the text that refers to
  the figure, or alternatively in some appendix that lists all your
  figures and detail information about them?


Helge Hafting


Re: How to wrap long non-dictionary words in table cell?

2009-07-07 Thread A B
 It's called an hyphenation point. Insert-Formatting-Hyphenation Point,
 or Ctrl-minus.

Great. Although I have to add them manually.  So the two questions remains:
How to avoid doing that manually, and how can I not get the
hyphenation character (minus) at the end of the line?

Is manual adding of spaces in the long words the only option?


LyX 1.6.3 on Intel Mac consumes a lot of cpu

2009-07-07 Thread Alexander Barcza
Hi

I use LyX 1.6.3 (installed the mac version, so no fink or other port) on an
Intel Mac 10.5.7 and experience a rather high cup usage by LyX even when
it's doing nothing. I just have the LyX window open and watch 'top' next to
it. The cpu shoots up to 50% and more for LyX with it doing nothing.

There seemed to be a bug with a blinking cursor a while ago (LyX 1.4) and
I'm wondering whether this issue is related. Or is it me doing something
wrong?

Comments are welcome since this is quite a waste of resources.

Otherwise I became a real fan of lyx within the short time I've been using
it.

Thanks
Alex


Re: Use instead of the fancy ones in pdf

2009-07-07 Thread Rainer M Krug
On Tue, Jul 7, 2009 at 11:34 AM, Helge Haftinghelge.haft...@hist.no wrote:
 Rainer M Krug wrote:

 I hoped, that there would be a global option which would keep the
 inverted commas, but I can live with it.

 When I type  , I get guillemets because of language settings.
 But if I hold down CTRL while typing , I get the plain 
 ERT isn't really needed, I think.

Thanks a lot - that is very useful. I'll use that from now on.

Cheers

Rainer


 Helge Hafting





-- 
Rainer M. Krug, Centre of Excellence for Invasion Biology,
Stellenbosch University, South Africa


Re: LyX 1.6.3 on Intel Mac consumes a lot of cpu

2009-07-07 Thread Alexander Barcza
2009/7/7 BH bewih...@gmail.com

 On Tue, Jul 7, 2009 at 7:13 AM, Alexander Barczaab...@cam.ac.uk wrote:
  Hi
 
  I use LyX 1.6.3 (installed the mac version, so no fink or other port) on
 an
  Intel Mac 10.5.7 and experience a rather high cup usage by LyX even when
  it's doing nothing. I just have the LyX window open and watch 'top' next
 to
  it. The cpu shoots up to 50% and more for LyX with it doing nothing.
 
  There seemed to be a bug with a blinking cursor a while ago (LyX 1.4) and
  I'm wondering whether this issue is related. Or is it me doing something
  wrong?

 I agree that LyX uses more resources than it should on Mac -- but only
 when it's actively doing something. (Typing and opening files are the
 two big culprits as far as I can tell.) However, in my experience it
 does not use much when sitting idle. Are you sure it's LyX consuming
 CPU power in your case? -- Try running Activity Monitor.app
 (/Applications/Utilities/) to see what's responsible for the CPU usage
 in your case.



 BH


After closing a big file that was opened the cpu load dropped. Even when I
restarted LyX and opened the large file again the cpu stayed around 3% which
is totally acceptable. I haven't restarted the computer and LyX in a while
so maybe the whole issue was caused by that (don't ask me how). Sorry for
causing traffic for such a benign problem. In any case, thanks for the
reply!

Alex


Re: LyX 1.6.3 on Intel Mac consumes a lot of cpu

2009-07-07 Thread Jean-Marc Lasgouttes
Alexander Barcza ab...@cam.ac.uk writes:
 After closing a big file that was opened the cpu load dropped. Even when I
 restarted LyX and opened the large file again the cpu stayed around 3% which
 is totally acceptable. I haven't restarted the computer and LyX in a while
 so maybe the whole issue was caused by that (don't ask me how). Sorry for
 causing traffic for such a benign problem. In any case, thanks for the
 reply!

If you have access to a binary with debug information and to the
Shark.app profiler, it would be interesting to know what parts of LyX
are causing the cpu load.

JMarc


Re: How to wrap long non-dictionary words in table cell?

2009-07-07 Thread Wolfgang Engelmann
Am Tuesday 07 July 2009 12:13:35 schrieb A B:
  It's called an hyphenation point. Insert-Formatting-Hyphenation
  Point, or Ctrl-minus.

 Great. Although I have to add them manually.  So the two questions remains:
 How to avoid doing that manually, and how can I not get the
 hyphenation character (minus) at the end of the line?

 Is manual adding of spaces in the long words the only option?

\sloppy in the preamble
might help

there is another latex command which allows variation in the hyphenation (or 
suppresses it completely)  by using {a number} behind it but I forgot which 
one

Wolfgang


Re: LyX 1.6.3 on Intel Mac consumes a lot of cpu

2009-07-07 Thread Alexander Barcza
2009/7/7 Jean-Marc Lasgouttes lasgout...@lyx.org

 Alexander Barcza ab...@cam.ac.uk writes:
  After closing a big file that was opened the cpu load dropped. Even when
 I
  restarted LyX and opened the large file again the cpu stayed around 3%
 which
  is totally acceptable. I haven't restarted the computer and LyX in a
 while
  so maybe the whole issue was caused by that (don't ask me how). Sorry for
  causing traffic for such a benign problem. In any case, thanks for the
  reply!

 If you have access to a binary with debug information and to the
 Shark.app profiler, it would be interesting to know what parts of LyX
 are causing the cpu load.

 JMarc


I'd be pleased to help but not a developer. Shark.app is installed and if
you give me a quick description of what you are interested in I can run
Shark the next time this scenario repeats. I don't know when that will be
because as I said just reopening the file doesn't lead to the high cpu load.


Re: LyX 1.6.3 on Intel Mac consumes a lot of cpu

2009-07-07 Thread Jean-Marc Lasgouttes
Alexander Barcza ab...@cam.ac.uk writes:
 If you have access to a binary with debug information and to the
 Shark.app profiler, it would be interesting to know what parts of LyX
 are causing the cpu load.

 I'd be pleased to help but not a developer. Shark.app is installed and if
 you give me a quick description of what you are interested in I can run
 Shark the next time this scenario repeats. I don't know when that will be
 because as I said just reopening the file doesn't lead to the high cpu load.

It may be a bit complicated to explain if we do not know when it
happens.

Basically, you launch shark.app, click on 'start' (I am not sure when
the button name is, but there is only one :), and wait until it has
finished (30 seconds or something like that). Then it shows you a window
with the list of functions/methods where cpu time is spent. 

However, in practice it is a bit difficult to master, so the best you
can do is probably to try to understand what puts LyX in this situation.

JMarc


Keyboard Shortcuts: 1.6.3

2009-07-07 Thread Rich Shepard

  This question is about my installation of 1.6.3 on linux. Under
Tools-Preferences-Shortcuts-Documents and window, there is a key
'buffer-export' with the assigned value of 'Ctrl-X H'. That key combination
does nothing; the status line tells me it's been disabled. What I don't know
is what flavor of buffer export it is supposed to invoke. If I try to change
the valued from 'Ctrl-X H' to 'Ctrl-H' a message pops up telling me that
chord is already assigned to buffer-export.

  Under File-Export I can manually select pdflatex and that works as
intended.

  In ~/.lyx/bind/my.bind the 'buffer-export' value is assigned to the key
'Ctrl-H', but that does not work either. It moves the cursor a line above
the title, but that's it.

  I'd appreciate learning what to do to get ctrl-h to export the buffer
using pdflatex. Of course, learning why the icon bar handles don't let me
move them would also be appreciated.

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


Compatibility

2009-07-07 Thread Hellmut Weber

Hi LyX team,
by chance I found a LyX document nearly ten years old (generated by lyx 
1.0).

And it opened witout any problem with my actual lyx-1.6.2.

Another of the aspects of LyX I really do appreciate ;-)

Thanks for your work

Hellmut

--
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: Use " instead of the "fancy" ones in pdf

2009-07-07 Thread Rainer M Krug
On Mon, Jul 6, 2009 at 9:57 PM, John McCabe-Dansted wrote:
> On Mon, Jul 6, 2009 at 8:44 PM, Rainer M Krug wrote:
>> Hi
>>
>> I use beamer to create a handout and would like to have the normal "
>> instead of the fancy ones. The reason is that they are in computer
>> code and it should be possible to copy-paste them.
>
> You can insert " as ERT (Ctrl-L "). However for computer code it is

Thanks for that - that is what I was looking for.

> common to import it verbatim
>  Insert->File->Child Document->Include Type->Verbatim (or Program Listing)
>
> (see also
> http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html/ltx-79.html)
>
> This may look more appropriate for code, as well as solving the "

I tried that (or at least Program Listing environment), but it does
not work with beamer. In Addition, I have the commands in normal text,
so I resorted to make the commands bold and typewriter. I will use the
ERT".

> problem. Is this what you wanted?

I hoped, that there would be a global option which would keep the
inverted commas, but I can live with it.


Thanks a lot,

Rainer

>






-- 
Rainer M. Krug, Centre of Excellence for Invasion Biology,
Stellenbosch University, South Africa


How to wrap long non-dictionary words in table cell?

2009-07-07 Thread A B
Hi.
I'm having the problem of creating a table with three columns and each
column will contain a lot of text, so I've set the columns to be like
5 cm wide (each). The problem is now that some cells contains strings
of characters that are not properwords and these must be wrapped, else
you can't read anything.

There are many words in many cells so I don't want to add to many
manual breaks (CTRL+ENTER?) in the words since any change could mean I
have to do it all over again. Look at pdf and try to figure out where
to put the break.

What options are there? Isn't this like one of the major things LyX
should handle? I seem to remember there were an option to insert
hidden breaks in words where they can be wrapped (not sure what they
are called though).


Re: How to wrap long non-dictionary words in table cell?

2009-07-07 Thread Vincent van Ravesteijn

A B schreef:

Hi.
I'm having the problem of creating a table with three columns and each
column will contain a lot of text, so I've set the columns to be like
5 cm wide (each). The problem is now that some cells contains strings
of characters that are not properwords and these must be wrapped, else
you can't read anything.

There are many words in many cells so I don't want to add to many
manual breaks (CTRL+ENTER?) in the words since any change could mean I
have to do it all over again. Look at pdf and try to figure out where
to put the break.

What options are there? Isn't this like one of the major things LyX
should handle? I seem to remember there were an option to insert
hidden breaks in words where they can be wrapped (not sure what they
are called though).
  
It's called an "hyphenation point". Insert->Formatting->Hyphenation 
Point, or Ctrl-minus.


Vincent



Re: Use " instead of the "fancy" ones in pdf

2009-07-07 Thread Helge Hafting

Rainer M Krug wrote:


I hoped, that there would be a global option which would keep the
inverted commas, but I can live with it.


When I type " , I get guillemets because of language settings.
But if I hold down CTRL while typing ", I get the plain "
ERT isn't really needed, I think.

Helge Hafting


Re: Page break in float

2009-07-07 Thread Helge Hafting

Michael Hill wrote:

Hi everyone!

I'm writing my PhD thesis in Lyx and it's great but I have one problem 
to which I couldn't find a solution (I've been trying for hours and 
would really appreciate some help):


I have some figures (in floats) that are quite large but don't fill a 
whole page. On their own everything's fine. However as soon as I add a 
long caption to such a figure (easily three quoters of a page, which is 
quite usual in biology) the float is too big for one page and just runs 
over the margin which is unusable. Basically, all I want is for Lyx to 
insert page breaks into long figure legends. If I can do this in a 
straight forward manner I'll be very happy. I did try the "nonfloat" 
package (http://wiki.lyx.org/Tips/PlacingFiguresAndProducingLegends) but 
it was a mess because it replaces all figures in a certain way, which I 
don't like and I'm not good enough at ERT to reconfigure all of 
"nonfloats" parameters back to the original Lyx ones (that's the reason 
I use Lyx and not clean LATEX). I really am happy with the whole rest of 
the float formatting, it's just the page break that I need! Please tell 
me that there's an easy way out without me risking my beautiful document 
layout and formatting!


It is possible to spread a figure over several pages, but there is no
way to break up a float. Floats exist precisely because some matter
is not supposed to be broken up. Instead, these large pieces float 
around so that it is possible to get nice page brekaing. If you typeset 
large pictures that doesn't float, then you get problems with page 
breaking instead. I.e. if there is plenty of room on a page but not 
enough for the picture, then the picture goes on the next page, and

the rest of the page becomes blank. So writers normally use floats.

Floats also have a nice system for captions, that too is tricky to
get without floats.

Ideas for solutions:
* Package "dpfloat.sty" might actually do what you want. It lets you
  spread floating material out over two facing pages, by using two
  floats. In your case, you put the figure (and no caption) in
  the first, and the caption alone in the next float.

  You may even have pictures in both floats. But this mechanism
  will not put a page break into a caption. You can achieve
  a similiar effect by entering normal text into one of
  the floats. You don't want to use captions in both, because then
  you get a figure number for each of them.

  See http://staff.washington.edu/fox/tex/dpfloat.shtml

  It might look good if you systematically have the figure on
  one page and the whole caption text on the other. At least if
  you print two-sided.

* Scale down the figure, and/or use a smaller font for caption text.
  This way the figure+caption can be made to fit in a single
  full-page float.

* You seem to have lot of information in the captions. You obviously
  need to have that information in your document, but does it have to be
  in the floating figure itself? Could it be in the text that refers to
  the figure, or alternatively in some appendix that lists all your
  figures and detail information about them?


Helge Hafting


Re: How to wrap long non-dictionary words in table cell?

2009-07-07 Thread A B
> It's called an "hyphenation point". Insert->Formatting->Hyphenation Point,
> or Ctrl-minus.

Great. Although I have to add them manually.  So the two questions remains:
How to avoid doing that manually, and how can I not get the
hyphenation character (minus) at the end of the line?

Is manual adding of spaces in the long words the only option?


LyX 1.6.3 on Intel Mac consumes a lot of cpu

2009-07-07 Thread Alexander Barcza
Hi

I use LyX 1.6.3 (installed the mac version, so no fink or other port) on an
Intel Mac 10.5.7 and experience a rather high cup usage by LyX even when
it's doing nothing. I just have the LyX window open and watch 'top' next to
it. The cpu shoots up to 50% and more for LyX with it doing nothing.

There seemed to be a bug with a blinking cursor a while ago (LyX 1.4) and
I'm wondering whether this issue is related. Or is it me doing something
wrong?

Comments are welcome since this is quite a waste of resources.

Otherwise I became a real fan of lyx within the short time I've been using
it.

Thanks
Alex


Re: Use " instead of the "fancy" ones in pdf

2009-07-07 Thread Rainer M Krug
On Tue, Jul 7, 2009 at 11:34 AM, Helge Hafting wrote:
> Rainer M Krug wrote:
>
>> I hoped, that there would be a global option which would keep the
>> inverted commas, but I can live with it.
>
> When I type " , I get guillemets because of language settings.
> But if I hold down CTRL while typing ", I get the plain "
> ERT isn't really needed, I think.

Thanks a lot - that is very useful. I'll use that from now on.

Cheers

Rainer

>
> Helge Hafting
>




-- 
Rainer M. Krug, Centre of Excellence for Invasion Biology,
Stellenbosch University, South Africa


Re: LyX 1.6.3 on Intel Mac consumes a lot of cpu

2009-07-07 Thread Alexander Barcza
2009/7/7 BH 

> On Tue, Jul 7, 2009 at 7:13 AM, Alexander Barcza wrote:
> > Hi
> >
> > I use LyX 1.6.3 (installed the mac version, so no fink or other port) on
> an
> > Intel Mac 10.5.7 and experience a rather high cup usage by LyX even when
> > it's doing nothing. I just have the LyX window open and watch 'top' next
> to
> > it. The cpu shoots up to 50% and more for LyX with it doing nothing.
> >
> > There seemed to be a bug with a blinking cursor a while ago (LyX 1.4) and
> > I'm wondering whether this issue is related. Or is it me doing something
> > wrong?
>
> I agree that LyX uses more resources than it should on Mac -- but only
> when it's actively doing something. (Typing and opening files are the
> two big culprits as far as I can tell.) However, in my experience it
> does not use much when sitting idle. Are you sure it's LyX consuming
> CPU power in your case? -- Try running Activity Monitor.app
> (/Applications/Utilities/) to see what's responsible for the CPU usage
> in your case.


>
> BH
>

After closing a big file that was opened the cpu load dropped. Even when I
restarted LyX and opened the large file again the cpu stayed around 3% which
is totally acceptable. I haven't restarted the computer and LyX in a while
so maybe the whole issue was caused by that (don't ask me how). Sorry for
causing traffic for such a benign problem. In any case, thanks for the
reply!

Alex


Re: LyX 1.6.3 on Intel Mac consumes a lot of cpu

2009-07-07 Thread Jean-Marc Lasgouttes
Alexander Barcza  writes:
> After closing a big file that was opened the cpu load dropped. Even when I
> restarted LyX and opened the large file again the cpu stayed around 3% which
> is totally acceptable. I haven't restarted the computer and LyX in a while
> so maybe the whole issue was caused by that (don't ask me how). Sorry for
> causing traffic for such a benign problem. In any case, thanks for the
> reply!

If you have access to a binary with debug information and to the
Shark.app profiler, it would be interesting to know what parts of LyX
are causing the cpu load.

JMarc


Re: How to wrap long non-dictionary words in table cell?

2009-07-07 Thread Wolfgang Engelmann
Am Tuesday 07 July 2009 12:13:35 schrieb A B:
> > It's called an "hyphenation point". Insert->Formatting->Hyphenation
> > Point, or Ctrl-minus.
>
> Great. Although I have to add them manually.  So the two questions remains:
> How to avoid doing that manually, and how can I not get the
> hyphenation character (minus) at the end of the line?
>
> Is manual adding of spaces in the long words the only option?

\sloppy in the preamble
might help

there is another latex command which allows variation in the hyphenation (or 
suppresses it completely)  by using {a number} behind it but I forgot which 
one

Wolfgang


Re: LyX 1.6.3 on Intel Mac consumes a lot of cpu

2009-07-07 Thread Alexander Barcza
2009/7/7 Jean-Marc Lasgouttes 

> Alexander Barcza  writes:
> > After closing a big file that was opened the cpu load dropped. Even when
> I
> > restarted LyX and opened the large file again the cpu stayed around 3%
> which
> > is totally acceptable. I haven't restarted the computer and LyX in a
> while
> > so maybe the whole issue was caused by that (don't ask me how). Sorry for
> > causing traffic for such a benign problem. In any case, thanks for the
> > reply!
>
> If you have access to a binary with debug information and to the
> Shark.app profiler, it would be interesting to know what parts of LyX
> are causing the cpu load.
>
> JMarc
>

I'd be pleased to help but not a developer. Shark.app is installed and if
you give me a quick description of what you are interested in I can run
Shark the next time this scenario repeats. I don't know when that will be
because as I said just reopening the file doesn't lead to the high cpu load.


Re: LyX 1.6.3 on Intel Mac consumes a lot of cpu

2009-07-07 Thread Jean-Marc Lasgouttes
Alexander Barcza  writes:
>> If you have access to a binary with debug information and to the
>> Shark.app profiler, it would be interesting to know what parts of LyX
>> are causing the cpu load.

> I'd be pleased to help but not a developer. Shark.app is installed and if
> you give me a quick description of what you are interested in I can run
> Shark the next time this scenario repeats. I don't know when that will be
> because as I said just reopening the file doesn't lead to the high cpu load.

It may be a bit complicated to explain if we do not know when it
happens.

Basically, you launch shark.app, click on 'start' (I am not sure when
the button name is, but there is only one :), and wait until it has
finished (30 seconds or something like that). Then it shows you a window
with the list of functions/methods where cpu time is spent. 

However, in practice it is a bit difficult to master, so the best you
can do is probably to try to understand what puts LyX in this situation.

JMarc


Keyboard Shortcuts: 1.6.3

2009-07-07 Thread Rich Shepard

  This question is about my installation of 1.6.3 on linux. Under
Tools->Preferences->Shortcuts->Documents and window, there is a key
'buffer-export' with the assigned value of 'Ctrl-X H'. That key combination
does nothing; the status line tells me it's been disabled. What I don't know
is what flavor of buffer export it is supposed to invoke. If I try to change
the valued from 'Ctrl-X H' to 'Ctrl-H' a message pops up telling me that
chord is already assigned to buffer-export.

  Under File->Export I can manually select pdflatex and that works as
intended.

  In ~/.lyx/bind/my.bind the 'buffer-export' value is assigned to the key
'Ctrl-H', but that does not work either. It moves the cursor a line above
the title, but that's it.

  I'd appreciate learning what to do to get ctrl-h to export the buffer
using pdflatex. Of course, learning why the icon bar handles don't let me
move them would also be appreciated.

Rich

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