Re: CVS-1.224; pdftex-mode not displaying previews
David Kastrup <[email protected]> Sat, 05 Feb 2005 12:28:25 +0100
| Newsgroups | gmane.emacs.latex.preview.devel |
|---|---|
| Message-ID | <x54qgrmejq.fsf__49861.8556689054$1107604066$gmane$org@lola.goethe.zz> |
"Björn Pedersen" <[email protected]> writes: > Remember to cover the basics. Including a minimal LaTeX example > file exhibiting the problem might help. > > This is an update to previous reports. I have found the reason for my problems > in getting previews in pdftexlatex-mode: > teh file preview.dsc generated by pdf2dsc starts like: > %%BeginSetup > (circ.pdf) (r) file { DELAYSAFER { .setsafe } if } stopped pop > pdfopen begin > %%EndSetup > and is located in the preview temp dir > > runnig gs on this file results in the following error: > > AFPL Ghostscript 8.14 (2004-02-20) > Copyright (C) 2004 artofcode LLC, Benicia, CA. All rights reserved. > This software comes with NO WARRANTY: see the file PUBLIC for details. > Error: /undefinedfilename in --file-- > Operand stack: > (circ.pdf) (r) > > manually changing preview.dsc to contain: > > %%BeginSetup > (../../circ.pdf) (r) file { DELAYSAFER { .setsafe } if } stopped pop > pdfopen begin > %%EndSetup > > and running ps-execute-buffer generates the preview images. > > So, solutions to the problem: generate the preview-pdf in the temp > dir (or move it there after generation... Uh, no. GhostScript _is_ run with the current directory set to the original directory, so `circ.pdf' is exactly the right file name to use. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ preview-latex-bugs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/preview-latex-bugs ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl