Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-28 Thread Bennett Helm
On Jan 28, 2006, at 2:04 PM, Georg Baum wrote: Am Samstag, 28. Januar 2006 19:47 schrieb Marc D.: There is now no preferences file in the Library->Application Support- LyX directory. However, LyX.app/Contents/Resources/lyx in the dmg file I just downloaded has the following: \format "pdf" "p

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-28 Thread Georg Baum
Am Samstag, 28. Januar 2006 19:43 schrieb Herbert Voss: > ok ok, my question was why it is _wrong_! It is wrong > in a logical way, but it should work without LyX internal > errors, right? Yes. But it might have lead Marc to think that he is converting via pdflatex when he actually used ps2pdf. I

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-28 Thread Georg Baum
Am Samstag, 28. Januar 2006 19:47 schrieb Marc D.: > There is now no preferences file in the Library->Application Support- > >LyX > directory. However, LyX.app/Contents/Resources/lyx > in the dmg file I just downloaded has the following: > > \format "pdf" "pdf" "PDF (pdflatex)" "" > \format "pdf

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-28 Thread Marc D.
On 28 Jan 06, at 08:33, Georg Baum wrote: Am Samstag, 28. Januar 2006 17:14 schrieb Marc D.: The defaults do not seem to work under MacOSX, in that they specify xpdf rather than "open" to view files. This is probably fine if the user is using XWindows subsystem to run LyX, but not if the use

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-28 Thread Herbert Voss
Georg Baum wrote: Am Samstag, 28. Januar 2006 18:07 schrieb Herbert Voss: Georg Baum wrote: \format "pdf" "pdf" "PDF (pdflatex)" "" \format "pdf2" "pdf" "PDF (ps to pdf)" "" These are wrong! Read Pauls explanation if it is not clear why. ??? Why are these lines _wrong_? Read it in Pauls

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-28 Thread Georg Baum
Am Samstag, 28. Januar 2006 18:07 schrieb Herbert Voss: > Georg Baum wrote: > > \format "pdf" "pdf" "PDF (pdflatex)" "" > > \format "pdf2" "pdf" "PDF (ps to pdf)" "" > > > > These are wrong! Read Pauls explanation if it is not clear why. > > ??? Why are these lines _wrong_? Read it in Pauls mail

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-28 Thread Herbert Voss
Georg Baum wrote: Am Samstag, 28. Januar 2006 17:14 schrieb Marc D.: The defaults do not seem to work under MacOSX, in that they specify xpdf rather than "open" to view files. This is probably fine if the user is using XWindows subsystem to run LyX, but not if the user wants to run LyX under th

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-28 Thread Georg Baum
Am Samstag, 28. Januar 2006 17:14 schrieb Marc D.: > The defaults do not seem to work under MacOSX, in that they specify xpdf > rather than "open" to view files. This is probably fine if the user > is using XWindows subsystem to run LyX, but not if the user wants > to run LyX under the MacOS GUI. T

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-28 Thread Marc D.
On 28 Jan 06, at 04:10, Stephen Harris wrote: [...] Hello Marc, I came to the same conclusion about using the defaults. I use the defaults with Windows and Lyx 1.3.7 and on Linux Fedora4 which has LyX1.3.6. On both systems I can use the DVI, all 3 pdf and the postscript viewers, in order to vi

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-28 Thread Marc D.
On 28 Jan 06, at 03:10, Georg Baum wrote: Am Freitag, 27. Januar 2006 22:07 schrieb Paul A. Rubin: In your preferences file, I found the following: \format "pdf" "pdf" "PDF (pdflatex)" "" \format "pdf2" "pdf" "PDF (ps to pdf)" "" Note that the labels for the pdf and pdf2 extensions are actua

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-28 Thread Stephen Harris
- Original Message - From: "Georg Baum" <[EMAIL PROTECTED]> To: Sent: Saturday, January 28, 2006 3:10 AM Subject: Re: Latex error on graphics insert (LyX 1.3.7) Am Freitag, 27. Januar 2006 22:07 schrieb Paul A. Rubin: In your preferences file, I found the followin

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-28 Thread Herbert Voss
Georg Baum wrote: Am Freitag, 27. Januar 2006 22:07 schrieb Paul A. Rubin: In your preferences file, I found the following: \format "pdf" "pdf" "PDF (pdflatex)" "" \format "pdf2" "pdf" "PDF (ps to pdf)" "" Note that the labels for the pdf and pdf2 extensions are actually the reverse of what

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-28 Thread Georg Baum
Am Freitag, 27. Januar 2006 22:07 schrieb Paul A. Rubin: > In your preferences file, I found the following: > > \format "pdf" "pdf" "PDF (pdflatex)" "" > \format "pdf2" "pdf" "PDF (ps to pdf)" "" > > Note that the labels for the pdf and pdf2 extensions are actually the > reverse of what the conv

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-28 Thread Herbert Voss
Marc D. wrote: I still don't understand where that line came from, since when I go to Layout->Document->Packages it says that my Postscript driver is "Default". Can I change that to something else in my preferences or lyxrc? replying to myself... In testing, I've found that if I create a NEW

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-27 Thread Marc D.
On 27 Jan 06, at 18:08, Marc D. wrote: On 27 Jan 06, at 12:50, Herbert Voss wrote: Marc D. wrote: I have a LaTeX -> PDF (ps to pdf) option that says: Converter: pdflatex $$i extra flag: latex Now that the homework has been handed in (manual cut and paste of images) I've posted the .lyx fil

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-27 Thread Marc D.
On 27 Jan 06, at 12:50, Herbert Voss wrote: Marc D. wrote: I have a LaTeX -> PDF (ps to pdf) option that says: Converter: pdflatex $$i extra flag: latex Now that the homework has been handed in (manual cut and paste of images) I've posted the .lyx file to http://ryuu.ca/lyx, along with the im

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-27 Thread Marc D.
On 27 Jan 06, at 13:04, Herbert Voss wrote: Herbert Voss wrote: Marc D. wrote: I have a LaTeX -> PDF (ps to pdf) option that says: Converter: pdflatex $$i extra flag: latex Now that the homework has been handed in (manual cut and paste of images) I've posted the .lyx file to http://ryuu.ca

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-27 Thread Herbert Voss
Jean-Marc Lasgouttes wrote: "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: Herbert> it is wrong enabling dvips when using pdflatex. This option Herbert> should _always_ be the default driver. However, this is one Herbert> of the really really obsolete options, which confuses users Herbe

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-27 Thread Jean-Marc Lasgouttes
> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: Herbert> it is wrong enabling dvips when using pdflatex. This option Herbert> should _always_ be the default driver. However, this is one Herbert> of the really really obsolete options, which confuses users Herbert> and doesn't help. Do

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-27 Thread Herbert Voss
Paul A. Rubin wrote: I ran your document with LyX 1.3.7, Win XP, MiKTeX. No matter how I MiKTeX comes with an own extended dvips driver, which is the reason why it runs with an installed MiKTeX but not with _any_ other distribution. view it, it comes out correct. I also exported to latex an

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-27 Thread Paul A. Rubin
Marc D. wrote: On 27 Jan 06, at 10:17, Herbert Voss wrote: Marc D. wrote: Any suggestions on how I can go about changing the behaviour of lyx? I was unaware that I had control over the LaTeX that LyX outputs. I'm more than willing and able to read documentation, but I'd appreciate being poi

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-27 Thread Herbert Voss
Herbert Voss wrote: Marc D. wrote: I have a LaTeX -> PDF (ps to pdf) option that says: Converter: pdflatex $$i extra flag: latex Now that the homework has been handed in (manual cut and paste of images) I've posted the .lyx file to http://ryuu.ca/lyx, along with the images, in case anyone wa

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-27 Thread Herbert Voss
Marc D. wrote: I have a LaTeX -> PDF (ps to pdf) option that says: Converter: pdflatex $$i extra flag: latex Now that the homework has been handed in (manual cut and paste of images) I've posted the .lyx file to http://ryuu.ca/lyx, along with the images, in case anyone wants to see the raw so

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-27 Thread Marc D.
On 27 Jan 06, at 10:17, Herbert Voss wrote: Marc D. wrote: Any suggestions on how I can go about changing the behaviour of lyx? I was unaware that I had control over the LaTeX that LyX outputs. I'm more than willing and able to read documentation, but I'd appreciate being pointed to the righ

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-27 Thread Herbert Voss
Marc D. wrote: Any suggestions on how I can go about changing the behaviour of lyx? I was unaware that I had control over the LaTeX that LyX outputs. I'm more than willing and able to read documentation, but I'd appreciate being pointed to the right chapter. what does Edit->Preferences->Outpu

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-27 Thread Stephen Harris
- Original Message - From: "Marc D." <[EMAIL PROTECTED]> To: Sent: Friday, January 27, 2006 7:40 AM Subject: Re: Latex error on graphics insert (LyX 1.3.7) On 27 Jan 06, at 07:12, Herbert Voss wrote: Stephen Harris wrote: It seems my idea about converting the .

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-27 Thread Marc D.
On 27 Jan 06, at 07:12, Herbert Voss wrote: Stephen Harris wrote: It seems my idea about converting the .eps file to .jpg format was not the best way to proceed, but instead to use epstopdf. eps to jpg is the wrong way, convert them _always_ to pdf with epstopdf. The preamble to the LaT

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-27 Thread Herbert Voss
Stephen Harris wrote: It seems my idea about converting the .eps file to .jpg format was not the best way to proceed, but instead to use epstopdf. eps to jpg is the wrong way, convert them _always_ to pdf with epstopdf. The preamble to the LaTeX source file now looks much like the one used i

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-27 Thread Stephen Harris
- Original Message - From: "Herbert Voss" <[EMAIL PROTECTED]> To: Sent: Thursday, January 26, 2006 11:46 AM Subject: Re: Latex error on graphics insert (LyX 1.3.7) Marc D. wrote: I have a file that processes fine using "PDF (ps to pdf)" option. When I

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-26 Thread Herbert Voss
Marc D. wrote: I have a file that processes fine using "PDF (ps to pdf)" option. When I insert a graphic, it then gives me a single error: LaTeX Error: Cannot determine size of graphic in /tmp/ lyx_tmpdir7937ASk7yo/ly ...van_courses_current_320_assign_a1-3b.jpg} you can not use ps2pdf and a

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-26 Thread Georg Baum
Am Donnerstag, 26. Januar 2006 15:43 schrieb Marc D.: > \includegraphics[% >bb=1bp 1bp 1034bp 273bp, >scale=0.5]{/tmp/lyx_tmpdir1096WTsl0f/ > lyx_tmpbuf0/0_Users_donovan_courses_current_320_assign_a1-3a.jpg} > ... > \includegraphics[% >bb=1bp 1bp 836bp 321bp, >scale=0.5]{/tmp/lyx_t

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-26 Thread Marc D.
On 26 Jan 06, at 02:21, Georg Baum wrote: Marc D. wrote: I have tested the 3 images in a standalone file, and the images display fine using the PDF (ps to pdf) option. It looks like the 3rd image, specified as eps rather than jpg, is converted to pdf before the tex file is created. What do

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-26 Thread Stephen Harris
- Original Message - From: "Georg Baum" <[EMAIL PROTECTED]> To: Sent: Thursday, January 26, 2006 2:21 AM Subject: Re: Latex error on graphics insert (LyX 1.3.7) From the a1.tex file in /tmp/... = \includegraphics[% bb

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-26 Thread Stephen Harris
- Original Message - From: "Georg Baum" <[EMAIL PROTECTED]> To: Sent: Thursday, January 26, 2006 2:21 AM Subject: Re: Latex error on graphics insert (LyX 1.3.7) From the a1.tex file in /tmp/... = \includegraphics[% bb

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-26 Thread Stephen Harris
- Original Message - From: "Marc D." <[EMAIL PROTECTED]> To: Sent: Thursday, January 26, 2006 1:39 AM Subject: Re: Latex error on graphics insert (LyX 1.3.7) On 26 Jan 06, at 01:06, Georg Baum wrote: Kevin Pfeiffer wrote: In my experience (1.3.5) LyX converts

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-26 Thread Georg Baum
Marc D. wrote: > I have tested the 3 images in a standalone file, and the images > display fine using the PDF (ps to pdf) option. It looks like the 3rd > image, specified as eps rather than jpg, is converted to pdf before > the tex file is created. What does "specified as eps" mean? If it means

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-26 Thread Marc D.
On 26 Jan 06, at 01:06, Georg Baum wrote: Kevin Pfeiffer wrote: In my experience (1.3.5) LyX converts jpegs to an EPS automagically. Only for dvi output, but he runs pdflatex. LyX does not convert to eps in this case. And above it does say "type eps"... I overread this. That is very

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-26 Thread Georg Baum
Kevin Pfeiffer wrote: > In my experience (1.3.5) LyX converts jpegs to an EPS automagically. Only for dvi output, but he runs pdflatex. LyX does not convert to eps in this case. > And > above it does say "type eps"... I overread this. That is very interesting. Marc. please post the complete \i

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-26 Thread Georg Baum
Marc D. wrote: > I'm at my wits end. Can someone please tell me at least WHAT is wrong, > in terms of why LyX isn't able to create LaTeX code that works in > this case? > What is LyX is doing (or not doing) that creates this LaTeX error? We don't know, but with your help we might find out. Maybe

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-26 Thread Kevin Pfeiffer
Marc D. writes: > > LaTeX Error: Cannot determine size of graphic in /tmp/ > > lyx_tmpdir7937ASk7yo/ly > > ...van_courses_current_320_assign_a1-3b.jpg} > File: /tmp/lyx_tmpdir17654ldPLfc/ > lyx_tmpbuf0/0_Users_donovan_courses_current_32 > 0_assign_a1-3a.jpg Graphic file (type eps) From the Latex

Re: Latex error on graphics insert (LyX 1.3.7)

2006-01-26 Thread Marc D.
On 25 Jan 06, at 14:39, Marc D. wrote: I have a file that processes fine using "PDF (ps to pdf)" option. When I insert a graphic, it then gives me a single error: LaTeX Error: Cannot determine size of graphic in /tmp/ lyx_tmpdir7937ASk7yo/ly ...van_courses_current_320_assign_a1-3b.jpg} I'

Latex error on graphics insert (LyX 1.3.7)

2006-01-25 Thread Marc D.
I have a file that processes fine using "PDF (ps to pdf)" option. When I insert a graphic, it then gives me a single error: LaTeX Error: Cannot determine size of graphic in /tmp/ lyx_tmpdir7937ASk7yo/ly ...van_courses_current_320_assign_a1-3b.jpg} The only difference in the two files is: as