Re: orientation of .eps figures
Richard Sherman wrote: Thanks again to those of you who are helping me with this. Herbert Voss wrote: first do not use an extension for file names. The graphic driver can detect the right extension. It is a typical behaviour for ghostscript, that it thinks, that your graphic should be rotated to get your vertical text in a horizontal view. ghostscript is too clever here. Try it by hand, export the lyx file as PosScript, then run ps2pdf --dAutoRotatePages=/None filename.ps or alternatively with --dPrePress=/None Herbert Sounds like good intuition, and I tried it: but Lyx won't export the PostScript (Cannot convert file error). Same thing when I remove the .eps extension. hm, shouldn't be happened ... then export to from with LyX to latex and run latex file dvips file ps2pdf --dAutoRotatePages=/None file.ps Herbert
Re: orientation of .eps figures
Richard Sherman wrote: Thanks again to those of you who are helping me with this. Herbert Voss wrote: first do not use an extension for file names. The graphic driver can detect the right extension. It is a typical behaviour for ghostscript, that it thinks, that your graphic should be rotated to get your vertical text in a horizontal view. ghostscript is too clever here. Try it by hand, export the lyx file as PosScript, then run ps2pdf --dAutoRotatePages=/None filename.ps or alternatively with --dPrePress=/None Herbert Sounds like good intuition, and I tried it: but Lyx won't export the PostScript (Cannot convert file error). Same thing when I remove the .eps extension. hm, shouldn't be happened ... then export to from with LyX to latex and run latex file dvips file ps2pdf --dAutoRotatePages=/None file.ps Herbert
Re: orientation of .eps figures
Richard Sherman wrote: Thanks again to those of you who are helping me with this. Herbert Voss wrote: first do not use an extension for file names. The graphic driver can detect the right extension. It is a typical behaviour for ghostscript, that it thinks, that your graphic should be rotated to get your vertical text in a horizontal view. ghostscript is too clever here. Try it by hand, export the lyx file as PosScript, then run ps2pdf --dAutoRotatePages=/None filename.ps or alternatively with --dPrePress=/None Herbert Sounds like good intuition, and I tried it: but Lyx won't export the PostScript ("Cannot convert file" error). Same thing when I remove the .eps extension. hm, shouldn't be happened ... then export to from with LyX to latex and run latex file dvips file ps2pdf --dAutoRotatePages=/None file.ps Herbert
Re: orientation of .eps figures
Thanks for this, but it didn't do the trick. I changed the preferences as you suggested, reconfigured, quit and restarted LyX, but I'm still getting rotated figures. Congratulations, you have found the egg in Ghostscript. You can disable it with with the undocumented option -dAutoRotatePages=/None... go to Edit/Preferences/Converters/Postscript-PDF and change: ps2pdf13 $$i to ps2pdf13 -dAutoRotatePages=/None $$i or ps2pdf13 -dAutoRotatePages=/None -sPAPERSIZE=a4 $$i I wish the gs team would disable the egg, even if it is in acrobat too. It keeps on turning up whenever I've just forgetten how to disable it, and then since it isn't a documented feature I have to Google dozens of obscure locations to figure out how to disable it. Ugh! Its kind of like if KDE decided to hog memory and crash every five minutes for better windows compatibility... wait what was my point again? ;) Perhaps LyX should disable it by default so users don't have interesting little surprises fifteen minutes before the deadline to email something in PDF format? - Richard Sherman Department of Political Science, Leiden University Leiden, Netherlands http://homepage.mac.com/richard.sherman
Re: orientation of .eps figures
Richard Sherman wrote: Thanks for this, but it didn't do the trick. I changed the preferences as you suggested, reconfigured, quit and restarted LyX, but I'm still getting rotated figures. What is the LaTeX-distribution you are using? Could you please send a LyX file together with ONE eps-file that shows the problem. regards Uwe
Re: orientation of .eps figures
Richard Sherman wrote: Thanks for this, but it didn't do the trick. I changed the preferences as you suggested, reconfigured, quit and restarted LyX, but I'm still getting rotated figures. try ps2pdf -dPrePress=/None $$i Herbert
Re: orientation of .eps figures
Herbert Voss wrote: Richard Sherman wrote: Thanks for this, but it didn't do the trick. I changed the preferences as you suggested, reconfigured, quit and restarted LyX, but I'm still getting rotated figures. try ps2pdf -dPrePress=/None $$i Also note that if you're running LyX on Windows, you should use '#' instead of '=': http://thread.gmane.org/gmane.editors.lyx.devel/50139 Angus
Re: orientation of .eps figures
Thanks Uwe. I'm using Tetex 2.0.2-34 on Mac OS X 10.4.3. Here's a Lyx file and the .eps file that belongs in it. notes_eps_figure.lyx Description: Binary data utility_for_money.eps Description: PostScript document - Richard Sherman Department of Political Science, Leiden University Leiden, Netherlands http://homepage.mac.com/richard.sherman On Nov 28, 2005, at 1:41 PM, Uwe Stöhr wrote: Richard Sherman wrote: Thanks for this, but it didn't do the trick. I changed the preferences as you suggested, reconfigured, quit and restarted LyX, but I'm still getting rotated figures. What is the LaTeX-distribution you are using? Could you please send a LyX file together with ONE eps-file that shows the problem. regards Uwe
Re: orientation of .eps figures
Richard Sherman wrote: Thanks Uwe. I'm using Tetex 2.0.2-34 on Mac OS X 10.4.3. Here's a Lyx file and the .eps file that belongs in it. I tested it, and the result is: dvipdfm fine pdflatexrotated ps2pdf fine This is the same in tetex 2.02 and tetex 3.0 on linux. I guess that you have hit a bug (or feature?) of pdflatex. Ask on the pdftex list (http://tug.org/mailman/listinfo/pdftex) after you read the manual. I am sure that you'll get an explanation quickly. Georg
Re: orientation of .eps figures
Georg Baum wrote: Richard Sherman wrote: Thanks Uwe. I'm using Tetex 2.0.2-34 on Mac OS X 10.4.3. Here's a Lyx file and the .eps file that belongs in it. I tested it, and the result is: dvipdfm fine pdflatexrotated and how did you get a pdf file of the eps image ... ;-) pdflatex does nothing with the image! Herbert
Re: orientation of .eps figures
Richard Sherman wrote: Thanks Uwe. I'm using Tetex 2.0.2-34 on Mac OS X 10.4.3. Here's a Lyx file and the .eps file that belongs in it. first do not use an extension for file names. The graphic driver can detect the right extension. It is a typical behaviour for ghostscript, that it thinks, that your graphic should be rotated to get your vertical text in a horizontal view. ghostscript is too clever here. Try it by hand, export the lyx file as PosScript, then run ps2pdf --dAutoRotatePages=/None filename.ps or alternatively with --dPrePress=/None Herbert
Re: orientation of .eps figures
Georg Baum schrieb: I tested it, and the result is: dvipdfm fine pdflatexrotated ps2pdf fine This is the same in tetex 2.02 and tetex 3.0 on linux. I guess that you have hit a bug (or feature?) of pdflatex. No. In this case the problem is the eps-file itself: Also when I convert it via Adobe Acrobat's Distiller, I get a rotated pdf-image that has the size A4. The size is the problem because the eps doesn't seem to have a border/bounding box. pdflatex doesn't know how to handle this so that you get different outputs. (On my machine epstopdf sets the size to A4, ps2pdf doesn't set the border, and GSview sets the border to A4 and produce a rotated PDF image.) So you need to produce an eps with borders around the diagram. Herbert, is my diagnosis right? regards Uwe
Re: orientation of .eps figures
Uwe Stöhr wrote: Georg Baum schrieb: I tested it, and the result is: dvipdfm fine pdflatexrotated ps2pdf fine This is the same in tetex 2.02 and tetex 3.0 on linux. I guess that you have hit a bug (or feature?) of pdflatex. No. In this case the problem is the eps-file itself: Also when I convert it via Adobe Acrobat's Distiller, I get a rotated pdf-image that has the size A4. The size is the problem because the eps doesn't seem to have a border/bounding box. pdflatex doesn't know how to handle this so that you get different outputs. (On my machine epstopdf sets the size to A4, ps2pdf doesn't set the border, and GSview sets the border to A4 and produce a rotated PDF image.) So you need to produce an eps with borders around the diagram. this maybe a problem, because the eps file is only a one-liner, there are wrong crlf's - 0A0A eps2eps file.eps fileNew.eps can help here, it corrects this. But the real problem is the version of ghostscript and the vertical y-label text in the file. Herbert
Re: orientation of .eps figures
Am Montag, 28. November 2005 19:57 schrieb Herbert Voss: Georg Baum wrote: I tested it, and the result is: dvipdfm fine pdflatexrotated and how did you get a pdf file of the eps image ... ;-) pdflatex does nothing with the image! True, if I export to .tex and then run these programs. If I export from LyX directly LyX will convert the eps file to pdf, so the fault is not with pdflatex but with ghostscript as you already said (which was called in my case via convert). If I use epstopdf to convert the image it will not be rotated but go to the bottom of the page (probably because epstopdf assumes A4 paper size). Georg
Re: orientation of .eps figures
Georg Baum wrote: Am Montag, 28. November 2005 19:57 schrieb Herbert Voss: Georg Baum wrote: I tested it, and the result is: dvipdfm fine pdflatexrotated and how did you get a pdf file of the eps image ... ;-) pdflatex does nothing with the image! True, if I export to .tex and then run these programs. If I export from LyX directly LyX will convert the eps file to pdf, so the fault is not with pdflatex but with ghostscript as you already said (which was called in my case via convert). If I use epstopdf to convert the image it will not be rotated but go to the bottom of the page (probably because epstopdf assumes A4 paper size). also not true, eps2pdf (means ghostscript) uses the giving bounding box and not the paper size a4. It scans the file for a bounding box _line_ and if you do not get a correct one, then it is your ghostscript version. Herbert
Re: orientation of .eps figures
- Original Message - From: Uwe Stöhr [EMAIL PROTECTED] To: Georg Baum [EMAIL PROTECTED] Cc: lyx-users@lists.lyx.org Sent: Monday, November 28, 2005 11:20 AM Subject: Re: orientation of .eps figures Georg Baum schrieb: I tested it, and the result is: dvipdfm fine pdflatexrotated ps2pdf fine This is the same in tetex 2.02 and tetex 3.0 on linux. I guess that you have hit a bug (or feature?) of pdflatex. No. In this case the problem is the eps-file itself: Also when I convert it via Adobe Acrobat's Distiller, I get a rotated pdf-image that has the size A4. The size is the problem because the eps doesn't seem to have a border/bounding box. pdflatex doesn't know how to handle this so that you get different outputs. (On my machine epstopdf sets the size to A4, ps2pdf doesn't set the border, and GSview sets the border to A4 and produce a rotated PDF image.) So you need to produce an eps with borders around the diagram. Herbert, is my diagnosis right? regards Uwe It is odd that there are no display problems with any View/convert with Windows XP on my machine (which uses acrobat writer).
Re: orientation of .eps figures
Thanks again to those of you who are helping me with this. Herbert Voss wrote: first do not use an extension for file names. The graphic driver can detect the right extension. It is a typical behaviour for ghostscript, that it thinks, that your graphic should be rotated to get your vertical text in a horizontal view. ghostscript is too clever here. Try it by hand, export the lyx file as PosScript, then run ps2pdf --dAutoRotatePages=/None filename.ps or alternatively with --dPrePress=/None Herbert Sounds like good intuition, and I tried it: but Lyx won't export the PostScript (Cannot convert file error). Same thing when I remove the .eps extension. eps2eps on my .eps file gives me this error message: Error: /typecheck in --.unread-- Operand stack: true --nostringval-- true 0 Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- -- nostringval-- 2 %stopped_push --nostringval-- -- nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop --nostringval-- 1 1 3 --nostringval-- % for_pos_int_continue --nostringval-- --nostringval-- -- nostringval-- Dictionary stack: --dict:1009/1123(ro)(G)-- --dict:0/20(G)-- --dict:67/200(L)-- Current allocation mode is local AFPL Ghostscript 7.04: Unrecoverable error, exit code 1 Sorry, I'm dumbfounded, gobsmacked, out of my depth, etc. I just want to get my sweet little LyX working like she used to ... she was so good to me before. -Richard - Richard Sherman Department of Political Science, Leiden University Leiden, Netherlands http://homepage.mac.com/richard.sherman
Re: orientation of .eps figures
Dear Uwe, Thanks for your help. This figure is still rotated in my PDF output from LyX. My Mac OS X 10.4.3 can't open the PostScript file, which is strange. dvipdfm (from LyX) continues to give me errors (Cannot convert file). pdflatex rotates the .pdf file and gives me a cannot convert file with the .eps file. Maybe there's something I need to tweak in GhostScript? -Richard - Richard Sherman Department of Political Science, Leiden University Leiden, Netherlands http://homepage.mac.com/richard.sherman On Nov 29, 2005, at 1:12 AM, Uwe Stöhr wrote: Richard Sherman wrote: Here's a Lyx file and the .eps file that belongs in it. Attached a corrected pdf and eps-file. regards Uwe
Re: orientation of .eps figures
Thanks for this, but it didn't do the trick. I changed the preferences as you suggested, reconfigured, quit and restarted LyX, but I'm still getting rotated figures. Congratulations, you have found the egg in Ghostscript. You can disable it with with the undocumented option -dAutoRotatePages=/None... go to Edit/Preferences/Converters/Postscript-PDF and change: ps2pdf13 $$i to ps2pdf13 -dAutoRotatePages=/None $$i or ps2pdf13 -dAutoRotatePages=/None -sPAPERSIZE=a4 $$i I wish the gs team would disable the egg, even if it is in acrobat too. It keeps on turning up whenever I've just forgetten how to disable it, and then since it isn't a documented feature I have to Google dozens of obscure locations to figure out how to disable it. Ugh! Its kind of like if KDE decided to hog memory and crash every five minutes for better windows compatibility... wait what was my point again? ;) Perhaps LyX should disable it by default so users don't have interesting little surprises fifteen minutes before the deadline to email something in PDF format? - Richard Sherman Department of Political Science, Leiden University Leiden, Netherlands http://homepage.mac.com/richard.sherman
Re: orientation of .eps figures
Richard Sherman wrote: Thanks for this, but it didn't do the trick. I changed the preferences as you suggested, reconfigured, quit and restarted LyX, but I'm still getting rotated figures. What is the LaTeX-distribution you are using? Could you please send a LyX file together with ONE eps-file that shows the problem. regards Uwe
Re: orientation of .eps figures
Richard Sherman wrote: Thanks for this, but it didn't do the trick. I changed the preferences as you suggested, reconfigured, quit and restarted LyX, but I'm still getting rotated figures. try ps2pdf -dPrePress=/None $$i Herbert
Re: orientation of .eps figures
Herbert Voss wrote: Richard Sherman wrote: Thanks for this, but it didn't do the trick. I changed the preferences as you suggested, reconfigured, quit and restarted LyX, but I'm still getting rotated figures. try ps2pdf -dPrePress=/None $$i Also note that if you're running LyX on Windows, you should use '#' instead of '=': http://thread.gmane.org/gmane.editors.lyx.devel/50139 Angus
Re: orientation of .eps figures
Thanks Uwe. I'm using Tetex 2.0.2-34 on Mac OS X 10.4.3. Here's a Lyx file and the .eps file that belongs in it. notes_eps_figure.lyx Description: Binary data utility_for_money.eps Description: PostScript document - Richard Sherman Department of Political Science, Leiden University Leiden, Netherlands http://homepage.mac.com/richard.sherman On Nov 28, 2005, at 1:41 PM, Uwe Stöhr wrote: Richard Sherman wrote: Thanks for this, but it didn't do the trick. I changed the preferences as you suggested, reconfigured, quit and restarted LyX, but I'm still getting rotated figures. What is the LaTeX-distribution you are using? Could you please send a LyX file together with ONE eps-file that shows the problem. regards Uwe
Re: orientation of .eps figures
Richard Sherman wrote: Thanks Uwe. I'm using Tetex 2.0.2-34 on Mac OS X 10.4.3. Here's a Lyx file and the .eps file that belongs in it. I tested it, and the result is: dvipdfm fine pdflatexrotated ps2pdf fine This is the same in tetex 2.02 and tetex 3.0 on linux. I guess that you have hit a bug (or feature?) of pdflatex. Ask on the pdftex list (http://tug.org/mailman/listinfo/pdftex) after you read the manual. I am sure that you'll get an explanation quickly. Georg
Re: orientation of .eps figures
Georg Baum wrote: Richard Sherman wrote: Thanks Uwe. I'm using Tetex 2.0.2-34 on Mac OS X 10.4.3. Here's a Lyx file and the .eps file that belongs in it. I tested it, and the result is: dvipdfm fine pdflatexrotated and how did you get a pdf file of the eps image ... ;-) pdflatex does nothing with the image! Herbert
Re: orientation of .eps figures
Richard Sherman wrote: Thanks Uwe. I'm using Tetex 2.0.2-34 on Mac OS X 10.4.3. Here's a Lyx file and the .eps file that belongs in it. first do not use an extension for file names. The graphic driver can detect the right extension. It is a typical behaviour for ghostscript, that it thinks, that your graphic should be rotated to get your vertical text in a horizontal view. ghostscript is too clever here. Try it by hand, export the lyx file as PosScript, then run ps2pdf --dAutoRotatePages=/None filename.ps or alternatively with --dPrePress=/None Herbert
Re: orientation of .eps figures
Georg Baum schrieb: I tested it, and the result is: dvipdfm fine pdflatexrotated ps2pdf fine This is the same in tetex 2.02 and tetex 3.0 on linux. I guess that you have hit a bug (or feature?) of pdflatex. No. In this case the problem is the eps-file itself: Also when I convert it via Adobe Acrobat's Distiller, I get a rotated pdf-image that has the size A4. The size is the problem because the eps doesn't seem to have a border/bounding box. pdflatex doesn't know how to handle this so that you get different outputs. (On my machine epstopdf sets the size to A4, ps2pdf doesn't set the border, and GSview sets the border to A4 and produce a rotated PDF image.) So you need to produce an eps with borders around the diagram. Herbert, is my diagnosis right? regards Uwe
Re: orientation of .eps figures
Uwe Stöhr wrote: Georg Baum schrieb: I tested it, and the result is: dvipdfm fine pdflatexrotated ps2pdf fine This is the same in tetex 2.02 and tetex 3.0 on linux. I guess that you have hit a bug (or feature?) of pdflatex. No. In this case the problem is the eps-file itself: Also when I convert it via Adobe Acrobat's Distiller, I get a rotated pdf-image that has the size A4. The size is the problem because the eps doesn't seem to have a border/bounding box. pdflatex doesn't know how to handle this so that you get different outputs. (On my machine epstopdf sets the size to A4, ps2pdf doesn't set the border, and GSview sets the border to A4 and produce a rotated PDF image.) So you need to produce an eps with borders around the diagram. this maybe a problem, because the eps file is only a one-liner, there are wrong crlf's - 0A0A eps2eps file.eps fileNew.eps can help here, it corrects this. But the real problem is the version of ghostscript and the vertical y-label text in the file. Herbert
Re: orientation of .eps figures
Am Montag, 28. November 2005 19:57 schrieb Herbert Voss: Georg Baum wrote: I tested it, and the result is: dvipdfm fine pdflatexrotated and how did you get a pdf file of the eps image ... ;-) pdflatex does nothing with the image! True, if I export to .tex and then run these programs. If I export from LyX directly LyX will convert the eps file to pdf, so the fault is not with pdflatex but with ghostscript as you already said (which was called in my case via convert). If I use epstopdf to convert the image it will not be rotated but go to the bottom of the page (probably because epstopdf assumes A4 paper size). Georg
Re: orientation of .eps figures
Georg Baum wrote: Am Montag, 28. November 2005 19:57 schrieb Herbert Voss: Georg Baum wrote: I tested it, and the result is: dvipdfm fine pdflatexrotated and how did you get a pdf file of the eps image ... ;-) pdflatex does nothing with the image! True, if I export to .tex and then run these programs. If I export from LyX directly LyX will convert the eps file to pdf, so the fault is not with pdflatex but with ghostscript as you already said (which was called in my case via convert). If I use epstopdf to convert the image it will not be rotated but go to the bottom of the page (probably because epstopdf assumes A4 paper size). also not true, eps2pdf (means ghostscript) uses the giving bounding box and not the paper size a4. It scans the file for a bounding box _line_ and if you do not get a correct one, then it is your ghostscript version. Herbert
Re: orientation of .eps figures
- Original Message - From: Uwe Stöhr [EMAIL PROTECTED] To: Georg Baum [EMAIL PROTECTED] Cc: lyx-users@lists.lyx.org Sent: Monday, November 28, 2005 11:20 AM Subject: Re: orientation of .eps figures Georg Baum schrieb: I tested it, and the result is: dvipdfm fine pdflatexrotated ps2pdf fine This is the same in tetex 2.02 and tetex 3.0 on linux. I guess that you have hit a bug (or feature?) of pdflatex. No. In this case the problem is the eps-file itself: Also when I convert it via Adobe Acrobat's Distiller, I get a rotated pdf-image that has the size A4. The size is the problem because the eps doesn't seem to have a border/bounding box. pdflatex doesn't know how to handle this so that you get different outputs. (On my machine epstopdf sets the size to A4, ps2pdf doesn't set the border, and GSview sets the border to A4 and produce a rotated PDF image.) So you need to produce an eps with borders around the diagram. Herbert, is my diagnosis right? regards Uwe It is odd that there are no display problems with any View/convert with Windows XP on my machine (which uses acrobat writer).
Re: orientation of .eps figures
Thanks again to those of you who are helping me with this. Herbert Voss wrote: first do not use an extension for file names. The graphic driver can detect the right extension. It is a typical behaviour for ghostscript, that it thinks, that your graphic should be rotated to get your vertical text in a horizontal view. ghostscript is too clever here. Try it by hand, export the lyx file as PosScript, then run ps2pdf --dAutoRotatePages=/None filename.ps or alternatively with --dPrePress=/None Herbert Sounds like good intuition, and I tried it: but Lyx won't export the PostScript (Cannot convert file error). Same thing when I remove the .eps extension. eps2eps on my .eps file gives me this error message: Error: /typecheck in --.unread-- Operand stack: true --nostringval-- true 0 Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- -- nostringval-- 2 %stopped_push --nostringval-- -- nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop --nostringval-- 1 1 3 --nostringval-- % for_pos_int_continue --nostringval-- --nostringval-- -- nostringval-- Dictionary stack: --dict:1009/1123(ro)(G)-- --dict:0/20(G)-- --dict:67/200(L)-- Current allocation mode is local AFPL Ghostscript 7.04: Unrecoverable error, exit code 1 Sorry, I'm dumbfounded, gobsmacked, out of my depth, etc. I just want to get my sweet little LyX working like she used to ... she was so good to me before. -Richard - Richard Sherman Department of Political Science, Leiden University Leiden, Netherlands http://homepage.mac.com/richard.sherman
Re: orientation of .eps figures
Dear Uwe, Thanks for your help. This figure is still rotated in my PDF output from LyX. My Mac OS X 10.4.3 can't open the PostScript file, which is strange. dvipdfm (from LyX) continues to give me errors (Cannot convert file). pdflatex rotates the .pdf file and gives me a cannot convert file with the .eps file. Maybe there's something I need to tweak in GhostScript? -Richard - Richard Sherman Department of Political Science, Leiden University Leiden, Netherlands http://homepage.mac.com/richard.sherman On Nov 29, 2005, at 1:12 AM, Uwe Stöhr wrote: Richard Sherman wrote: Here's a Lyx file and the .eps file that belongs in it. Attached a corrected pdf and eps-file. regards Uwe
Re: orientation of .eps figures
Thanks for this, but it didn't do the trick. I changed the preferences as you suggested, reconfigured, quit and restarted LyX, but I'm still getting rotated figures. Congratulations, you have found the egg in Ghostscript. You can disable it with with the undocumented option -dAutoRotatePages=/None... go to Edit/Preferences/Converters/Postscript->PDF and change: ps2pdf13 $$i to ps2pdf13 -dAutoRotatePages=/None $$i or ps2pdf13 -dAutoRotatePages=/None -sPAPERSIZE=a4 $$i I wish the gs team would disable the egg, even if it is in acrobat too. It keeps on turning up whenever I've just forgetten how to disable it, and then since it isn't a documented feature I have to Google dozens of obscure locations to figure out how to disable it. Ugh! Its kind of like if KDE decided to hog memory and crash every five minutes for better windows compatibility... wait what was my point again? ;) Perhaps LyX should disable it by default so users don't have interesting little surprises fifteen minutes before the deadline to email something in PDF format? - Richard Sherman Department of Political Science, Leiden University Leiden, Netherlands http://homepage.mac.com/richard.sherman
Re: orientation of .eps figures
Richard Sherman wrote: Thanks for this, but it didn't do the trick. I changed the preferences as you suggested, reconfigured, quit and restarted LyX, but I'm still getting rotated figures. What is the LaTeX-distribution you are using? Could you please send a LyX file together with ONE eps-file that shows the problem. regards Uwe
Re: orientation of .eps figures
Richard Sherman wrote: Thanks for this, but it didn't do the trick. I changed the preferences as you suggested, reconfigured, quit and restarted LyX, but I'm still getting rotated figures. try ps2pdf -dPrePress=/None $$i Herbert
Re: orientation of .eps figures
Herbert Voss wrote: > Richard Sherman wrote: >> Thanks for this, but it didn't do the trick. I changed the >> preferences >> as you suggested, reconfigured, quit and restarted LyX, but I'm >> still getting rotated figures. > > try > > ps2pdf -dPrePress=/None $$i Also note that if you're running LyX on Windows, you should use '#' instead of '=': http://thread.gmane.org/gmane.editors.lyx.devel/50139 Angus
Re: orientation of .eps figures
Thanks Uwe. I'm using Tetex 2.0.2-34 on Mac OS X 10.4.3. Here's a Lyx file and the .eps file that belongs in it. notes_eps_figure.lyx Description: Binary data utility_for_money.eps Description: PostScript document - Richard Sherman Department of Political Science, Leiden University Leiden, Netherlands http://homepage.mac.com/richard.sherman On Nov 28, 2005, at 1:41 PM, Uwe Stöhr wrote: Richard Sherman wrote: Thanks for this, but it didn't do the trick. I changed the preferences as you suggested, reconfigured, quit and restarted LyX, but I'm still getting rotated figures. What is the LaTeX-distribution you are using? Could you please send a LyX file together with ONE eps-file that shows the problem. regards Uwe
Re: orientation of .eps figures
Richard Sherman wrote: > Thanks Uwe. > > I'm using Tetex 2.0.2-34 on Mac OS X 10.4.3. > > Here's a Lyx file and the .eps file that belongs in it. I tested it, and the result is: dvipdfm fine pdflatexrotated ps2pdf fine This is the same in tetex 2.02 and tetex 3.0 on linux. I guess that you have hit a bug (or feature?) of pdflatex. Ask on the pdftex list (http://tug.org/mailman/listinfo/pdftex) after you read the manual. I am sure that you'll get an explanation quickly. Georg
Re: orientation of .eps figures
Georg Baum wrote: Richard Sherman wrote: Thanks Uwe. I'm using Tetex 2.0.2-34 on Mac OS X 10.4.3. Here's a Lyx file and the .eps file that belongs in it. I tested it, and the result is: dvipdfm fine pdflatexrotated and how did you get a pdf file of the eps image ... ;-) pdflatex does nothing with the image! Herbert
Re: orientation of .eps figures
Richard Sherman wrote: Thanks Uwe. I'm using Tetex 2.0.2-34 on Mac OS X 10.4.3. Here's a Lyx file and the .eps file that belongs in it. first do not use an extension for file names. The graphic driver can detect the right extension. It is a typical behaviour for ghostscript, that it thinks, that your graphic should be rotated to get your vertical text in a horizontal view. ghostscript is too clever here. Try it by hand, export the lyx file as PosScript, then run ps2pdf --dAutoRotatePages=/None filename.ps or alternatively with --dPrePress=/None Herbert
Re: orientation of .eps figures
Georg Baum schrieb: I tested it, and the result is: dvipdfm fine pdflatexrotated ps2pdf fine This is the same in tetex 2.02 and tetex 3.0 on linux. I guess that you have hit a bug (or feature?) of pdflatex. No. In this case the problem is the eps-file itself: Also when I convert it via Adobe Acrobat's Distiller, I get a rotated pdf-image that has the size A4. The size is the problem because the eps doesn't seem to have a border/bounding box. pdflatex doesn't know how to handle this so that you get different outputs. (On my machine epstopdf sets the size to A4, ps2pdf doesn't set the border, and GSview sets the border to A4 and produce a rotated PDF image.) So you need to produce an eps with borders around the diagram. Herbert, is my diagnosis right? regards Uwe
Re: orientation of .eps figures
Uwe Stöhr wrote: Georg Baum schrieb: I tested it, and the result is: dvipdfm fine pdflatexrotated ps2pdf fine This is the same in tetex 2.02 and tetex 3.0 on linux. I guess that you have hit a bug (or feature?) of pdflatex. No. In this case the problem is the eps-file itself: Also when I convert it via Adobe Acrobat's Distiller, I get a rotated pdf-image that has the size A4. The size is the problem because the eps doesn't seem to have a border/bounding box. pdflatex doesn't know how to handle this so that you get different outputs. (On my machine epstopdf sets the size to A4, ps2pdf doesn't set the border, and GSview sets the border to A4 and produce a rotated PDF image.) So you need to produce an eps with borders around the diagram. this maybe a problem, because the eps file is only a one-liner, there are wrong crlf's -> 0A0A eps2eps file.eps fileNew.eps can help here, it corrects this. But the real problem is the version of ghostscript and the vertical y-label text in the file. Herbert
Re: orientation of .eps figures
Am Montag, 28. November 2005 19:57 schrieb Herbert Voss: > Georg Baum wrote: > > I tested it, and the result is: > > > > dvipdfm fine > > pdflatexrotated > > and how did you get a pdf file of the eps image ... ;-) > pdflatex does nothing with the image! True, if I export to .tex and then run these programs. If I export from LyX directly LyX will convert the eps file to pdf, so the fault is not with pdflatex but with ghostscript as you already said (which was called in my case via "convert"). If I use epstopdf to convert the image it will not be rotated but go to the bottom of the page (probably because epstopdf assumes A4 paper size). Georg
Re: orientation of .eps figures
Georg Baum wrote: Am Montag, 28. November 2005 19:57 schrieb Herbert Voss: Georg Baum wrote: I tested it, and the result is: dvipdfm fine pdflatexrotated and how did you get a pdf file of the eps image ... ;-) pdflatex does nothing with the image! True, if I export to .tex and then run these programs. If I export from LyX directly LyX will convert the eps file to pdf, so the fault is not with pdflatex but with ghostscript as you already said (which was called in my case via "convert"). If I use epstopdf to convert the image it will not be rotated but go to the bottom of the page (probably because epstopdf assumes A4 paper size). also not true, eps2pdf (means ghostscript) uses the giving bounding box and not the paper size a4. It scans the file for a bounding box _line_ and if you do not get a correct one, then it is your ghostscript version. Herbert
Re: orientation of .eps figures
- Original Message - From: "Uwe Stöhr" <[EMAIL PROTECTED]> To: "Georg Baum" <[EMAIL PROTECTED]> Cc: <lyx-users@lists.lyx.org> Sent: Monday, November 28, 2005 11:20 AM Subject: Re: orientation of .eps figures Georg Baum schrieb: I tested it, and the result is: dvipdfm fine pdflatexrotated ps2pdf fine This is the same in tetex 2.02 and tetex 3.0 on linux. I guess that you have hit a bug (or feature?) of pdflatex. No. In this case the problem is the eps-file itself: Also when I convert it via Adobe Acrobat's Distiller, I get a rotated pdf-image that has the size A4. The size is the problem because the eps doesn't seem to have a border/bounding box. pdflatex doesn't know how to handle this so that you get different outputs. (On my machine epstopdf sets the size to A4, ps2pdf doesn't set the border, and GSview sets the border to A4 and produce a rotated PDF image.) So you need to produce an eps with borders around the diagram. Herbert, is my diagnosis right? regards Uwe It is odd that there are no display problems with any View/convert with Windows XP on my machine (which uses acrobat writer).
Re: orientation of .eps figures
Thanks again to those of you who are helping me with this. Herbert Voss wrote: first do not use an extension for file names. The graphic driver can detect the right extension. It is a typical behaviour for ghostscript, that it thinks, that your graphic should be rotated to get your vertical text in a horizontal view. ghostscript is too clever here. Try it by hand, export the lyx file as PosScript, then run ps2pdf --dAutoRotatePages=/None filename.ps or alternatively with --dPrePress=/None Herbert Sounds like good intuition, and I tried it: but Lyx won't export the PostScript ("Cannot convert file" error). Same thing when I remove the .eps extension. eps2eps on my .eps file gives me this error message: Error: /typecheck in --.unread-- Operand stack: true --nostringval-- true 0 Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- -- nostringval-- 2 %stopped_push --nostringval-- -- nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop --nostringval-- 1 1 3 --nostringval-- % for_pos_int_continue --nostringval-- --nostringval-- -- nostringval-- Dictionary stack: --dict:1009/1123(ro)(G)-- --dict:0/20(G)-- --dict:67/200(L)-- Current allocation mode is local AFPL Ghostscript 7.04: Unrecoverable error, exit code 1 Sorry, I'm dumbfounded, gobsmacked, out of my depth, etc. I just want to get my sweet little LyX working like she used to ... she was so good to me before. -Richard - Richard Sherman Department of Political Science, Leiden University Leiden, Netherlands http://homepage.mac.com/richard.sherman
Re: orientation of .eps figures
Dear Uwe, Thanks for your help. This figure is still rotated in my PDF output from LyX. My Mac OS X 10.4.3 can't open the PostScript file, which is strange. dvipdfm (from LyX) continues to give me errors ("Cannot convert file"). pdflatex rotates the .pdf file and gives me a "cannot convert file" with the .eps file. Maybe there's something I need to tweak in GhostScript? -Richard - Richard Sherman Department of Political Science, Leiden University Leiden, Netherlands http://homepage.mac.com/richard.sherman On Nov 29, 2005, at 1:12 AM, Uwe Stöhr wrote: Richard Sherman wrote: Here's a Lyx file and the .eps file that belongs in it. Attached a corrected pdf and eps-file. regards Uwe
Re: orientation of .eps figures
Thanks very much for your help, Stephen. Still, it remains the case that: LyX is flipping my figures around 90 degrees clockwise. I love LyX; it's simply fantastic. But it shouldn't flip my figures; this is a bug that needs fixing. - Richard Sherman Department of Political Science, Leiden University Leiden, Netherlands http://homepage.mac.com/richard.sherman On Nov 24, 2005, at 4:26 AM, Stephen Harris wrote: - Original Message - From: Richard Sherman [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Wednesday, November 23, 2005 4:48 PM Subject: orientation of .eps figures Hi, I have not had this problem in the past, but after some upgrading ... My .eps figures are appearing in PDF output rotated 90 degrees clockwise. I use LyX-Aqua 1.3.6, Mac OS X 10.4.3 Any ideas? thanks, p.s. exporting the LaTeX from LyX and then running pdflatex from the terminal gives me the error Unknown graphics extension: .eps epstopdf transforms the Encapsulated PostScript file epsfile so that it is guaranteed to start at the 0,0 coordinate, and it sets a page size exactly corresponding to the BoundingBox. This means that when Ghostscript renders it, the result needs no cropping, and the PDF MediaBox is correct. The result is piped to Ghostscript and a PDF version written. If the bounding box is not right, of course, you have problems... ^^^ SH: MikTeX (for Windows) uses epstopdf.exe Linux might use the Perl epstopdf.pl {perl} epstopdf.pl myfile.eps. [epstopdf.exe myfile.eps] converts your eps-graphic file myfile.eps to the file myfile.pdf Rotated regards, Stephen
Re: orientation of .eps figures
On Monday 28 November 2005 14:22, Richard Sherman wrote: Thanks very much for your help, Stephen. Still, it remains the case that: LyX is flipping my figures around 90 degrees clockwise. I love LyX; it's simply fantastic. But it shouldn't flip my figures; this is a bug that needs fixing. Congratulations, you have found the egg in Ghostscript. You can disable it with with the undocumented option -dAutoRotatePages=/None... go to Edit/Preferences/Converters/Postscript-PDF and change: ps2pdf13 $$i to ps2pdf13 -dAutoRotatePages=/None $$i or ps2pdf13 -dAutoRotatePages=/None -sPAPERSIZE=a4 $$i I wish the gs team would disable the egg, even if it is in acrobat too. It keeps on turning up whenever I've just forgetten how to disable it, and then since it isn't a documented feature I have to Google dozens of obscure locations to figure out how to disable it. Ugh! Its kind of like if KDE decided to hog memory and crash every five minutes for better windows compatibility... wait what was my point again? ;) Perhaps LyX should disable it by default so users don't have interesting little surprises fifteen minutes before the deadline to email something in PDF format? -- John C. McCabe-Dansted Masters Student
Re: orientation of .eps figures
Thanks very much for your help, Stephen. Still, it remains the case that: LyX is flipping my figures around 90 degrees clockwise. I love LyX; it's simply fantastic. But it shouldn't flip my figures; this is a bug that needs fixing. - Richard Sherman Department of Political Science, Leiden University Leiden, Netherlands http://homepage.mac.com/richard.sherman On Nov 24, 2005, at 4:26 AM, Stephen Harris wrote: - Original Message - From: Richard Sherman [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Wednesday, November 23, 2005 4:48 PM Subject: orientation of .eps figures Hi, I have not had this problem in the past, but after some upgrading ... My .eps figures are appearing in PDF output rotated 90 degrees clockwise. I use LyX-Aqua 1.3.6, Mac OS X 10.4.3 Any ideas? thanks, p.s. exporting the LaTeX from LyX and then running pdflatex from the terminal gives me the error Unknown graphics extension: .eps epstopdf transforms the Encapsulated PostScript file epsfile so that it is guaranteed to start at the 0,0 coordinate, and it sets a page size exactly corresponding to the BoundingBox. This means that when Ghostscript renders it, the result needs no cropping, and the PDF MediaBox is correct. The result is piped to Ghostscript and a PDF version written. If the bounding box is not right, of course, you have problems... ^^^ SH: MikTeX (for Windows) uses epstopdf.exe Linux might use the Perl epstopdf.pl {perl} epstopdf.pl myfile.eps. [epstopdf.exe myfile.eps] converts your eps-graphic file myfile.eps to the file myfile.pdf Rotated regards, Stephen
Re: orientation of .eps figures
On Monday 28 November 2005 14:22, Richard Sherman wrote: Thanks very much for your help, Stephen. Still, it remains the case that: LyX is flipping my figures around 90 degrees clockwise. I love LyX; it's simply fantastic. But it shouldn't flip my figures; this is a bug that needs fixing. Congratulations, you have found the egg in Ghostscript. You can disable it with with the undocumented option -dAutoRotatePages=/None... go to Edit/Preferences/Converters/Postscript-PDF and change: ps2pdf13 $$i to ps2pdf13 -dAutoRotatePages=/None $$i or ps2pdf13 -dAutoRotatePages=/None -sPAPERSIZE=a4 $$i I wish the gs team would disable the egg, even if it is in acrobat too. It keeps on turning up whenever I've just forgetten how to disable it, and then since it isn't a documented feature I have to Google dozens of obscure locations to figure out how to disable it. Ugh! Its kind of like if KDE decided to hog memory and crash every five minutes for better windows compatibility... wait what was my point again? ;) Perhaps LyX should disable it by default so users don't have interesting little surprises fifteen minutes before the deadline to email something in PDF format? -- John C. McCabe-Dansted Masters Student
Re: orientation of .eps figures
Thanks very much for your help, Stephen. Still, it remains the case that: LyX is flipping my figures around 90 degrees clockwise. I love LyX; it's simply fantastic. But it shouldn't flip my figures; this is a bug that needs fixing. - Richard Sherman Department of Political Science, Leiden University Leiden, Netherlands http://homepage.mac.com/richard.sherman On Nov 24, 2005, at 4:26 AM, Stephen Harris wrote: - Original Message - From: "Richard Sherman" <[EMAIL PROTECTED]> To: <lyx-users@lists.lyx.org> Sent: Wednesday, November 23, 2005 4:48 PM Subject: orientation of .eps figures Hi, I have not had this problem in the past, but after some upgrading ... My .eps figures are appearing in PDF output rotated 90 degrees clockwise. I use LyX-Aqua 1.3.6, Mac OS X 10.4.3 Any ideas? thanks, p.s. exporting the LaTeX from LyX and then running pdflatex from the terminal gives me the error "Unknown graphics extension: .eps" epstopdf "transforms the Encapsulated PostScript file epsfile so that it is guaranteed to start at the 0,0 coordinate, and it sets a page size exactly corresponding to the BoundingBox. This means that when Ghostscript renders it, the result needs no cropping, and the PDF MediaBox is correct. The result is piped to Ghostscript and a PDF version written. If the bounding box is not right, of course, you have problems..." ^^^ SH: MikTeX (for Windows) uses epstopdf.exe Linux might use the Perl epstopdf.pl {perl} epstopdf.pl myfile.eps. [epstopdf.exe myfile.eps] converts your eps-graphic file myfile.eps to the file myfile.pdf Rotated regards, Stephen
Re: orientation of .eps figures
On Monday 28 November 2005 14:22, Richard Sherman wrote: > Thanks very much for your help, Stephen. > > Still, it remains the case that: LyX is flipping my figures around 90 > degrees clockwise. > > I love LyX; it's simply fantastic. But it shouldn't flip my figures; > this is a bug that needs fixing. Congratulations, you have found the egg in Ghostscript. You can disable it with with the undocumented option -dAutoRotatePages=/None... go to Edit/Preferences/Converters/Postscript->PDF and change: ps2pdf13 $$i to ps2pdf13 -dAutoRotatePages=/None $$i or ps2pdf13 -dAutoRotatePages=/None -sPAPERSIZE=a4 $$i I wish the gs team would disable the egg, even if it is in acrobat too. It keeps on turning up whenever I've just forgetten how to disable it, and then since it isn't a documented feature I have to Google dozens of obscure locations to figure out how to disable it. Ugh! Its kind of like if KDE decided to hog memory and crash every five minutes for better windows compatibility... wait what was my point again? ;) Perhaps LyX should disable it by default so users don't have interesting little surprises fifteen minutes before the deadline to email something in PDF format? -- John C. McCabe-Dansted Masters Student
Re: orientation of .eps figures
- Original Message - From: Richard Sherman [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Wednesday, November 23, 2005 4:48 PM Subject: orientation of .eps figures Hi, I have not had this problem in the past, but after some upgrading ... My .eps figures are appearing in PDF output rotated 90 degrees clockwise. I use LyX-Aqua 1.3.6, Mac OS X 10.4.3 Any ideas? thanks, p.s. exporting the LaTeX from LyX and then running pdflatex from the terminal gives me the error Unknown graphics extension: .eps I am not expert, but I have an idea. There is a bug in MacLyX or a rotate command has been used which causes this, I think there is a rotatebox command associated with eps. I used to write html for different browsers. Sometimes the html would not display correctly in a browser and at first I thought it was the fault of that browser. After awhile, I found out that the browser which was built with sloppy code would permit some html mistakes from me, and display, but that it was the browser that was not displaying the webpage, which was actually working right. It was up to me to find the mistake, then it would always display properly in all the test browsers, once I mixed my mistake. Maybe this will help until the gurus arrive, Stephen
Re: orientation of .eps figures
- Original Message - From: Richard Sherman [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Wednesday, November 23, 2005 4:48 PM Subject: orientation of .eps figures Hi, I have not had this problem in the past, but after some upgrading ... My .eps figures are appearing in PDF output rotated 90 degrees clockwise. I use LyX-Aqua 1.3.6, Mac OS X 10.4.3 Any ideas? thanks, pdfconv might mysteriously rotate your .eps figure. pdfconv is a Perl script that uses Ghostscript, it should be possible to see why this happens. ... www.cag.lcs.mit.edu/~vkuncak/misc/nicepdf/sample.pdf I think Mac OS X might use pdfconv Bennett will probably know all about it. Regards, Stephen
Re: orientation of .eps figures
- Original Message - From: Richard Sherman [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Wednesday, November 23, 2005 4:48 PM Subject: orientation of .eps figures Hi, I have not had this problem in the past, but after some upgrading ... My .eps figures are appearing in PDF output rotated 90 degrees clockwise. I use LyX-Aqua 1.3.6, Mac OS X 10.4.3 Any ideas? thanks, p.s. exporting the LaTeX from LyX and then running pdflatex from the terminal gives me the error Unknown graphics extension: .eps epstopdf transforms the Encapsulated PostScript file epsfile so that it is guaranteed to start at the 0,0 coordinate, and it sets a page size exactly corresponding to the BoundingBox. This means that when Ghostscript renders it, the result needs no cropping, and the PDF MediaBox is correct. The result is piped to Ghostscript and a PDF version written. If the bounding box is not right, of course, you have problems... ^^^ SH: MikTeX (for Windows) uses epstopdf.exe Linux might use the Perl epstopdf.pl {perl} epstopdf.pl myfile.eps. [epstopdf.exe myfile.eps] converts your eps-graphic file myfile.eps to the file myfile.pdf Rotated regards, Stephen
Re: orientation of .eps figures
- Original Message - From: Richard Sherman [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Wednesday, November 23, 2005 4:48 PM Subject: orientation of .eps figures Hi, I have not had this problem in the past, but after some upgrading ... My .eps figures are appearing in PDF output rotated 90 degrees clockwise. I use LyX-Aqua 1.3.6, Mac OS X 10.4.3 Any ideas? thanks, p.s. exporting the LaTeX from LyX and then running pdflatex from the terminal gives me the error Unknown graphics extension: .eps I am not expert, but I have an idea. There is a bug in MacLyX or a rotate command has been used which causes this, I think there is a rotatebox command associated with eps. I used to write html for different browsers. Sometimes the html would not display correctly in a browser and at first I thought it was the fault of that browser. After awhile, I found out that the browser which was built with sloppy code would permit some html mistakes from me, and display, but that it was the browser that was not displaying the webpage, which was actually working right. It was up to me to find the mistake, then it would always display properly in all the test browsers, once I mixed my mistake. Maybe this will help until the gurus arrive, Stephen
Re: orientation of .eps figures
- Original Message - From: Richard Sherman [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Wednesday, November 23, 2005 4:48 PM Subject: orientation of .eps figures Hi, I have not had this problem in the past, but after some upgrading ... My .eps figures are appearing in PDF output rotated 90 degrees clockwise. I use LyX-Aqua 1.3.6, Mac OS X 10.4.3 Any ideas? thanks, pdfconv might mysteriously rotate your .eps figure. pdfconv is a Perl script that uses Ghostscript, it should be possible to see why this happens. ... www.cag.lcs.mit.edu/~vkuncak/misc/nicepdf/sample.pdf I think Mac OS X might use pdfconv Bennett will probably know all about it. Regards, Stephen
Re: orientation of .eps figures
- Original Message - From: Richard Sherman [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Wednesday, November 23, 2005 4:48 PM Subject: orientation of .eps figures Hi, I have not had this problem in the past, but after some upgrading ... My .eps figures are appearing in PDF output rotated 90 degrees clockwise. I use LyX-Aqua 1.3.6, Mac OS X 10.4.3 Any ideas? thanks, p.s. exporting the LaTeX from LyX and then running pdflatex from the terminal gives me the error Unknown graphics extension: .eps epstopdf transforms the Encapsulated PostScript file epsfile so that it is guaranteed to start at the 0,0 coordinate, and it sets a page size exactly corresponding to the BoundingBox. This means that when Ghostscript renders it, the result needs no cropping, and the PDF MediaBox is correct. The result is piped to Ghostscript and a PDF version written. If the bounding box is not right, of course, you have problems... ^^^ SH: MikTeX (for Windows) uses epstopdf.exe Linux might use the Perl epstopdf.pl {perl} epstopdf.pl myfile.eps. [epstopdf.exe myfile.eps] converts your eps-graphic file myfile.eps to the file myfile.pdf Rotated regards, Stephen
Re: orientation of .eps figures
- Original Message - From: "Richard Sherman" <[EMAIL PROTECTED]> To: <lyx-users@lists.lyx.org> Sent: Wednesday, November 23, 2005 4:48 PM Subject: orientation of .eps figures Hi, I have not had this problem in the past, but after some upgrading ... My .eps figures are appearing in PDF output rotated 90 degrees clockwise. I use LyX-Aqua 1.3.6, Mac OS X 10.4.3 Any ideas? thanks, p.s. exporting the LaTeX from LyX and then running pdflatex from the terminal gives me the error "Unknown graphics extension: .eps" I am not expert, but I have an idea. There is a bug in MacLyX or a "rotate" command has been used which causes this, I think there is a rotatebox command associated with eps. I used to write html for different browsers. Sometimes the html would not display correctly in a browser and at first I thought it was the fault of that browser. After awhile, I found out that the browser which was built with sloppy code would permit some html mistakes from me, and display, but that it was the browser that was not displaying the webpage, which was actually working right. It was up to me to find the mistake, then it would always display properly in all the test browsers, once I mixed my mistake. Maybe this will help until the gurus arrive, Stephen
Re: orientation of .eps figures
- Original Message - From: "Richard Sherman" <[EMAIL PROTECTED]> To: <lyx-users@lists.lyx.org> Sent: Wednesday, November 23, 2005 4:48 PM Subject: orientation of .eps figures Hi, I have not had this problem in the past, but after some upgrading ... My .eps figures are appearing in PDF output rotated 90 degrees clockwise. I use LyX-Aqua 1.3.6, Mac OS X 10.4.3 Any ideas? thanks, "pdfconv might mysteriously rotate your .eps figure. pdfconv is a Perl script that uses Ghostscript, it should be possible to see why this happens. ..." www.cag.lcs.mit.edu/~vkuncak/misc/nicepdf/sample.pdf I think Mac OS X might use pdfconv Bennett will probably know all about it. Regards, Stephen
Re: orientation of .eps figures
- Original Message - From: "Richard Sherman" <[EMAIL PROTECTED]> To: <lyx-users@lists.lyx.org> Sent: Wednesday, November 23, 2005 4:48 PM Subject: orientation of .eps figures Hi, I have not had this problem in the past, but after some upgrading ... My .eps figures are appearing in PDF output rotated 90 degrees clockwise. I use LyX-Aqua 1.3.6, Mac OS X 10.4.3 Any ideas? thanks, p.s. exporting the LaTeX from LyX and then running pdflatex from the terminal gives me the error "Unknown graphics extension: .eps" epstopdf "transforms the Encapsulated PostScript file epsfile so that it is guaranteed to start at the 0,0 coordinate, and it sets a page size exactly corresponding to the BoundingBox. This means that when Ghostscript renders it, the result needs no cropping, and the PDF MediaBox is correct. The result is piped to Ghostscript and a PDF version written. If the bounding box is not right, of course, you have problems..." ^^^ SH: MikTeX (for Windows) uses epstopdf.exe Linux might use the Perl epstopdf.pl {perl} epstopdf.pl myfile.eps. [epstopdf.exe myfile.eps] converts your eps-graphic file myfile.eps to the file myfile.pdf Rotated regards, Stephen