Re: Help with latexcad

2008-05-16 Thread G. Milde
On 15.05.08, Rich Shepard wrote:
 On Thu, 15 May 2008, Angel Amat wrote:

 Hello, I am using latexcad to draw some diagrams with equations. The
 problem is that i can not insert this diagrams in the lyx document. I have
 copy the LATEXCAD.STY to the folder in which is the lyx document and I
 have written in the preamble of the documment \usepackage{latexcad}. The
 next is thousand errors.

LyX usually does the latex run in a temp dir, but does not know that
latexcad.sty should be moved there.

   First, the style file needs to be placed with all the other LyX style
 files, not in your document directory. 

LaTeX style files (LyX has *.layout files).

 'locate *.sty' or 'whereis *.sty' will show you the path to those
 files. 

The documentation of your latex distribution will also tell you the
latex search path.

 Move latexcad.sty there.

If it is locally installed, preferabely use a local path (like
/usr/local/share/texmf/tex/latex/...)

On Unix systems with TeXLive, you can also use ~/texmf/tex/latex

   Second, as root run 'texhash'.
(not needed with ~/texmf/)

   Third, from within LyX, run 'reconfigure'.

Not needed for styles that are only specified in the latex preamble.

Günter


Problems with png Graphic

2008-05-16 Thread Robert Neumann
Hello,
I have trouble with png-graphic-files.
I havew abotu 20 files included in a article file on Lyx 1.34. I works fine to
create a pdf but then suddenly I get the error: The file cannot be converted
error executing ps2pdf -CompatibilityLevel=1.3 'filename.ps'
What seems strange to me is that I have no Idea why the error suddenly turns up.
(The only way to solve it was to return to an earlier System Snapshot as I run
my Suse Linux with parallels on a MBP)
Thanks
Robert





Text wrap float problems

2008-05-16 Thread Dawid Ciecierski
Hello,

I have been using LyX only for half a year or so but since the switch I have
fallen in love with it. I'm currently writing my thesis, which happens to
incorporate quuite a few images in the main body of text. Since they are
usually small, I'm hoping to use wraps so that text can wrap around it for a
smoother `reading experience'. However, even with the newest version I'm
getting pretty odd behaviour; have a look at
http://www.doc.ic.ac.uk/~dfc04/wrap.jpg Not sure if this is a known bug or
if it's caused by some mysterious setting I have not come across (due to my
limited experience with LyX). I'm also limiting output size of figures, to
approx. 35% of column width; could that be causing misery?

Anyway, will be grateful for any advice at all so that me  my thesis don't
have to come back to Word :-)
Best regards,
Dawid Ciecierski


Re: [Fwd: [ANNOUNCE] LyX 1.5.5 is released]

2008-05-16 Thread Jürgen Spitzmüller
[EMAIL PROTECTED] wrote:
 As I have mentioned a LONG, LONG time ago - I am unable to unsubscribe
 to this list (yes, I've sent an e-mail to the proper entity).

So you sent a mail to
lyx-users-unsubscribe-your address@lists.lyx.org ?

(you'll find the correct address as List-Unsubscribe: in your header)

Jürgen


Re: Text wrap float problems

2008-05-16 Thread Helge Hafting

Dawid Ciecierski wrote:

Hello,

I have been using LyX only for half a year or so but since the switch I have
fallen in love with it. I'm currently writing my thesis, which happens to
incorporate quuite a few images in the main body of text. Since they are
usually small, I'm hoping to use wraps so that text can wrap around it for a
smoother `reading experience'. However, even with the newest version I'm
getting pretty odd behaviour; have a look at
http://www.doc.ic.ac.uk/~dfc04/wrap.jpg Not sure if this is a known bug or
if it's caused by some mysterious setting I have not come across (due to my
limited experience with LyX). I'm also limiting output size of figures, to
approx. 35% of column width; could that be causing misery?

Anyway, will be grateful for any advice at all so that me  my thesis don't
have to come back to Word :-)
  

The problem is that text wrap doesn't work all that well in current versions
of LyX.  It simply breaks down if the wrapped figure gets too close to:
- a heading
- a page break

The last one is the worst, and means that text wrapping is something you
should do only occationally, when you only have a few wraps and
can position all of them carefully.

The upcoming Lyx 1.6 (hopefully) fixes this by using a better latex 
package to

do the wrapping.

The case you demonstrate can be fixed by changing to an ordinary float.
If you put the 4 pictures beside each other then a full-width float
will look nice. Perhaps this is not an option for the rest of your book 
though.


There are two ways I can recommend, if you want to use wrapped figures:

1. Install one of the alpha releases of LyX-1.6, where this is fixed. Of 
course,

   an alpha release can be risky. I use lyx-1.6 every day myself.
   It will be tricky to install if you aren't familiar with compilling 
software.


2. Alternatively, use a released version of LyX, and use ERT to make the 
figures

   manually using the same technique as lyx-1.6 do it.

For the latter, put
\usepackage{wrapfig} in the document preamble.
When you want to insert a figure, use Insert-TeX
and type:
\begin{wrapfigure}{o}{0.4\linewidth}
That was for a figure 40% of the line width, adjust the 0.4 if needed.
Then insert-graphics after this, and specify your image.
After this, another TeX box, where you type:
\caption{figure caption text}\end{wrapfigure}

This should work well, but any mistyping of the commands will
mean that printing attempts give you strange errors.
If you have lots of such figures, make one that works
and copy it around as a template instead of re-typing for every figure.

Helge Hafting







Personal dictionary

2008-05-16 Thread Rune Schjellerup Philosof

Where is the default personal dictionary placed?
I think the settings box for the personal dictionary ought to be filled 
in with the default, so that the user is able to find this.


--
Rune


LyX/Mac-1.5.5 (Universal) Released

2008-05-16 Thread Bennett Helm
A universal binary of LyX/Mac-1.5.5 has now been released. You can get it
here:
1.5.5-Universalftp://ftp.lyx.org/pub/lyx/bin/1.5.5/LyX-1.5.5-Mac-Universal.dmg

Of course, please report any problems to this list.

Thanks to Konrad Hofbauer and Anders Ekberg for help compiling this
release.

Bennett


LyX 1.5.4 crash in Debian/testing (fix)

2008-05-16 Thread G. Milde
Dear LyX users,

after upgrading my system to the latest and newest in Debian/testing, my
beloved LyX crashed.

This is due to QT 4.4 entering testing before the bug-fixing lyx-1.5.4-2.

The fix is easy: install lyx-1.5.4-2 or lyx-1.5.5-1 from /unstable.

Günter


Re: Text wrap float problems

2008-05-16 Thread Eric S Fraga
On Fri, May 16, 2008 at 01:52:41PM +0100, Dawid Ciecierski wrote:
 I have been using LyX only for half a year or so but since the switch I have
 fallen in love with it. I'm currently writing my thesis, which happens to
 incorporate quuite a few images in the main body of text. Since they are
 usually small, I'm hoping to use wraps so that text can wrap around it for a
 smoother `reading experience'. However, even with the newest version I'm

I can't help you in your quest to get figure/text wrapping to work
correctly (it's really a LaTeX problem and not a LyX one) but I would
strongly recommend against text wrapping in a thesis unless you really
are talking about _many_ _very small_ figures.  Having short text
lines (50% of a typical A4 line width) does not make for a smoother
reading experience, in my experience (having examined many PhD and MSc
theses...).  I think text wrapping around figures only makes sense
with larger page formats (newsletters) and/or where space is at a
premium (conference papers, newsletters again), neither of which
applies here.

A useful alternative is to consider using subfigures, grouping
together 2, 4, ... small figures into one LyX figure.  Might make
more sense depending on what your figures are.

Just something to consider...  and maybe help you avoid wasting time
trying to get LyX/LaTeX doing text warpping properly?

cheers,
eric


Re: Personal dictionary

2008-05-16 Thread Paul A. Rubin

Rune Schjellerup Philosof wrote:

Where is the default personal dictionary placed?


Which operating system?



includegraphics{} in subdirectory

2008-05-16 Thread Rich Shepard


  The embedded LaTeX seems to have intermittent issues; sometimes it works,
sometimes it doesn't. I need to learn how to make it work properly all the
time because it's really holding me up.

  My python application includes embedded LaTeX for reports. In one of these
reports I generate plots which are written to the reports/ subdirectory,
immediately beneath the CWD. This works fine.

  However, when I try to include these files, pdflatex tells me that the
graphic file is not found. Sometimes it works as intended, sometimes it does
not.

  Here is the code:

ivr.write('\\includegraphics{reports/'+comp+row[0]+'}')

here is pdflatex's response:

! LaTeX Error: File `reports/JobsDuration' not found.

l.447 ...er}\includegraphics{reports/JobsDuration}
  \end{center}

  However, the file is present:

[EMAIL PROTECTED] /data1/eikos]$ ls reports/JobsDuration.pdf
reports/JobsDuration.pdf

  Because pdflatex is looking in the proper directory, and the file is
there, I do not understand why I get the file not found error.

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


Re: includegraphics{} in subdirectory

2008-05-16 Thread Rich Shepard

On Fri, 16 May 2008, Rich Shepard wrote:


 The embedded LaTeX seems to have intermittent issues; sometimes it works,
sometimes it doesn't. I need to learn how to make it work properly all the
time because it's really holding me up.


  When I pasted in this text my initial sentences were lost. I originally
posted my question on Usenet at comp.text.tex but no one's responded.

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


Re: Text wrap float problems

2008-05-16 Thread Uwe Stöhr

Helge Hafting schrieb:

The problem is that text wrap doesn't work all that well in current 
versions

of LyX.  It simply breaks down if the wrapped figure gets too close to:
- a heading
- a page break


This is not a problem of LyX but of LaTeX (as describedn in the EmbeddedObjects 
manual btw.).

The upcoming Lyx 1.6 (hopefully) fixes this by using a better latex 
package to do the wrapping.


What do you expect? Since LyX 1.5.4 we switched to the best available LaTeX-package for wrap floats. 
LyX 1.6 will also use this package, but provides some more customizations for wrap floats and also 
table wrap floats. But that wrapping will fail at line breaks will stay and is not fixable by any 
LaTeX-package.



There are two ways I can recommend, if you want to use wrapped figures:

1. Install one of the alpha releases of LyX-1.6, where this is fixed.


Don't do this!!! Alpha releases are very buggy and you could loose parts of your thesis. Use LyX 
1.5.4 or Lyx 1.5.5.


2. Alternatively, use a released version of LyX, and use ERT to make the 
figures

   manually using the same technique as lyx-1.6 do it.

For the latter, put
\usepackage{wrapfig} in the document preamble.


Since LyX 1.5.4 we use wrapfig, so you don't need to do this.

regards Uwe


Re: About bibliography

2008-05-16 Thread rgheck

NinaNutz wrote:

Hello all again,
Here I am again with a question that I cannot solve for myself... 
I'm writing my thesis in lyx 1.4.4 on windows and I would like the bibliography
appears first by surname, and then name with a dot. 


I have the style natbib selected, but actually the bibliography appears
identified wiht a number... 


but I don't mind at all, but I would like to change the order of the name and
surname... 

I am using JabRef and I haven't find any option... 


Any idea about where to look for?

  
First, you should try 1.5.5. It's a lot better. It should read your 
1.4.x files no problem. Copy them to a new directory first, if you're 
concerned.


Second, You need to select the natbib style, as well, namely: 
Author-year. This is in the DocumentSettings bibliography pane, I 
think. At least that's where it is in 1.5.5.


rh



Re: LyX/Mac-1.5.5 (Universal) Released

2008-05-16 Thread Honest Guvnor
On Fri, May 16, 2008 at 5:59 PM, Bennett Helm [EMAIL PROTECTED] wrote:
 A universal binary of LyX/Mac-1.5.5 has now been released. You can get it
 here:
 1.5.5-Universalftp://ftp.lyx.org/pub/lyx/bin/1.5.5/LyX-1.5.5-Mac-Universal.dmg

 Of course, please report any problems to this list.

It is still unusable on OSX 10.3 because of multiple popups when
cutting-and-pasting (it is also slow but I could live with that). I
presume this can only be addressed by upgrading to the latest version
of OSX? I have tried to compile an X version without success but the
documents not surprisingly said I need the latest version of gcc.

I had the same problems with needing last week's C++ compiler when I
used a Sun. Boost was the culprit in those days. Perhaps it still is
given that the log files are still:

Could not remove the temporary directory /tmp/lyx_tmpdir2269ccDDHx/lyx_tmpbuf1
Could not delete /tmp/lyx_tmpdir2269ccDDHx/lyx_tmpbuf0.
(boost::filesystem::basic_directory_iterator increment)
Warning: Could not remove temporary directory

As before, there is nothing preventing the files being removed by hand.

I suppose one should not complain given the asking price but the
contrast with tex/latex is striking.


Re: LyX/Mac-1.5.5 (Universal) Released

2008-05-16 Thread Bennett Helm
On Fri, May 16, 2008 at 5:23 PM, Honest Guvnor [EMAIL PROTECTED]
wrote:

 On Fri, May 16, 2008 at 5:59 PM, Bennett Helm [EMAIL PROTECTED] wrote:
  A universal binary of LyX/Mac-1.5.5 has now been released. You can get it
  here:
  1.5.5-Universal
 ftp://ftp.lyx.org/pub/lyx/bin/1.5.5/LyX-1.5.5-Mac-Universal.dmg
 
  Of course, please report any problems to this list.

 It is still unusable on OSX 10.3 because of multiple popups when
 cutting-and-pasting (it is also slow but I could live with that). I
 presume this can only be addressed by upgrading to the latest version
 of OSX?


You need to be clearer: what is the problem that makes it unusable?

Bennett


importing spreadsheet rows and columns

2008-05-16 Thread jf7


Hi, I'm using LyX 1.5.3 and have a situation where I need to put  
spreadsheet data into tables in LyX -- several of them actually. I'm  
able to paste the spreadsheet data into LyX. But so far I haven't  
figured out a way other than the tedious method of cutting and pasting  
every cell's contents one-by-one into place in the table.


Is there any way I can at least do columns or rows at a time if not a  
the whole block of columns and rows at once?


thanks,

jamie faunt




Re: Help with latexcad

2008-05-16 Thread G. Milde
On 15.05.08, Rich Shepard wrote:
 On Thu, 15 May 2008, Angel Amat wrote:

 Hello, I am using latexcad to draw some diagrams with equations. The
 problem is that i can not insert this diagrams in the lyx document. I have
 copy the LATEXCAD.STY to the folder in which is the lyx document and I
 have written in the preamble of the documment \usepackage{latexcad}. The
 next is thousand errors.

LyX usually does the latex run in a temp dir, but does not know that
latexcad.sty should be moved there.

   First, the style file needs to be placed with all the other LyX style
 files, not in your document directory. 

LaTeX style files (LyX has *.layout files).

 'locate *.sty' or 'whereis *.sty' will show you the path to those
 files. 

The documentation of your latex distribution will also tell you the
latex search path.

 Move latexcad.sty there.

If it is locally installed, preferabely use a local path (like
/usr/local/share/texmf/tex/latex/...)

On Unix systems with TeXLive, you can also use ~/texmf/tex/latex

   Second, as root run 'texhash'.
(not needed with ~/texmf/)

   Third, from within LyX, run 'reconfigure'.

Not needed for styles that are only specified in the latex preamble.

Günter


Problems with png Graphic

2008-05-16 Thread Robert Neumann
Hello,
I have trouble with png-graphic-files.
I havew abotu 20 files included in a article file on Lyx 1.34. I works fine to
create a pdf but then suddenly I get the error: The file cannot be converted
error executing ps2pdf -CompatibilityLevel=1.3 'filename.ps'
What seems strange to me is that I have no Idea why the error suddenly turns up.
(The only way to solve it was to return to an earlier System Snapshot as I run
my Suse Linux with parallels on a MBP)
Thanks
Robert





Text wrap float problems

2008-05-16 Thread Dawid Ciecierski
Hello,

I have been using LyX only for half a year or so but since the switch I have
fallen in love with it. I'm currently writing my thesis, which happens to
incorporate quuite a few images in the main body of text. Since they are
usually small, I'm hoping to use wraps so that text can wrap around it for a
smoother `reading experience'. However, even with the newest version I'm
getting pretty odd behaviour; have a look at
http://www.doc.ic.ac.uk/~dfc04/wrap.jpg Not sure if this is a known bug or
if it's caused by some mysterious setting I have not come across (due to my
limited experience with LyX). I'm also limiting output size of figures, to
approx. 35% of column width; could that be causing misery?

Anyway, will be grateful for any advice at all so that me  my thesis don't
have to come back to Word :-)
Best regards,
Dawid Ciecierski


Re: [Fwd: [ANNOUNCE] LyX 1.5.5 is released]

2008-05-16 Thread Jürgen Spitzmüller
[EMAIL PROTECTED] wrote:
 As I have mentioned a LONG, LONG time ago - I am unable to unsubscribe
 to this list (yes, I've sent an e-mail to the proper entity).

So you sent a mail to
lyx-users-unsubscribe-your address@lists.lyx.org ?

(you'll find the correct address as List-Unsubscribe: in your header)

Jürgen


Re: Text wrap float problems

2008-05-16 Thread Helge Hafting

Dawid Ciecierski wrote:

Hello,

I have been using LyX only for half a year or so but since the switch I have
fallen in love with it. I'm currently writing my thesis, which happens to
incorporate quuite a few images in the main body of text. Since they are
usually small, I'm hoping to use wraps so that text can wrap around it for a
smoother `reading experience'. However, even with the newest version I'm
getting pretty odd behaviour; have a look at
http://www.doc.ic.ac.uk/~dfc04/wrap.jpg Not sure if this is a known bug or
if it's caused by some mysterious setting I have not come across (due to my
limited experience with LyX). I'm also limiting output size of figures, to
approx. 35% of column width; could that be causing misery?

Anyway, will be grateful for any advice at all so that me  my thesis don't
have to come back to Word :-)
  

The problem is that text wrap doesn't work all that well in current versions
of LyX.  It simply breaks down if the wrapped figure gets too close to:
- a heading
- a page break

The last one is the worst, and means that text wrapping is something you
should do only occationally, when you only have a few wraps and
can position all of them carefully.

The upcoming Lyx 1.6 (hopefully) fixes this by using a better latex 
package to

do the wrapping.

The case you demonstrate can be fixed by changing to an ordinary float.
If you put the 4 pictures beside each other then a full-width float
will look nice. Perhaps this is not an option for the rest of your book 
though.


There are two ways I can recommend, if you want to use wrapped figures:

1. Install one of the alpha releases of LyX-1.6, where this is fixed. Of 
course,

   an alpha release can be risky. I use lyx-1.6 every day myself.
   It will be tricky to install if you aren't familiar with compilling 
software.


2. Alternatively, use a released version of LyX, and use ERT to make the 
figures

   manually using the same technique as lyx-1.6 do it.

For the latter, put
\usepackage{wrapfig} in the document preamble.
When you want to insert a figure, use Insert-TeX
and type:
\begin{wrapfigure}{o}{0.4\linewidth}
That was for a figure 40% of the line width, adjust the 0.4 if needed.
Then insert-graphics after this, and specify your image.
After this, another TeX box, where you type:
\caption{figure caption text}\end{wrapfigure}

This should work well, but any mistyping of the commands will
mean that printing attempts give you strange errors.
If you have lots of such figures, make one that works
and copy it around as a template instead of re-typing for every figure.

Helge Hafting







Personal dictionary

2008-05-16 Thread Rune Schjellerup Philosof

Where is the default personal dictionary placed?
I think the settings box for the personal dictionary ought to be filled 
in with the default, so that the user is able to find this.


--
Rune


LyX/Mac-1.5.5 (Universal) Released

2008-05-16 Thread Bennett Helm
A universal binary of LyX/Mac-1.5.5 has now been released. You can get it
here:
1.5.5-Universalftp://ftp.lyx.org/pub/lyx/bin/1.5.5/LyX-1.5.5-Mac-Universal.dmg

Of course, please report any problems to this list.

Thanks to Konrad Hofbauer and Anders Ekberg for help compiling this
release.

Bennett


LyX 1.5.4 crash in Debian/testing (fix)

2008-05-16 Thread G. Milde
Dear LyX users,

after upgrading my system to the latest and newest in Debian/testing, my
beloved LyX crashed.

This is due to QT 4.4 entering testing before the bug-fixing lyx-1.5.4-2.

The fix is easy: install lyx-1.5.4-2 or lyx-1.5.5-1 from /unstable.

Günter


Re: Text wrap float problems

2008-05-16 Thread Eric S Fraga
On Fri, May 16, 2008 at 01:52:41PM +0100, Dawid Ciecierski wrote:
 I have been using LyX only for half a year or so but since the switch I have
 fallen in love with it. I'm currently writing my thesis, which happens to
 incorporate quuite a few images in the main body of text. Since they are
 usually small, I'm hoping to use wraps so that text can wrap around it for a
 smoother `reading experience'. However, even with the newest version I'm

I can't help you in your quest to get figure/text wrapping to work
correctly (it's really a LaTeX problem and not a LyX one) but I would
strongly recommend against text wrapping in a thesis unless you really
are talking about _many_ _very small_ figures.  Having short text
lines (50% of a typical A4 line width) does not make for a smoother
reading experience, in my experience (having examined many PhD and MSc
theses...).  I think text wrapping around figures only makes sense
with larger page formats (newsletters) and/or where space is at a
premium (conference papers, newsletters again), neither of which
applies here.

A useful alternative is to consider using subfigures, grouping
together 2, 4, ... small figures into one LyX figure.  Might make
more sense depending on what your figures are.

Just something to consider...  and maybe help you avoid wasting time
trying to get LyX/LaTeX doing text warpping properly?

cheers,
eric


Re: Personal dictionary

2008-05-16 Thread Paul A. Rubin

Rune Schjellerup Philosof wrote:

Where is the default personal dictionary placed?


Which operating system?



includegraphics{} in subdirectory

2008-05-16 Thread Rich Shepard


  The embedded LaTeX seems to have intermittent issues; sometimes it works,
sometimes it doesn't. I need to learn how to make it work properly all the
time because it's really holding me up.

  My python application includes embedded LaTeX for reports. In one of these
reports I generate plots which are written to the reports/ subdirectory,
immediately beneath the CWD. This works fine.

  However, when I try to include these files, pdflatex tells me that the
graphic file is not found. Sometimes it works as intended, sometimes it does
not.

  Here is the code:

ivr.write('\\includegraphics{reports/'+comp+row[0]+'}')

here is pdflatex's response:

! LaTeX Error: File `reports/JobsDuration' not found.

l.447 ...er}\includegraphics{reports/JobsDuration}
  \end{center}

  However, the file is present:

[EMAIL PROTECTED] /data1/eikos]$ ls reports/JobsDuration.pdf
reports/JobsDuration.pdf

  Because pdflatex is looking in the proper directory, and the file is
there, I do not understand why I get the file not found error.

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


Re: includegraphics{} in subdirectory

2008-05-16 Thread Rich Shepard

On Fri, 16 May 2008, Rich Shepard wrote:


 The embedded LaTeX seems to have intermittent issues; sometimes it works,
sometimes it doesn't. I need to learn how to make it work properly all the
time because it's really holding me up.


  When I pasted in this text my initial sentences were lost. I originally
posted my question on Usenet at comp.text.tex but no one's responded.

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


Re: Text wrap float problems

2008-05-16 Thread Uwe Stöhr

Helge Hafting schrieb:

The problem is that text wrap doesn't work all that well in current 
versions

of LyX.  It simply breaks down if the wrapped figure gets too close to:
- a heading
- a page break


This is not a problem of LyX but of LaTeX (as describedn in the EmbeddedObjects 
manual btw.).

The upcoming Lyx 1.6 (hopefully) fixes this by using a better latex 
package to do the wrapping.


What do you expect? Since LyX 1.5.4 we switched to the best available LaTeX-package for wrap floats. 
LyX 1.6 will also use this package, but provides some more customizations for wrap floats and also 
table wrap floats. But that wrapping will fail at line breaks will stay and is not fixable by any 
LaTeX-package.



There are two ways I can recommend, if you want to use wrapped figures:

1. Install one of the alpha releases of LyX-1.6, where this is fixed.


Don't do this!!! Alpha releases are very buggy and you could loose parts of your thesis. Use LyX 
1.5.4 or Lyx 1.5.5.


2. Alternatively, use a released version of LyX, and use ERT to make the 
figures

   manually using the same technique as lyx-1.6 do it.

For the latter, put
\usepackage{wrapfig} in the document preamble.


Since LyX 1.5.4 we use wrapfig, so you don't need to do this.

regards Uwe


Re: About bibliography

2008-05-16 Thread rgheck

NinaNutz wrote:

Hello all again,
Here I am again with a question that I cannot solve for myself... 
I'm writing my thesis in lyx 1.4.4 on windows and I would like the bibliography
appears first by surname, and then name with a dot. 


I have the style natbib selected, but actually the bibliography appears
identified wiht a number... 


but I don't mind at all, but I would like to change the order of the name and
surname... 

I am using JabRef and I haven't find any option... 


Any idea about where to look for?

  
First, you should try 1.5.5. It's a lot better. It should read your 
1.4.x files no problem. Copy them to a new directory first, if you're 
concerned.


Second, You need to select the natbib style, as well, namely: 
Author-year. This is in the DocumentSettings bibliography pane, I 
think. At least that's where it is in 1.5.5.


rh



Re: LyX/Mac-1.5.5 (Universal) Released

2008-05-16 Thread Honest Guvnor
On Fri, May 16, 2008 at 5:59 PM, Bennett Helm [EMAIL PROTECTED] wrote:
 A universal binary of LyX/Mac-1.5.5 has now been released. You can get it
 here:
 1.5.5-Universalftp://ftp.lyx.org/pub/lyx/bin/1.5.5/LyX-1.5.5-Mac-Universal.dmg

 Of course, please report any problems to this list.

It is still unusable on OSX 10.3 because of multiple popups when
cutting-and-pasting (it is also slow but I could live with that). I
presume this can only be addressed by upgrading to the latest version
of OSX? I have tried to compile an X version without success but the
documents not surprisingly said I need the latest version of gcc.

I had the same problems with needing last week's C++ compiler when I
used a Sun. Boost was the culprit in those days. Perhaps it still is
given that the log files are still:

Could not remove the temporary directory /tmp/lyx_tmpdir2269ccDDHx/lyx_tmpbuf1
Could not delete /tmp/lyx_tmpdir2269ccDDHx/lyx_tmpbuf0.
(boost::filesystem::basic_directory_iterator increment)
Warning: Could not remove temporary directory

As before, there is nothing preventing the files being removed by hand.

I suppose one should not complain given the asking price but the
contrast with tex/latex is striking.


Re: LyX/Mac-1.5.5 (Universal) Released

2008-05-16 Thread Bennett Helm
On Fri, May 16, 2008 at 5:23 PM, Honest Guvnor [EMAIL PROTECTED]
wrote:

 On Fri, May 16, 2008 at 5:59 PM, Bennett Helm [EMAIL PROTECTED] wrote:
  A universal binary of LyX/Mac-1.5.5 has now been released. You can get it
  here:
  1.5.5-Universal
 ftp://ftp.lyx.org/pub/lyx/bin/1.5.5/LyX-1.5.5-Mac-Universal.dmg
 
  Of course, please report any problems to this list.

 It is still unusable on OSX 10.3 because of multiple popups when
 cutting-and-pasting (it is also slow but I could live with that). I
 presume this can only be addressed by upgrading to the latest version
 of OSX?


You need to be clearer: what is the problem that makes it unusable?

Bennett


importing spreadsheet rows and columns

2008-05-16 Thread jf7


Hi, I'm using LyX 1.5.3 and have a situation where I need to put  
spreadsheet data into tables in LyX -- several of them actually. I'm  
able to paste the spreadsheet data into LyX. But so far I haven't  
figured out a way other than the tedious method of cutting and pasting  
every cell's contents one-by-one into place in the table.


Is there any way I can at least do columns or rows at a time if not a  
the whole block of columns and rows at once?


thanks,

jamie faunt




Re: Help with latexcad

2008-05-16 Thread G. Milde
On 15.05.08, Rich Shepard wrote:
> On Thu, 15 May 2008, Angel Amat wrote:

>> Hello, I am using latexcad to draw some diagrams with equations. The
>> problem is that i can not insert this diagrams in the lyx document. I have
>> copy the LATEXCAD.STY to the folder in which is the lyx document and I
>> have written in the preamble of the documment \usepackage{latexcad}. The
>> next is thousand errors.

LyX usually does the latex run in a temp dir, but does not know that
latexcad.sty should be moved there.

>   First, the style file needs to be placed with all the other LyX style
> files, not in your document directory. 

LaTeX style files (LyX has *.layout files).

> 'locate *.sty' or 'whereis *.sty' will show you the path to those
> files. 

The documentation of your latex distribution will also tell you the
latex search path.

> Move latexcad.sty there.

If it is locally installed, preferabely use a local path (like
/usr/local/share/texmf/tex/latex/...)

On Unix systems with TeXLive, you can also use ~/texmf/tex/latex

>   Second, as root run 'texhash'.
(not needed with ~/texmf/)

>   Third, from within LyX, run 'reconfigure'.

Not needed for styles that are only specified in the latex preamble.

Günter


Problems with png Graphic

2008-05-16 Thread Robert Neumann
Hello,
I have trouble with png-graphic-files.
I havew abotu 20 files included in a article file on Lyx 1.34. I works fine to
create a pdf but then suddenly I get the error: "The file cannot be converted
error executing ps2pdf -CompatibilityLevel=1.3 'filename.ps'"
What seems strange to me is that I have no Idea why the error suddenly turns up.
(The only way to solve it was to return to an earlier System Snapshot as I run
my Suse Linux with parallels on a MBP)
Thanks
Robert





Text wrap float problems

2008-05-16 Thread Dawid Ciecierski
Hello,

I have been using LyX only for half a year or so but since the switch I have
fallen in love with it. I'm currently writing my thesis, which happens to
incorporate quuite a few images in the main body of text. Since they are
usually small, I'm hoping to use wraps so that text can wrap around it for a
smoother `reading experience'. However, even with the newest version I'm
getting pretty odd behaviour; have a look at
http://www.doc.ic.ac.uk/~dfc04/wrap.jpg Not sure if this is a known bug or
if it's caused by some mysterious setting I have not come across (due to my
limited experience with LyX). I'm also limiting output size of figures, to
approx. 35% of column width; could that be causing misery?

Anyway, will be grateful for any advice at all so that me & my thesis don't
have to come back to Word :-)
Best regards,
Dawid Ciecierski


Re: [Fwd: [ANNOUNCE] LyX 1.5.5 is released]

2008-05-16 Thread Jürgen Spitzmüller
[EMAIL PROTECTED] wrote:
> As I have mentioned a LONG, LONG time ago - I am unable to unsubscribe
> to this list (yes, I've sent an e-mail to the proper entity).

So you sent a mail to
lyx-users-unsubscribe-@lists.lyx.org ?

(you'll find the correct address as "List-Unsubscribe:" in your header)

Jürgen


Re: Text wrap float problems

2008-05-16 Thread Helge Hafting

Dawid Ciecierski wrote:

Hello,

I have been using LyX only for half a year or so but since the switch I have
fallen in love with it. I'm currently writing my thesis, which happens to
incorporate quuite a few images in the main body of text. Since they are
usually small, I'm hoping to use wraps so that text can wrap around it for a
smoother `reading experience'. However, even with the newest version I'm
getting pretty odd behaviour; have a look at
http://www.doc.ic.ac.uk/~dfc04/wrap.jpg Not sure if this is a known bug or
if it's caused by some mysterious setting I have not come across (due to my
limited experience with LyX). I'm also limiting output size of figures, to
approx. 35% of column width; could that be causing misery?

Anyway, will be grateful for any advice at all so that me & my thesis don't
have to come back to Word :-)
  

The problem is that text wrap doesn't work all that well in current versions
of LyX.  It simply breaks down if the wrapped figure gets too close to:
- a heading
- a page break

The last one is the worst, and means that text wrapping is something you
should do only occationally, when you only have a few wraps and
can position all of them carefully.

The upcoming Lyx 1.6 (hopefully) fixes this by using a better latex 
package to

do the wrapping.

The case you demonstrate can be fixed by changing to an ordinary float.
If you put the 4 pictures beside each other then a full-width float
will look nice. Perhaps this is not an option for the rest of your book 
though.


There are two ways I can recommend, if you want to use wrapped figures:

1. Install one of the alpha releases of LyX-1.6, where this is fixed. Of 
course,

   an alpha release can be risky. I use lyx-1.6 every day myself.
   It will be tricky to install if you aren't familiar with compilling 
software.


2. Alternatively, use a released version of LyX, and use ERT to make the 
figures

   manually using the same technique as lyx-1.6 do it.

For the latter, put
\usepackage{wrapfig} in the document preamble.
When you want to insert a figure, use "Insert->TeX"
and type:
\begin{wrapfigure}{o}{0.4\linewidth}
That was for a figure 40% of the line width, adjust the 0.4 if needed.
Then "insert->graphics" after this, and specify your image.
After this, another TeX box, where you type:
\caption{figure caption text}\end{wrapfigure}

This should work well, but any mistyping of the commands will
mean that printing attempts give you strange errors.
If you have lots of such figures, make one that works
and copy it around as a template instead of re-typing for every figure.

Helge Hafting







Personal dictionary

2008-05-16 Thread Rune Schjellerup Philosof

Where is the default personal dictionary placed?
I think the settings box for the personal dictionary ought to be filled 
in with the default, so that the user is able to find this.


--
Rune


LyX/Mac-1.5.5 (Universal) Released

2008-05-16 Thread Bennett Helm
A universal binary of LyX/Mac-1.5.5 has now been released. You can get it
here:
1.5.5-Universal

Of course, please report any problems to this list.

Thanks to Konrad Hofbauer and Anders Ekberg for help compiling this
release.

Bennett


LyX 1.5.4 crash in Debian/testing (fix)

2008-05-16 Thread G. Milde
Dear LyX users,

after upgrading my system to the latest and newest in Debian/testing, my
beloved LyX crashed.

This is due to QT 4.4 entering testing before the bug-fixing lyx-1.5.4-2.

The fix is easy: install lyx-1.5.4-2 or lyx-1.5.5-1 from /unstable.

Günter


Re: Text wrap float problems

2008-05-16 Thread Eric S Fraga
On Fri, May 16, 2008 at 01:52:41PM +0100, Dawid Ciecierski wrote:
> I have been using LyX only for half a year or so but since the switch I have
> fallen in love with it. I'm currently writing my thesis, which happens to
> incorporate quuite a few images in the main body of text. Since they are
> usually small, I'm hoping to use wraps so that text can wrap around it for a
> smoother `reading experience'. However, even with the newest version I'm

I can't help you in your quest to get figure/text wrapping to work
correctly (it's really a LaTeX problem and not a LyX one) but I would
strongly recommend against text wrapping in a thesis unless you really
are talking about _many_ _very small_ figures.  Having short text
lines (<50% of a typical A4 line width) does not make for a smoother
reading experience, in my experience (having examined many PhD and MSc
theses...).  I think text wrapping around figures only makes sense
with larger page formats (newsletters) and/or where space is at a
premium (conference papers, newsletters again), neither of which
applies here.

A useful alternative is to consider using subfigures, grouping
together 2, 4, ... small figures into one LyX "figure".  Might make
more sense depending on what your figures are.

Just something to consider...  and maybe help you avoid wasting time
trying to get LyX/LaTeX doing text warpping properly?

cheers,
eric


Re: Personal dictionary

2008-05-16 Thread Paul A. Rubin

Rune Schjellerup Philosof wrote:

Where is the default personal dictionary placed?


Which operating system?



includegraphics{} in subdirectory

2008-05-16 Thread Rich Shepard


  The embedded LaTeX seems to have intermittent issues; sometimes it works,
sometimes it doesn't. I need to learn how to make it work properly all the
time because it's really holding me up.

  My python application includes embedded LaTeX for reports. In one of these
reports I generate plots which are written to the reports/ subdirectory,
immediately beneath the CWD. This works fine.

  However, when I try to include these files, pdflatex tells me that the
graphic file is not found. Sometimes it works as intended, sometimes it does
not.

  Here is the code:

ivr.write('\\includegraphics{reports/'+comp+row[0]+'}')

here is pdflatex's response:

! LaTeX Error: File `reports/JobsDuration' not found.

l.447 ...er}\includegraphics{reports/JobsDuration}
  \end{center}

  However, the file is present:

[EMAIL PROTECTED] /data1/eikos]$ ls reports/JobsDuration.pdf
reports/JobsDuration.pdf

  Because pdflatex is looking in the proper directory, and the file is
there, I do not understand why I get the file not found error.

Rich

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


Re: includegraphics{} in subdirectory

2008-05-16 Thread Rich Shepard

On Fri, 16 May 2008, Rich Shepard wrote:


 The embedded LaTeX seems to have intermittent issues; sometimes it works,
sometimes it doesn't. I need to learn how to make it work properly all the
time because it's really holding me up.


  When I pasted in this text my initial sentences were lost. I originally
posted my question on Usenet at comp.text.tex but no one's responded.

Rich

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


Re: Text wrap float problems

2008-05-16 Thread Uwe Stöhr

Helge Hafting schrieb:

The problem is that text wrap doesn't work all that well in current 
versions

of LyX.  It simply breaks down if the wrapped figure gets too close to:
- a heading
- a page break


This is not a problem of LyX but of LaTeX (as describedn in the EmbeddedObjects 
manual btw.).

The upcoming Lyx 1.6 (hopefully) fixes this by using a better latex 
package to do the wrapping.


What do you expect? Since LyX 1.5.4 we switched to the best available LaTeX-package for wrap floats. 
LyX 1.6 will also use this package, but provides some more customizations for wrap floats and also 
table wrap floats. But that wrapping will fail at line breaks will stay and is not fixable by any 
LaTeX-package.



There are two ways I can recommend, if you want to use wrapped figures:

1. Install one of the alpha releases of LyX-1.6, where this is fixed.


Don't do this!!! Alpha releases are very buggy and you could loose parts of your thesis. Use LyX 
1.5.4 or Lyx 1.5.5.


2. Alternatively, use a released version of LyX, and use ERT to make the 
figures

   manually using the same technique as lyx-1.6 do it.

For the latter, put
\usepackage{wrapfig} in the document preamble.


Since LyX 1.5.4 we use wrapfig, so you don't need to do this.

regards Uwe


Re: About bibliography

2008-05-16 Thread rgheck

NinaNutz wrote:

Hello all again,
Here I am again with a question that I cannot solve for myself... 
I'm writing my thesis in lyx 1.4.4 on windows and I would like the bibliography
appears first by surname, and then name with a dot. 


I have the style natbib selected, but actually the bibliography appears
identified wiht a number... 


but I don't mind at all, but I would like to change the order of the name and
surname... 

I am using JabRef and I haven't find any option... 


Any idea about where to look for?

  
First, you should try 1.5.5. It's a lot better. It should read your 
1.4.x files no problem. Copy them to a new directory first, if you're 
concerned.


Second, You need to select the natbib style, as well, namely: 
Author-year. This is in the Document>Settings bibliography pane, I 
think. At least that's where it is in 1.5.5.


rh



Re: LyX/Mac-1.5.5 (Universal) Released

2008-05-16 Thread Honest Guvnor
On Fri, May 16, 2008 at 5:59 PM, Bennett Helm <[EMAIL PROTECTED]> wrote:
> A universal binary of LyX/Mac-1.5.5 has now been released. You can get it
> here:
> 1.5.5-Universal
>
> Of course, please report any problems to this list.

It is still unusable on OSX 10.3 because of multiple popups when
cutting-and-pasting (it is also slow but I could live with that). I
presume this can only be addressed by upgrading to the latest version
of OSX? I have tried to compile an X version without success but the
documents not surprisingly said I need the latest version of gcc.

I had the same problems with needing last week's C++ compiler when I
used a Sun. Boost was the culprit in those days. Perhaps it still is
given that the log files are still:

Could not remove the temporary directory /tmp/lyx_tmpdir2269ccDDHx/lyx_tmpbuf1
Could not delete /tmp/lyx_tmpdir2269ccDDHx/lyx_tmpbuf0.
(boost::filesystem::basic_directory_iterator increment)
Warning: Could not remove temporary directory

As before, there is nothing preventing the files being removed by hand.

I suppose one should not complain given the asking price but the
contrast with tex/latex is striking.


Re: LyX/Mac-1.5.5 (Universal) Released

2008-05-16 Thread Bennett Helm
On Fri, May 16, 2008 at 5:23 PM, Honest Guvnor <[EMAIL PROTECTED]>
wrote:

> On Fri, May 16, 2008 at 5:59 PM, Bennett Helm <[EMAIL PROTECTED]> wrote:
> > A universal binary of LyX/Mac-1.5.5 has now been released. You can get it
> > here:
> > 1.5.5-Universal<
> ftp://ftp.lyx.org/pub/lyx/bin/1.5.5/LyX-1.5.5-Mac-Universal.dmg>
> >
> > Of course, please report any problems to this list.
>
> It is still unusable on OSX 10.3 because of multiple popups when
> cutting-and-pasting (it is also slow but I could live with that). I
> presume this can only be addressed by upgrading to the latest version
> of OSX?


You need to be clearer: what is the problem that makes it unusable?

Bennett


importing spreadsheet rows and columns

2008-05-16 Thread jf7


Hi, I'm using LyX 1.5.3 and have a situation where I need to put  
spreadsheet data into tables in LyX -- several of them actually. I'm  
able to paste the spreadsheet data into LyX. But so far I haven't  
figured out a way other than the tedious method of cutting and pasting  
every cell's contents one-by-one into place in the table.


Is there any way I can at least do columns or rows at a time if not a  
the whole block of columns and rows at once?


thanks,

jamie faunt