Fwd: [Mac OS X] Problems with pdfTeX, DVI and images (EPS, PDF, PNG, whatever)

2005-12-07 Thread Alexander Gahr

Hi i had the same problem too. And it seemed to me
that this is because of the 2005 latex install from the i installer  
it seems broke.
Because in this install latex can't find the path of the converted  
pictures in in the lyx temp
directory. It seems that pdflatex of the 2005 version could not  
handle the relative paths

lyx is using.

Going back to a latex 2004 i installer fixed this problem for me.





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








Fwd: [Mac OS X] Problems with pdfTeX, DVI and images (EPS, PDF, PNG, whatever)

2005-12-07 Thread Alexander Gahr

Hi i had the same problem too. And it seemed to me
that this is because of the 2005 latex install from the i installer  
it seems broke.
Because in this install latex can't find the path of the converted  
pictures in in the lyx temp
directory. It seems that pdflatex of the 2005 version could not  
handle the relative paths

lyx is using.

Going back to a latex 2004 i installer fixed this problem for me.





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








Fwd: [Mac OS X] Problems with pdfTeX, DVI and images (EPS, PDF, PNG, whatever)

2005-12-07 Thread Alexander Gahr

Hi i had the same problem too. And it seemed to me
that this is because of the 2005 latex install from the i installer  
it seems broke.
Because in this install latex can't find the path of the converted  
pictures in in the lyx temp
directory. It seems that pdflatex of the 2005 version could not  
handle the relative paths

lyx is using.

Going back to a latex 2004 i installer fixed this problem for me.





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 typingto proceed.
If that doesn't work, type  X   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