I though this works.

I get tons of:


-----------------------------------------------------------------------
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--
   %--nostringval--   2   %stopped_push   --nostringval--   --nostringval--
   %--nostringval--   false   1   %stopped_push   --nostringval--
   %--nostringval--
Dictionary stack:
   --dict:1057/1417(ro)(G)--   --dict:0/20(G)--   --dict:68/200(L)--
Current allocation mode is local
-----------------------------------------------------------------------

And:

File "_tmp_lyx_tmpdir2468IVKJg0_lyx_tmpbuf0_29.ps" does not exist
File "_tmp_lyx_tmpdir2468IVKJg0_lyx_tmpbuf0_29.ps" does not exist
File "_tmp_lyx_tmpdir2468IVKJg0_lyx_tmpbuf0_30.ps" does not exist
File "_tmp_lyx_tmpdir2468IVKJg0_lyx_tmpbuf0_30.ps" does not exist
File "_tmp_lyx_tmpdir2468IVKJg0_lyx_tmpbuf0_31.ps" does not exist
File "_tmp_lyx_tmpdir2468IVKJg0_lyx_tmpbuf0_31.ps" does not exist
File "_tmp_lyx_tmpdir2468IVKJg0_lyx_tmpbuf0_32.ps" does not exist
ile "_tmp_lyx_tmpdir2468IVKJg0_lyx_tmpbuf0_7.ps" does not exist
Incorrect format in the first line in input file
Incorrect format in the first line in input file
File "folie2.ps" does not exist



lyx -dbg graphics yields:

Setting debug level to graphics
Debugging `graphics' (Graphics conversion and loading)LoaderQueue:  priority set to 10 
images at a time, 100 milliseconds between calls
LoaderQueue: waking up
LoaderQueue: 1 items in the queue
Recognised Fileformat: ppm
[GrahicsCacheItem::convertToDisplayFormat]
        Attempting to convert image file: /usr/src/lyx/lyx-devel/lib/images/banner.ppm
        with displayed filename: /usr/src/lyx/lyx-devel/lib/images/banner.ppm
Recognised Fileformat: ppm

        The file contains ppm format data.

The image loader can load the following directly:
Windows/OS2 BMP file, extension "bmp"
NASA/NOST FITS, extension "fits"
CompuServ GIF, extension "gif"
JPEG/JFIF format, extension "jpg"
Portable Pixmap, extension "ppm"
Portable Graymap, extension "pgm"
Portable Bitmap, extension "pbm"
SGI Iris, extension "sgi"
Tag Image File Format, extension "tif"
X11 Bitmap, extension "xbm"
X Window Dump, extension "xwd"

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

        No conversion needed (from == to)!
Loading image.
xforms image loader. Status: Done Reading ppm
Image loading succeeded.
GraphicsImage::getScaledDImensions()
        params.scale       : 100
        width              : 425
        height             : 290
LoaderQueue: I'm going to sleep
LyX: FormatEnd [around line 18 of file /usr/src/lyx/lyx-devel/lib/external_templates]
LyX: FormatEnd [around line 24 of file /usr/src/lyx/lyx-devel/lib/external_templates]
LyX: FormatEnd [around line 29 of file /usr/src/lyx/lyx-devel/lib/external_templates]
LyX: FormatEnd [around line 34 of file /usr/src/lyx/lyx-devel/lib/external_templates]
LyX: FormatEnd [around line 37 of file /usr/src/lyx/lyx-devel/lib/external_templates]
LyX: FormatEnd [around line 68 of file /usr/src/lyx/lyx-devel/lib/external_templates]
LyX: FormatEnd [around line 73 of file /usr/src/lyx/lyx-devel/lib/external_templates]
LyX: FormatEnd [around line 76 of file /usr/src/lyx/lyx-devel/lib/external_templates]
LyX: FormatEnd [around line 79 of file /usr/src/lyx/lyx-devel/lib/external_templates]
LyX: FormatEnd [around line 95 of file /usr/src/lyx/lyx-devel/lib/external_templates]
LyX: FormatEnd [around line 100 of file /usr/src/lyx/lyx-devel/lib/external_templates]
LyX: FormatEnd [around line 105 of file /usr/src/lyx/lyx-devel/lib/external_templates]
LyX: FormatEnd [around line 110 of file /usr/src/lyx/lyx-devel/lib/external_templates]
Template ChessDiagram
        GuiName [Chess: $$Basename]
        HelpText
A chess position diagram.
This template will use XBoard to edit the position.
Use the 'File->Save Position' in XBoard to save 
the position that you want to display.
Make sure to give it a '.fen' extension
and remember to type in a relative path
to the LyX document location.
Within XBoard, use 'Edit->Edit Position'
to enable general editing of the board.
You might also check out the
'Options->Test legality' option, and
remember to middle and right click to 
insert new material in the board.
In order for this to work, you have to
put the bundled lyxskak.sty in a place
that TeX will find it, and you will need
to install the skak package from CTAN.
        HelpTextEnd
        InputFormat fen
        FileFilter *.fen
        EditCommand xboard -lpf $$FName -mode EditPosition
        AutomaticProduction 1
        Format Ascii
                Product $$Contents("$$Basename.asc")
                UpdateFormat asciichess
                UpdateResult $$Basename.asc
                Requirement 
                Preamble
                PreambleEnd
        FormatEnd
        Format DocBook
                Product [Chess: $$Basename]
                UpdateFormat 
                UpdateResult 
                Requirement 
                Preamble
                PreambleEnd
        FormatEnd
        Format LaTeX
                Product \loadgame{$$FPath$$Basename}\showboard
                UpdateFormat 
                UpdateResult 
                Requirement chess
                Preamble
                PreambleEnd
        FormatEnd
        Format LinuxDoc
                Product [Chess: $$FName]
                UpdateFormat 
                UpdateResult 
                Requirement 
                Preamble
                PreambleEnd
        FormatEnd
TemplateEnd
Template Date
        GuiName [Date]
        HelpText
Todays date.
Read 'info date' for more information.
        HelpTextEnd
        InputFormat date
        FileFilter *
        EditCommand 
        AutomaticProduction 1
        Format Ascii
                Product $$Contents("$$Tempname")
                UpdateFormat dateout
                UpdateResult $$Tempname
                Requirement 
                Preamble
                PreambleEnd
        FormatEnd
        Format DocBook
                Product $$Contents("$$Tempname")
                UpdateFormat dateout
                UpdateResult $$Tempname
                Requirement 
                Preamble
                PreambleEnd
        FormatEnd
        Format LaTeX
                Product $$Contents("$$Tempname")
                UpdateFormat dateout
                UpdateResult $$Tempname
                Requirement 
                Preamble
                PreambleEnd
        FormatEnd
        Format LinuxDoc
                Product $$Contents("$$Tempname")
                UpdateFormat dateout
                UpdateResult $$Tempname
                Requirement 
                Preamble
                PreambleEnd
        FormatEnd
TemplateEnd
Template XFig
        GuiName [XFig: $$Basename]
        HelpText
An XFig figure.
This template uses XFig for editing.
        HelpTextEnd
        InputFormat fig
        FileFilter *.fig
        EditCommand xfig $$FName
        AutomaticProduction 1
        Format Ascii
                Product $$Contents("$$Basename.asc")
                UpdateFormat asciixfig
                UpdateResult $$Basename.asc
                Requirement 
                Preamble
                PreambleEnd
        FormatEnd
        Format DocBook
                Product <graphic fileref="$$Basename.eps"></graphic>
                UpdateFormat eps
                UpdateResult $$Basename.eps
                Requirement 
                Preamble
                PreambleEnd
        FormatEnd
        Format LaTeX
                Product \input{$$Basename.pstex_t}
                UpdateFormat pstex
                UpdateResult $$Basename.pstex_t
                Requirement graphicx
                Preamble
                PreambleEnd
        FormatEnd
        Format LinuxDoc
                Product [XFig: $$FName]
                UpdateFormat 
                UpdateResult 
                Requirement 
                Preamble
                PreambleEnd
        FormatEnd
        Format PDFLaTeX
                Product \input{$$Basename.pdftex_t}
                UpdateFormat pdftex
                UpdateResult $$Basename.pdftex_t
                Requirement graphicx
                Preamble
                PreambleEnd
        FormatEnd
TemplateEnd
File "_tmp_lyx_tmpdir2948bdkoax_lyx_tmpbuf0_2.ps" does not exist
File "_tmp_lyx_tmpdir2948bdkoax_lyx_tmpbuf0_2.ps" does not exist
File "_tmp_lyx_tmpdir2948bdkoax_lyx_tmpbuf0_3.ps" does not exist
File "_tmp_lyx_tmpdir2948bdkoax_lyx_tmpbuf0_3.ps" does not exist
File "_tmp_lyx_tmpdir2948bdkoax_lyx_tmpbuf0_4.ps" does not exist
File "_tmp_lyx_tmpdir2948bdkoax_lyx_tmpbuf0_4.ps" does not exist
File "_tmp_lyx_tmpdir2948bdkoax_lyx_tmpbuf0_5.ps" does not exist
File "_tmp_lyx_tmpdir2948bdkoax_lyx_tmpbuf0_5.ps" does not exist
File "_tmp_lyx_tmpdir2948bdkoax_lyx_tmpbuf0_6.ps" does not exist
File "_tmp_lyx_tmpdir2948bdkoax_lyx_tmpbuf0_6.ps" does not exist
File "_tmp_lyx_tmpdir2948bdkoax_lyx_tmpbuf0_7.ps" does not exist
File "_tmp_lyx_tmpdir2948bdkoax_lyx_tmpbuf0_7.ps" does not exist
Incorrect format in the first line in input file
Incorrect format in the first line in input file

Reply via email to