several problems

2010-08-27 Thread Wolfgang Engelmann

Dear list members,

I encountered several problems. Perhaps you could help me.

First of all, I am not receiving any mail from the 
LyX Users List lyx-users@lists.lyx.org
since a few days. So if this mail comes through, and I am not receiving an 
answer until lets say August 28 12 CET I assume there is something wrong with 
the mail from the list to my address. I am adding a copy of this mail being 
sent to my address, so this issue should be solved. 

Secondly,
I added yesterday a xfig created figure to my (koma-script) book and got a 
crash in lyx. Error message is

lyx QWidget::repaint: Recursive repaint detected
lyx: SIGSEGV signal caught!
Sorry, you have found a bug in LyX, hope you have not lost any data.
Please read the bug-reporting instructions in 'Help-Introduction' and send us 
a bug report, if necessary. Thanks !
Bye.  

and if I start with 
lyx -dbg graphics

QPaintEngine::setSystemClip: Should not be changed while engine is active
QPaintEngine::setSystemClip: Should not be changed while engine is active
QWidgetPrivate::beginSharedPainter: Painter is already active

The problem is, that I told lyx to start with the last document opened (just 
for lazyness; was not a good idea in hindsight), therefore I am not able to 
do anything with it.

What I could try to do is open the lyx document with a texteditor and take the 
(probably) offending figure out, hoping that it will work afterward. But 
perhaps somebody has a better idea.

I have checked for the error in the internet, but the related messages are 
outdated and do not seem to be related to my case (except that qt is 
involved)

I am using Debian sid under Linux, Lyx svn 2.0

Thanks for your attention

Wolfgang


Re: I can´t run lyx 2.0

2010-08-27 Thread Marcelo Acuña
  Hello,
     I upgrade my computer to amd 64
 bit
  processor, and re installed linux with amd64
 version and
  installed last qt, 4.6.3.
     I compiled lyx 1.6.7 and it run
  without problem.
     But lyx 2.0 alpha 4 and alpha 5
 not
  run.
     I get:
  lyx-2.0a5: error while loading shared
 libraries:
  libQtGui.so.4:
  cannot open shared object file: No such file
 or
  directory
  What I make bad?
  How I can correct the problem?
    The file: libQtGui.so.4, is present
 in my hard disc.
    I have not problem with lyx 1.6.7.
    I think that I have a PATH not
 defined, but I don´t know which path because 1.6.7 compile
 and 2.0 alpha 5 compile without problem.

 What distro linux you have ?. I am test all alpha version
 and compile 
 without problem. Also I  test with lyx-devel and
 update with git svn 
 without problem, in Mandriva distro.
 
 Miguel

 Debian Lenny, with i386 and version I have not problem and I can compile and 
run all alpha version.
 The problem appears now, with debian lenny amd64 and new qt 4.6.3, but this qt 
not came with lenny. I download, compile and install.
 With lyx 1.6.7 I have not problem.
 May be a path?
Marcelo





PDF

2010-08-27 Thread Manfred Unterweger

Hi!

Im writing my master thesis with lyx and whenever i added a pic, lyx  
converted the format (mostly bmp) and i had no problem to create a  
pdf. I cant do that anymore and i always get an error (see attachment).


I used to get other error msgs but when i try to fix the converter,  
the msg in the attechment somes up all the time.

What do i need to do to create a pdf again?!
Please help me!

Thank you so much!
Manfred Unterweger



Re: I can´t run lyx 2.0

2010-08-27 Thread icebna

 El 26/08/10 18:03, Marcelo Acuña escribió:

Hello,
   I upgrade my computer to amd 64 bit

processor, and re installed linux with amd64 version and
installed last qt, 4.6.3.

   I compiled lyx 1.6.7 and it run

without problem.

   But lyx 2.0 alpha 4 and alpha 5 not

run.

   I get:
lyx-2.0a5: error while loading shared libraries:

libQtGui.so.4:

cannot open shared object file: No such file or

directory

What I make bad?
How I can correct the problem?

   Test installing qt4-devel in
your machine.

Regards

Miguel

  The file: libQtGui.so.4, is present in my hard disc.
  I have not problem with lyx 1.6.7.
  I think that I have a PATH not defined, but I don´t know which path because 
1.6.7 compile and 2.0 alpha 5 compile without problem.

Marcelo

What distro linux you have ?. I am test all alpha version and compile 
without problem. Also I  test with lyx-devel and update with git svn 
without problem, in Mandriva distro.


Miguel









Re: I can´t run lyx 2.0

2010-08-27 Thread Pavel Sanda
Marcelo Acu?a wrote:
 Hello,
  I upgrade my computer to amd 64 bit processor, and re installed linux with 
 amd64 version and installed last qt, 4.6.3.
  I compiled lyx 1.6.7 and it run without problem.
  But lyx 2.0 alpha 4 and alpha 5 not run.
  I get:
 lyx-2.0a5: error while loading shared libraries: libQtGui.so.4: 
 cannot open shared object file: No such file or directory 
 What I make bad?

first of all try to recompile them and report back (the correct qt library was 
not found).

pavel


Re: several problems

2010-08-27 Thread Sandro Portmann
Hi Wolfgang

Your mail came through. So the problems seems to be solved.

Regards

Sandro

Am 26.08.2010 um 10:14 schrieb Wolfgang Engelmann:

 
 Dear list members,
 
 I encountered several problems. Perhaps you could help me.
 
 First of all, I am not receiving any mail from the 
 LyX Users List lyx-users@lists.lyx.org
 since a few days. So if this mail comes through, and I am not receiving an 
 answer until lets say August 28 12 CET I assume there is something wrong with 
 the mail from the list to my address. I am adding a copy of this mail being 
 sent to my address, so this issue should be solved. 
 
 Secondly,
 I added yesterday a xfig created figure to my (koma-script) book and got a 
 crash in lyx. Error message is
 
 lyx QWidget::repaint: Recursive repaint detected
 lyx: SIGSEGV signal caught!
 Sorry, you have found a bug in LyX, hope you have not lost any data.
 Please read the bug-reporting instructions in 'Help-Introduction' and send 
 us 
 a bug report, if necessary. Thanks !
 Bye.  
 
 and if I start with 
 lyx -dbg graphics
 
 QPaintEngine::setSystemClip: Should not be changed while engine is active
 QPaintEngine::setSystemClip: Should not be changed while engine is active
 QWidgetPrivate::beginSharedPainter: Painter is already active
 
 The problem is, that I told lyx to start with the last document opened (just 
 for lazyness; was not a good idea in hindsight), therefore I am not able to 
 do anything with it.
 
 What I could try to do is open the lyx document with a texteditor and take 
 the 
 (probably) offending figure out, hoping that it will work afterward. But 
 perhaps somebody has a better idea.
 
 I have checked for the error in the internet, but the related messages are 
 outdated and do not seem to be related to my case (except that qt is 
 involved)
 
 I am using Debian sid under Linux, Lyx svn 2.0
 
 Thanks for your attention
 
 Wolfgang



problems with section spacing and getting unstarred sections into toc

2010-08-27 Thread Bok Young Hoon
Hi everyone:
I am just trying to finish putting the chapters of my thesis together and
seem to be running into some problems:

1. the spacing between sections seem to be inconsistent (there would be
large (vertical) spaces between some sections (or in this case subsections)
and very small spaces between others) - is there anything I can do about
this?

2. does anyone know how I can get unstarred sections to appear in the table
of contents?

Thanks in advance for all your help with this.


Re: PDF

2010-08-27 Thread Uwe Stöhr

Am 27.08.2010 08:49, schrieb Manfred Unterweger:


Im writing my master thesis with lyx and whenever i added a pic, lyx converted 
the format (mostly
bmp) and i had no problem to create a pdf. I cant do that anymore and i always 
get an error (see
attachment).


This seems to be independent of the images in your document. If you send me a (if possible _small_) 
version of your file by private mail, I will have a look.


regards Uwe


test

2010-08-27 Thread Wolfgang Engelmann
sorry, just a test, since I am not receiving mail from the list anymore

Wolfgang


Noweb Sweave question: Need help to copy folder from lyx temp back to current document directory.

2010-08-27 Thread Paul Johnson
In Sweave, we process a noweb document first through R to generate the
tex file, and then the usual processing occurs.

Because not all LyX/LaTeX systems have the noweb setup, it is
necessary for me to develop my document with Sweave/Lyx, and then save
the generated files (in a folder plots) and use them in the final
document without invoking Sweave.  I do this with LyX branches. I have
a branch for the Sweave commands that generates the files in plots,
and then I have \includegraphics{} or \input{} as needed.

It mostly works fine, there is just a wrinkle that bothers me. So far,
I have just used brute force to copy the whole plots folder from the
working directory back to the document root with a command inside the
document itself.

copyover, fig=F, echo=T, include=T=
system(rsync -ra plots /home/pauljohn/ps/ps707/Workbook/Workbook-plot)
@

That is OK, except I have to hardcode the document directory.  And
no matter what I do, it seems like I have to process the document
through latex twice. The first time I run the process in LyX, it runs
the document through R Sweave and it makes the plots, but when the
pdflatex run happens,


LaTeX Error: Cannot determine size of grpahic in plots/plot-gss.pdf

After that, I check the plots folder in the document directory and the
files are copied over.  But they are not there fast enough to make
pdflatex happy? Really?

I was thinking there must be some work around in LyX config.  It the
LyX documents, I find info on converters and copiers and  $$p or  $$r.

The converter in .lyx/preferences, I have converters like so:

#
# CONVERTERS SECTION ##
#

\converter literate latex R CMD Sweave $$i 
\converter literate pdflatex R CMD Sweave $$i 
\converter literate r R CMD Stangle $$i 
##

Put the copy on the end of the converter:

\converter literate pdflatex R CMD Sweave $$i  cp -R plots $$r 

I believe it SHOULD work. The plot folder DOES get copied over.
However,  still not fast enough. I still see LaTeX errors:

LaTeX Error: Cannot determine size of graphic in plots/plot-gss.pdf

If I run everything through again, then the document goes get created.

But this is bad because the whole project has to be run through the R
Sweave process two times.

What do you think?

If you tell me how to fix this, I will feel happy.  In return, I will
show you the LyX file that uses Frank Harrell's Sweavel.sty (Sweave
using the listings class), which is nicer looking:

http://pj.freefaculty.org/latex/sweavel-01.pdf

pj


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


how to add a caption to a Box inset?

2010-08-27 Thread Justin Wood
Hi all. I've had a look around but can't seem to find an answer to this
one... I want to create a regular ole framed box (you know, as a
self-contained area for 'aside' or 'extra info' type content), but I can't
figure out how to give it a useful automatic identifier. As in, following
the same naming format that Figure captions do: Box 1, or Box 1.1, etc, and
have this displayed in the top part of the box somewhere.

I've just used Insert — Box (as minipage). If I attempt to insert a
caption, LyX warns me that would be 'Senseless!!!', and doesn't generate
anything other than the caption text (no numbering). I tried wrapping the
box in a float, which then allowed me to insert a caption, but this of
course is treated as a *Figure*, which is not what I'm after (and would mess
up the numbering for any subsequent real figures).

Any help much appreciated!

Running LyX 1.6.7 with TeXLive 2009 on OS X 10.6.4 x64.
~:Justin Wood:~
PhD candidate, *Energy  Engineering school*, Murdoch
Universityhttp://www.murdoch.edu.au/


latex source with line breaks

2010-08-27 Thread Jannick Asmus

Hi,

copying the latex text from the source window provides the text, but
with a lot of line breaks. I suspect to make the view in the source
window more readable.

But how can I get rid of the line breaks when the text goes into another
editor?

Thanks for your replies!
/J. 





several problems

2010-08-27 Thread Wolfgang Engelmann

Dear list members,

I encountered several problems. Perhaps you could help me.

First of all, I am not receiving any mail from the 
LyX Users List lyx-users@lists.lyx.org
since a few days. So if this mail comes through, and I am not receiving an 
answer until lets say August 28 12 CET I assume there is something wrong with 
the mail from the list to my address. I am adding a copy of this mail being 
sent to my address, so this issue should be solved. 

Secondly,
I added yesterday a xfig created figure to my (koma-script) book and got a 
crash in lyx. Error message is

lyx QWidget::repaint: Recursive repaint detected
lyx: SIGSEGV signal caught!
Sorry, you have found a bug in LyX, hope you have not lost any data.
Please read the bug-reporting instructions in 'Help-Introduction' and send us 
a bug report, if necessary. Thanks !
Bye.  

and if I start with 
lyx -dbg graphics

QPaintEngine::setSystemClip: Should not be changed while engine is active
QPaintEngine::setSystemClip: Should not be changed while engine is active
QWidgetPrivate::beginSharedPainter: Painter is already active

The problem is, that I told lyx to start with the last document opened (just 
for lazyness; was not a good idea in hindsight), therefore I am not able to 
do anything with it.

What I could try to do is open the lyx document with a texteditor and take the 
(probably) offending figure out, hoping that it will work afterward. But 
perhaps somebody has a better idea.

I have checked for the error in the internet, but the related messages are 
outdated and do not seem to be related to my case (except that qt is 
involved)

I am using Debian sid under Linux, Lyx svn 2.0

Thanks for your attention

Wolfgang


Re: I can´t run lyx 2.0

2010-08-27 Thread Marcelo Acuña
  Hello,
     I upgrade my computer to amd 64
 bit
  processor, and re installed linux with amd64
 version and
  installed last qt, 4.6.3.
     I compiled lyx 1.6.7 and it run
  without problem.
     But lyx 2.0 alpha 4 and alpha 5
 not
  run.
     I get:
  lyx-2.0a5: error while loading shared
 libraries:
  libQtGui.so.4:
  cannot open shared object file: No such file
 or
  directory
  What I make bad?
  How I can correct the problem?
    The file: libQtGui.so.4, is present
 in my hard disc.
    I have not problem with lyx 1.6.7.
    I think that I have a PATH not
 defined, but I don´t know which path because 1.6.7 compile
 and 2.0 alpha 5 compile without problem.

 What distro linux you have ?. I am test all alpha version
 and compile 
 without problem. Also I  test with lyx-devel and
 update with git svn 
 without problem, in Mandriva distro.
 
 Miguel

 Debian Lenny, with i386 and version I have not problem and I can compile and 
run all alpha version.
 The problem appears now, with debian lenny amd64 and new qt 4.6.3, but this qt 
not came with lenny. I download, compile and install.
 With lyx 1.6.7 I have not problem.
 May be a path?
Marcelo





PDF

2010-08-27 Thread Manfred Unterweger

Hi!

Im writing my master thesis with lyx and whenever i added a pic, lyx  
converted the format (mostly bmp) and i had no problem to create a  
pdf. I cant do that anymore and i always get an error (see attachment).


I used to get other error msgs but when i try to fix the converter,  
the msg in the attechment somes up all the time.

What do i need to do to create a pdf again?!
Please help me!

Thank you so much!
Manfred Unterweger



Re: I can´t run lyx 2.0

2010-08-27 Thread icebna

 El 26/08/10 18:03, Marcelo Acuña escribió:

Hello,
   I upgrade my computer to amd 64 bit

processor, and re installed linux with amd64 version and
installed last qt, 4.6.3.

   I compiled lyx 1.6.7 and it run

without problem.

   But lyx 2.0 alpha 4 and alpha 5 not

run.

   I get:
lyx-2.0a5: error while loading shared libraries:

libQtGui.so.4:

cannot open shared object file: No such file or

directory

What I make bad?
How I can correct the problem?

   Test installing qt4-devel in
your machine.

Regards

Miguel

  The file: libQtGui.so.4, is present in my hard disc.
  I have not problem with lyx 1.6.7.
  I think that I have a PATH not defined, but I don´t know which path because 
1.6.7 compile and 2.0 alpha 5 compile without problem.

Marcelo

What distro linux you have ?. I am test all alpha version and compile 
without problem. Also I  test with lyx-devel and update with git svn 
without problem, in Mandriva distro.


Miguel









Re: I can´t run lyx 2.0

2010-08-27 Thread Pavel Sanda
Marcelo Acu?a wrote:
 Hello,
  I upgrade my computer to amd 64 bit processor, and re installed linux with 
 amd64 version and installed last qt, 4.6.3.
  I compiled lyx 1.6.7 and it run without problem.
  But lyx 2.0 alpha 4 and alpha 5 not run.
  I get:
 lyx-2.0a5: error while loading shared libraries: libQtGui.so.4: 
 cannot open shared object file: No such file or directory 
 What I make bad?

first of all try to recompile them and report back (the correct qt library was 
not found).

pavel


Re: several problems

2010-08-27 Thread Sandro Portmann
Hi Wolfgang

Your mail came through. So the problems seems to be solved.

Regards

Sandro

Am 26.08.2010 um 10:14 schrieb Wolfgang Engelmann:

 
 Dear list members,
 
 I encountered several problems. Perhaps you could help me.
 
 First of all, I am not receiving any mail from the 
 LyX Users List lyx-users@lists.lyx.org
 since a few days. So if this mail comes through, and I am not receiving an 
 answer until lets say August 28 12 CET I assume there is something wrong with 
 the mail from the list to my address. I am adding a copy of this mail being 
 sent to my address, so this issue should be solved. 
 
 Secondly,
 I added yesterday a xfig created figure to my (koma-script) book and got a 
 crash in lyx. Error message is
 
 lyx QWidget::repaint: Recursive repaint detected
 lyx: SIGSEGV signal caught!
 Sorry, you have found a bug in LyX, hope you have not lost any data.
 Please read the bug-reporting instructions in 'Help-Introduction' and send 
 us 
 a bug report, if necessary. Thanks !
 Bye.  
 
 and if I start with 
 lyx -dbg graphics
 
 QPaintEngine::setSystemClip: Should not be changed while engine is active
 QPaintEngine::setSystemClip: Should not be changed while engine is active
 QWidgetPrivate::beginSharedPainter: Painter is already active
 
 The problem is, that I told lyx to start with the last document opened (just 
 for lazyness; was not a good idea in hindsight), therefore I am not able to 
 do anything with it.
 
 What I could try to do is open the lyx document with a texteditor and take 
 the 
 (probably) offending figure out, hoping that it will work afterward. But 
 perhaps somebody has a better idea.
 
 I have checked for the error in the internet, but the related messages are 
 outdated and do not seem to be related to my case (except that qt is 
 involved)
 
 I am using Debian sid under Linux, Lyx svn 2.0
 
 Thanks for your attention
 
 Wolfgang



problems with section spacing and getting unstarred sections into toc

2010-08-27 Thread Bok Young Hoon
Hi everyone:
I am just trying to finish putting the chapters of my thesis together and
seem to be running into some problems:

1. the spacing between sections seem to be inconsistent (there would be
large (vertical) spaces between some sections (or in this case subsections)
and very small spaces between others) - is there anything I can do about
this?

2. does anyone know how I can get unstarred sections to appear in the table
of contents?

Thanks in advance for all your help with this.


Re: PDF

2010-08-27 Thread Uwe Stöhr

Am 27.08.2010 08:49, schrieb Manfred Unterweger:


Im writing my master thesis with lyx and whenever i added a pic, lyx converted 
the format (mostly
bmp) and i had no problem to create a pdf. I cant do that anymore and i always 
get an error (see
attachment).


This seems to be independent of the images in your document. If you send me a (if possible _small_) 
version of your file by private mail, I will have a look.


regards Uwe


test

2010-08-27 Thread Wolfgang Engelmann
sorry, just a test, since I am not receiving mail from the list anymore

Wolfgang


Noweb Sweave question: Need help to copy folder from lyx temp back to current document directory.

2010-08-27 Thread Paul Johnson
In Sweave, we process a noweb document first through R to generate the
tex file, and then the usual processing occurs.

Because not all LyX/LaTeX systems have the noweb setup, it is
necessary for me to develop my document with Sweave/Lyx, and then save
the generated files (in a folder plots) and use them in the final
document without invoking Sweave.  I do this with LyX branches. I have
a branch for the Sweave commands that generates the files in plots,
and then I have \includegraphics{} or \input{} as needed.

It mostly works fine, there is just a wrinkle that bothers me. So far,
I have just used brute force to copy the whole plots folder from the
working directory back to the document root with a command inside the
document itself.

copyover, fig=F, echo=T, include=T=
system(rsync -ra plots /home/pauljohn/ps/ps707/Workbook/Workbook-plot)
@

That is OK, except I have to hardcode the document directory.  And
no matter what I do, it seems like I have to process the document
through latex twice. The first time I run the process in LyX, it runs
the document through R Sweave and it makes the plots, but when the
pdflatex run happens,


LaTeX Error: Cannot determine size of grpahic in plots/plot-gss.pdf

After that, I check the plots folder in the document directory and the
files are copied over.  But they are not there fast enough to make
pdflatex happy? Really?

I was thinking there must be some work around in LyX config.  It the
LyX documents, I find info on converters and copiers and  $$p or  $$r.

The converter in .lyx/preferences, I have converters like so:

#
# CONVERTERS SECTION ##
#

\converter literate latex R CMD Sweave $$i 
\converter literate pdflatex R CMD Sweave $$i 
\converter literate r R CMD Stangle $$i 
##

Put the copy on the end of the converter:

\converter literate pdflatex R CMD Sweave $$i  cp -R plots $$r 

I believe it SHOULD work. The plot folder DOES get copied over.
However,  still not fast enough. I still see LaTeX errors:

LaTeX Error: Cannot determine size of graphic in plots/plot-gss.pdf

If I run everything through again, then the document goes get created.

But this is bad because the whole project has to be run through the R
Sweave process two times.

What do you think?

If you tell me how to fix this, I will feel happy.  In return, I will
show you the LyX file that uses Frank Harrell's Sweavel.sty (Sweave
using the listings class), which is nicer looking:

http://pj.freefaculty.org/latex/sweavel-01.pdf

pj


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


how to add a caption to a Box inset?

2010-08-27 Thread Justin Wood
Hi all. I've had a look around but can't seem to find an answer to this
one... I want to create a regular ole framed box (you know, as a
self-contained area for 'aside' or 'extra info' type content), but I can't
figure out how to give it a useful automatic identifier. As in, following
the same naming format that Figure captions do: Box 1, or Box 1.1, etc, and
have this displayed in the top part of the box somewhere.

I've just used Insert — Box (as minipage). If I attempt to insert a
caption, LyX warns me that would be 'Senseless!!!', and doesn't generate
anything other than the caption text (no numbering). I tried wrapping the
box in a float, which then allowed me to insert a caption, but this of
course is treated as a *Figure*, which is not what I'm after (and would mess
up the numbering for any subsequent real figures).

Any help much appreciated!

Running LyX 1.6.7 with TeXLive 2009 on OS X 10.6.4 x64.
~:Justin Wood:~
PhD candidate, *Energy  Engineering school*, Murdoch
Universityhttp://www.murdoch.edu.au/


latex source with line breaks

2010-08-27 Thread Jannick Asmus

Hi,

copying the latex text from the source window provides the text, but
with a lot of line breaks. I suspect to make the view in the source
window more readable.

But how can I get rid of the line breaks when the text goes into another
editor?

Thanks for your replies!
/J. 





several problems

2010-08-27 Thread Wolfgang Engelmann

Dear list members,

I encountered several problems. Perhaps you could help me.

First of all, I am not receiving any mail from the 
LyX Users List 
since a few days. So if this mail comes through, and I am not receiving an 
answer until lets say August 28 12 CET I assume there is something wrong with 
the mail from the list to my address. I am adding a copy of this mail being 
sent to my address, so this issue should be solved. 

Secondly,
I added yesterday a xfig created figure to my (koma-script) book and got a 
crash in lyx. Error message is

lyx QWidget::repaint: Recursive repaint detected
lyx: SIGSEGV signal caught!
Sorry, you have found a bug in LyX, hope you have not lost any data.
Please read the bug-reporting instructions in 'Help->Introduction' and send us 
a bug report, if necessary. Thanks !
Bye.  

and if I start with 
lyx -dbg graphics

QPaintEngine::setSystemClip: Should not be changed while engine is active
QPaintEngine::setSystemClip: Should not be changed while engine is active
QWidgetPrivate::beginSharedPainter: Painter is already active

The problem is, that I told lyx to start with the last document opened (just 
for lazyness; was not a good idea in hindsight), therefore I am not able to 
do anything with it.

What I could try to do is open the lyx document with a texteditor and take the 
(probably) offending figure out, hoping that it will work afterward. But 
perhaps somebody has a better idea.

I have checked for the error in the internet, but the related messages are 
outdated and do not seem to be related to my case (except that qt is 
involved)

I am using Debian sid under Linux, Lyx svn 2.0

Thanks for your attention

Wolfgang


Re: I can´t run lyx 2.0

2010-08-27 Thread Marcelo Acuña
> >>> Hello,
> >>>    I upgrade my computer to amd 64
> bit
> >> processor, and re installed linux with amd64
> version and
> >> installed last qt, 4.6.3.
> >>>    I compiled lyx 1.6.7 and it run
> >> without problem.
> >>>    But lyx 2.0 alpha 4 and alpha 5
> not
> >> run.
> >>>    I get:
> >>> lyx-2.0a5: error while loading shared
> libraries:
> >> libQtGui.so.4:
> >>> cannot open shared object file: No such file
> or
> >> directory
> >>> What I make bad?
> >>> How I can correct the problem?
> >   The file: libQtGui.so.4, is present
> in my hard disc.
> >   I have not problem with lyx 1.6.7.
> >   I think that I have a PATH not
> defined, but I don´t know which path because 1.6.7 compile
> and 2.0 alpha 5 compile without problem.

> What distro linux you have ?. I am test all alpha version
> and compile 
> without problem. Also I  test with lyx-devel and
> update with git svn 
> without problem, in Mandriva distro.
> 
> Miguel

 Debian Lenny, with i386 and version I have not problem and I can compile and 
run all alpha version.
 The problem appears now, with debian lenny amd64 and new qt 4.6.3, but this qt 
not came with lenny. I download, compile and install.
 With lyx 1.6.7 I have not problem.
 May be a path?
Marcelo





PDF

2010-08-27 Thread Manfred Unterweger

Hi!

Im writing my master thesis with lyx and whenever i added a pic, lyx  
converted the format (mostly bmp) and i had no problem to create a  
pdf. I cant do that anymore and i always get an error (see attachment).


I used to get other error msgs but when i try to fix the converter,  
the msg in the attechment somes up all the time.

What do i need to do to create a pdf again?!
Please help me!

Thank you so much!
Manfred Unterweger



Re: I can´t run lyx 2.0

2010-08-27 Thread icebna

 El 26/08/10 18:03, Marcelo Acuña escribió:

Hello,
   I upgrade my computer to amd 64 bit

processor, and re installed linux with amd64 version and
installed last qt, 4.6.3.

   I compiled lyx 1.6.7 and it run

without problem.

   But lyx 2.0 alpha 4 and alpha 5 not

run.

   I get:
lyx-2.0a5: error while loading shared libraries:

libQtGui.so.4:

cannot open shared object file: No such file or

directory

What I make bad?
How I can correct the problem?

   Test installing qt4-devel in
your machine.

Regards

Miguel

  The file: libQtGui.so.4, is present in my hard disc.
  I have not problem with lyx 1.6.7.
  I think that I have a PATH not defined, but I don´t know which path because 
1.6.7 compile and 2.0 alpha 5 compile without problem.

Marcelo

What distro linux you have ?. I am test all alpha version and compile 
without problem. Also I  test with lyx-devel and update with git svn 
without problem, in Mandriva distro.


Miguel









Re: I can´t run lyx 2.0

2010-08-27 Thread Pavel Sanda
Marcelo Acu?a wrote:
> Hello,
>  I upgrade my computer to amd 64 bit processor, and re installed linux with 
> amd64 version and installed last qt, 4.6.3.
>  I compiled lyx 1.6.7 and it run without problem.
>  But lyx 2.0 alpha 4 and alpha 5 not run.
>  I get:
> lyx-2.0a5: error while loading shared libraries: libQtGui.so.4: 
> cannot open shared object file: No such file or directory 
> What I make bad?

first of all try to recompile them and report back (the correct qt library was 
not found).

pavel


Re: several problems

2010-08-27 Thread Sandro Portmann
Hi Wolfgang

Your mail came through. So the problems seems to be solved.

Regards

Sandro

Am 26.08.2010 um 10:14 schrieb Wolfgang Engelmann:

> 
> Dear list members,
> 
> I encountered several problems. Perhaps you could help me.
> 
> First of all, I am not receiving any mail from the 
> LyX Users List 
> since a few days. So if this mail comes through, and I am not receiving an 
> answer until lets say August 28 12 CET I assume there is something wrong with 
> the mail from the list to my address. I am adding a copy of this mail being 
> sent to my address, so this issue should be solved. 
> 
> Secondly,
> I added yesterday a xfig created figure to my (koma-script) book and got a 
> crash in lyx. Error message is
> 
> lyx QWidget::repaint: Recursive repaint detected
> lyx: SIGSEGV signal caught!
> Sorry, you have found a bug in LyX, hope you have not lost any data.
> Please read the bug-reporting instructions in 'Help->Introduction' and send 
> us 
> a bug report, if necessary. Thanks !
> Bye.  
> 
> and if I start with 
> lyx -dbg graphics
> 
> QPaintEngine::setSystemClip: Should not be changed while engine is active
> QPaintEngine::setSystemClip: Should not be changed while engine is active
> QWidgetPrivate::beginSharedPainter: Painter is already active
> 
> The problem is, that I told lyx to start with the last document opened (just 
> for lazyness; was not a good idea in hindsight), therefore I am not able to 
> do anything with it.
> 
> What I could try to do is open the lyx document with a texteditor and take 
> the 
> (probably) offending figure out, hoping that it will work afterward. But 
> perhaps somebody has a better idea.
> 
> I have checked for the error in the internet, but the related messages are 
> outdated and do not seem to be related to my case (except that qt is 
> involved)
> 
> I am using Debian sid under Linux, Lyx svn 2.0
> 
> Thanks for your attention
> 
> Wolfgang



problems with section spacing and getting unstarred sections into toc

2010-08-27 Thread Bok Young Hoon
Hi everyone:
I am just trying to finish putting the chapters of my thesis together and
seem to be running into some problems:

1. the spacing between sections seem to be inconsistent (there would be
large (vertical) spaces between some sections (or in this case subsections)
and very small spaces between others) - is there anything I can do about
this?

2. does anyone know how I can get unstarred sections to appear in the table
of contents?

Thanks in advance for all your help with this.


Re: PDF

2010-08-27 Thread Uwe Stöhr

Am 27.08.2010 08:49, schrieb Manfred Unterweger:


Im writing my master thesis with lyx and whenever i added a pic, lyx converted 
the format (mostly
bmp) and i had no problem to create a pdf. I cant do that anymore and i always 
get an error (see
attachment).


This seems to be independent of the images in your document. If you send me a (if possible _small_) 
version of your file by private mail, I will have a look.


regards Uwe


test

2010-08-27 Thread Wolfgang Engelmann
sorry, just a test, since I am not receiving mail from the list anymore

Wolfgang


Noweb Sweave question: Need help to copy folder from lyx temp back to current document directory.

2010-08-27 Thread Paul Johnson
In Sweave, we process a noweb document first through R to generate the
tex file, and then the usual processing occurs.

Because not all LyX/LaTeX systems have the noweb setup, it is
necessary for me to develop my document with Sweave/Lyx, and then save
the generated files (in a folder "plots") and use them in the final
document without invoking Sweave.  I do this with LyX branches. I have
a branch for the Sweave commands that generates the files in "plots",
and then I have \includegraphics{} or \input{} as needed.

It mostly works fine, there is just a wrinkle that bothers me. So far,
I have just used brute force to copy the whole "plots" folder from the
working directory back to the document root with a command inside the
document itself.

<>=
system("rsync -ra plots /home/pauljohn/ps/ps707/Workbook/Workbook-plot")
@

That is OK, except I have to "hardcode" the document directory.  And
no matter what I do, it seems like I have to process the document
through latex twice. The first time I run the process in LyX, it runs
the document through R Sweave and it makes the plots, but when the
pdflatex run happens,


LaTeX Error: Cannot determine size of grpahic in plots/plot-gss.pdf

After that, I check the plots folder in the document directory and the
files are copied over.  But they are not there "fast enough" to make
pdflatex happy? Really?

I was thinking there must be some work around in LyX config.  It the
LyX documents, I find info on converters and copiers and  $$p or  $$r.

The converter in .lyx/preferences, I have converters like so:

#
# CONVERTERS SECTION ##
#

\converter "literate" "latex" "R CMD Sweave $$i" ""
\converter "literate" "pdflatex" "R CMD Sweave $$i" ""
\converter "literate" "r" "R CMD Stangle $$i" ""
##

Put the copy on the end of the converter:

\converter "literate" "pdflatex" "R CMD Sweave $$i && cp -R plots $$r" ""

I believe it SHOULD work. The plot folder DOES get copied over.
However,  still not fast enough. I still see LaTeX errors:

LaTeX Error: Cannot determine size of graphic in plots/plot-gss.pdf

If I run everything through again, then the document goes get created.

But this is bad because the whole project has to be run through the R
Sweave process two times.

What do you think?

If you tell me how to fix this, I will feel happy.  In return, I will
show you the LyX file that uses Frank Harrell's Sweavel.sty (Sweave
using the listings class), which is nicer looking:

http://pj.freefaculty.org/latex/sweavel-01.pdf

pj


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


how to add a caption to a Box inset?

2010-08-27 Thread Justin Wood
Hi all. I've had a look around but can't seem to find an answer to this
one... I want to create a regular ole framed box (you know, as a
self-contained area for 'aside' or 'extra info' type content), but I can't
figure out how to give it a useful automatic identifier. As in, following
the same naming format that Figure captions do: Box 1, or Box 1.1, etc, and
have this displayed in the top part of the box somewhere.

I've just used Insert —> Box (as minipage). If I attempt to insert a
caption, LyX warns me that would be 'Senseless!!!', and doesn't generate
anything other than the caption text (no numbering). I tried wrapping the
box in a float, which then allowed me to insert a caption, but this of
course is treated as a *Figure*, which is not what I'm after (and would mess
up the numbering for any subsequent real figures).

Any help much appreciated!

Running LyX 1.6.7 with TeXLive 2009 on OS X 10.6.4 x64.
~:Justin Wood:~
PhD candidate, *Energy & Engineering school*, Murdoch
University


latex source with line breaks

2010-08-27 Thread Jannick Asmus

Hi,

copying the latex text from the source window provides the text, but
with a lot of line breaks. I suspect to make the view in the source
window more readable.

But how can I get rid of the line breaks when the text goes into another
editor?

Thanks for your replies!
/J.