Hi Peter, Many thanks for your answer. I opened the console and found out that the *are* indeed errors (the log is appended). I'll use the terminal and let you know how it works. Cheers, -Andi **** Error: Cannot find a %%EOF marker anywhere in the file. **** Warning: An error occurred while reading an XREF table. **** The file has been damaged. This may have been caused **** by a problem while converting or transfering the file. **** Ghostscript will attempt to recover the data. Error: /rangecheck in --getinterval-- Operand stack: (/tmp/gs_53u4Fz) --nostringval-- 65535 (\000...[snip]...\000...) 0 (\000...[snip]... \000...) 0 -10 Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 % stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 % stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop -- nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- -- nostringval-- --nostringval-- --nostringval-- %loop_continue --nostringval-- Dictionary stack: --dict:1120/1686(ro)(G)-- --dict:0/20(G)-- --dict:75/200(L)-- --dict:75/200(L)-- -- dict:105/127(ro)(G)-- --dict:251/347(ro)(G)-- --dict:19/24(L)-- Current allocation mode is local AFPL Ghostscript 8.51: Unrecoverable error, exit code 1 ==============Original message text=============== On Fri, 06 Jan 2006 4:35:16 pm CST Peter Dyballa wrote: Am 06.01.2006 um 22:32 schrieb andi petculescu: > If I export a graph from QtiPlot as EPS and then open it with > TeXShop to get the PDF, the latter is a blank (white?) page (no > error messages). > If, instead of *exporting* the figure as EPS, I *print* it as PDF > from QtiPlot, it comes out ok. > > What could cause an EPS figure to be converted to a blank (or > white ?) PDF, when opened with TeXShop? Does it have to do with the > application that creates the EPS? I suppose there must not be a bug in QtiPlot, because the printing system has another programme to convert PS or EPS to PDF ... The reasons why TeXShop can fail are a few. Have you /Applications/Utilities/Console.app running? If TeXShop sees an error it will report it in Console. Are you experienced with the command line in Terminal? Then you could try to use the supposed printing system's convertor, it's like: /System/Library/Printers/Libraries/convert -i application/postscript -j application/pdf -f "best complete path to EPS input file within double quotes" -o "best complete path to PDF output file within double quotes" -P The sequence that starts with '-P ...' is optional. I am not completely sure whether the path to the 'PostScript Printer Description' (PPD) file is necessary in any case. You can make your life easy when you just type the command until the first double quote and then drag&drop the file from Finder onto Terminal. Check whether spaces in this path name where 'escaped' by \ and remove these backslashes. Finish the input file name by typing a double quote exactly at file name's end (by dropping the file on Terminal automatically a SPC is added) and continue with ' -o "' and drop again that file onto Terminal and filter its name from backslashes. Now remove the file name's extension and substitute it with pdf. Finish with a '"' and a ! You too can try to convert à la TeXShop: 'pstopdf ', optionally you can add the PDF output file's name. pstopdf can work in Terminal when you first type 'pstopdf ' and then drag the EPS file from Finder onto Terminal and type the final . By default the PDF output file will be created in the same directory from which you dragged the EPS file. A possible cause for an error can be that this directory is not writable ... -- Greetings Pete The mathematician who pursues his studies without clear views of this matter, must often have the uncomfortable feeling that his paper and pencil surpass him in intelligence. (Ernst Mach) ------------------------- Info -------------------------- Mac-TeX Website: http://www.esm.psu.edu/mac-tex/ & FAQ: http://latex.yauh.de/faq/TeX FAQ: http://www.tex.ac.uk/faqList Archive: http://tug.org/pipermail/macostex-archives/ ===========End of original message text=========== ------------------------- Info -------------------------- Mac-TeX Website: http://www.esm.psu.edu/mac-tex/ & FAQ: http://latex.yauh.de/faq/ TeX FAQ: http://www.tex.ac.uk/faq List Archive: http://tug.org/pipermail/macostex-archives/