Problems with installation of Lyx 143-4 on windows xp

2006-10-23 Thread Robert Neumann
Hello,
I tried to install lyx 143-4 on Windows xp using the network installation
package. Everything runs fine, all the miktech is installed. 
When I try to open Lyx the dos-shell appears for half a second, as usually but
then nothing happens...
I rebooted but it didn't help
Is there any solution. There is one thing: At the last installationscreen I am
told that IEEEtran.cls is missing and will be installed from Random package
repository. I don't get any message, whether this works but I think, this can't
be the problem for the not running lyx.
Thanks
Robert



Re: lyx files backward compatibility

2006-10-23 Thread Georg Baum
Pavel Sanda wrote:

 If it is something else than the above please tell us what is different.
 
 im not sure. it is a page with normal text and figure-float.
 in 1.3 it fits accurately in 1 page and in 1.4 gets the picture
 on the second page.

If the figure float comes back to the first page when you introduce a bit of
vertical spacing in it then the shifting was caused by the change I
described. But it is not very likely IMHO. Otherwise it is something else.


Georg



Re: Problems with installation of Lyx 143-4 on windows xp

2006-10-23 Thread Uwe Stöhr

Robert Neumann schrieb:


I tried to install lyx 143-4 on Windows xp using the network installation
package. Everything runs fine, all the miktech is installed. 
When I try to open Lyx the dos-shell appears for half a second, as usually but

then nothing happens...


In this time missing packages should be installed by MiKTex in the 
background.


If nothing helps, try to install LyX using this installer:

http://wiki.lyx.org/Windows/LyXWinInstaller


regards Uwe


Re: lyx 1.4.3-4 and Acrobat on exit

2006-10-23 Thread Uwe Stöhr

Michael Spiegel schrieb:

When I try to quit Lyx after using the View--PDF(pdflatex) option, I 
get the following dialog box, Microsoft Visual C++ Runtime Library 
error: The application has requested the runtime to terminate it in an 
unusual way.

This happens if I forget to close Adobe Reader before I quit from Lyx.


This is a known bug, please report it at bugzilla.lyx.org. I also have 
this problem but didn't report it yet.


I am running on a Windows XP machine, and using the PDFview tweak from the 
wiki site: http://wiki.lyx.org/Windows/LyXWinTips (Improved PDF viewing).


This feature is currently built in this installer:
http://wiki.lyx.org/Windows/LyXWinInstaller

and will also be part of the next release of the official installer.

regards Uwe


Re: lyx to odf conversion

2006-10-23 Thread Helge Hafting

Matt Flax wrote:

Hello,

I would like to convert my lyx document to an ODF document.

The reason is that I have someone who wants to proof read and correct
one of my documents ... unfortunatly they use Microsoft word.
In the past I havn't found any good methods for converting ... I
thought that perhaps ODF would be the way to go ... I believe they
have a plugin for MS Word ... so all I have to do is work out how to
get from lyx or tex to ODF ...

I have tried some methods before but have found problems with math
equations and figures 

Try installing the program latex2rtf and reconfigure lyx.
You will now get a export-rtf option, and word will read the .rtf file.

I am not sure this conversion is good though. Math and floating figures
are areas where lyx simply is _better_ than word, so perfect conversion
is impossible.


Please note that lyx now exists in a windows version. So consider
installing windows-lyx on your proofreader's computer.  If they allow it.

Helge Hafting


LyX and LaTeXDB?

2006-10-23 Thread Wolfgang Keller
Hello,

is it possible to use LaTeXDB (http://privat.hgesser.com/software/latexdb/) 
with LyX?

TIA,

Sincerely,

Wolfgang Keller

-- 
My email-address is correct.
Do NOT remove .nospam to reply.



lyx-1.4.3

2006-10-23 Thread icebna
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Rudi
I have compiled the tarball in my laptop and neither; dont start
I have compiled the tarball to frontend = xforms, and start well and
work, but the xforms interface, don't like me very much. What do you think ?

Miguel
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFPMl4yFpgM/szBZQRAk+ZAKCQEpK0/p/H7wkl+bOXxSDsnePSpgCfTfbJ
qvlAlsFOIcQ2vGCLrTuGyR8=
=FdgV
-END PGP SIGNATURE-



Problems installing spell checker using installer for llyx-143-4 - Help please!

2006-10-23 Thread Mike Reeks
This is the second time. No response the first time. Surely someone has
used the lyx 143-4 installer. If not surely someone know who to contact.
Anyway as I said before I am trying to install the latest version
lyx-143-4  using the installer program and failed to download
spellchecker. The message during the installation says 'failed to
download English spell checker- would you like to try again'. Clearly
problems accessing the host from the web.  How do I install spellchecker
separately once lyx has been set up? What is the procedure? Any
suggestions as to what to do? Help please. 

Prof. Michael W Reeks
School of Mechanical Systems Engineering
Stephenson Building
Claremont Rd
University of Newcastle upon Tyne
Newcastle upon Tyne, NE1 7RU
UK
 
Tel 0044 191 222 3570
Fax 0044 191 222 8600
Mob 0044 791 050 4230
Sec 0044 191 222 5236
Research Website
http://www.ncl.ac.uk/mech/research/fluid/multiphase.htm







Re: Problems with installation of Lyx 143-4 on windows xp

2006-10-23 Thread Paul A. Rubin

Robert Neumann wrote:

Hello,
I tried to install lyx 143-4 on Windows xp using the network installation
package. Everything runs fine, all the miktech is installed. 
When I try to open Lyx the dos-shell appears for half a second, as usually but

then nothing happens...
I rebooted but it didn't help
Is there any solution. There is one thing: At the last installationscreen I am
told that IEEEtran.cls is missing and will be installed from Random package
repository. I don't get any message, whether this works but I think, this can't
be the problem for the not running lyx.
Thanks
Robert




Try opening a DOS shell, switching to the LyX bin directory, and running 
lyx.exe there.  The shell will stay open and maybe you can see what is 
going on.  You can also try running with the debug option to get more 
info (including the dreaded 'lyx -dbg any', which will give you more 
messages than you could possibly want).


Also, have a look in C:\Documents and Settings\your name 
here\Application Data\LyX1.4.x to see if the packages.lst and 
textclass.lst files were written there (and whether they are longer than 
zero bytes).  If they are missing or zero-length, odds are the 
configuration script burped.


The IEEEtran.cls message might be meaningful if you're behind a firewall 
or proxy server.  There's a known bug where LyX looks for a missing 
class, MikTeX tries to install it automatically (but fails due to 
network issues), and the failure causes the configuration script to blink.


/Paul



Re: Problems installing spell checker using installer for llyx-143-4 - Help please!

2006-10-23 Thread Paul A. Rubin

Mike Reeks wrote:

This is the second time. No response the first time. Surely someone has
used the lyx 143-4 installer. If not surely someone know who to contact.
Anyway as I said before I am trying to install the latest version
lyx-143-4  using the installer program and failed to download
spellchecker. The message during the installation says 'failed to
download English spell checker- would you like to try again'. Clearly
problems accessing the host from the web.  How do I install spellchecker
separately once lyx has been set up? What is the procedure? Any
suggestions as to what to do? Help please. 



I answered this the first time.  You can find the answer (in two parts) 
archived at http://article.gmane.org/gmane.editors.lyx.general/33978/ 
and http://article.gmane.org/gmane.editors.lyx.general/33985/.  Unless 
you mean that this did not work for you?


/Paul



ImageMagick and OSX (PPC)

2006-10-23 Thread Julio Rojas

I still have the problem related to LyX unable to render an image on
screen. I have a document with a couple of PDF images and LyX shows
Error converting to loadable form.

I have installed, as suggested, ImageMagick. Added the
$ImageMagick/bin to $PATH, added it to LyX path, tried convert from
a shell (outside its directory) and it is working, but LyX still keeps
telling me that error.

The debbuging option shows the following text:

Recognised Fileformat: png
[GrahicsCacheItem::convertToDisplayFormat]
   Attempting to convert image file:
/tmp/lyx_tmpdir2667fWnF6/lyx_tmpbuf0/0lyxpreview3.png
   with displayed filename:
/tmp/lyx_tmpdir2667fWnF6/lyx_tmpbuf0/0lyxpreview3.png
Recognised Fileformat: png

   The file contains png format data.
   No conversion needed (from == to)!
Loading image.
Image loading succeeded.
GraphicsImage::getScaledDImensions()
   params.scale   : 100
   width  : 579
   height : 42
Recognised Fileformat: pdf
[GrahicsCacheItem::convertToDisplayFormat]
   Attempting to convert image file:
/Users/jcredberry/Desktop/EPF/EPF_Liga_Espanola.pdf
   with displayed filename: ~/Desktop/EPF/EPF_Liga_Espanola.pdf
Recognised Fileformat: pdf

   The file contains pdf format data.
Unable to convert from pdf to bmp
Unable to convert from pdf to jpg
Unable to convert from pdf to pbm
Unable to convert from pdf to pgm
Unable to convert from pdf to png
Unable to convert from pdf to ppm
Unable to convert from pdf to xbm
Unable to convert from pdf to xpm
   Converting it to ppm format.
Converter c-tor:
   from_file:  /Users/jcredberry/Desktop/EPF/EPF_Liga_Espanola.pdf
   to_file_base: /tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8
   from_format:  pdf
   to_format:ppm
build_script ...No converter defined! I use convertDefault.py
   python 
/Applications/LyX.app/Contents/Resources/scripts/convertDefault.py
pdf:' + '' + infile + '' + ' ppm:' + '' + outfile + '' + '
ready!
   Conversion script:
--
#!/usr/bin/env python
import os, shutil, sys

def unlinkNoThrow(file):
 ''' remove a file, do not throw if an error occurs '''
 try:
   os.unlink(file)
 except:
   pass

infile = /Users/jcredberry/Desktop/EPF/EPF_Liga_Espanola.pdf
outfile = /tmp/lyx_tmpdir2667fWnF6/gconvert02669EIZR3.pdf
shutil.copy(infile, outfile)
infile = outfile
outfile = /tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8.ppm

if os.system(r'python
/Applications/LyX.app/Contents/Resources/scripts/convertDefault.py
pdf:' + '' + infile + '' + ' ppm:' + '' + outfile + '' + '') != 0:
 unlinkNoThrow(outfile)
 sys.exit(1)

if not os.path.isfile(outfile):
 if os.path.isfile(outfile + '.0'):
   os.rename(outfile + '.0', outfile)
   import glob
   for file in glob.glob(outfile + '.?'):
 unlinkNoThrow(file)
 else:
   sys.exit(1)

unlinkNoThrow(infile)

fromfile = outfile
tofile = /tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8.ppm

try:
 os.rename(fromfile, tofile)
except:
 try:
   shutil.copy(fromfile, tofile)
 except:
   sys.exit(1)
 unlinkNoThrow(fromfile)

--
ForkedCallQueue: waking up
LoaderQueue: I'm going to sleep
convert: UnableToOpenBlob
`pdf:/tmp/lyx_tmpdir2667fWnF6/gconvert02669EIZR3.pdf': No such file or
directory.
convert: MissingAnImageFilename
`ppm:/tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8.ppm'.
/Applications/LyX.app/Contents/Resources/scripts/convertDefault.py ERROR
Execution of convert failed.
ForkedCallQueue: I'm going to sleep
Image conversion failed.
Unable to find converted file!

Some new suggestions on this problem???

--
-
Julio Rojas
[EMAIL PROTECTED]


Re: ImageMagick and OSX (PPC)

2006-10-23 Thread Paul A. Rubin

Julio Rojas wrote:

I still have the problem related to LyX unable to render an image on
screen. I have a document with a couple of PDF images and LyX shows
Error converting to loadable form.

I have installed, as suggested, ImageMagick. Added the
$ImageMagick/bin to $PATH, added it to LyX path, tried convert from
a shell (outside its directory) and it is working, but LyX still keeps
telling me that error.

The debbuging option shows the following text:

Recognised Fileformat: png
[GrahicsCacheItem::convertToDisplayFormat]
   Attempting to convert image file:
/tmp/lyx_tmpdir2667fWnF6/lyx_tmpbuf0/0lyxpreview3.png
   with displayed filename:
/tmp/lyx_tmpdir2667fWnF6/lyx_tmpbuf0/0lyxpreview3.png
Recognised Fileformat: png

   The file contains png format data.
   No conversion needed (from == to)!
Loading image.
Image loading succeeded.
GraphicsImage::getScaledDImensions()
   params.scale   : 100
   width  : 579
   height : 42
Recognised Fileformat: pdf
[GrahicsCacheItem::convertToDisplayFormat]
   Attempting to convert image file:
/Users/jcredberry/Desktop/EPF/EPF_Liga_Espanola.pdf
   with displayed filename: ~/Desktop/EPF/EPF_Liga_Espanola.pdf
Recognised Fileformat: pdf

   The file contains pdf format data.
Unable to convert from pdf to bmp
Unable to convert from pdf to jpg
Unable to convert from pdf to pbm
Unable to convert from pdf to pgm
Unable to convert from pdf to png
Unable to convert from pdf to ppm
Unable to convert from pdf to xbm
Unable to convert from pdf to xpm
   Converting it to ppm format.
Converter c-tor:
   from_file:  /Users/jcredberry/Desktop/EPF/EPF_Liga_Espanola.pdf
   to_file_base: /tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8
   from_format:  pdf
   to_format:ppm
build_script ...No converter defined! I use convertDefault.py
   python 
/Applications/LyX.app/Contents/Resources/scripts/convertDefault.py

pdf:' + '' + infile + '' + ' ppm:' + '' + outfile + '' + '
ready!
   Conversion script:
--
#!/usr/bin/env python
import os, shutil, sys

def unlinkNoThrow(file):
 ''' remove a file, do not throw if an error occurs '''
 try:
   os.unlink(file)
 except:
   pass

infile = /Users/jcredberry/Desktop/EPF/EPF_Liga_Espanola.pdf
outfile = /tmp/lyx_tmpdir2667fWnF6/gconvert02669EIZR3.pdf
shutil.copy(infile, outfile)
infile = outfile
outfile = /tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8.ppm

if os.system(r'python
/Applications/LyX.app/Contents/Resources/scripts/convertDefault.py
pdf:' + '' + infile + '' + ' ppm:' + '' + outfile + '' + '') != 0:
 unlinkNoThrow(outfile)
 sys.exit(1)

if not os.path.isfile(outfile):
 if os.path.isfile(outfile + '.0'):
   os.rename(outfile + '.0', outfile)
   import glob
   for file in glob.glob(outfile + '.?'):
 unlinkNoThrow(file)
 else:
   sys.exit(1)

unlinkNoThrow(infile)

fromfile = outfile
tofile = /tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8.ppm

try:
 os.rename(fromfile, tofile)
except:
 try:
   shutil.copy(fromfile, tofile)
 except:
   sys.exit(1)
 unlinkNoThrow(fromfile)

--
ForkedCallQueue: waking up
LoaderQueue: I'm going to sleep
convert: UnableToOpenBlob
`pdf:/tmp/lyx_tmpdir2667fWnF6/gconvert02669EIZR3.pdf': No such file or
directory.
convert: MissingAnImageFilename
`ppm:/tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8.ppm'.
/Applications/LyX.app/Contents/Resources/scripts/convertDefault.py ERROR
Execution of convert failed.
ForkedCallQueue: I'm going to sleep
Image conversion failed.
Unable to find converted file!

Some new suggestions on this problem???



Do you have Ghostscript installed?  ImageMagick uses GS to convert PS, 
EPS and PDF files.


/Paul




Re: ImageMagick and OSX (PPC)

2006-10-23 Thread Julio Rojas

Yup, GS 8.51 is installed and runs smoothly from a shell.

On 10/23/06, Paul A. Rubin [EMAIL PROTECTED] wrote:

Julio Rojas wrote:
 I still have the problem related to LyX unable to render an image on
 screen. I have a document with a couple of PDF images and LyX shows
 Error converting to loadable form.

 I have installed, as suggested, ImageMagick. Added the
 $ImageMagick/bin to $PATH, added it to LyX path, tried convert from
 a shell (outside its directory) and it is working, but LyX still keeps
 telling me that error.

 The debbuging option shows the following text:

 Recognised Fileformat: png
 [GrahicsCacheItem::convertToDisplayFormat]
Attempting to convert image file:
 /tmp/lyx_tmpdir2667fWnF6/lyx_tmpbuf0/0lyxpreview3.png
with displayed filename:
 /tmp/lyx_tmpdir2667fWnF6/lyx_tmpbuf0/0lyxpreview3.png
 Recognised Fileformat: png

The file contains png format data.
No conversion needed (from == to)!
 Loading image.
 Image loading succeeded.
 GraphicsImage::getScaledDImensions()
params.scale   : 100
width  : 579
height : 42
 Recognised Fileformat: pdf
 [GrahicsCacheItem::convertToDisplayFormat]
Attempting to convert image file:
 /Users/jcredberry/Desktop/EPF/EPF_Liga_Espanola.pdf
with displayed filename: ~/Desktop/EPF/EPF_Liga_Espanola.pdf
 Recognised Fileformat: pdf

The file contains pdf format data.
 Unable to convert from pdf to bmp
 Unable to convert from pdf to jpg
 Unable to convert from pdf to pbm
 Unable to convert from pdf to pgm
 Unable to convert from pdf to png
 Unable to convert from pdf to ppm
 Unable to convert from pdf to xbm
 Unable to convert from pdf to xpm
Converting it to ppm format.
 Converter c-tor:
from_file:  /Users/jcredberry/Desktop/EPF/EPF_Liga_Espanola.pdf
to_file_base: /tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8
from_format:  pdf
to_format:ppm
 build_script ...No converter defined! I use convertDefault.py
python
 /Applications/LyX.app/Contents/Resources/scripts/convertDefault.py
 pdf:' + '' + infile + '' + ' ppm:' + '' + outfile + '' + '
 ready!
Conversion script:
 --
 #!/usr/bin/env python
 import os, shutil, sys

 def unlinkNoThrow(file):
  ''' remove a file, do not throw if an error occurs '''
  try:
os.unlink(file)
  except:
pass

 infile = /Users/jcredberry/Desktop/EPF/EPF_Liga_Espanola.pdf
 outfile = /tmp/lyx_tmpdir2667fWnF6/gconvert02669EIZR3.pdf
 shutil.copy(infile, outfile)
 infile = outfile
 outfile = /tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8.ppm

 if os.system(r'python
 /Applications/LyX.app/Contents/Resources/scripts/convertDefault.py
 pdf:' + '' + infile + '' + ' ppm:' + '' + outfile + '' + '') != 0:
  unlinkNoThrow(outfile)
  sys.exit(1)

 if not os.path.isfile(outfile):
  if os.path.isfile(outfile + '.0'):
os.rename(outfile + '.0', outfile)
import glob
for file in glob.glob(outfile + '.?'):
  unlinkNoThrow(file)
  else:
sys.exit(1)

 unlinkNoThrow(infile)

 fromfile = outfile
 tofile = /tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8.ppm

 try:
  os.rename(fromfile, tofile)
 except:
  try:
shutil.copy(fromfile, tofile)
  except:
sys.exit(1)
  unlinkNoThrow(fromfile)

 --
 ForkedCallQueue: waking up
 LoaderQueue: I'm going to sleep
 convert: UnableToOpenBlob
 `pdf:/tmp/lyx_tmpdir2667fWnF6/gconvert02669EIZR3.pdf': No such file or
 directory.
 convert: MissingAnImageFilename
 `ppm:/tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8.ppm'.
 /Applications/LyX.app/Contents/Resources/scripts/convertDefault.py ERROR
 Execution of convert failed.
 ForkedCallQueue: I'm going to sleep
 Image conversion failed.
 Unable to find converted file!

 Some new suggestions on this problem???


Do you have Ghostscript installed?  ImageMagick uses GS to convert PS,
EPS and PDF files.

/Paul






--
-
Julio Rojas
[EMAIL PROTECTED]


Re: ImageMagick and OSX (PPC)

2006-10-23 Thread Paul A. Rubin

Julio Rojas wrote:

Yup, GS 8.51 is installed and runs smoothly from a shell.



You might try the following.  Open a shell and navigate to a PDF graphic 
file of your choice.  Then run


  convert -verbose whatever.pdf whatever.ppm

and see what transpires.  (I'm assuming that ImageMagick is on whatever 
OS X uses for a command path.)  If the conversion works, odds are the 
problem is with the LyX setup.  If it fails, odds are the problem is 
with either the ImageMagick setup or whether it can find the GS library.


/Paul



Re: ImageMagick and OSX (PPC)

2006-10-23 Thread Julio Rojas

Here is the output (and the culprit):

convert: UnableToOpenConfigureFile `delegates.xml'.
convert: NoDecodeDelegateForThisImageFormat `EPF_Liga_Espanola.pdf'.
convert: MissingAnImageFilename `test.ppm'.

What seems to be happening???

P.S.: I have all the files of ImageMagick inside /usr/local/

On 10/23/06, Paul A. Rubin [EMAIL PROTECTED] wrote:

Julio Rojas wrote:
 Yup, GS 8.51 is installed and runs smoothly from a shell.


You might try the following.  Open a shell and navigate to a PDF graphic
file of your choice.  Then run

   convert -verbose whatever.pdf whatever.ppm

and see what transpires.  (I'm assuming that ImageMagick is on whatever
OS X uses for a command path.)  If the conversion works, odds are the
problem is with the LyX setup.  If it fails, odds are the problem is
with either the ImageMagick setup or whether it can find the GS library.

/Paul





--
-
Julio Rojas
[EMAIL PROTECTED]


Re: ImageMagick and OSX (PPC)

2006-10-23 Thread Paul A. Rubin

Julio Rojas wrote:

Here is the output (and the culprit):

convert: UnableToOpenConfigureFile `delegates.xml'.
convert: NoDecodeDelegateForThisImageFormat `EPF_Liga_Espanola.pdf'.
convert: MissingAnImageFilename `test.ppm'.

What seems to be happening???

P.S.: I have all the files of ImageMagick inside /usr/local/


The delegates file is a configuration file that tells ImageMagick how to 
convert from one format to another.  On Windows, it's located in IM 
root\config, so my guess is on your  system it should be in 
/usr/local/ImageMagick/config (give or take what you named the 
ImageMagick directory).  Along with delegates.xml, there should be 
coder.xml, colors.xml and several more configuration files.


If you don't have delegates.xml, then ImageMagick did not install 
correctly.  If you have it, there might be a permissions problem (?), or 
 it might be corrupted.  Since it's XML, you should be able to read it 
with whatever text viewer you use.


The other two messages are direct consequences of not being able to look 
into delegates.xml and find how to convert from PDF to something else.


/Paul



Re: ImageMagick and OSX (PPC)

2006-10-23 Thread Julio Rojas

I have added the $MAGICK_HOME variable, which was missing, and now
convert works fine.

If I run LyX directly from the icon the rendering doesn't work, but if
I run it from the command line with the debbuging graphics option, the
rendering works.

Weird!!! Any idea?

On 10/23/06, Paul A. Rubin [EMAIL PROTECTED] wrote:

Julio Rojas wrote:
 Here is the output (and the culprit):

 convert: UnableToOpenConfigureFile `delegates.xml'.
 convert: NoDecodeDelegateForThisImageFormat `EPF_Liga_Espanola.pdf'.
 convert: MissingAnImageFilename `test.ppm'.

 What seems to be happening???

 P.S.: I have all the files of ImageMagick inside /usr/local/

The delegates file is a configuration file that tells ImageMagick how to
convert from one format to another.  On Windows, it's located in IM
root\config, so my guess is on your  system it should be in
/usr/local/ImageMagick/config (give or take what you named the
ImageMagick directory).  Along with delegates.xml, there should be
coder.xml, colors.xml and several more configuration files.

If you don't have delegates.xml, then ImageMagick did not install
correctly.  If you have it, there might be a permissions problem (?), or
  it might be corrupted.  Since it's XML, you should be able to read it
with whatever text viewer you use.

The other two messages are direct consequences of not being able to look
into delegates.xml and find how to convert from PDF to something else.

/Paul




--
-
Julio Rojas
[EMAIL PROTECTED]


Re: ImageMagick and OSX (PPC)

2006-10-23 Thread Paul A. Rubin

Julio Rojas wrote:

I have added the $MAGICK_HOME variable, which was missing, and now
convert works fine.

If I run LyX directly from the icon the rendering doesn't work, but if
I run it from the command line with the debbuging graphics option, the
rendering works.

Weird!!! Any idea?



Omnibus explanation, for all reported problems: a gypsy cursed you?  :-)

What happens if you run LyX from the command line without any debugging 
options.  If rendering works, then take a look at just what the icon is 
starting.  It may somehow be creating an environment in which 
$MAGICK_HOME is undefined.


/Paul



hello!

2006-10-23 Thread Luxirom

for my first not-empty message i have allready a question
(hope this is the right place)

i use lyx on mac (newest) and pdflatex - function opens the pdf in  
safari,

not in preview

that works, but is odd...

can i change that

regards
lux


Re: hello!

2006-10-23 Thread Lorenzo Paulatto
Luxirom ha scritto:
 for my first not-empty message i have allready a question
 (hope this is the right place)
 
 i use lyx on mac (newest) and pdflatex - function opens the pdf in safari,
 not in preview
 
 that works, but is odd...
 
 can i change that

Yes, you can. Look in the preferences or in the user manual.

-- 
Lorenzo `paulatz' Paulatto
Trieste

``Grandissima mi par l'inezia di coloro che vorrebbero che Iddio avesse
fatto l'universo più proporzionato alla piccola capacità del lor discorso.''
 --Galileo Galilei (Opere VII)


Re: hello!

2006-10-23 Thread Bennett Helm

On Oct 23, 2006, at 5:21 PM, Luxirom wrote:


for my first not-empty message i have allready a question
(hope this is the right place)

i use lyx on mac (newest) and pdflatex - function opens the pdf in  
safari,

not in preview

that works, but is odd...

can i change that


Yes. There is a bug involving the interaction between LyX and the  
Finder. Two things you can do here; if the first thing doesn't work  
on its own, try the second as well.


1. From within the Finder, select any .pdf file. Do File  Get  
Info... and change the Open with: drop-down list to something other  
than Preview, and then select Preview again. Then click on the  
Change all... button (confirming that you want to do this from the  
dialog that pops up). Now when you view your .lyx document as PDF, it  
should open in Preview. If this doesn't work, also do the following:


2. Within LyX, select LyX  Preferences  File Formats  PDF. In the  
Viewer field, enter open (without the quotes), click on the  
Modify button and then on the Save button. Now this should fix  
your LyX problem.


Bennett


Problems with installation of Lyx 143-4 on windows xp

2006-10-23 Thread Robert Neumann
Hello,
I tried to install lyx 143-4 on Windows xp using the network installation
package. Everything runs fine, all the miktech is installed. 
When I try to open Lyx the dos-shell appears for half a second, as usually but
then nothing happens...
I rebooted but it didn't help
Is there any solution. There is one thing: At the last installationscreen I am
told that IEEEtran.cls is missing and will be installed from Random package
repository. I don't get any message, whether this works but I think, this can't
be the problem for the not running lyx.
Thanks
Robert



Re: lyx files backward compatibility

2006-10-23 Thread Georg Baum
Pavel Sanda wrote:

 If it is something else than the above please tell us what is different.
 
 im not sure. it is a page with normal text and figure-float.
 in 1.3 it fits accurately in 1 page and in 1.4 gets the picture
 on the second page.

If the figure float comes back to the first page when you introduce a bit of
vertical spacing in it then the shifting was caused by the change I
described. But it is not very likely IMHO. Otherwise it is something else.


Georg



Re: Problems with installation of Lyx 143-4 on windows xp

2006-10-23 Thread Uwe Stöhr

Robert Neumann schrieb:


I tried to install lyx 143-4 on Windows xp using the network installation
package. Everything runs fine, all the miktech is installed. 
When I try to open Lyx the dos-shell appears for half a second, as usually but

then nothing happens...


In this time missing packages should be installed by MiKTex in the 
background.


If nothing helps, try to install LyX using this installer:

http://wiki.lyx.org/Windows/LyXWinInstaller


regards Uwe


Re: lyx 1.4.3-4 and Acrobat on exit

2006-10-23 Thread Uwe Stöhr

Michael Spiegel schrieb:

When I try to quit Lyx after using the View--PDF(pdflatex) option, I 
get the following dialog box, Microsoft Visual C++ Runtime Library 
error: The application has requested the runtime to terminate it in an 
unusual way.

This happens if I forget to close Adobe Reader before I quit from Lyx.


This is a known bug, please report it at bugzilla.lyx.org. I also have 
this problem but didn't report it yet.


I am running on a Windows XP machine, and using the PDFview tweak from the 
wiki site: http://wiki.lyx.org/Windows/LyXWinTips (Improved PDF viewing).


This feature is currently built in this installer:
http://wiki.lyx.org/Windows/LyXWinInstaller

and will also be part of the next release of the official installer.

regards Uwe


Re: lyx to odf conversion

2006-10-23 Thread Helge Hafting

Matt Flax wrote:

Hello,

I would like to convert my lyx document to an ODF document.

The reason is that I have someone who wants to proof read and correct
one of my documents ... unfortunatly they use Microsoft word.
In the past I havn't found any good methods for converting ... I
thought that perhaps ODF would be the way to go ... I believe they
have a plugin for MS Word ... so all I have to do is work out how to
get from lyx or tex to ODF ...

I have tried some methods before but have found problems with math
equations and figures 

Try installing the program latex2rtf and reconfigure lyx.
You will now get a export-rtf option, and word will read the .rtf file.

I am not sure this conversion is good though. Math and floating figures
are areas where lyx simply is _better_ than word, so perfect conversion
is impossible.


Please note that lyx now exists in a windows version. So consider
installing windows-lyx on your proofreader's computer.  If they allow it.

Helge Hafting


LyX and LaTeXDB?

2006-10-23 Thread Wolfgang Keller
Hello,

is it possible to use LaTeXDB (http://privat.hgesser.com/software/latexdb/) 
with LyX?

TIA,

Sincerely,

Wolfgang Keller

-- 
My email-address is correct.
Do NOT remove .nospam to reply.



lyx-1.4.3

2006-10-23 Thread icebna
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Rudi
I have compiled the tarball in my laptop and neither; dont start
I have compiled the tarball to frontend = xforms, and start well and
work, but the xforms interface, don't like me very much. What do you think ?

Miguel
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFPMl4yFpgM/szBZQRAk+ZAKCQEpK0/p/H7wkl+bOXxSDsnePSpgCfTfbJ
qvlAlsFOIcQ2vGCLrTuGyR8=
=FdgV
-END PGP SIGNATURE-



Problems installing spell checker using installer for llyx-143-4 - Help please!

2006-10-23 Thread Mike Reeks
This is the second time. No response the first time. Surely someone has
used the lyx 143-4 installer. If not surely someone know who to contact.
Anyway as I said before I am trying to install the latest version
lyx-143-4  using the installer program and failed to download
spellchecker. The message during the installation says 'failed to
download English spell checker- would you like to try again'. Clearly
problems accessing the host from the web.  How do I install spellchecker
separately once lyx has been set up? What is the procedure? Any
suggestions as to what to do? Help please. 

Prof. Michael W Reeks
School of Mechanical Systems Engineering
Stephenson Building
Claremont Rd
University of Newcastle upon Tyne
Newcastle upon Tyne, NE1 7RU
UK
 
Tel 0044 191 222 3570
Fax 0044 191 222 8600
Mob 0044 791 050 4230
Sec 0044 191 222 5236
Research Website
http://www.ncl.ac.uk/mech/research/fluid/multiphase.htm







Re: Problems with installation of Lyx 143-4 on windows xp

2006-10-23 Thread Paul A. Rubin

Robert Neumann wrote:

Hello,
I tried to install lyx 143-4 on Windows xp using the network installation
package. Everything runs fine, all the miktech is installed. 
When I try to open Lyx the dos-shell appears for half a second, as usually but

then nothing happens...
I rebooted but it didn't help
Is there any solution. There is one thing: At the last installationscreen I am
told that IEEEtran.cls is missing and will be installed from Random package
repository. I don't get any message, whether this works but I think, this can't
be the problem for the not running lyx.
Thanks
Robert




Try opening a DOS shell, switching to the LyX bin directory, and running 
lyx.exe there.  The shell will stay open and maybe you can see what is 
going on.  You can also try running with the debug option to get more 
info (including the dreaded 'lyx -dbg any', which will give you more 
messages than you could possibly want).


Also, have a look in C:\Documents and Settings\your name 
here\Application Data\LyX1.4.x to see if the packages.lst and 
textclass.lst files were written there (and whether they are longer than 
zero bytes).  If they are missing or zero-length, odds are the 
configuration script burped.


The IEEEtran.cls message might be meaningful if you're behind a firewall 
or proxy server.  There's a known bug where LyX looks for a missing 
class, MikTeX tries to install it automatically (but fails due to 
network issues), and the failure causes the configuration script to blink.


/Paul



Re: Problems installing spell checker using installer for llyx-143-4 - Help please!

2006-10-23 Thread Paul A. Rubin

Mike Reeks wrote:

This is the second time. No response the first time. Surely someone has
used the lyx 143-4 installer. If not surely someone know who to contact.
Anyway as I said before I am trying to install the latest version
lyx-143-4  using the installer program and failed to download
spellchecker. The message during the installation says 'failed to
download English spell checker- would you like to try again'. Clearly
problems accessing the host from the web.  How do I install spellchecker
separately once lyx has been set up? What is the procedure? Any
suggestions as to what to do? Help please. 



I answered this the first time.  You can find the answer (in two parts) 
archived at http://article.gmane.org/gmane.editors.lyx.general/33978/ 
and http://article.gmane.org/gmane.editors.lyx.general/33985/.  Unless 
you mean that this did not work for you?


/Paul



ImageMagick and OSX (PPC)

2006-10-23 Thread Julio Rojas

I still have the problem related to LyX unable to render an image on
screen. I have a document with a couple of PDF images and LyX shows
Error converting to loadable form.

I have installed, as suggested, ImageMagick. Added the
$ImageMagick/bin to $PATH, added it to LyX path, tried convert from
a shell (outside its directory) and it is working, but LyX still keeps
telling me that error.

The debbuging option shows the following text:

Recognised Fileformat: png
[GrahicsCacheItem::convertToDisplayFormat]
   Attempting to convert image file:
/tmp/lyx_tmpdir2667fWnF6/lyx_tmpbuf0/0lyxpreview3.png
   with displayed filename:
/tmp/lyx_tmpdir2667fWnF6/lyx_tmpbuf0/0lyxpreview3.png
Recognised Fileformat: png

   The file contains png format data.
   No conversion needed (from == to)!
Loading image.
Image loading succeeded.
GraphicsImage::getScaledDImensions()
   params.scale   : 100
   width  : 579
   height : 42
Recognised Fileformat: pdf
[GrahicsCacheItem::convertToDisplayFormat]
   Attempting to convert image file:
/Users/jcredberry/Desktop/EPF/EPF_Liga_Espanola.pdf
   with displayed filename: ~/Desktop/EPF/EPF_Liga_Espanola.pdf
Recognised Fileformat: pdf

   The file contains pdf format data.
Unable to convert from pdf to bmp
Unable to convert from pdf to jpg
Unable to convert from pdf to pbm
Unable to convert from pdf to pgm
Unable to convert from pdf to png
Unable to convert from pdf to ppm
Unable to convert from pdf to xbm
Unable to convert from pdf to xpm
   Converting it to ppm format.
Converter c-tor:
   from_file:  /Users/jcredberry/Desktop/EPF/EPF_Liga_Espanola.pdf
   to_file_base: /tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8
   from_format:  pdf
   to_format:ppm
build_script ...No converter defined! I use convertDefault.py
   python 
/Applications/LyX.app/Contents/Resources/scripts/convertDefault.py
pdf:' + '' + infile + '' + ' ppm:' + '' + outfile + '' + '
ready!
   Conversion script:
--
#!/usr/bin/env python
import os, shutil, sys

def unlinkNoThrow(file):
 ''' remove a file, do not throw if an error occurs '''
 try:
   os.unlink(file)
 except:
   pass

infile = /Users/jcredberry/Desktop/EPF/EPF_Liga_Espanola.pdf
outfile = /tmp/lyx_tmpdir2667fWnF6/gconvert02669EIZR3.pdf
shutil.copy(infile, outfile)
infile = outfile
outfile = /tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8.ppm

if os.system(r'python
/Applications/LyX.app/Contents/Resources/scripts/convertDefault.py
pdf:' + '' + infile + '' + ' ppm:' + '' + outfile + '' + '') != 0:
 unlinkNoThrow(outfile)
 sys.exit(1)

if not os.path.isfile(outfile):
 if os.path.isfile(outfile + '.0'):
   os.rename(outfile + '.0', outfile)
   import glob
   for file in glob.glob(outfile + '.?'):
 unlinkNoThrow(file)
 else:
   sys.exit(1)

unlinkNoThrow(infile)

fromfile = outfile
tofile = /tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8.ppm

try:
 os.rename(fromfile, tofile)
except:
 try:
   shutil.copy(fromfile, tofile)
 except:
   sys.exit(1)
 unlinkNoThrow(fromfile)

--
ForkedCallQueue: waking up
LoaderQueue: I'm going to sleep
convert: UnableToOpenBlob
`pdf:/tmp/lyx_tmpdir2667fWnF6/gconvert02669EIZR3.pdf': No such file or
directory.
convert: MissingAnImageFilename
`ppm:/tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8.ppm'.
/Applications/LyX.app/Contents/Resources/scripts/convertDefault.py ERROR
Execution of convert failed.
ForkedCallQueue: I'm going to sleep
Image conversion failed.
Unable to find converted file!

Some new suggestions on this problem???

--
-
Julio Rojas
[EMAIL PROTECTED]


Re: ImageMagick and OSX (PPC)

2006-10-23 Thread Paul A. Rubin

Julio Rojas wrote:

I still have the problem related to LyX unable to render an image on
screen. I have a document with a couple of PDF images and LyX shows
Error converting to loadable form.

I have installed, as suggested, ImageMagick. Added the
$ImageMagick/bin to $PATH, added it to LyX path, tried convert from
a shell (outside its directory) and it is working, but LyX still keeps
telling me that error.

The debbuging option shows the following text:

Recognised Fileformat: png
[GrahicsCacheItem::convertToDisplayFormat]
   Attempting to convert image file:
/tmp/lyx_tmpdir2667fWnF6/lyx_tmpbuf0/0lyxpreview3.png
   with displayed filename:
/tmp/lyx_tmpdir2667fWnF6/lyx_tmpbuf0/0lyxpreview3.png
Recognised Fileformat: png

   The file contains png format data.
   No conversion needed (from == to)!
Loading image.
Image loading succeeded.
GraphicsImage::getScaledDImensions()
   params.scale   : 100
   width  : 579
   height : 42
Recognised Fileformat: pdf
[GrahicsCacheItem::convertToDisplayFormat]
   Attempting to convert image file:
/Users/jcredberry/Desktop/EPF/EPF_Liga_Espanola.pdf
   with displayed filename: ~/Desktop/EPF/EPF_Liga_Espanola.pdf
Recognised Fileformat: pdf

   The file contains pdf format data.
Unable to convert from pdf to bmp
Unable to convert from pdf to jpg
Unable to convert from pdf to pbm
Unable to convert from pdf to pgm
Unable to convert from pdf to png
Unable to convert from pdf to ppm
Unable to convert from pdf to xbm
Unable to convert from pdf to xpm
   Converting it to ppm format.
Converter c-tor:
   from_file:  /Users/jcredberry/Desktop/EPF/EPF_Liga_Espanola.pdf
   to_file_base: /tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8
   from_format:  pdf
   to_format:ppm
build_script ...No converter defined! I use convertDefault.py
   python 
/Applications/LyX.app/Contents/Resources/scripts/convertDefault.py

pdf:' + '' + infile + '' + ' ppm:' + '' + outfile + '' + '
ready!
   Conversion script:
--
#!/usr/bin/env python
import os, shutil, sys

def unlinkNoThrow(file):
 ''' remove a file, do not throw if an error occurs '''
 try:
   os.unlink(file)
 except:
   pass

infile = /Users/jcredberry/Desktop/EPF/EPF_Liga_Espanola.pdf
outfile = /tmp/lyx_tmpdir2667fWnF6/gconvert02669EIZR3.pdf
shutil.copy(infile, outfile)
infile = outfile
outfile = /tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8.ppm

if os.system(r'python
/Applications/LyX.app/Contents/Resources/scripts/convertDefault.py
pdf:' + '' + infile + '' + ' ppm:' + '' + outfile + '' + '') != 0:
 unlinkNoThrow(outfile)
 sys.exit(1)

if not os.path.isfile(outfile):
 if os.path.isfile(outfile + '.0'):
   os.rename(outfile + '.0', outfile)
   import glob
   for file in glob.glob(outfile + '.?'):
 unlinkNoThrow(file)
 else:
   sys.exit(1)

unlinkNoThrow(infile)

fromfile = outfile
tofile = /tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8.ppm

try:
 os.rename(fromfile, tofile)
except:
 try:
   shutil.copy(fromfile, tofile)
 except:
   sys.exit(1)
 unlinkNoThrow(fromfile)

--
ForkedCallQueue: waking up
LoaderQueue: I'm going to sleep
convert: UnableToOpenBlob
`pdf:/tmp/lyx_tmpdir2667fWnF6/gconvert02669EIZR3.pdf': No such file or
directory.
convert: MissingAnImageFilename
`ppm:/tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8.ppm'.
/Applications/LyX.app/Contents/Resources/scripts/convertDefault.py ERROR
Execution of convert failed.
ForkedCallQueue: I'm going to sleep
Image conversion failed.
Unable to find converted file!

Some new suggestions on this problem???



Do you have Ghostscript installed?  ImageMagick uses GS to convert PS, 
EPS and PDF files.


/Paul




Re: ImageMagick and OSX (PPC)

2006-10-23 Thread Julio Rojas

Yup, GS 8.51 is installed and runs smoothly from a shell.

On 10/23/06, Paul A. Rubin [EMAIL PROTECTED] wrote:

Julio Rojas wrote:
 I still have the problem related to LyX unable to render an image on
 screen. I have a document with a couple of PDF images and LyX shows
 Error converting to loadable form.

 I have installed, as suggested, ImageMagick. Added the
 $ImageMagick/bin to $PATH, added it to LyX path, tried convert from
 a shell (outside its directory) and it is working, but LyX still keeps
 telling me that error.

 The debbuging option shows the following text:

 Recognised Fileformat: png
 [GrahicsCacheItem::convertToDisplayFormat]
Attempting to convert image file:
 /tmp/lyx_tmpdir2667fWnF6/lyx_tmpbuf0/0lyxpreview3.png
with displayed filename:
 /tmp/lyx_tmpdir2667fWnF6/lyx_tmpbuf0/0lyxpreview3.png
 Recognised Fileformat: png

The file contains png format data.
No conversion needed (from == to)!
 Loading image.
 Image loading succeeded.
 GraphicsImage::getScaledDImensions()
params.scale   : 100
width  : 579
height : 42
 Recognised Fileformat: pdf
 [GrahicsCacheItem::convertToDisplayFormat]
Attempting to convert image file:
 /Users/jcredberry/Desktop/EPF/EPF_Liga_Espanola.pdf
with displayed filename: ~/Desktop/EPF/EPF_Liga_Espanola.pdf
 Recognised Fileformat: pdf

The file contains pdf format data.
 Unable to convert from pdf to bmp
 Unable to convert from pdf to jpg
 Unable to convert from pdf to pbm
 Unable to convert from pdf to pgm
 Unable to convert from pdf to png
 Unable to convert from pdf to ppm
 Unable to convert from pdf to xbm
 Unable to convert from pdf to xpm
Converting it to ppm format.
 Converter c-tor:
from_file:  /Users/jcredberry/Desktop/EPF/EPF_Liga_Espanola.pdf
to_file_base: /tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8
from_format:  pdf
to_format:ppm
 build_script ...No converter defined! I use convertDefault.py
python
 /Applications/LyX.app/Contents/Resources/scripts/convertDefault.py
 pdf:' + '' + infile + '' + ' ppm:' + '' + outfile + '' + '
 ready!
Conversion script:
 --
 #!/usr/bin/env python
 import os, shutil, sys

 def unlinkNoThrow(file):
  ''' remove a file, do not throw if an error occurs '''
  try:
os.unlink(file)
  except:
pass

 infile = /Users/jcredberry/Desktop/EPF/EPF_Liga_Espanola.pdf
 outfile = /tmp/lyx_tmpdir2667fWnF6/gconvert02669EIZR3.pdf
 shutil.copy(infile, outfile)
 infile = outfile
 outfile = /tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8.ppm

 if os.system(r'python
 /Applications/LyX.app/Contents/Resources/scripts/convertDefault.py
 pdf:' + '' + infile + '' + ' ppm:' + '' + outfile + '' + '') != 0:
  unlinkNoThrow(outfile)
  sys.exit(1)

 if not os.path.isfile(outfile):
  if os.path.isfile(outfile + '.0'):
os.rename(outfile + '.0', outfile)
import glob
for file in glob.glob(outfile + '.?'):
  unlinkNoThrow(file)
  else:
sys.exit(1)

 unlinkNoThrow(infile)

 fromfile = outfile
 tofile = /tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8.ppm

 try:
  os.rename(fromfile, tofile)
 except:
  try:
shutil.copy(fromfile, tofile)
  except:
sys.exit(1)
  unlinkNoThrow(fromfile)

 --
 ForkedCallQueue: waking up
 LoaderQueue: I'm going to sleep
 convert: UnableToOpenBlob
 `pdf:/tmp/lyx_tmpdir2667fWnF6/gconvert02669EIZR3.pdf': No such file or
 directory.
 convert: MissingAnImageFilename
 `ppm:/tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8.ppm'.
 /Applications/LyX.app/Contents/Resources/scripts/convertDefault.py ERROR
 Execution of convert failed.
 ForkedCallQueue: I'm going to sleep
 Image conversion failed.
 Unable to find converted file!

 Some new suggestions on this problem???


Do you have Ghostscript installed?  ImageMagick uses GS to convert PS,
EPS and PDF files.

/Paul






--
-
Julio Rojas
[EMAIL PROTECTED]


Re: ImageMagick and OSX (PPC)

2006-10-23 Thread Paul A. Rubin

Julio Rojas wrote:

Yup, GS 8.51 is installed and runs smoothly from a shell.



You might try the following.  Open a shell and navigate to a PDF graphic 
file of your choice.  Then run


  convert -verbose whatever.pdf whatever.ppm

and see what transpires.  (I'm assuming that ImageMagick is on whatever 
OS X uses for a command path.)  If the conversion works, odds are the 
problem is with the LyX setup.  If it fails, odds are the problem is 
with either the ImageMagick setup or whether it can find the GS library.


/Paul



Re: ImageMagick and OSX (PPC)

2006-10-23 Thread Julio Rojas

Here is the output (and the culprit):

convert: UnableToOpenConfigureFile `delegates.xml'.
convert: NoDecodeDelegateForThisImageFormat `EPF_Liga_Espanola.pdf'.
convert: MissingAnImageFilename `test.ppm'.

What seems to be happening???

P.S.: I have all the files of ImageMagick inside /usr/local/

On 10/23/06, Paul A. Rubin [EMAIL PROTECTED] wrote:

Julio Rojas wrote:
 Yup, GS 8.51 is installed and runs smoothly from a shell.


You might try the following.  Open a shell and navigate to a PDF graphic
file of your choice.  Then run

   convert -verbose whatever.pdf whatever.ppm

and see what transpires.  (I'm assuming that ImageMagick is on whatever
OS X uses for a command path.)  If the conversion works, odds are the
problem is with the LyX setup.  If it fails, odds are the problem is
with either the ImageMagick setup or whether it can find the GS library.

/Paul





--
-
Julio Rojas
[EMAIL PROTECTED]


Re: ImageMagick and OSX (PPC)

2006-10-23 Thread Paul A. Rubin

Julio Rojas wrote:

Here is the output (and the culprit):

convert: UnableToOpenConfigureFile `delegates.xml'.
convert: NoDecodeDelegateForThisImageFormat `EPF_Liga_Espanola.pdf'.
convert: MissingAnImageFilename `test.ppm'.

What seems to be happening???

P.S.: I have all the files of ImageMagick inside /usr/local/


The delegates file is a configuration file that tells ImageMagick how to 
convert from one format to another.  On Windows, it's located in IM 
root\config, so my guess is on your  system it should be in 
/usr/local/ImageMagick/config (give or take what you named the 
ImageMagick directory).  Along with delegates.xml, there should be 
coder.xml, colors.xml and several more configuration files.


If you don't have delegates.xml, then ImageMagick did not install 
correctly.  If you have it, there might be a permissions problem (?), or 
 it might be corrupted.  Since it's XML, you should be able to read it 
with whatever text viewer you use.


The other two messages are direct consequences of not being able to look 
into delegates.xml and find how to convert from PDF to something else.


/Paul



Re: ImageMagick and OSX (PPC)

2006-10-23 Thread Julio Rojas

I have added the $MAGICK_HOME variable, which was missing, and now
convert works fine.

If I run LyX directly from the icon the rendering doesn't work, but if
I run it from the command line with the debbuging graphics option, the
rendering works.

Weird!!! Any idea?

On 10/23/06, Paul A. Rubin [EMAIL PROTECTED] wrote:

Julio Rojas wrote:
 Here is the output (and the culprit):

 convert: UnableToOpenConfigureFile `delegates.xml'.
 convert: NoDecodeDelegateForThisImageFormat `EPF_Liga_Espanola.pdf'.
 convert: MissingAnImageFilename `test.ppm'.

 What seems to be happening???

 P.S.: I have all the files of ImageMagick inside /usr/local/

The delegates file is a configuration file that tells ImageMagick how to
convert from one format to another.  On Windows, it's located in IM
root\config, so my guess is on your  system it should be in
/usr/local/ImageMagick/config (give or take what you named the
ImageMagick directory).  Along with delegates.xml, there should be
coder.xml, colors.xml and several more configuration files.

If you don't have delegates.xml, then ImageMagick did not install
correctly.  If you have it, there might be a permissions problem (?), or
  it might be corrupted.  Since it's XML, you should be able to read it
with whatever text viewer you use.

The other two messages are direct consequences of not being able to look
into delegates.xml and find how to convert from PDF to something else.

/Paul




--
-
Julio Rojas
[EMAIL PROTECTED]


Re: ImageMagick and OSX (PPC)

2006-10-23 Thread Paul A. Rubin

Julio Rojas wrote:

I have added the $MAGICK_HOME variable, which was missing, and now
convert works fine.

If I run LyX directly from the icon the rendering doesn't work, but if
I run it from the command line with the debbuging graphics option, the
rendering works.

Weird!!! Any idea?



Omnibus explanation, for all reported problems: a gypsy cursed you?  :-)

What happens if you run LyX from the command line without any debugging 
options.  If rendering works, then take a look at just what the icon is 
starting.  It may somehow be creating an environment in which 
$MAGICK_HOME is undefined.


/Paul



hello!

2006-10-23 Thread Luxirom

for my first not-empty message i have allready a question
(hope this is the right place)

i use lyx on mac (newest) and pdflatex - function opens the pdf in  
safari,

not in preview

that works, but is odd...

can i change that

regards
lux


Re: hello!

2006-10-23 Thread Lorenzo Paulatto
Luxirom ha scritto:
 for my first not-empty message i have allready a question
 (hope this is the right place)
 
 i use lyx on mac (newest) and pdflatex - function opens the pdf in safari,
 not in preview
 
 that works, but is odd...
 
 can i change that

Yes, you can. Look in the preferences or in the user manual.

-- 
Lorenzo `paulatz' Paulatto
Trieste

``Grandissima mi par l'inezia di coloro che vorrebbero che Iddio avesse
fatto l'universo più proporzionato alla piccola capacità del lor discorso.''
 --Galileo Galilei (Opere VII)


Re: hello!

2006-10-23 Thread Bennett Helm

On Oct 23, 2006, at 5:21 PM, Luxirom wrote:


for my first not-empty message i have allready a question
(hope this is the right place)

i use lyx on mac (newest) and pdflatex - function opens the pdf in  
safari,

not in preview

that works, but is odd...

can i change that


Yes. There is a bug involving the interaction between LyX and the  
Finder. Two things you can do here; if the first thing doesn't work  
on its own, try the second as well.


1. From within the Finder, select any .pdf file. Do File  Get  
Info... and change the Open with: drop-down list to something other  
than Preview, and then select Preview again. Then click on the  
Change all... button (confirming that you want to do this from the  
dialog that pops up). Now when you view your .lyx document as PDF, it  
should open in Preview. If this doesn't work, also do the following:


2. Within LyX, select LyX  Preferences  File Formats  PDF. In the  
Viewer field, enter open (without the quotes), click on the  
Modify button and then on the Save button. Now this should fix  
your LyX problem.


Bennett


Problems with installation of Lyx 143-4 on windows xp

2006-10-23 Thread Robert Neumann
Hello,
I tried to install lyx 143-4 on Windows xp using the network installation
package. Everything runs fine, all the miktech is installed. 
When I try to open Lyx the dos-shell appears for half a second, as usually but
then nothing happens...
I rebooted but it didn't help
Is there any solution. There is one thing: At the last installationscreen I am
told that IEEEtran.cls is missing and will be installed from Random package
repository. I don't get any message, whether this works but I think, this can't
be the problem for the not running lyx.
Thanks
Robert



Re: lyx files backward compatibility

2006-10-23 Thread Georg Baum
Pavel Sanda wrote:

>> If it is something else than the above please tell us what is different.
> 
> im not sure. it is a page with normal text and figure-float.
> in 1.3 it fits accurately in 1 page and in 1.4 gets the picture
> on the second page.

If the figure float comes back to the first page when you introduce a bit of
vertical spacing in it then the shifting was caused by the change I
described. But it is not very likely IMHO. Otherwise it is something else.


Georg



Re: Problems with installation of Lyx 143-4 on windows xp

2006-10-23 Thread Uwe Stöhr

Robert Neumann schrieb:


I tried to install lyx 143-4 on Windows xp using the network installation
package. Everything runs fine, all the miktech is installed. 
When I try to open Lyx the dos-shell appears for half a second, as usually but

then nothing happens...


In this time missing packages should be installed by MiKTex in the 
background.


If nothing helps, try to install LyX using this installer:

http://wiki.lyx.org/Windows/LyXWinInstaller


regards Uwe


Re: lyx 1.4.3-4 and Acrobat on exit

2006-10-23 Thread Uwe Stöhr

Michael Spiegel schrieb:

When I try to quit Lyx after using the View-->PDF(pdflatex) option, I 
get the following dialog box, Microsoft Visual C++ Runtime Library 
error: "The application has requested the runtime to terminate it in an 
unusual way."

This happens if I forget to close Adobe Reader before I quit from Lyx.


This is a known bug, please report it at bugzilla.lyx.org. I also have 
this problem but didn't report it yet.


I am running on a Windows XP machine, and using the PDFview tweak from the 
wiki site: http://wiki.lyx.org/Windows/LyXWinTips (Improved PDF viewing).


This feature is currently built in this installer:
http://wiki.lyx.org/Windows/LyXWinInstaller

and will also be part of the next release of the official installer.

regards Uwe


Re: lyx to odf conversion

2006-10-23 Thread Helge Hafting

Matt Flax wrote:

Hello,

I would like to convert my lyx document to an ODF document.

The reason is that I have someone who wants to proof read and correct
one of my documents ... unfortunatly they use Microsoft word.
In the past I havn't found any good methods for converting ... I
thought that perhaps ODF would be the way to go ... I believe they
have a plugin for MS Word ... so all I have to do is work out how to
get from lyx or tex to ODF ...

I have tried some methods before but have found problems with math
equations and figures 

Try installing the program "latex2rtf" and reconfigure lyx.
You will now get a export->rtf option, and word will read the .rtf file.

I am not sure this conversion is good though. Math and floating figures
are areas where lyx simply is _better_ than word, so perfect conversion
is impossible.


Please note that lyx now exists in a windows version. So consider
installing windows-lyx on your proofreader's computer.  If they allow it.

Helge Hafting


LyX and LaTeXDB?

2006-10-23 Thread Wolfgang Keller
Hello,

is it possible to use LaTeXDB (http://privat.hgesser.com/software/latexdb/) 
with LyX?

TIA,

Sincerely,

Wolfgang Keller

-- 
My email-address is correct.
Do NOT remove ".nospam" to reply.



lyx-1.4.3

2006-10-23 Thread icebna
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Rudi
I have compiled the tarball in my laptop and neither; don"t start
I have compiled the tarball to frontend = xforms, and start well and
work, but the xforms interface, don't like me very much. What do you think ?

Miguel
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFPMl4yFpgM/szBZQRAk+ZAKCQEpK0/p/H7wkl+bOXxSDsnePSpgCfTfbJ
qvlAlsFOIcQ2vGCLrTuGyR8=
=FdgV
-END PGP SIGNATURE-



Problems installing spell checker using installer for llyx-143-4 - Help please!

2006-10-23 Thread Mike Reeks
This is the second time. No response the first time. Surely someone has
used the lyx 143-4 installer. If not surely someone know who to contact.
Anyway as I said before I am trying to install the latest version
lyx-143-4  using the installer program and failed to download
spellchecker. The message during the installation says 'failed to
download English spell checker- would you like to try again'. Clearly
problems accessing the host from the web.  How do I install spellchecker
separately once lyx has been set up? What is the procedure? Any
suggestions as to what to do? Help please. 

Prof. Michael W Reeks
School of Mechanical& Systems Engineering
Stephenson Building
Claremont Rd
University of Newcastle upon Tyne
Newcastle upon Tyne, NE1 7RU
UK
 
Tel 0044 191 222 3570
Fax 0044 191 222 8600
Mob 0044 791 050 4230
Sec 0044 191 222 5236
Research Website
http://www.ncl.ac.uk/mech/research/fluid/multiphase.htm







Re: Problems with installation of Lyx 143-4 on windows xp

2006-10-23 Thread Paul A. Rubin

Robert Neumann wrote:

Hello,
I tried to install lyx 143-4 on Windows xp using the network installation
package. Everything runs fine, all the miktech is installed. 
When I try to open Lyx the dos-shell appears for half a second, as usually but

then nothing happens...
I rebooted but it didn't help
Is there any solution. There is one thing: At the last installationscreen I am
told that IEEEtran.cls is missing and will be installed from Random package
repository. I don't get any message, whether this works but I think, this can't
be the problem for the not running lyx.
Thanks
Robert




Try opening a DOS shell, switching to the LyX bin directory, and running 
lyx.exe there.  The shell will stay open and maybe you can see what is 
going on.  You can also try running with the debug option to get more 
info (including the dreaded 'lyx -dbg any', which will give you more 
messages than you could possibly want).


Also, have a look in C:\Documents and Settings\here>\Application Data\LyX1.4.x to see if the packages.lst and 
textclass.lst files were written there (and whether they are longer than 
zero bytes).  If they are missing or zero-length, odds are the 
configuration script burped.


The IEEEtran.cls message might be meaningful if you're behind a firewall 
or proxy server.  There's a known bug where LyX looks for a missing 
class, MikTeX tries to install it automatically (but fails due to 
network issues), and the failure causes the configuration script to blink.


/Paul



Re: Problems installing spell checker using installer for llyx-143-4 - Help please!

2006-10-23 Thread Paul A. Rubin

Mike Reeks wrote:

This is the second time. No response the first time. Surely someone has
used the lyx 143-4 installer. If not surely someone know who to contact.
Anyway as I said before I am trying to install the latest version
lyx-143-4  using the installer program and failed to download
spellchecker. The message during the installation says 'failed to
download English spell checker- would you like to try again'. Clearly
problems accessing the host from the web.  How do I install spellchecker
separately once lyx has been set up? What is the procedure? Any
suggestions as to what to do? Help please. 



I answered this the first time.  You can find the answer (in two parts) 
archived at http://article.gmane.org/gmane.editors.lyx.general/33978/ 
and http://article.gmane.org/gmane.editors.lyx.general/33985/.  Unless 
you mean that this did not work for you?


/Paul



ImageMagick and OSX (PPC)

2006-10-23 Thread Julio Rojas

I still have the problem related to LyX unable to render an image on
screen. I have a document with a couple of PDF images and LyX shows
"Error converting to loadable form".

I have installed, as suggested, ImageMagick. Added the
$ImageMagick/bin to $PATH, added it to LyX path, tried "convert" from
a shell (outside its directory) and it is working, but LyX still keeps
telling me that error.

The debbuging option shows the following text:

Recognised Fileformat: png
[GrahicsCacheItem::convertToDisplayFormat]
   Attempting to convert image file:
/tmp/lyx_tmpdir2667fWnF6/lyx_tmpbuf0/0lyxpreview3.png
   with displayed filename:
/tmp/lyx_tmpdir2667fWnF6/lyx_tmpbuf0/0lyxpreview3.png
Recognised Fileformat: png

   The file contains png format data.
   No conversion needed (from == to)!
Loading image.
Image loading succeeded.
GraphicsImage::getScaledDImensions()
   params.scale   : 100
   width  : 579
   height : 42
Recognised Fileformat: pdf
[GrahicsCacheItem::convertToDisplayFormat]
   Attempting to convert image file:
/Users/jcredberry/Desktop/EPF/EPF_Liga_Espanola.pdf
   with displayed filename: ~/Desktop/EPF/EPF_Liga_Espanola.pdf
Recognised Fileformat: pdf

   The file contains pdf format data.
Unable to convert from pdf to bmp
Unable to convert from pdf to jpg
Unable to convert from pdf to pbm
Unable to convert from pdf to pgm
Unable to convert from pdf to png
Unable to convert from pdf to ppm
Unable to convert from pdf to xbm
Unable to convert from pdf to xpm
   Converting it to ppm format.
Converter c-tor:
   from_file:  /Users/jcredberry/Desktop/EPF/EPF_Liga_Espanola.pdf
   to_file_base: /tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8
   from_format:  pdf
   to_format:ppm
build_script ...No converter defined! I use convertDefault.py
   python 
"/Applications/LyX.app/Contents/Resources/scripts/convertDefault.py"
pdf:' + '"' + infile + '"' + ' ppm:' + '"' + outfile + '"' + '
ready!
   Conversion script:
--
#!/usr/bin/env python
import os, shutil, sys

def unlinkNoThrow(file):
 ''' remove a file, do not throw if an error occurs '''
 try:
   os.unlink(file)
 except:
   pass

infile = "/Users/jcredberry/Desktop/EPF/EPF_Liga_Espanola.pdf"
outfile = "/tmp/lyx_tmpdir2667fWnF6/gconvert02669EIZR3.pdf"
shutil.copy(infile, outfile)
infile = outfile
outfile = "/tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8.ppm"

if os.system(r'python
"/Applications/LyX.app/Contents/Resources/scripts/convertDefault.py"
pdf:' + '"' + infile + '"' + ' ppm:' + '"' + outfile + '"' + '') != 0:
 unlinkNoThrow(outfile)
 sys.exit(1)

if not os.path.isfile(outfile):
 if os.path.isfile(outfile + '.0'):
   os.rename(outfile + '.0', outfile)
   import glob
   for file in glob.glob(outfile + '.?'):
 unlinkNoThrow(file)
 else:
   sys.exit(1)

unlinkNoThrow(infile)

fromfile = outfile
tofile = "/tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8.ppm"

try:
 os.rename(fromfile, tofile)
except:
 try:
   shutil.copy(fromfile, tofile)
 except:
   sys.exit(1)
 unlinkNoThrow(fromfile)

--
ForkedCallQueue: waking up
LoaderQueue: I'm going to sleep
convert: UnableToOpenBlob
`pdf:/tmp/lyx_tmpdir2667fWnF6/gconvert02669EIZR3.pdf': No such file or
directory.
convert: MissingAnImageFilename
`ppm:/tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8.ppm'.
/Applications/LyX.app/Contents/Resources/scripts/convertDefault.py ERROR
Execution of "convert" failed.
ForkedCallQueue: I'm going to sleep
Image conversion failed.
Unable to find converted file!

Some new suggestions on this problem???

--
-
Julio Rojas
[EMAIL PROTECTED]


Re: ImageMagick and OSX (PPC)

2006-10-23 Thread Paul A. Rubin

Julio Rojas wrote:

I still have the problem related to LyX unable to render an image on
screen. I have a document with a couple of PDF images and LyX shows
"Error converting to loadable form".

I have installed, as suggested, ImageMagick. Added the
$ImageMagick/bin to $PATH, added it to LyX path, tried "convert" from
a shell (outside its directory) and it is working, but LyX still keeps
telling me that error.

The debbuging option shows the following text:

Recognised Fileformat: png
[GrahicsCacheItem::convertToDisplayFormat]
   Attempting to convert image file:
/tmp/lyx_tmpdir2667fWnF6/lyx_tmpbuf0/0lyxpreview3.png
   with displayed filename:
/tmp/lyx_tmpdir2667fWnF6/lyx_tmpbuf0/0lyxpreview3.png
Recognised Fileformat: png

   The file contains png format data.
   No conversion needed (from == to)!
Loading image.
Image loading succeeded.
GraphicsImage::getScaledDImensions()
   params.scale   : 100
   width  : 579
   height : 42
Recognised Fileformat: pdf
[GrahicsCacheItem::convertToDisplayFormat]
   Attempting to convert image file:
/Users/jcredberry/Desktop/EPF/EPF_Liga_Espanola.pdf
   with displayed filename: ~/Desktop/EPF/EPF_Liga_Espanola.pdf
Recognised Fileformat: pdf

   The file contains pdf format data.
Unable to convert from pdf to bmp
Unable to convert from pdf to jpg
Unable to convert from pdf to pbm
Unable to convert from pdf to pgm
Unable to convert from pdf to png
Unable to convert from pdf to ppm
Unable to convert from pdf to xbm
Unable to convert from pdf to xpm
   Converting it to ppm format.
Converter c-tor:
   from_file:  /Users/jcredberry/Desktop/EPF/EPF_Liga_Espanola.pdf
   to_file_base: /tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8
   from_format:  pdf
   to_format:ppm
build_script ...No converter defined! I use convertDefault.py
   python 
"/Applications/LyX.app/Contents/Resources/scripts/convertDefault.py"

pdf:' + '"' + infile + '"' + ' ppm:' + '"' + outfile + '"' + '
ready!
   Conversion script:
--
#!/usr/bin/env python
import os, shutil, sys

def unlinkNoThrow(file):
 ''' remove a file, do not throw if an error occurs '''
 try:
   os.unlink(file)
 except:
   pass

infile = "/Users/jcredberry/Desktop/EPF/EPF_Liga_Espanola.pdf"
outfile = "/tmp/lyx_tmpdir2667fWnF6/gconvert02669EIZR3.pdf"
shutil.copy(infile, outfile)
infile = outfile
outfile = "/tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8.ppm"

if os.system(r'python
"/Applications/LyX.app/Contents/Resources/scripts/convertDefault.py"
pdf:' + '"' + infile + '"' + ' ppm:' + '"' + outfile + '"' + '') != 0:
 unlinkNoThrow(outfile)
 sys.exit(1)

if not os.path.isfile(outfile):
 if os.path.isfile(outfile + '.0'):
   os.rename(outfile + '.0', outfile)
   import glob
   for file in glob.glob(outfile + '.?'):
 unlinkNoThrow(file)
 else:
   sys.exit(1)

unlinkNoThrow(infile)

fromfile = outfile
tofile = "/tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8.ppm"

try:
 os.rename(fromfile, tofile)
except:
 try:
   shutil.copy(fromfile, tofile)
 except:
   sys.exit(1)
 unlinkNoThrow(fromfile)

--
ForkedCallQueue: waking up
LoaderQueue: I'm going to sleep
convert: UnableToOpenBlob
`pdf:/tmp/lyx_tmpdir2667fWnF6/gconvert02669EIZR3.pdf': No such file or
directory.
convert: MissingAnImageFilename
`ppm:/tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8.ppm'.
/Applications/LyX.app/Contents/Resources/scripts/convertDefault.py ERROR
Execution of "convert" failed.
ForkedCallQueue: I'm going to sleep
Image conversion failed.
Unable to find converted file!

Some new suggestions on this problem???



Do you have Ghostscript installed?  ImageMagick uses GS to convert PS, 
EPS and PDF files.


/Paul




Re: ImageMagick and OSX (PPC)

2006-10-23 Thread Julio Rojas

Yup, GS 8.51 is installed and runs smoothly from a shell.

On 10/23/06, Paul A. Rubin <[EMAIL PROTECTED]> wrote:

Julio Rojas wrote:
> I still have the problem related to LyX unable to render an image on
> screen. I have a document with a couple of PDF images and LyX shows
> "Error converting to loadable form".
>
> I have installed, as suggested, ImageMagick. Added the
> $ImageMagick/bin to $PATH, added it to LyX path, tried "convert" from
> a shell (outside its directory) and it is working, but LyX still keeps
> telling me that error.
>
> The debbuging option shows the following text:
>
> Recognised Fileformat: png
> [GrahicsCacheItem::convertToDisplayFormat]
>Attempting to convert image file:
> /tmp/lyx_tmpdir2667fWnF6/lyx_tmpbuf0/0lyxpreview3.png
>with displayed filename:
> /tmp/lyx_tmpdir2667fWnF6/lyx_tmpbuf0/0lyxpreview3.png
> Recognised Fileformat: png
>
>The file contains png format data.
>No conversion needed (from == to)!
> Loading image.
> Image loading succeeded.
> GraphicsImage::getScaledDImensions()
>params.scale   : 100
>width  : 579
>height : 42
> Recognised Fileformat: pdf
> [GrahicsCacheItem::convertToDisplayFormat]
>Attempting to convert image file:
> /Users/jcredberry/Desktop/EPF/EPF_Liga_Espanola.pdf
>with displayed filename: ~/Desktop/EPF/EPF_Liga_Espanola.pdf
> Recognised Fileformat: pdf
>
>The file contains pdf format data.
> Unable to convert from pdf to bmp
> Unable to convert from pdf to jpg
> Unable to convert from pdf to pbm
> Unable to convert from pdf to pgm
> Unable to convert from pdf to png
> Unable to convert from pdf to ppm
> Unable to convert from pdf to xbm
> Unable to convert from pdf to xpm
>Converting it to ppm format.
> Converter c-tor:
>from_file:  /Users/jcredberry/Desktop/EPF/EPF_Liga_Espanola.pdf
>to_file_base: /tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8
>from_format:  pdf
>to_format:ppm
> build_script ...No converter defined! I use convertDefault.py
>python
> "/Applications/LyX.app/Contents/Resources/scripts/convertDefault.py"
> pdf:' + '"' + infile + '"' + ' ppm:' + '"' + outfile + '"' + '
> ready!
>Conversion script:
> --
> #!/usr/bin/env python
> import os, shutil, sys
>
> def unlinkNoThrow(file):
>  ''' remove a file, do not throw if an error occurs '''
>  try:
>os.unlink(file)
>  except:
>pass
>
> infile = "/Users/jcredberry/Desktop/EPF/EPF_Liga_Espanola.pdf"
> outfile = "/tmp/lyx_tmpdir2667fWnF6/gconvert02669EIZR3.pdf"
> shutil.copy(infile, outfile)
> infile = outfile
> outfile = "/tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8.ppm"
>
> if os.system(r'python
> "/Applications/LyX.app/Contents/Resources/scripts/convertDefault.py"
> pdf:' + '"' + infile + '"' + ' ppm:' + '"' + outfile + '"' + '') != 0:
>  unlinkNoThrow(outfile)
>  sys.exit(1)
>
> if not os.path.isfile(outfile):
>  if os.path.isfile(outfile + '.0'):
>os.rename(outfile + '.0', outfile)
>import glob
>for file in glob.glob(outfile + '.?'):
>  unlinkNoThrow(file)
>  else:
>sys.exit(1)
>
> unlinkNoThrow(infile)
>
> fromfile = outfile
> tofile = "/tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8.ppm"
>
> try:
>  os.rename(fromfile, tofile)
> except:
>  try:
>shutil.copy(fromfile, tofile)
>  except:
>sys.exit(1)
>  unlinkNoThrow(fromfile)
>
> --
> ForkedCallQueue: waking up
> LoaderQueue: I'm going to sleep
> convert: UnableToOpenBlob
> `pdf:/tmp/lyx_tmpdir2667fWnF6/gconvert02669EIZR3.pdf': No such file or
> directory.
> convert: MissingAnImageFilename
> `ppm:/tmp/lyx_tmpdir2667fWnF6/CacheItem266dy40S8.ppm'.
> /Applications/LyX.app/Contents/Resources/scripts/convertDefault.py ERROR
> Execution of "convert" failed.
> ForkedCallQueue: I'm going to sleep
> Image conversion failed.
> Unable to find converted file!
>
> Some new suggestions on this problem???
>

Do you have Ghostscript installed?  ImageMagick uses GS to convert PS,
EPS and PDF files.

/Paul






--
-
Julio Rojas
[EMAIL PROTECTED]


Re: ImageMagick and OSX (PPC)

2006-10-23 Thread Paul A. Rubin

Julio Rojas wrote:

Yup, GS 8.51 is installed and runs smoothly from a shell.



You might try the following.  Open a shell and navigate to a PDF graphic 
file of your choice.  Then run


  convert -verbose whatever.pdf whatever.ppm

and see what transpires.  (I'm assuming that ImageMagick is on whatever 
OS X uses for a command path.)  If the conversion works, odds are the 
problem is with the LyX setup.  If it fails, odds are the problem is 
with either the ImageMagick setup or whether it can find the GS library.


/Paul



Re: ImageMagick and OSX (PPC)

2006-10-23 Thread Julio Rojas

Here is the output (and the culprit):

convert: UnableToOpenConfigureFile `delegates.xml'.
convert: NoDecodeDelegateForThisImageFormat `EPF_Liga_Espanola.pdf'.
convert: MissingAnImageFilename `test.ppm'.

What seems to be happening???

P.S.: I have all the files of ImageMagick inside /usr/local/

On 10/23/06, Paul A. Rubin <[EMAIL PROTECTED]> wrote:

Julio Rojas wrote:
> Yup, GS 8.51 is installed and runs smoothly from a shell.
>

You might try the following.  Open a shell and navigate to a PDF graphic
file of your choice.  Then run

   convert -verbose whatever.pdf whatever.ppm

and see what transpires.  (I'm assuming that ImageMagick is on whatever
OS X uses for a command path.)  If the conversion works, odds are the
problem is with the LyX setup.  If it fails, odds are the problem is
with either the ImageMagick setup or whether it can find the GS library.

/Paul





--
-
Julio Rojas
[EMAIL PROTECTED]


Re: ImageMagick and OSX (PPC)

2006-10-23 Thread Paul A. Rubin

Julio Rojas wrote:

Here is the output (and the culprit):

convert: UnableToOpenConfigureFile `delegates.xml'.
convert: NoDecodeDelegateForThisImageFormat `EPF_Liga_Espanola.pdf'.
convert: MissingAnImageFilename `test.ppm'.

What seems to be happening???

P.S.: I have all the files of ImageMagick inside /usr/local/


The delegates file is a configuration file that tells ImageMagick how to 
convert from one format to another.  On Windows, it's located in root>\config, so my guess is on your  system it should be in 
/usr/local/ImageMagick/config (give or take what you named the 
ImageMagick directory).  Along with delegates.xml, there should be 
coder.xml, colors.xml and several more configuration files.


If you don't have delegates.xml, then ImageMagick did not install 
correctly.  If you have it, there might be a permissions problem (?), or 
 it might be corrupted.  Since it's XML, you should be able to read it 
with whatever text viewer you use.


The other two messages are direct consequences of not being able to look 
into delegates.xml and find how to convert from PDF to something else.


/Paul



Re: ImageMagick and OSX (PPC)

2006-10-23 Thread Julio Rojas

I have added the $MAGICK_HOME variable, which was missing, and now
"convert" works fine.

If I run LyX directly from the icon the rendering doesn't work, but if
I run it from the command line with the debbuging graphics option, the
rendering works.

Weird!!! Any idea?

On 10/23/06, Paul A. Rubin <[EMAIL PROTECTED]> wrote:

Julio Rojas wrote:
> Here is the output (and the culprit):
>
> convert: UnableToOpenConfigureFile `delegates.xml'.
> convert: NoDecodeDelegateForThisImageFormat `EPF_Liga_Espanola.pdf'.
> convert: MissingAnImageFilename `test.ppm'.
>
> What seems to be happening???
>
> P.S.: I have all the files of ImageMagick inside /usr/local/

The delegates file is a configuration file that tells ImageMagick how to
convert from one format to another.  On Windows, it's located in \config, so my guess is on your  system it should be in
/usr/local/ImageMagick/config (give or take what you named the
ImageMagick directory).  Along with delegates.xml, there should be
coder.xml, colors.xml and several more configuration files.

If you don't have delegates.xml, then ImageMagick did not install
correctly.  If you have it, there might be a permissions problem (?), or
  it might be corrupted.  Since it's XML, you should be able to read it
with whatever text viewer you use.

The other two messages are direct consequences of not being able to look
into delegates.xml and find how to convert from PDF to something else.

/Paul




--
-
Julio Rojas
[EMAIL PROTECTED]


Re: ImageMagick and OSX (PPC)

2006-10-23 Thread Paul A. Rubin

Julio Rojas wrote:

I have added the $MAGICK_HOME variable, which was missing, and now
"convert" works fine.

If I run LyX directly from the icon the rendering doesn't work, but if
I run it from the command line with the debbuging graphics option, the
rendering works.

Weird!!! Any idea?



Omnibus explanation, for all reported problems: a gypsy cursed you?  :-)

What happens if you run LyX from the command line without any debugging 
options.  If rendering works, then take a look at just what the icon is 
starting.  It may somehow be creating an environment in which 
$MAGICK_HOME is undefined.


/Paul



hello!

2006-10-23 Thread Luxirom

for my first not-empty message i have allready a question
(hope this is the right place)

i use lyx on mac (newest) and pdflatex - function opens the pdf in  
safari,

not in preview

that works, but is odd...

can i change that

regards
lux


Re: hello!

2006-10-23 Thread Lorenzo Paulatto
Luxirom ha scritto:
> for my first not-empty message i have allready a question
> (hope this is the right place)
> 
> i use lyx on mac (newest) and pdflatex - function opens the pdf in safari,
> not in preview
> 
> that works, but is odd...
> 
> can i change that

Yes, you can. Look in the preferences or in the user manual.

-- 
Lorenzo `paulatz' Paulatto
Trieste

``Grandissima mi par l'inezia di coloro che vorrebbero che Iddio avesse
fatto l'universo più proporzionato alla piccola capacità del lor discorso.''
 --Galileo Galilei (Opere VII)


Re: hello!

2006-10-23 Thread Bennett Helm

On Oct 23, 2006, at 5:21 PM, Luxirom wrote:


for my first not-empty message i have allready a question
(hope this is the right place)

i use lyx on mac (newest) and pdflatex - function opens the pdf in  
safari,

not in preview

that works, but is odd...

can i change that


Yes. There is a bug involving the interaction between LyX and the  
Finder. Two things you can do here; if the first thing doesn't work  
on its own, try the second as well.


1. From within the Finder, select any .pdf file. Do File > Get  
Info... and change the "Open with:" drop-down list to something other  
than Preview, and then select Preview again. Then click on the  
"Change all..." button (confirming that you want to do this from the  
dialog that pops up). Now when you view your .lyx document as PDF, it  
should open in Preview. If this doesn't work, also do the following:


2. Within LyX, select LyX > Preferences > File Formats > PDF. In the  
Viewer field, enter "open" (without the quotes), click on the  
"Modify" button and then on the "Save" button. Now this should fix  
your LyX problem.


Bennett