Graphics output difficulties

2003-10-01 Thread Dan Nedelko
Hi everyone,

I am having problems with graphics output in Lyx 1.3.2 on Redhat 9 with
the QT frontend. I have been working on numerous documents with no
problems at all. When my document was complete I inserted numerous
'figures' ie graphics into the document. 

As suggested I created a figure float and inserted my image into the
float. The images display perfectly within LyX however when I attempt
any form of output my figure is completely ignored.

In an attempt to cover all bases, I ran 

lyx -dbg graphics

and I was presented with:

Setting debug level to graphics
Debugging `graphics' (Graphics conversion and loading)
Recognised Fileformat: ppm
[GrahicsCacheItem::convertToDisplayFormat]
Attempting to convert image file:
/usr/share/lyx/images/banner.ppm
with displayed filename: /usr/share/lyx/images/banner.ppm
Recognised Fileformat: ppm

The file contains ppm format data.

The image loader can load the following directly:
BMP
GIF
JPEG
MNG
PBM
PGM
PNG
PPM
XBM
XPM

Of these, LyX recognises the following formats:
bmp, gif, jpg, pbm, pgm, png, ppm, xbm, xpm

No conversion needed (from == to)!
Loading image.
just Loaded.
pixmap isNull 0 xformed_pixmap_ isNull 0
Image loading succeeded.
GraphicsImage::getScaledDImensions()
params.scale   : 100
width  : 425
height : 290
pixmap isNull 0 xformed_pixmap_ isNull 0
setPixmap()

which would appear to be correct, ie I have all filter support. When I
attempt to export-PDF(latex) I receive the following output:

The font scaling factor is 125.55
insetgraphics::latex: Filename =
/home/danny/Documents/nID/DigiQLite/Chart1.xpm
Message = 
Opts =
Before = \includegraphics
after =
[InsetGraphics::prepareFile] orig_file =
/home/danny/Documents/nID/DigiQLite/Chart1.xpm
with path: /home/danny/Documents/nID/DigiQLite/Chart1.xpm
Recognised Fileformat: xpm
Recognised Fileformat: xpm
findTargetFormat: PDF mode
 we have: from xpm to png
the orig file is: /home/danny/Documents/nID/DigiQLite/Chart1.xpm
changed to:
/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm
copying from /home/danny/Documents/nID/DigiQLite/Chart1.xpm to
/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm 
succeeded
The original file is
/home/danny/Documents/nID/DigiQLite/Chart1.xpm
A copy has been made and convert is to be called with:
file to convert =
/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm
outfile_base =
/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1
 from xpm to png
No converter defined! I use convertDefault.sh:
/usr/share/lyx/scripts/convertDefault.sh
xpm:/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm
 
png:/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.png
Recognised Fileformat: xpm
[GrahicsCacheItem::convertToDisplayFormat]
Attempting to convert image file:
/home/danny/Documents/nID/DigiQLite/Chart1.xpm
with displayed filename: ~/Documents/nID/DigiQLite/Chart1.xpm
Recognised Fileformat: xpm

The file contains xpm format data.
No conversion needed (from == to)!
Loading image.
just Loaded.
pixmap isNull 0 xformed_pixmap_ isNull 0
Image loading succeeded.
GraphicsImage::getScaledDImensions()
params.scale   : 100
width  : 769
height : 568
pixmap isNull 0 xformed_pixmap_ isNull 0
setPixmap()
Recognised Fileformat: xpm
Recognised Fileformat: xpm
[readBB_from_PSFile] no(e)ps-format

The resulting output is excellent except for the missing image. The
current output is based on an XPM version, however I have the same
results with PNG and EPS. 

Any help with my issue would be greatly appreciated!

Cheers,
-- 
Dan Nedelko, BSc. CS/Math
Lead Systems Developer
nID Solutions Inc.
519-744-9221 ext 220519-581-1062 fax
[EMAIL PROTECTED]www.nIDsolutions.com

Suite 810, 101 Frederick Street,
Kitchener, Ontario
N2L 5R9





Re: Graphics output difficulties

2003-10-01 Thread Angus Leeming
Dan Nedelko wrote:
 I am having problems with graphics output in Lyx 1.3.2 on Redhat 9 with
 the QT frontend. I have been working on numerous documents with no
 problems at all. When my document was complete I inserted numerous
 'figures' ie graphics into the document.

 In an attempt to cover all bases, I ran
 lyx -dbg graphics

Good man!

 The font scaling factor is 125.55
 insetgraphics::latex: Filename =
 /home/danny/Documents/nID/DigiQLite/Chart1.xpm
 Message = 
 Opts =
 Before = \includegraphics
 after =
 [InsetGraphics::prepareFile] orig_file =
 /home/danny/Documents/nID/DigiQLite/Chart1.xpm

xpm:/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm
png:/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.png

I wonder. Does this png image exist?

 The resulting output is excellent except for the missing image. The
 current output is based on an XPM version, however I have the same
 results with PNG and EPS.

I'm very suspicious I'm afraid. Here's why:
LyX thinks that it has converted the image just fine and so will be running 
latex on your exported document with the latex snippet
\includegraphics[your_options]{your_file}
where your_file is _home_danny_Documents_nID_DigiQLite_Chart1

If the file does not exist after all, latex will complain and produce no 
output at all.

If, however, LyX could not convert your image then it would instead export 
the latex snippet
\includegraphics[your_options, draft]{your_file}

latex would be quite happy with the non-existence of the file, producing a 
little box in the document along the lines
your_file not found!

So, the fact that latex is happy yet there appears to be no image is very 
suspicious.

You have placed the image in a float you say.

Have you checked that the image is not at the very end of the document?

What happens if you move the image out of the float so it appears Right 
Here?

-- 
Angus



Re: Graphics output difficulties

2003-10-01 Thread Rich Shepard
On Wed, 1 Oct 2003, Dan Nedelko wrote:

 I am having problems with graphics output in Lyx 1.3.2 on Redhat 9 with
 the QT frontend. I have been working on numerous documents with no
 problems at all. When my document was complete I inserted numerous
 'figures' ie graphics into the document.

Dan,

  I cannot provide either a solution or intelligent suggestion to your
immediate problem, but I can offer that I've had no problems with .eps
figures when exporting to pdflatex (or viewing the .dvi output). I've had
figures in earlier versions of LyX (with the xforms GUI and RH 6.2) and now
in my book with -1.3.2 on RH 7.3.

  When I did have problems recently, it was with illustrations generated by
xfig. The ones I've done with tgif show up nicely on screen and on paper.
This may not solve your immediate problem, but I hope it encourages you that
good graphic output can be achieved.

Rich

Dr. Richard B. Shepard, President

   Applied Ecosystem Services, Inc. (TM)
2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
 + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com
 http://www.appl-ecosys.com/


Graphics output difficulties

2003-10-01 Thread Dan Nedelko
Hi everyone,

I am having problems with graphics output in Lyx 1.3.2 on Redhat 9 with
the QT frontend. I have been working on numerous documents with no
problems at all. When my document was complete I inserted numerous
'figures' ie graphics into the document. 

As suggested I created a figure float and inserted my image into the
float. The images display perfectly within LyX however when I attempt
any form of output my figure is completely ignored.

In an attempt to cover all bases, I ran 

lyx -dbg graphics

and I was presented with:

Setting debug level to graphics
Debugging `graphics' (Graphics conversion and loading)
Recognised Fileformat: ppm
[GrahicsCacheItem::convertToDisplayFormat]
Attempting to convert image file:
/usr/share/lyx/images/banner.ppm
with displayed filename: /usr/share/lyx/images/banner.ppm
Recognised Fileformat: ppm

The file contains ppm format data.

The image loader can load the following directly:
BMP
GIF
JPEG
MNG
PBM
PGM
PNG
PPM
XBM
XPM

Of these, LyX recognises the following formats:
bmp, gif, jpg, pbm, pgm, png, ppm, xbm, xpm

No conversion needed (from == to)!
Loading image.
just Loaded.
pixmap isNull 0 xformed_pixmap_ isNull 0
Image loading succeeded.
GraphicsImage::getScaledDImensions()
params.scale   : 100
width  : 425
height : 290
pixmap isNull 0 xformed_pixmap_ isNull 0
setPixmap()

which would appear to be correct, ie I have all filter support. When I
attempt to export-PDF(latex) I receive the following output:

The font scaling factor is 125.55
insetgraphics::latex: Filename =
/home/danny/Documents/nID/DigiQLite/Chart1.xpm
Message = 
Opts =
Before = \includegraphics
after =
[InsetGraphics::prepareFile] orig_file =
/home/danny/Documents/nID/DigiQLite/Chart1.xpm
with path: /home/danny/Documents/nID/DigiQLite/Chart1.xpm
Recognised Fileformat: xpm
Recognised Fileformat: xpm
findTargetFormat: PDF mode
 we have: from xpm to png
the orig file is: /home/danny/Documents/nID/DigiQLite/Chart1.xpm
changed to:
/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm
copying from /home/danny/Documents/nID/DigiQLite/Chart1.xpm to
/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm 
succeeded
The original file is
/home/danny/Documents/nID/DigiQLite/Chart1.xpm
A copy has been made and convert is to be called with:
file to convert =
/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm
outfile_base =
/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1
 from xpm to png
No converter defined! I use convertDefault.sh:
/usr/share/lyx/scripts/convertDefault.sh
xpm:/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm
 
png:/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.png
Recognised Fileformat: xpm
[GrahicsCacheItem::convertToDisplayFormat]
Attempting to convert image file:
/home/danny/Documents/nID/DigiQLite/Chart1.xpm
with displayed filename: ~/Documents/nID/DigiQLite/Chart1.xpm
Recognised Fileformat: xpm

The file contains xpm format data.
No conversion needed (from == to)!
Loading image.
just Loaded.
pixmap isNull 0 xformed_pixmap_ isNull 0
Image loading succeeded.
GraphicsImage::getScaledDImensions()
params.scale   : 100
width  : 769
height : 568
pixmap isNull 0 xformed_pixmap_ isNull 0
setPixmap()
Recognised Fileformat: xpm
Recognised Fileformat: xpm
[readBB_from_PSFile] no(e)ps-format

The resulting output is excellent except for the missing image. The
current output is based on an XPM version, however I have the same
results with PNG and EPS. 

Any help with my issue would be greatly appreciated!

Cheers,
-- 
Dan Nedelko, BSc. CS/Math
Lead Systems Developer
nID Solutions Inc.
519-744-9221 ext 220519-581-1062 fax
[EMAIL PROTECTED]www.nIDsolutions.com

Suite 810, 101 Frederick Street,
Kitchener, Ontario
N2L 5R9





Re: Graphics output difficulties

2003-10-01 Thread Angus Leeming
Dan Nedelko wrote:
 I am having problems with graphics output in Lyx 1.3.2 on Redhat 9 with
 the QT frontend. I have been working on numerous documents with no
 problems at all. When my document was complete I inserted numerous
 'figures' ie graphics into the document.

 In an attempt to cover all bases, I ran
 lyx -dbg graphics

Good man!

 The font scaling factor is 125.55
 insetgraphics::latex: Filename =
 /home/danny/Documents/nID/DigiQLite/Chart1.xpm
 Message = 
 Opts =
 Before = \includegraphics
 after =
 [InsetGraphics::prepareFile] orig_file =
 /home/danny/Documents/nID/DigiQLite/Chart1.xpm

xpm:/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm
png:/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.png

I wonder. Does this png image exist?

 The resulting output is excellent except for the missing image. The
 current output is based on an XPM version, however I have the same
 results with PNG and EPS.

I'm very suspicious I'm afraid. Here's why:
LyX thinks that it has converted the image just fine and so will be running 
latex on your exported document with the latex snippet
\includegraphics[your_options]{your_file}
where your_file is _home_danny_Documents_nID_DigiQLite_Chart1

If the file does not exist after all, latex will complain and produce no 
output at all.

If, however, LyX could not convert your image then it would instead export 
the latex snippet
\includegraphics[your_options, draft]{your_file}

latex would be quite happy with the non-existence of the file, producing a 
little box in the document along the lines
your_file not found!

So, the fact that latex is happy yet there appears to be no image is very 
suspicious.

You have placed the image in a float you say.

Have you checked that the image is not at the very end of the document?

What happens if you move the image out of the float so it appears Right 
Here?

-- 
Angus



Re: Graphics output difficulties

2003-10-01 Thread Rich Shepard
On Wed, 1 Oct 2003, Dan Nedelko wrote:

 I am having problems with graphics output in Lyx 1.3.2 on Redhat 9 with
 the QT frontend. I have been working on numerous documents with no
 problems at all. When my document was complete I inserted numerous
 'figures' ie graphics into the document.

Dan,

  I cannot provide either a solution or intelligent suggestion to your
immediate problem, but I can offer that I've had no problems with .eps
figures when exporting to pdflatex (or viewing the .dvi output). I've had
figures in earlier versions of LyX (with the xforms GUI and RH 6.2) and now
in my book with -1.3.2 on RH 7.3.

  When I did have problems recently, it was with illustrations generated by
xfig. The ones I've done with tgif show up nicely on screen and on paper.
This may not solve your immediate problem, but I hope it encourages you that
good graphic output can be achieved.

Rich

Dr. Richard B. Shepard, President

   Applied Ecosystem Services, Inc. (TM)
2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
 + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com
 http://www.appl-ecosys.com/


Graphics output difficulties

2003-10-01 Thread Dan Nedelko
Hi everyone,

I am having problems with graphics output in Lyx 1.3.2 on Redhat 9 with
the QT frontend. I have been working on numerous documents with no
problems at all. When my document was complete I inserted numerous
'figures' ie graphics into the document. 

As suggested I created a figure float and inserted my image into the
float. The images display perfectly within LyX however when I attempt
any form of output my figure is completely ignored.

In an attempt to cover all bases, I ran 

lyx -dbg graphics

and I was presented with:

Setting debug level to graphics
Debugging `graphics' (Graphics conversion and loading)
Recognised Fileformat: ppm
[GrahicsCacheItem::convertToDisplayFormat]
Attempting to convert image file:
/usr/share/lyx/images/banner.ppm
with displayed filename: /usr/share/lyx/images/banner.ppm
Recognised Fileformat: ppm

The file contains ppm format data.

The image loader can load the following directly:
BMP
GIF
JPEG
MNG
PBM
PGM
PNG
PPM
XBM
XPM

Of these, LyX recognises the following formats:
bmp, gif, jpg, pbm, pgm, png, ppm, xbm, xpm

No conversion needed (from == to)!
Loading image.
just Loaded.
pixmap isNull 0 xformed_pixmap_ isNull 0
Image loading succeeded.
GraphicsImage::getScaledDImensions()
params.scale   : 100
width  : 425
height : 290
pixmap isNull 0 xformed_pixmap_ isNull 0
setPixmap()

which would appear to be correct, ie I have all filter support. When I
attempt to export->PDF(latex) I receive the following output:

The font scaling factor is 125.55
insetgraphics::latex: Filename =
/home/danny/Documents/nID/DigiQLite/Chart1.xpm
Message = ""
Opts =
Before = \includegraphics
after =
[InsetGraphics::prepareFile] orig_file =
/home/danny/Documents/nID/DigiQLite/Chart1.xpm
with path: /home/danny/Documents/nID/DigiQLite/Chart1.xpm
Recognised Fileformat: xpm
Recognised Fileformat: xpm
findTargetFormat: PDF mode
 we have: from xpm to png
the orig file is: /home/danny/Documents/nID/DigiQLite/Chart1.xpm
changed to:
/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm
copying from /home/danny/Documents/nID/DigiQLite/Chart1.xpm to
/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm 
succeeded
The original file is
/home/danny/Documents/nID/DigiQLite/Chart1.xpm
A copy has been made and convert is to be called with:
file to convert =
/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm
outfile_base =
/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1
 from xpm to png
No converter defined! I use convertDefault.sh:
/usr/share/lyx/scripts/convertDefault.sh
xpm:/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm
 
png:/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.png
Recognised Fileformat: xpm
[GrahicsCacheItem::convertToDisplayFormat]
Attempting to convert image file:
/home/danny/Documents/nID/DigiQLite/Chart1.xpm
with displayed filename: ~/Documents/nID/DigiQLite/Chart1.xpm
Recognised Fileformat: xpm

The file contains xpm format data.
No conversion needed (from == to)!
Loading image.
just Loaded.
pixmap isNull 0 xformed_pixmap_ isNull 0
Image loading succeeded.
GraphicsImage::getScaledDImensions()
params.scale   : 100
width  : 769
height : 568
pixmap isNull 0 xformed_pixmap_ isNull 0
setPixmap()
Recognised Fileformat: xpm
Recognised Fileformat: xpm
[readBB_from_PSFile] no(e)ps-format

The resulting output is excellent except for the missing image. The
current output is based on an XPM version, however I have the same
results with PNG and EPS. 

Any help with my issue would be greatly appreciated!

Cheers,
-- 
Dan Nedelko, BSc. CS/Math
Lead Systems Developer
nID Solutions Inc.
519-744-9221 ext 220519-581-1062 fax
[EMAIL PROTECTED]www.nIDsolutions.com

Suite 810, 101 Frederick Street,
Kitchener, Ontario
N2L 5R9





Re: Graphics output difficulties

2003-10-01 Thread Angus Leeming
Dan Nedelko wrote:
> I am having problems with graphics output in Lyx 1.3.2 on Redhat 9 with
> the QT frontend. I have been working on numerous documents with no
> problems at all. When my document was complete I inserted numerous
> 'figures' ie graphics into the document.

> In an attempt to cover all bases, I ran
> lyx -dbg graphics

Good man!

> The font scaling factor is 125.55
> insetgraphics::latex: Filename =
> /home/danny/Documents/nID/DigiQLite/Chart1.xpm
> Message = ""
> Opts =
> Before = \includegraphics
> after =
> [InsetGraphics::prepareFile] orig_file =
> /home/danny/Documents/nID/DigiQLite/Chart1.xpm

xpm:/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm
png:/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.png

I wonder. Does this png image exist?

> The resulting output is excellent except for the missing image. The
> current output is based on an XPM version, however I have the same
> results with PNG and EPS.

I'm very suspicious I'm afraid. Here's why:
LyX thinks that it has converted the image just fine and so will be running 
latex on your exported document with the latex snippet
\includegraphics[your_options]{your_file}
where your_file is _home_danny_Documents_nID_DigiQLite_Chart1

If the file does not exist after all, latex will complain and produce no 
output at all.

If, however, LyX could not convert your image then it would instead export 
the latex snippet
\includegraphics[your_options, draft]{your_file}

latex would be quite happy with the non-existence of the file, producing a 
little box in the document along the lines
your_file not found!

So, the fact that latex is happy yet there appears to be no image is very 
suspicious.

You have placed the image in a float you say.

Have you checked that the image is not at the very end of the document?

What happens if you move the image out of the float so it appears Right 
Here?

-- 
Angus



Re: Graphics output difficulties

2003-10-01 Thread Rich Shepard
On Wed, 1 Oct 2003, Dan Nedelko wrote:

> I am having problems with graphics output in Lyx 1.3.2 on Redhat 9 with
> the QT frontend. I have been working on numerous documents with no
> problems at all. When my document was complete I inserted numerous
> 'figures' ie graphics into the document.

Dan,

  I cannot provide either a solution or intelligent suggestion to your
immediate problem, but I can offer that I've had no problems with .eps
figures when exporting to pdflatex (or viewing the .dvi output). I've had
figures in earlier versions of LyX (with the xforms GUI and RH 6.2) and now
in my book with -1.3.2 on RH 7.3.

  When I did have problems recently, it was with illustrations generated by
xfig. The ones I've done with tgif show up nicely on screen and on paper.
This may not solve your immediate problem, but I hope it encourages you that
good graphic output can be achieved.

Rich

Dr. Richard B. Shepard, President

   Applied Ecosystem Services, Inc. (TM)
2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
 + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepardappl-ecosys.com
 http://www.appl-ecosys.com/