import images

2006-05-04 Thread Theo
Hi,
i know this has been asked a thousand times and i've read many threads, but stil
can't get it to work:

i want to import images into lyx. 
- i have to use insert figure float first
- insert into that box insert graphics, right?
- i dont want the image to float and i dont want the title (Figure#) to be
centered. it should be left aligned.

- how do i make a image description?

do i just write below the image with Standard selected?

thanx for your help.

theo





Re: import images

2006-05-04 Thread Ingar Pareliussen
to. 4. mai 2006 08:44 skreiv Theo:
 Hi,
 i know this has been asked a thousand times and i've read many threads, but
 stil can't get it to work:

 i want to import images into lyx.
 - i have to use insert figure float first
 - insert into that box insert graphics, right?
 - i dont want the image to float and i dont want the title (Figure#) to
 be centered. it should be left aligned.

 - how do i make a image description?

 do i just write below the image with Standard selected?

 thanx for your help.

 theo

Hi

These are contoled by the LaTeX styles. You may want to find a style that are 
better for you or you may override the style by using LaTeX as described 
below.

from: http://tug.org/TeXnik/mainFAQ.cgi?file=floats/caption

 Captions apart from Floats
 If you need your floats on own pages only with a caption like Figure # and 
additionally a list of corresponding captions, try the following (needs 
endfloat.sty):
 write in preamble: 
\usepackage{endfloat}
\let\Caption\caption
\renewcommand\caption[1]{%
\Caption[#1]{}%
}
 and insert your listoffigures in your text as usual. With this trick you can 
not use the short caption option like 
\caption[short for toc]{long for caption}

and

 Left aligned Captions
 Write in preamble: 
\makeatletter
[EMAIL PROTECTED]
  \vskip\abovecaptionskip
  [EMAIL PROTECTED]: #2}%
  \ifdim [EMAIL PROTECTED] \hsize
#1: #2\par
  \else
\global [EMAIL PROTECTED]
[EMAIL PROTECTED]@[EMAIL PROTECTED]
  \fi
  \vskip\belowcaptionskip}
\makeatother

Ingar


Re: import images

2006-05-04 Thread Helge Hafting

Theo wrote:


Hi,
i know this has been asked a thousand times and i've read many threads, but stil
can't get it to work:

i want to import images into lyx. 
- i have to use insert figure float first

- insert into that box insert graphics, right?
- i dont want the image to float and i dont want the title (Figure#) to be
centered. it should be left aligned.

- how do i make a image description?

do i just write below the image with Standard selected?
 


You don't have to use a figure float to insert an image,
particularly not if you don't want the image to float.

You can insert-graphichs directly into the document, if you wish.
The figure float provides floating (which you don't want) and
the Figure# caption.

Not using a float means the image appear exactly where you
put it, without a caption.  (There are ways to get a caption
anyway if you like - but you'll need a few latex commands.)

The big disadvantage of this approach is if the image is big,
that is more than one line high, and appear so low down
on the page that there isn't room for it.  If this happens,
lyx will put the non-floating image on the next page, leaving you
with an ugly page that have a lot of vertical white space at the bottom.
(Or perhaps that vertical white space is spread out inbetween headings
and list items on that page, which is also ugly when there's a lot of it.)

Floating images avoids this. When a floating image move to the
next page, the text appearing after the float in your document
will be used to fill the ugly gap at the bottom of the current page.

You can easily prevent an image from floating _far_ away from
where you want it - click on the float and check the Here, definitely
checkbox.   Such a float will never move far, but it will move in those
cases where you otherwise would get a very bad page break.
Otherwise, such images appear exactly where you put them.

Note that you can easily use crossreferencing to correctly refer to
a floating image even when it moves to another page.
Lyx will automatically generate texts like
figure 17 on the next page for you.  If later editing cause
the float to appear on the same page as the reference, then the
reference text will automatically change to figure 17 without the
next page part. This is fully automatic, you don't need to do a thing
to make the references come out right.  Other than inserting them
in the first place, of course.

Helge Hafting












pdfpages \includepdf not working

2006-05-04 Thread Peter Bowyer
I created a 2-page survey in a Microsoft Word document, and now need 
to include it as an appendix to my thesis (written in LyX).  I have 
produced a PDF of the survey but pdfpages (as mentioned on the wiki) 
is not working, giving the error:


Error: pdflatex (file Questionnaire.pdf): cannot find image file
 == Fatal error occurred, the output PDF file is not finished!

My LyX document and the PDF are saved in the same folder, and I'm 
using the following in an ERT:

\includepdf[pages==-]{Questionnaire.pdf}

How can I get this working?  Having triple checked the file name I'm 
stumped.  This is LyX 1.3.7 on Windows XP.


Thanks,
Peter



Re: pdfpages \includepdf not working

2006-05-04 Thread ldenham
-- Original Message --
From: Peter Bowyer [EMAIL PROTECTED]
Date: Thu, 04 May 2006 14:12:52 +0100

I created a 2-page survey in a Microsoft Word document, and now need 
to include it as an appendix to my thesis (written in LyX).  I have 
produced a PDF of the survey but pdfpages (as mentioned on the wiki) 
is not working, giving the error:

Error: pdflatex (file Questionnaire.pdf): cannot find image file
  == Fatal error occurred, the output PDF file is not finished!

My LyX document and the PDF are saved in the same folder, and I'm 
using the following in an ERT:
 \includepdf[pages==-]{Questionnaire.pdf}

How can I get this working?  Having triple checked the file name I'm 
stumped.  This is LyX 1.3.7 on Windows XP.

You could try running pdfopt, which uses Ghostscript to optimize PDF files, on 
your PDF file.  I think this is available on Windows.

Les


Re: pdfpages \includepdf not working

2006-05-04 Thread Peter Bowyer

At 15:32 04/05/2006, ldenham wrote:
You could try running pdfopt, which uses Ghostscript to optimize PDF 
files, on your PDF file.  I think this is available on Windows.


Thanks, I've tried that but still the same error.

Peter



Re: pdfpages \includepdf not working

2006-05-04 Thread Stephen Buonopane


My LyX document and the PDF are saved in the same folder, and I'm 
using the following in an ERT:

\includepdf[pages==-]{Questionnaire.pdf}



I have had trouble in the past with the dash to indicate all pages.
Try putting the first and last page numbers, e.g. [pages=1-5]



Re: pdfpages \includepdf not working

2006-05-04 Thread Peter Bowyer

At 16:06 04/05/2006, Stephen Buonopane wrote:

I have had trouble in the past with the dash to indicate all pages.
Try putting the first and last page numbers, e.g. [pages=1-5]


No joy.  My ERT now looks like
\includepdf[pages={1,2},frame=true]{qout.pdf}

and am getting the same error still.

Peter



Re: pdfpages \includepdf not working

2006-05-04 Thread ldenham
-- Original Message --
From: Peter Bowyer [EMAIL PROTECTED]
Date: Thu, 04 May 2006 16:34:58 +0100

At 16:06 04/05/2006, Stephen Buonopane wrote:
I have had trouble in the past with the dash to indicate all pages.
Try putting the first and last page numbers, e.g. [pages=1-5]

No joy.  My ERT now looks like
\includepdf[pages={1,2},frame=true]{qout.pdf}

and am getting the same error still.

Peter

Peter,

It still seems to me to be a problem with the PDF file.  Can you generate it in 
a different way?  For example, if you generated it from MS Word by printing 
Postscript to a file, then using ps2pdf, you might try opening the .doc file 
with OpenOffice and exporting directly as a PDF file.

Les


Re: pdfpages \includepdf not working

2006-05-04 Thread Peter Bowyer

At 20:50 04/05/2006, ldenham wrote:
It still seems to me to be a problem with the PDF file.  Can you 
generate it in a different way?  For example, if you generated it 
from MS Word by printing Postscript to a file, then using ps2pdf, 
you might try opening the .doc file with OpenOffice and exporting 
directly as a PDF file.


I tried that and got exactly the same problem :(  The first time I 
produced the PDF using PDFCreator, the second time from OpenOffice 
2.0.  Both give identical errors, which leads me to think it must be 
a problem using PDFPages?


I've posted the Word document, PDF file and a sample LyX file online 
at http://dev.mapledesign.co.uk/lyx/ and if someone would test if it 
works on their computer that would be great.  I have to hand in my 
thesis by 3pm GMT tomorrow, so if this doesn't work I'll be reduced 
to stapling a Word printout to the back!


One possible issue might be that not all required LaTeX packages are 
installed?  Out of those listed in 
http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf 
I cannot find everyshi in the MiKTeX package manager (and graphicx, 
ifthen and calc don't show up in the package manager either - but I'm 
guessing because they are core packages?)


Peter

--
Maple Design - quality web design and programming
http://www.mapledesign.co.uk 



Re: pdfpages \includepdf not working

2006-05-04 Thread Peter Bowyer

Just to follow up,  I think everyshi is properly installed:
C:\Programs\MiKTeXfind . -name everyshi* -print
.\doc\latex\ms\everyshi.dvi
.\tex\generic\tex4ht\everyshi.4ht
.\tex\latex\ms\everyshi.sty

Which I'm guessing rules out the problem being in the MiKTeX installation.

Peter



Re: pdfpages \includepdf not working

2006-05-04 Thread Björn Snippe

Hi,

I tried it on my system (WinXP, Lyx 1.4.1) and keep getting errors saying
Package pdfpages Error: You are using neither pdfTeX nor VTeX.
Maybe I'm just doing it wrong, though, as I'm a newbie to Lyx/Latex.

If you just need to concatenate the two PDFs (your thesis and the 
survey) you could try FreePDF (http://freepdfxp.de/) (Windows and German 
only, AFAIK), which has also a 'MultiDoc' function to do just that - 
feed it two PDFs and get out one.


Peter Bowyer schrieb:
[...]
I've posted the Word document, PDF file and a sample LyX file online at 
http://dev.mapledesign.co.uk/lyx/ and if someone would test if it works 
on their computer that would be great.  I have to hand in my thesis by 
3pm GMT tomorrow, so if this doesn't work I'll be reduced to stapling a 
Word printout to the back!

[...]


Lyx 1.4.1 compatibility with its older versions

2006-05-04 Thread Adinda Praditya

Hi list,

I made an article using LyX 1.4.1 and got lots of errors (over 200) when i
tried to edit it using 1.3.7 version. There are tags can't be recognized. Is
there a way to solve this compatibility problem? Is there any explanation to
this condition?

Thanks,

Adinda P


horizontal spacing in table of contents

2006-05-04 Thread Ray Henry

My table of contents looses the space between the number and name when
numbers become greater than 10.  This is 1.3.6 qt using pdflatex on a
standard Ubuntu install.

Ray



How to turn off math preview?

2006-05-04 Thread Laszlo E. Szabo
Could you help me, please, how can I turn off the math formula instant preview 
in LyX-qt 1.4.1 (linux)? Reasons: 1) slow 2) I cannot see the border of a 
formula 3) 
I cannot recognize an empty formula left in the text.

With many thanks in advance,

Laszlo E. Szabo

-- 
L a s z l o   E.   S z a b o
Theoretical Physics Research Group of the Hungarian Academy of Sciences
Department of History and Philosophy of Science
Eotvos University, Budapest
http://philosophy.elte.hu/leszabo


import images

2006-05-04 Thread Theo
Hi,
i know this has been asked a thousand times and i've read many threads, but stil
can't get it to work:

i want to import images into lyx. 
- i have to use insert figure float first
- insert into that box insert graphics, right?
- i dont want the image to float and i dont want the title (Figure#) to be
centered. it should be left aligned.

- how do i make a image description?

do i just write below the image with Standard selected?

thanx for your help.

theo





Re: import images

2006-05-04 Thread Ingar Pareliussen
to. 4. mai 2006 08:44 skreiv Theo:
 Hi,
 i know this has been asked a thousand times and i've read many threads, but
 stil can't get it to work:

 i want to import images into lyx.
 - i have to use insert figure float first
 - insert into that box insert graphics, right?
 - i dont want the image to float and i dont want the title (Figure#) to
 be centered. it should be left aligned.

 - how do i make a image description?

 do i just write below the image with Standard selected?

 thanx for your help.

 theo

Hi

These are contoled by the LaTeX styles. You may want to find a style that are 
better for you or you may override the style by using LaTeX as described 
below.

from: http://tug.org/TeXnik/mainFAQ.cgi?file=floats/caption

 Captions apart from Floats
 If you need your floats on own pages only with a caption like Figure # and 
additionally a list of corresponding captions, try the following (needs 
endfloat.sty):
 write in preamble: 
\usepackage{endfloat}
\let\Caption\caption
\renewcommand\caption[1]{%
\Caption[#1]{}%
}
 and insert your listoffigures in your text as usual. With this trick you can 
not use the short caption option like 
\caption[short for toc]{long for caption}

and

 Left aligned Captions
 Write in preamble: 
\makeatletter
[EMAIL PROTECTED]
  \vskip\abovecaptionskip
  [EMAIL PROTECTED]: #2}%
  \ifdim [EMAIL PROTECTED] \hsize
#1: #2\par
  \else
\global [EMAIL PROTECTED]
[EMAIL PROTECTED]@[EMAIL PROTECTED]
  \fi
  \vskip\belowcaptionskip}
\makeatother

Ingar


Re: import images

2006-05-04 Thread Helge Hafting

Theo wrote:


Hi,
i know this has been asked a thousand times and i've read many threads, but stil
can't get it to work:

i want to import images into lyx. 
- i have to use insert figure float first

- insert into that box insert graphics, right?
- i dont want the image to float and i dont want the title (Figure#) to be
centered. it should be left aligned.

- how do i make a image description?

do i just write below the image with Standard selected?
 


You don't have to use a figure float to insert an image,
particularly not if you don't want the image to float.

You can insert-graphichs directly into the document, if you wish.
The figure float provides floating (which you don't want) and
the Figure# caption.

Not using a float means the image appear exactly where you
put it, without a caption.  (There are ways to get a caption
anyway if you like - but you'll need a few latex commands.)

The big disadvantage of this approach is if the image is big,
that is more than one line high, and appear so low down
on the page that there isn't room for it.  If this happens,
lyx will put the non-floating image on the next page, leaving you
with an ugly page that have a lot of vertical white space at the bottom.
(Or perhaps that vertical white space is spread out inbetween headings
and list items on that page, which is also ugly when there's a lot of it.)

Floating images avoids this. When a floating image move to the
next page, the text appearing after the float in your document
will be used to fill the ugly gap at the bottom of the current page.

You can easily prevent an image from floating _far_ away from
where you want it - click on the float and check the Here, definitely
checkbox.   Such a float will never move far, but it will move in those
cases where you otherwise would get a very bad page break.
Otherwise, such images appear exactly where you put them.

Note that you can easily use crossreferencing to correctly refer to
a floating image even when it moves to another page.
Lyx will automatically generate texts like
figure 17 on the next page for you.  If later editing cause
the float to appear on the same page as the reference, then the
reference text will automatically change to figure 17 without the
next page part. This is fully automatic, you don't need to do a thing
to make the references come out right.  Other than inserting them
in the first place, of course.

Helge Hafting












pdfpages \includepdf not working

2006-05-04 Thread Peter Bowyer
I created a 2-page survey in a Microsoft Word document, and now need 
to include it as an appendix to my thesis (written in LyX).  I have 
produced a PDF of the survey but pdfpages (as mentioned on the wiki) 
is not working, giving the error:


Error: pdflatex (file Questionnaire.pdf): cannot find image file
 == Fatal error occurred, the output PDF file is not finished!

My LyX document and the PDF are saved in the same folder, and I'm 
using the following in an ERT:

\includepdf[pages==-]{Questionnaire.pdf}

How can I get this working?  Having triple checked the file name I'm 
stumped.  This is LyX 1.3.7 on Windows XP.


Thanks,
Peter



Re: pdfpages \includepdf not working

2006-05-04 Thread ldenham
-- Original Message --
From: Peter Bowyer [EMAIL PROTECTED]
Date: Thu, 04 May 2006 14:12:52 +0100

I created a 2-page survey in a Microsoft Word document, and now need 
to include it as an appendix to my thesis (written in LyX).  I have 
produced a PDF of the survey but pdfpages (as mentioned on the wiki) 
is not working, giving the error:

Error: pdflatex (file Questionnaire.pdf): cannot find image file
  == Fatal error occurred, the output PDF file is not finished!

My LyX document and the PDF are saved in the same folder, and I'm 
using the following in an ERT:
 \includepdf[pages==-]{Questionnaire.pdf}

How can I get this working?  Having triple checked the file name I'm 
stumped.  This is LyX 1.3.7 on Windows XP.

You could try running pdfopt, which uses Ghostscript to optimize PDF files, on 
your PDF file.  I think this is available on Windows.

Les


Re: pdfpages \includepdf not working

2006-05-04 Thread Peter Bowyer

At 15:32 04/05/2006, ldenham wrote:
You could try running pdfopt, which uses Ghostscript to optimize PDF 
files, on your PDF file.  I think this is available on Windows.


Thanks, I've tried that but still the same error.

Peter



Re: pdfpages \includepdf not working

2006-05-04 Thread Stephen Buonopane


My LyX document and the PDF are saved in the same folder, and I'm 
using the following in an ERT:

\includepdf[pages==-]{Questionnaire.pdf}



I have had trouble in the past with the dash to indicate all pages.
Try putting the first and last page numbers, e.g. [pages=1-5]



Re: pdfpages \includepdf not working

2006-05-04 Thread Peter Bowyer

At 16:06 04/05/2006, Stephen Buonopane wrote:

I have had trouble in the past with the dash to indicate all pages.
Try putting the first and last page numbers, e.g. [pages=1-5]


No joy.  My ERT now looks like
\includepdf[pages={1,2},frame=true]{qout.pdf}

and am getting the same error still.

Peter



Re: pdfpages \includepdf not working

2006-05-04 Thread ldenham
-- Original Message --
From: Peter Bowyer [EMAIL PROTECTED]
Date: Thu, 04 May 2006 16:34:58 +0100

At 16:06 04/05/2006, Stephen Buonopane wrote:
I have had trouble in the past with the dash to indicate all pages.
Try putting the first and last page numbers, e.g. [pages=1-5]

No joy.  My ERT now looks like
\includepdf[pages={1,2},frame=true]{qout.pdf}

and am getting the same error still.

Peter

Peter,

It still seems to me to be a problem with the PDF file.  Can you generate it in 
a different way?  For example, if you generated it from MS Word by printing 
Postscript to a file, then using ps2pdf, you might try opening the .doc file 
with OpenOffice and exporting directly as a PDF file.

Les


Re: pdfpages \includepdf not working

2006-05-04 Thread Peter Bowyer

At 20:50 04/05/2006, ldenham wrote:
It still seems to me to be a problem with the PDF file.  Can you 
generate it in a different way?  For example, if you generated it 
from MS Word by printing Postscript to a file, then using ps2pdf, 
you might try opening the .doc file with OpenOffice and exporting 
directly as a PDF file.


I tried that and got exactly the same problem :(  The first time I 
produced the PDF using PDFCreator, the second time from OpenOffice 
2.0.  Both give identical errors, which leads me to think it must be 
a problem using PDFPages?


I've posted the Word document, PDF file and a sample LyX file online 
at http://dev.mapledesign.co.uk/lyx/ and if someone would test if it 
works on their computer that would be great.  I have to hand in my 
thesis by 3pm GMT tomorrow, so if this doesn't work I'll be reduced 
to stapling a Word printout to the back!


One possible issue might be that not all required LaTeX packages are 
installed?  Out of those listed in 
http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf 
I cannot find everyshi in the MiKTeX package manager (and graphicx, 
ifthen and calc don't show up in the package manager either - but I'm 
guessing because they are core packages?)


Peter

--
Maple Design - quality web design and programming
http://www.mapledesign.co.uk 



Re: pdfpages \includepdf not working

2006-05-04 Thread Peter Bowyer

Just to follow up,  I think everyshi is properly installed:
C:\Programs\MiKTeXfind . -name everyshi* -print
.\doc\latex\ms\everyshi.dvi
.\tex\generic\tex4ht\everyshi.4ht
.\tex\latex\ms\everyshi.sty

Which I'm guessing rules out the problem being in the MiKTeX installation.

Peter



Re: pdfpages \includepdf not working

2006-05-04 Thread Björn Snippe

Hi,

I tried it on my system (WinXP, Lyx 1.4.1) and keep getting errors saying
Package pdfpages Error: You are using neither pdfTeX nor VTeX.
Maybe I'm just doing it wrong, though, as I'm a newbie to Lyx/Latex.

If you just need to concatenate the two PDFs (your thesis and the 
survey) you could try FreePDF (http://freepdfxp.de/) (Windows and German 
only, AFAIK), which has also a 'MultiDoc' function to do just that - 
feed it two PDFs and get out one.


Peter Bowyer schrieb:
[...]
I've posted the Word document, PDF file and a sample LyX file online at 
http://dev.mapledesign.co.uk/lyx/ and if someone would test if it works 
on their computer that would be great.  I have to hand in my thesis by 
3pm GMT tomorrow, so if this doesn't work I'll be reduced to stapling a 
Word printout to the back!

[...]


Lyx 1.4.1 compatibility with its older versions

2006-05-04 Thread Adinda Praditya

Hi list,

I made an article using LyX 1.4.1 and got lots of errors (over 200) when i
tried to edit it using 1.3.7 version. There are tags can't be recognized. Is
there a way to solve this compatibility problem? Is there any explanation to
this condition?

Thanks,

Adinda P


horizontal spacing in table of contents

2006-05-04 Thread Ray Henry

My table of contents looses the space between the number and name when
numbers become greater than 10.  This is 1.3.6 qt using pdflatex on a
standard Ubuntu install.

Ray



How to turn off math preview?

2006-05-04 Thread Laszlo E. Szabo
Could you help me, please, how can I turn off the math formula instant preview 
in LyX-qt 1.4.1 (linux)? Reasons: 1) slow 2) I cannot see the border of a 
formula 3) 
I cannot recognize an empty formula left in the text.

With many thanks in advance,

Laszlo E. Szabo

-- 
L a s z l o   E.   S z a b o
Theoretical Physics Research Group of the Hungarian Academy of Sciences
Department of History and Philosophy of Science
Eotvos University, Budapest
http://philosophy.elte.hu/leszabo


import images

2006-05-04 Thread Theo
Hi,
i know this has been asked a thousand times and i've read many threads, but stil
can't get it to work:

i want to import images into lyx. 
- i have to use "insert figure float" first
- insert into that box "insert graphics", right?
- i dont want the image to float and i dont want the title ("Figure#") to be
centered. it should be left aligned.

- how do i make a image description?

do i just write below the image with "Standard" selected?

thanx for your help.

theo





Re: import images

2006-05-04 Thread Ingar Pareliussen
to. 4. mai 2006 08:44 skreiv Theo:
> Hi,
> i know this has been asked a thousand times and i've read many threads, but
> stil can't get it to work:
>
> i want to import images into lyx.
> - i have to use "insert figure float" first
> - insert into that box "insert graphics", right?
> - i dont want the image to float and i dont want the title ("Figure#") to
> be centered. it should be left aligned.
>
> - how do i make a image description?
>
> do i just write below the image with "Standard" selected?
>
> thanx for your help.
>
> theo

Hi

These are contoled by the LaTeX styles. You may want to find a style that are 
better for you or you may override the style by using LaTeX as described 
below.

from: http://tug.org/TeXnik/mainFAQ.cgi?file=floats/caption

 Captions apart from Floats
 If you need your floats on own pages only with a caption like "Figure #" and 
additionally a list of corresponding captions, try the following (needs 
endfloat.sty):
 write in preamble: 
\usepackage{endfloat}
\let\Caption\caption
\renewcommand\caption[1]{%
\Caption[#1]{}%
}
 and insert your listoffigures in your text as usual. With this trick you can 
not use the short caption option like 
\caption[short for toc]{long for caption}

and

 Left aligned Captions
 Write in preamble: 
\makeatletter
[EMAIL PROTECTED]
  \vskip\abovecaptionskip
  [EMAIL PROTECTED]: #2}%
  \ifdim [EMAIL PROTECTED] >\hsize
#1: #2\par
  \else
\global [EMAIL PROTECTED]
[EMAIL PROTECTED]@[EMAIL PROTECTED]
  \fi
  \vskip\belowcaptionskip}
\makeatother

Ingar


Re: import images

2006-05-04 Thread Helge Hafting

Theo wrote:


Hi,
i know this has been asked a thousand times and i've read many threads, but stil
can't get it to work:

i want to import images into lyx. 
- i have to use "insert figure float" first

- insert into that box "insert graphics", right?
- i dont want the image to float and i dont want the title ("Figure#") to be
centered. it should be left aligned.

- how do i make a image description?

do i just write below the image with "Standard" selected?
 


You don't have to use a figure float to insert an image,
particularly not if you don't want the image to float.

You can insert->graphichs directly into the document, if you wish.
The "figure float" provides floating (which you don't want) and
the Figure# caption.

Not using a float means the image appear exactly where you
put it, without a caption.  (There are ways to get a caption
anyway if you like - but you'll need a few latex commands.)

The big disadvantage of this approach is if the image is big,
that is more than one line high, and appear so low down
on the page that there isn't room for it.  If this happens,
lyx will put the non-floating image on the next page, leaving you
with an ugly page that have a lot of vertical white space at the bottom.
(Or perhaps that vertical white space is spread out inbetween headings
and list items on that page, which is also ugly when there's a lot of it.)

Floating images avoids this. When a floating image move to the
next page, the text appearing after the float in your document
will be used to fill the ugly gap at the bottom of the current page.

You can easily prevent an image from floating _far_ away from
where you want it - click on the float and check the "Here, definitely"
checkbox.   Such a float will never move far, but it will move in those
cases where you otherwise would get a very bad page break.
Otherwise, such images appear exactly where you put them.

Note that you can easily use crossreferencing to correctly refer to
a floating image even when it moves to another page.
Lyx will automatically generate texts like
"figure 17 on the next page" for you.  If later editing cause
the float to appear on the same page as the reference, then the
reference text will automatically change to "figure 17" without the
"next page" part. This is fully automatic, you don't need to do a thing
to make the references come out right.  Other than inserting them
in the first place, of course.

Helge Hafting












pdfpages \includepdf not working

2006-05-04 Thread Peter Bowyer
I created a 2-page survey in a Microsoft Word document, and now need 
to include it as an appendix to my thesis (written in LyX).  I have 
produced a PDF of the survey but pdfpages (as mentioned on the wiki) 
is not working, giving the error:


Error: pdflatex (file Questionnaire.pdf): cannot find image file
 ==> Fatal error occurred, the output PDF file is not finished!

My LyX document and the PDF are saved in the same folder, and I'm 
using the following in an ERT:

\includepdf[pages==-]{Questionnaire.pdf}

How can I get this working?  Having triple checked the file name I'm 
stumped.  This is LyX 1.3.7 on Windows XP.


Thanks,
Peter



Re: pdfpages \includepdf not working

2006-05-04 Thread ldenham
-- Original Message --
From: Peter Bowyer <[EMAIL PROTECTED]>
Date: Thu, 04 May 2006 14:12:52 +0100

>I created a 2-page survey in a Microsoft Word document, and now need 
>to include it as an appendix to my thesis (written in LyX).  I have 
>produced a PDF of the survey but pdfpages (as mentioned on the wiki) 
>is not working, giving the error:
>
>Error: pdflatex (file Questionnaire.pdf): cannot find image file
>  ==> Fatal error occurred, the output PDF file is not finished!
>
>My LyX document and the PDF are saved in the same folder, and I'm 
>using the following in an ERT:
> \includepdf[pages==-]{Questionnaire.pdf}
>
>How can I get this working?  Having triple checked the file name I'm 
>stumped.  This is LyX 1.3.7 on Windows XP.
>
You could try running pdfopt, which uses Ghostscript to optimize PDF files, on 
your PDF file.  I think this is available on Windows.

Les


Re: pdfpages \includepdf not working

2006-05-04 Thread Peter Bowyer

At 15:32 04/05/2006, ldenham wrote:
You could try running pdfopt, which uses Ghostscript to optimize PDF 
files, on your PDF file.  I think this is available on Windows.


Thanks, I've tried that but still the same error.

Peter



Re: pdfpages \includepdf not working

2006-05-04 Thread Stephen Buonopane


My LyX document and the PDF are saved in the same folder, and I'm 
using the following in an ERT:

\includepdf[pages==-]{Questionnaire.pdf}



I have had trouble in the past with the dash to indicate all pages.
Try putting the first and last page numbers, e.g. [pages=1-5]



Re: pdfpages \includepdf not working

2006-05-04 Thread Peter Bowyer

At 16:06 04/05/2006, Stephen Buonopane wrote:

I have had trouble in the past with the dash to indicate all pages.
Try putting the first and last page numbers, e.g. [pages=1-5]


No joy.  My ERT now looks like
\includepdf[pages={1,2},frame=true]{qout.pdf}

and am getting the same error still.

Peter



Re: pdfpages \includepdf not working

2006-05-04 Thread ldenham
-- Original Message --
From: Peter Bowyer <[EMAIL PROTECTED]>
Date: Thu, 04 May 2006 16:34:58 +0100

>At 16:06 04/05/2006, Stephen Buonopane wrote:
>>I have had trouble in the past with the dash to indicate all pages.
>>Try putting the first and last page numbers, e.g. [pages=1-5]
>
>No joy.  My ERT now looks like
>\includepdf[pages={1,2},frame=true]{qout.pdf}
>
>and am getting the same error still.
>
>Peter
>
Peter,

It still seems to me to be a problem with the PDF file.  Can you generate it in 
a different way?  For example, if you generated it from MS Word by printing 
Postscript to a file, then using ps2pdf, you might try opening the .doc file 
with OpenOffice and exporting directly as a PDF file.

Les


Re: pdfpages \includepdf not working

2006-05-04 Thread Peter Bowyer

At 20:50 04/05/2006, ldenham wrote:
It still seems to me to be a problem with the PDF file.  Can you 
generate it in a different way?  For example, if you generated it 
from MS Word by printing Postscript to a file, then using ps2pdf, 
you might try opening the .doc file with OpenOffice and exporting 
directly as a PDF file.


I tried that and got exactly the same problem :(  The first time I 
produced the PDF using PDFCreator, the second time from OpenOffice 
2.0.  Both give identical errors, which leads me to think it must be 
a problem using PDFPages?


I've posted the Word document, PDF file and a sample LyX file online 
at http://dev.mapledesign.co.uk/lyx/ and if someone would test if it 
works on their computer that would be great.  I have to hand in my 
thesis by 3pm GMT tomorrow, so if this doesn't work I'll be reduced 
to stapling a Word printout to the back!


One possible issue might be that not all required LaTeX packages are 
installed?  Out of those listed in 
http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf 
I cannot find everyshi in the MiKTeX package manager (and graphicx, 
ifthen and calc don't show up in the package manager either - but I'm 
guessing because they are core packages?)


Peter

--
Maple Design - quality web design and programming
http://www.mapledesign.co.uk 



Re: pdfpages \includepdf not working

2006-05-04 Thread Peter Bowyer

Just to follow up,  I think everyshi is properly installed:
C:\Programs\MiKTeX>find . -name everyshi* -print
.\doc\latex\ms\everyshi.dvi
.\tex\generic\tex4ht\everyshi.4ht
.\tex\latex\ms\everyshi.sty

Which I'm guessing rules out the problem being in the MiKTeX installation.

Peter



Re: pdfpages \includepdf not working

2006-05-04 Thread Björn Snippe

Hi,

I tried it on my system (WinXP, Lyx 1.4.1) and keep getting errors saying
"Package pdfpages Error: You are using neither pdfTeX nor VTeX."
Maybe I'm just doing it wrong, though, as I'm a newbie to Lyx/Latex.

If you just need to concatenate the two PDFs (your thesis and the 
survey) you could try FreePDF (http://freepdfxp.de/) (Windows and German 
only, AFAIK), which has also a 'MultiDoc' function to do just that - 
feed it two PDFs and get out one.


Peter Bowyer schrieb:
[...]
I've posted the Word document, PDF file and a sample LyX file online at 
http://dev.mapledesign.co.uk/lyx/ and if someone would test if it works 
on their computer that would be great.  I have to hand in my thesis by 
3pm GMT tomorrow, so if this doesn't work I'll be reduced to stapling a 
Word printout to the back!

[...]


Lyx 1.4.1 compatibility with its older versions

2006-05-04 Thread Adinda Praditya

Hi list,

I made an article using LyX 1.4.1 and got lots of errors (over 200) when i
tried to edit it using 1.3.7 version. There are tags can't be recognized. Is
there a way to solve this compatibility problem? Is there any explanation to
this condition?

Thanks,

Adinda P


horizontal spacing in table of contents

2006-05-04 Thread Ray Henry

My table of contents looses the space between the number and name when
numbers become greater than 10.  This is 1.3.6 qt using pdflatex on a
standard Ubuntu install.

Ray



How to turn off math preview?

2006-05-04 Thread Laszlo E. Szabo
Could you help me, please, how can I turn off the math formula instant preview 
in LyX-qt 1.4.1 (linux)? Reasons: 1) slow 2) I cannot see the border of a 
formula 3) 
I cannot recognize an empty formula left in the text.

With many thanks in advance,

Laszlo E. Szabo

-- 
L a s z l o   E.   S z a b o
Theoretical Physics Research Group of the Hungarian Academy of Sciences
Department of History and Philosophy of Science
Eotvos University, Budapest
http://philosophy.elte.hu/leszabo