Hello list,

I recently picked up LyX after getting some warm recommendations from a few friends. I'm using a PowerBook with Mac OS X 10.4.3.

Thus, I picked up the i-Installer distribution at http:// ii2.sourceforge.net/tex-index.html, which seems to be the most popular for my platform, and followed install instructions from http://www.uoregon.edu/~koch/texshop/installing.html. I selected the 2005 TeX distribution (i-Installer offers "2003", "2004" and "2005", with 2005 being the default).

Then, I grabbed a copy of LyX 1.3.6 for Mac OS X, copied the program to my Applications folder, and ran the install script. So far, so good. But from there, it goes a little bit wrong.

Indeed, I cannot seem to include any graphics (images) in my documents. Or rather, documents that are typeset perfectly fine on Linux won't hear a thing on my computer. However, this only occurs when I use the pdflatex, DVI or dvipdfm options of the View menu. For a reason I cannot explain, the "ps to pdf" option works just fine.

Graphics are included by adding a float:figure element and including within that an ERT block, with the following commands

\center{\includegraphics[scale=0.9,angle=0]{graphics/myimage.pdf or myimage.png}}

graphics is a folder that sits next to the main lyx file.

The main document author (this is part of a team project) also added

\usepackage{graphicx}

to the document preamble.

The errors I get seem to be typical of EPS files with no bounding boxes, but why the heck does it happen with PDFs and PNG files as well, when those very same files work perfectly fine on Linux... An example error:

LaTeX Error: Cannot determine size of graphic in /Users/bahamut/ Documents/Sch
...cale=0.9,angle=0]{graphics/Processus.pdf}
                                                  }
Try typing  <return>  to proceed.
If that doesn't work, type  X <return>  to quit.

In addition to that, if I export the document to latex, and typeset the document from say TeXShop, everything works fine (as far as images go, some other things get lost like cross-references, which makes this option unpractical).

I'm basically at a standstill now. I've done my share of research on the web and came up with nothing. Maybe I'm overreacting (since ps to pdf does work), but the issue still annoys me and I'd like to see it resolved (or at least understand what's causing it).

Any assistance will be appreciated.

Regards,
Jean-Francois Roy

--
Co-Founder of MacStorm
Programmer at MacStorm

http://www.macstorm.org
http://www.devklog.net
[EMAIL PROTECTED]

http://www.macstorm.org/bahamut/Jean-Francois.gpgkey


Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to