[Bug 623719] New: Previewing Latex equations in emacs using the auctex package does not work.
http://bugzilla.novell.com/show_bug.cgi?id=623719 http://bugzilla.novell.com/show_bug.cgi?id=623719#c0 Summary: Previewing Latex equations in emacs using the auctex package does not work. Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: All OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: randyoconnor@mailinator.com QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=377016) --> (http://bugzilla.novell.com/attachment.cgi?id=377016) The test.tex file from "Steps to Reproduce" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.2.6) Gecko/20100626 SUSE/3.6.6-1.2 Firefox/3.6.6 This happened on three installations on two different PCs. Two upgrades from 11.2 to 11.3 and one fresh install of 11.3. With emacs and auctex installed, the previewing of Latex equations in emacs does not work. There appears a red Stop-like sign. Clicking on the sign with the middle mouse button shows the error message. Reproducible: Always Steps to Reproduce: 1. Install emacs and auctex with Yast. 2. Crate a file test.tex containing: \documentclass{article} \begin{document} \begin{equation} E=m c^2 \end{equation} \end{document} 3. From the menu select Preview -> Generate preview for document. Actual Results: Red Sign appears but no preview image of the equation. Expected Results: It should have created a preview image of the equation. That is, instead of the code for the equation there should appear the equation as in the final latex document (pdf,dvi). This worked perfectly in 11.2. It appeared as soon as I upgraded/freshly installed 11.3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623719 http://bugzilla.novell.com/show_bug.cgi?id=623719#c yang xiaoyu <xyyang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyyang@novell.com AssignedTo|bnc-team-screening@forge.pr |werner@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623719 http://bugzilla.novell.com/show_bug.cgi?id=623719#c Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Severity|Normal |Minor -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623719 http://bugzilla.novell.com/show_bug.cgi?id=623719#c1 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |randyoconnor@mailinator.com --- Comment #1 from Dr. Werner Fink <werner@novell.com> 2010-07-20 16:59:44 UTC --- Please start emacs on the command line and retry. Are there any messages in the terminal you have used to start emacs? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623719 http://bugzilla.novell.com/show_bug.cgi?id=623719#c2 --- Comment #2 from Dr. Werner Fink <werner@novell.com> 2010-07-20 17:27:50 UTC --- There are several bugs in /usr/share/emacs/site-lisp/auctex/preview.el (e.g. -dOutputFile instead of -sOutputFile) which can not work and I guess this is also true with 11.2. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623719 http://bugzilla.novell.com/show_bug.cgi?id=623719#c3 randy O'Connor <randyoconnor@mailinator.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|randyoconnor@mailinator.com | --- Comment #3 from randy O'Connor <randyoconnor@mailinator.com> 2010-07-20 20:34:37 UTC --- There are no error messages when starting emacs from command line. Neither before nor after reproducing the bug. For me the previews always worked under 11.2, so I never bothered looking at any preview latex output really. I am sorry my lisp skills are arbitrarily close to zero. I still have an 11.2 box at work. Tomorrow I'll post the preview latex output, if you would like to compare. I assume you can reproduce the bug. Thank you very much for looking into this. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623719 http://bugzilla.novell.com/show_bug.cgi?id=623719#c4 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |randyoconnor@mailinator.com --- Comment #4 from Dr. Werner Fink <werner@novell.com> 2010-07-21 11:51:22 UTC --- Does it help if you customize the variable preview-image-type that is change the current value 'png to 'dvipng ... this should avod the broken ghostscript call. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623719 http://bugzilla.novell.com/show_bug.cgi?id=623719#c5 randy O'Connor <randyoconnor@mailinator.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|randyoconnor@mailinator.com | --- Comment #5 from randy O'Connor <randyoconnor@mailinator.com> 2010-07-21 22:39:30 UTC --- That works for me. Thank you, that is a big relief to have it working. Just out of interest: you could reproduce the bug, couldn't you? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623719 http://bugzilla.novell.com/show_bug.cgi?id=623719#c6 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #6 from Dr. Werner Fink <werner@novell.com> 2010-07-22 07:02:42 UTC --- Yes I could with ghostscript 8.70 with the latest security fixes as a) gs 8.70 only allows -sOutputFile and not -dOutputFile and b) does not accept open files from within a PostScript file. Both can be fixed and I've done this for factory. Nevertheless the usage of dvipng is much faster. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623719 http://bugzilla.novell.com/show_bug.cgi?id=623719#c7 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dieter.jurzitza@t-online.de --- Comment #7 from Dr. Werner Fink <werner@novell.com> 2010-08-10 13:02:13 UTC --- *** Bug 627752 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=627752 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623719 http://bugzilla.novell.com/show_bug.cgi?id=623719#c8 Dieter Jurzitza <dieter.jurzitza@t-online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #8 from Dieter Jurzitza <dieter.jurzitza@t-online.de> 2010-08-10 19:14:36 UTC --- Dear Mr. Fink, sorry to be forced to reopen - but happyness is gone in the very moment one is switching to pdflatex as default (what I do always). This works flawlessly on openSUSE 11.0, but doesn't on 11.3. Maybe you have another idea ..... Thank you very much, take care Dieter Jurzitza -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623719 http://bugzilla.novell.com/show_bug.cgi?id=623719#c9 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |dieter.jurzitza@t-online.de --- Comment #9 from Dr. Werner Fink <werner@novell.com> 2010-08-11 07:19:25 UTC --- (In reply to comment #8) Does this have todo with this bug? That is that previewing does not work even with 'dvipng' for the variable preview-image-type -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623719 http://bugzilla.novell.com/show_bug.cgi?id=623719#c10 Dieter Jurzitza <dieter.jurzitza@t-online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|dieter.jurzitza@t-online.de | --- Comment #10 from Dieter Jurzitza <dieter.jurzitza@t-online.de> 2010-08-11 11:50:33 UTC --- Dear Mr. Fink, right. If I switch preview-image-type from "png" to "dvipng" previewing works flawlessly unless the check - box "Command" -> "TeXing Options" -> "Generate PDF" is activated. If it is activated, preview does not work, if it is inactive (you generate dvi and no pdf) preview is working on 11.3, given dvipng has been chosen as recommended. On 11.0, I keep "png" rather than "dvipng" for the preview-image-type and both variants - with and without active "Generate PDF" checkbox - do work flawlessly. Thank you for looking into this, take care Dieter Jurzitza -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623719 http://bugzilla.novell.com/show_bug.cgi?id=623719#c11 --- Comment #11 from Dr. Werner Fink <werner@novell.com> 2010-08-11 16:36:02 UTC --- Created an attachment (id=382303) --> (http://bugzilla.novell.com/attachment.cgi?id=382303) /usr/share/emacs/site-lisp/auctex/preview.elc This replace /usr/share/emacs/site-lisp/auctex/preview.elc -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623719 http://bugzilla.novell.com/show_bug.cgi?id=623719#c12 --- Comment #12 from Dr. Werner Fink <werner@novell.com> 2010-08-11 16:36:53 UTC --- Created an attachment (id=382304) --> (http://bugzilla.novell.com/attachment.cgi?id=382304) /usr/share/emacs/site-lisp/auctex/preview.el And this one replaces /usr/share/emacs/site-lisp/auctex/preview.el -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623719 http://bugzilla.novell.com/show_bug.cgi?id=623719#c13 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |dieter.jurzitza@t-online.de --- Comment #13 from Dr. Werner Fink <werner@novell.com> 2010-08-11 16:38:43 UTC --- Please try out the attached files by replacing the corresponding files on your system. Does this work for you? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623719 http://bugzilla.novell.com/show_bug.cgi?id=623719#c14 --- Comment #14 from Dieter Jurzitza <dieter.jurzitza@t-online.de> 2010-08-11 18:52:22 UTC --- Created an attachment (id=382339) --> (http://bugzilla.novell.com/attachment.cgi?id=382339) Message at the one-way-road sign This is the errormessage, probably of help. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623719 http://bugzilla.novell.com/show_bug.cgi?id=623719#c15 Dieter Jurzitza <dieter.jurzitza@t-online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|dieter.jurzitza@t-online.de | --- Comment #15 from Dieter Jurzitza <dieter.jurzitza@t-online.de> 2010-08-11 18:53:25 UTC --- Dear Mr. Fink, have been trying the modified preview.el file (and byte-compiled preview.elc from scratch) but in vain; the behaviour remained the same. I attach the file with the errormessage you are shown when right-clicking on the one-way-road sign. Maybe you "see" anything from there. By the way: the modified file preview.el does not require to set "png" to "dvipng" any more. However, preview does not work, whether I set png or dvipng in the apropriate variable. To remove any dependency of local settings I started emacs with emacs -Q -l auctex -l preview-latex Thank you for looking into this, take care Dieter Jurzitza -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623719 http://bugzilla.novell.com/show_bug.cgi?id=623719#c16 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |dieter.jurzitza@t-online.de --- Comment #16 from Dr. Werner Fink <werner@novell.com> 2010-08-12 07:47:50 UTC --- (In reply to comment #14) What exactly are you doing, please provide a short example and the how to reproduce steps for this error -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623719 http://bugzilla.novell.com/show_bug.cgi?id=623719#c17 --- Comment #17 from Dr. Werner Fink <werner@novell.com> 2010-08-12 08:04:15 UTC --- Created an attachment (id=382426) --> (http://bugzilla.novell.com/attachment.cgi?id=382426) emacs.png This show how the modified preview.el works. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623719 http://bugzilla.novell.com/show_bug.cgi?id=623719#c18 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #382303|0 |1 is obsolete| | Attachment #382304|0 |1 is obsolete| | --- Comment #18 from Dr. Werner Fink <werner@novell.com> 2010-08-12 09:20:16 UTC --- Created an attachment (id=382487) --> (http://bugzilla.novell.com/attachment.cgi?id=382487) /usr/share/emacs/site-lisp/auctex/preview.el -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623719 http://bugzilla.novell.com/show_bug.cgi?id=623719#c19 --- Comment #19 from Dr. Werner Fink <werner@novell.com> 2010-08-12 09:20:58 UTC --- Try this one attachment #382487 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623719 http://bugzilla.novell.com/show_bug.cgi?id=623719#c20 --- Comment #20 from Dieter Jurzitza <dieter.jurzitza@t-online.de> 2010-08-12 13:38:13 UTC --- Dear Mr. Fink, sorry but did not work as well. So, here's _exactly_ what I do to make things reproducible: my example: \documentclass[12pt]{article} \begin{document} \begin{equation} y=\sqrt{x+\sqrt{\pi}} \end{equation} \end{document} 1.) move old version of preview.el and preview.elc in /usr/share/emacs/site-lisp/auctex to "save" locations 2.) move preview.el from #382487 into /usr/share/emacs/site-lip/auctex 3.) adapt file permissions / root.root / 0644 4.) start emacs as root, load preview.el, say byte-compile and have a recent preview.elc (verified) 5.) start emacs with: emacs -Q -l auctex -l preview-latex 6.) load sample above (from now on referenced to as "test.tex") 7.) say "preview" "document" -> the equation shows. This is independent of the setting of preview image type (whether it is "png" or "dvipng" makes no difference with the new preview.el) 8.) activate pdf mode by clicking the apropriate check-box "Command" "TeXing Options" "PDF-mode" 9.) remove all previews and try to restart -> in vain, only the one-way-road signs will show. 10.) revert the PDF-mode setting and try again: everything works fine as expected, the previews show. So, I have one document, emacs is loading nothgin but preview-latex and auctex (no further customizations), however, in PDF-mode previewing does not work. The same procedure does work flawlessly on openSUSE 11.0, tested several times. This is definitively an issue with openSUSE 11.3, but I cannot tell to what this bug is related because I have no information but the logs from preview-latex. Hope this helps, thank you so much for looking into this, take care Dieter Jurzitza -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623719 http://bugzilla.novell.com/show_bug.cgi?id=623719#c Dieter Jurzitza <dieter.jurzitza@t-online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|dieter.jurzitza@t-online.de | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623719 http://bugzilla.novell.com/show_bug.cgi?id=623719#c21 --- Comment #21 from Dr. Werner Fink <werner@novell.com> 2010-08-12 14:06:10 UTC --- (In reply to comment #20) It works even for PDF on 11.3 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623719 http://bugzilla.novell.com/show_bug.cgi?id=623719#c22 --- Comment #22 from Dr. Werner Fink <werner@novell.com> 2010-08-12 14:07:18 UTC --- Created an attachment (id=382598) --> (http://bugzilla.novell.com/attachment.cgi?id=382598) emacs2.png this is your example with enabled PDF as I've now test2.pdf around -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623719 http://bugzilla.novell.com/show_bug.cgi?id=623719#c23 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |dieter.jurzitza@t-online.de --- Comment #23 from Dr. Werner Fink <werner@novell.com> 2010-08-12 14:08:46 UTC --- now explain why does it work here and wyh does it not on your system. btw: I'm using simply emacs test2.tex without skipping anything. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623719 http://bugzilla.novell.com/show_bug.cgi?id=623719#c24 --- Comment #24 from Dr. Werner Fink <werner@novell.com> 2010-08-12 15:12:37 UTC --- In a few minutes you may download emacs-auctex from http://download.opensuse.org/repositories/editors/ .. note that emacs-auctex is noarch. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623719 http://bugzilla.novell.com/show_bug.cgi?id=623719#c25 --- Comment #25 from Dieter Jurzitza <dieter.jurzitza@t-online.de> 2010-08-15 18:46:42 UTC --- Dear Mr. Fink, I haven't got a clue but two PC's with latest patches of openSUSE 11.3 and everything "out of stock" that show the very same behaviour - functional preview with dvi, disfunctional preview with pdf (given the update to your latest release of auctex). By the way: I am using gnu-emacs, not xemacs, just to make that clear. @Randy O'Connor: if you read this, would you kindly test with pdf, too, and give us a note whether or not this works for you? Thank you very much, take care Dieter Jurzitza -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623719 http://bugzilla.novell.com/show_bug.cgi?id=623719#c26 --- Comment #26 from Dr. Werner Fink <werner@novell.com> 2010-08-16 08:04:30 UTC --- (In reply to comment #25) Dieter: Please try out the latest emacs-auctex at http://download.opensuse.org/repositories/editors/openSUSE_11.3/ -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c27 Dieter Jurzitza <dieter.jurzitza@t-online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|dieter.jurzitza@t-online.de | --- Comment #27 from Dieter Jurzitza <dieter.jurzitza@t-online.de> 2010-08-16 19:09:41 UTC --- Hi Werner, I am already using this version. No change. I will try to ask people from the auctex mailing list once again, maybe someone can figure out what is causing the gs-errormessages. Thank you so far, if I find something, I'll keep you informed. Take care Dieter -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c28 --- Comment #28 from Dr. Werner Fink <werner@novell.com> 2010-08-17 07:22:17 UTC --- (In reply to comment #27) This is a modified version of auctex and also a ghostscript compiled with SEARCH_HERE_FIRST=0 ... I do not think that the aucTeX people can help you. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c29 --- Comment #29 from Dr. Werner Fink <werner@novell.com> 2010-08-17 07:29:58 UTC --- Created an attachment (id=383364) --> (http://bugzilla.novell.com/attachment.cgi?id=383364) emacs3.png -- shows that PDF and previre works Please show me the ghostscript version and also the current error messages together with the step by step procedure you have done to reach this message -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c30 --- Comment #30 from Dieter Jurzitza <dieter.jurzitza@t-online.de> 2010-08-17 15:41:02 UTC --- Hi Werner, reading #29 I decided to rebuild ghostscript modifying SEARCH_HERE_FIRST=0 to SEARCH_HERE_FIRST=1 - and, guess what, things are working now. So, I do not know what ghostscript version you have been testing on, but rebuilding with SEARCH_HERE_FIRST=1 (ghostscript-library-8.70-15 from the update - source tree of the distribution) fixes my issues. Reinstalling the distributed version re-causes the issues, I did that several times. And, to answer your question: apart from the fact that I am using preview-latex from the new repository (i.e. preview-latex 11.86) I haven't changed anything. To reproduce the issue, I stepped through each step in #20 except the update of preview.el. This is a ghostscript in combination with preview-latex issue and it shows reproducibly for other people than me, too. I have been asking on the dante mailing list and received a reply reproducing my problem precisely with openSUSE 11.3. Hope this clarifies things. Thank you for looking into this, Dieter By the way, this is what I have installed "regularly" off the update-repository: ghostscript-x11-8.70-15.1.1.i586 ghostscript-fonts-std-8.70-15.1.1.i586 ghostscript-library-8.70-15.1.1.i586 ghostscript-fonts-other-8.70-15.1.1.i586 libgimpprint-4.2.7-15.1.1.i586 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c31 --- Comment #31 from Dr. Werner Fink <werner@novell.com> 2010-08-17 16:01:41 UTC --- You're opening a security hole. Here it work even *with* SEARCH_HERE_FIRST=0 ... I'd like to know what the difference is we see between our two setups. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c32 --- Comment #32 from Dieter Jurzitza <dieter.jurzitza@t-online.de> 2010-08-18 05:37:25 UTC --- Hi Werner, very clear. I did this only to verify, not to live with :-) By the way: the file <FILENAME>.prv/<TMPNAM>/preview.dsc is generated, but cannot be previewed (using gs), what should be possible. As a consequence (?), pr1-1.png is not generated, too. If I modify /usr/bin/pdf2dsc in such a way, that the local path is inserted, the file preview.dsc _can_ be previewed with gs, but the png still is not created. (changed the last line of pdf2dsc to "-sPDFname="`pwd`/$pdffile" -sDSCname="$dscfile" pdf2dsc.ps -c quit") These are my current findings - perhaps it helps - but probably not. Will try further tonight. Take care Dieter -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c33 John McManaman <auxsvr@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |auxsvr@yahoo.com --- Comment #33 from John McManaman <auxsvr@yahoo.com> 2010-08-25 14:58:16 UTC --- I tried both emacs-auctex-11.86-12.1 and the upstream version, both fail to display the preview images with xelatex with error message: ** WARNING ** Stack not empty after execution of inline PostScript code. ** WARNING ** >> Your macro package makes some assumption on internal behaviour of DVI drivers. ** WARNING ** >> It may not compatible with dvipdfmx. Also, the resulting PDF file after this error has the content of each preview image in one line on each page, making it look as if the preview images were pasted in a 80 page PDF file. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c34 --- Comment #34 from Dieter Jurzitza <dieter.jurzitza@t-online.de> 2010-08-25 18:09:28 UTC --- Hi Werner, I made some progress - specifically with someone who knows more about Postscript than I do. As a matter of fact I can tell now that any i586 installation of either 11.1 or 11.3 behaves similarly (for me). And the root cause stems from the postscript code that is introduced behind the "-c" sequence by auctex (around line 1075 in preview.el) The problem there stems from the fact that read permission is assigned to preview.dsc but _not_ to the original file (in my case test.pdf). I attach a patch that works for test.pdf because I do not know within which variable the original filename ("test") is kept within preview.el. Given this is applied, preview works for me - maybe you find the time to take a look. Thank you very much, take care Dieter -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c35 --- Comment #35 from Dieter Jurzitza <dieter.jurzitza@t-online.de> 2010-08-25 18:19:56 UTC --- Created an attachment (id=385432) --> (http://bugzilla.novell.com/attachment.cgi?id=385432) Incomplete patch to demonstrate a possible solution This is an (incomplete) patch that makes things work for a single file - test.pdf - only. If I knew the name of the variable containing the filename within preview.el I could solve this on my own. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c36 --- Comment #36 from Dieter Jurzitza <dieter.jurzitza@t-online.de> 2010-09-04 19:46:59 UTC --- Hi Werner, so, I finally fixed it. That means I know 3 people suffering from the same problem (including me), running (here) three different computers with 11.1, 11.2 and 11.3 respectively. This issue is an opensuse issue as the original distribution of auctex does not cope with permissions of reading files. And, as stated above, the way it is handled in the current distribution is not working (for three people and three distributions, at least). Please find a patch attached that fixes the behaviour by adding the appropriate read permission that is mandatory within the postscript commands you added to the gs-call. Thank you for looking into this, take care Dieter -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c37 --- Comment #37 from Dieter Jurzitza <dieter.jurzitza@t-online.de> 2010-09-04 19:48:14 UTC --- Created an attachment (id=387622) --> (http://bugzilla.novell.com/attachment.cgi?id=387622) specfile - modified to include the required patch for emacs-auctex -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c38 Dieter Jurzitza <dieter.jurzitza@t-online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #385432|0 |1 is obsolete| | --- Comment #38 from Dieter Jurzitza <dieter.jurzitza@t-online.de> 2010-09-04 19:50:08 UTC --- Created an attachment (id=387623) --> (http://bugzilla.novell.com/attachment.cgi?id=387623) Fix for preview.el Well, this one really does what is required - probably someone with a deeper insight into emacs lisp can solve this more efficient than I do, but this one works, tested on three different distributions. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c39 Dieter Jurzitza <dieter.jurzitza@t-online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #387622|0 |1 is obsolete| | --- Comment #39 from Dieter Jurzitza <dieter.jurzitza@t-online.de> 2010-10-02 09:31:57 UTC --- Created an attachment (id=392690) --> (http://bugzilla.novell.com/attachment.cgi?id=392690) patch against the current opensuse specfile This is the reuqired modification of the specfile. Tho former one is obsolete through this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c40 --- Comment #40 from Dieter Jurzitza <dieter.jurzitza@t-online.de> 2010-10-02 09:32:53 UTC --- Thanks to Dr. Detlef Steuer a bug in my patch was detected, please find a fixed patch attached. Werner, please recheck, I really do not know a single person where auctex would work in pdf - mode since the patched ghostscript from opensuse is more restrictive with regard to file permissions. Without adding the permission to read all files that are required for the preview the current release "as is" is a showstopper for preview functionality in pdf-mode Take care Dieter Jurzitza -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c41 Dieter Jurzitza <dieter.jurzitza@t-online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #387623|0 |1 is obsolete| | --- Comment #41 from Dieter Jurzitza <dieter.jurzitza@t-online.de> 2010-10-02 09:34:45 UTC --- Created an attachment (id=392691) --> (http://bugzilla.novell.com/attachment.cgi?id=392691) Modified patch for preview.el The newly introduced variable pdffile should be initialized empty, non nil, otherwise preview is disfunctional for "normal" operation. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c42 Christian Herenz <herenz9@netscape.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |herenz9@netscape.net --- Comment #42 from Christian Herenz <herenz9@netscape.net> 2010-10-12 17:12:53 UTC --- Hi, i just discovered that I also suffer from this bug. Next week I have to start working extensively with latex and auctex again, so I just want to ask if this will be fixed soon (maybe via the opensuse updater?) or if I could apply somehow the patch myself?? Greetings, Christian -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c43 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |herenz9@netscape.net --- Comment #43 from Dr. Werner Fink <werner@novell.com> 2010-10-13 10:27:21 UTC --- You may give the latest version of emacs-auctex a try, have look at http://download.opensuse.org/repositories/editors/openSUSE_11.3/ please report if this one does work for you. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c44 --- Comment #44 from Dieter Jurzitza <dieter.jurzitza@t-online.de> 2010-10-15 18:17:35 UTC --- Hi Werner, thank you for fixing upstream. I tested the upstream version now and it works like a charm. IMHO this bug may be closed now. Take care Dieter -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c45 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|herenz9@netscape.net | Resolution| |FIXED --- Comment #45 from Dr. Werner Fink <werner@novell.com> 2010-10-18 08:54:01 UTC --- Dieter: Thanks a lot for feedback! It's always a pleasure! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c46 --- Comment #46 from Christian Herenz <herenz9@netscape.net> 2010-10-23 08:37:37 UTC --- Is it possible to provide the fix via suse update, since at my workmachine I have no root access, but updates are done. (Otherwise I would have to convince the admin to do it from the other repository for me) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c47 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #47 from Dr. Werner Fink <werner@novell.com> 2010-10-25 07:34:12 UTC --- reopen for maintenance -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c48 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |maintenance@opensuse.org --- Comment #48 from Dr. Werner Fink <werner@novell.com> 2010-10-25 07:35:28 UTC --- Please provide a SWAMPID for this problem (compare with comment #46) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c49 Christian Dengler <cdengler@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cdengler@novell.com --- Comment #49 from Christian Dengler <cdengler@novell.com> 2010-10-27 15:04:39 UTC --- +1 for an update. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c50 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:running:36879:low --- Comment #50 from Swamp Workflow Management <swamp@suse.com> 2010-11-02 14:58:18 UTC --- The SWAMPID for this issue is 36879. This issue was rated as low. Please submit fixed packages until 2010-11-30. Also create a patchinfo file using this link: https://swamp.suse.de/webswamp/wf/36879 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c51 Christian Dengler <cdengler@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|maintenance@opensuse.org | --- Comment #51 from Christian Dengler <cdengler@novell.com> 2010-11-02 14:59:38 UTC --- update started. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c52 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #52 from Dr. Werner Fink <werner@novell.com> 2010-11-02 15:47:18 UTC --- (In reply to comment #50) Done, see openSUSE:11.3:Update:Test/emacs-auctex and created patchinfo -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c53 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:36879:low |maint:running:36879:low | |maint:released:11.3:36890 --- Comment #53 from Swamp Workflow Management <swamp@suse.com> 2010-11-15 15:25:07 UTC --- Update released for: emacs-auctex Products: openSUSE 11.3 (i586) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:36879:low |maint:released:11.3:36890 |maint:released:11.3:36890 | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c54 Christian Herenz <herenz9@netscape.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #54 from Christian Herenz <herenz9@netscape.net> 2011-01-17 18:35:07 UTC --- This Bug is still valid. It has been fixed for latex (dvi), but when you use pdflatex (pdf) by setting PDF-Mode in AucTeX it still breaks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
This Bug is still valid. It has been fixed for latex (dvi), but when you use pdflatex (pdf) by setting PDF-Mode in AucTeX it still breaks!
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c55 --- Comment #55 from Dieter Jurzitza <dieter.jurzitza@t-online.de> 2011-01-17 20:29:00 UTC --- Hi Christian, (In reply to comment #54) please recheck. The latest release in update should fix this. What does rpm -qa emacs-auctex return on your system? Take care Dieter Jurzitza -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c56 --- Comment #56 from Christian Herenz <herenz9@netscape.net> 2011-01-19 15:39:09 UTC --- emacs-auctex-11.85-94.3.1.noarch -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c57 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |herenz9@netscape.net --- Comment #57 from Dr. Werner Fink <werner@novell.com> 2011-01-24 15:57:43 UTC --- this should be: rpm -q --changelog emacs-auctex | head -n 4 * Wed Oct 13 2010 werner@suse.de - Allow also to read PDF file its self to be able to generate the descriptions of those file (based on patch of Dieter Jurzitza) now what does rpm return on your system? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c58 --- Comment #58 from Dieter Jurzitza <dieter.jurzitza@t-online.de> 2011-01-24 21:53:08 UTC --- Hi Christian, I tested emacs-auctex-11.85-94.3.1 and it is working (for me, both pdf- and dvi mode). However, I had to manually load preview.elc. Please try to install the emacs-auctex package from opensuse/repositories/editors/openSUSE_11.3/noarch/emacs-auctex-11.86-15.21.noarch.rpm you might want to get this file from ftp5.gwdg.de (or any other location). Be assured: it works, both in pdf and in dvi mode. And 11.86 is more recent than 11.85, however, both versions work. Hope this helps, take care Dieter -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c59 --- Comment #59 from Christian Herenz <herenz9@netscape.net> 2011-01-26 18:20:26 UTC --- Ok ... RPM doees return the same as in Comment #57, I have the version which is declared as fixed. Did not try the new version, but since this version is marked at fixed and does not work for me, we should investigate what is wrong here. The follwoing does not work here: I create a document, containing the following: \documentclass{article} \begin{document} \begin{equation} \label{eq:1} a^2 + b^2 = c^2 \end{equation} \end{document} Then I click with the mouse in the menu "Command" - "Texing Options" - "PDF Mode". Then I make M-x preview-buffer. I get only an Wrong Way Sign in front of the equation. Clicking with mouse2 gives me the error message, which I paste here. gs -dOutputFile\=\(_region_.prv/tmp7060mMG/pr1-1.png\) -dDELAYSAFER -q -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r115.2x115.261 -c \<\</PermitFileReading\[\(_region_.prv/tmp7060mMG/preview.dsc\)\ \(test.pdf\)\]\>\>\ setuserparams\ .locksafe GS>{DELAYSAFER{.setsafe}if}stopped pop/.preview-BP currentpagedevice/BeginPage get dup null eq{pop{pop}bind}if def<</BeginPage{currentpagedevice/PageSize get dup 0 get 1 ne exch 1 get 1 ne or{.preview-BP 0.996109 0.996109 0.996109 setrgbcolor clippath fill 0.0781262 0.0742199 0.0703136 setrgbcolor}{pop}ifelse}bind/PageSize[1 1]>>setpagedevice/preview-do{[count 3 roll save]3 1 roll dup length 0 eq{pop}{setpagedevice}{ifelse runandhide}stopped{handleerror quit}if aload pop restore}bind def /GS_PDF_ProcSet GS_PDF_ProcSet dup maxlength dict copy dup begin/graphicsbeginpage{//graphicsbeginpage exec 0.0781262 0.0742199 0.0703136 3 copy rg RG}bind store end readonly store [(_region_.prv/tmp7060mMG/preview.dsc)(r)file]aload exch dup 0 setfileposition 458()/SubFileDecode filter cvx .runandhide aload pop dup dup 458 setfileposition 53()/SubFileDecode filter cvx<<>>preview-do Error: /invalidfileaccess in --execute-- Operand stack: (_region_.pdf) (r) Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- %loop_continue 1769 2 3 %oparray_pop --nostringval-- --nostringval-- false 1 %stopped_push .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 1148 --nostringval-- %end_runandhide --nostringval-- Dictionary stack: --dict:1177/3371(ro)(G)-- --dict:0/20(G)-- --dict:77/200(L)-- --dict:106/127(ro)(L)-- --dict:285/300(G)-- Current allocation mode is local GS<3> So what is wrong here. Disabeling PDF Mode (unchecking the Radio-Box in the command -> Texing Options -> PDF Mode menu) and doing again M-x preview-buffer works without a flaw. Thanks for looking into it... I hope the fault is not entierely on my side. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c60 --- Comment #60 from Dieter Jurzitza <dieter.jurzitza@t-online.de> 2011-01-26 19:53:19 UTC --- Hi Christian, I rechecked this here on my system and I found the same behaviour initially. But then I executed ESC-X load-library preview after this, the pulldown-menu "preview" appeared and things worked. I guess there is an issue with starting preview mode with the older version of auctex (11.85) as distributed regularly that do not exist in the latest version (11.86). The preview-library is not loaded accordingly - but I do not know why. If the above mentioned command does help, please put a (load "preview.elc") command somewhere into ~/.gnu-emacs-custom then things ought to work. In any case, the preview-pulldown menu should be there if you edit a latex - file Please report your results here! Hope this helps Dieter @Werner: this behaviour is strange, but reproducible (for me!). Do you have any clue? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c61 --- Comment #61 from Dr. Werner Fink <werner@novell.com> 2011-01-27 11:20:18 UTC --- Hmmm ... normal case is that /usr/share/emacs/site-lisp/suse-start-preview-latex.el is loaded by /usr/share/emacs/site-lisp/site-start.el and the first file does load with the line (load "preview-latex.el" nil t t) the preview-latex.el file -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c62 --- Comment #62 from Dieter Jurzitza <dieter.jurzitza@t-online.de> 2011-01-28 19:36:56 UTC --- Hi Werner, hi Christian, this did not leave me in peace. Now, see what I did: - because I do not use gnu-emacs from openSUSE-11.3 repositories I thought it might be a good idea to recompile auctex from openSUSE-11.3/update. However, no change here. - then I thought maybe the issue is related to my personal settings in gnu-emacs - and bingo: after copying /etc/skel/.gnu-emacs to my home directory and using this instead of my old .gnu-emacs saved from old times emacs-auctex-11.85-94.3.1.noarch.rpm does work smoothly, even the one from the original openSUSE update repository. Hence: Christian, please make absolutely sure that you're using the .gnu-emacs file from the distribution (/etc/skel/.gnu-emacs) at least for testing. In this case it is simply working as a charm. Recheck twice before reporting issues again. Folks, have a nice weekend, take care Dieter -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c63 --- Comment #63 from Dieter Jurzitza <dieter.jurzitza@t-online.de> 2011-01-28 19:38:19 UTC --- And, make sure there is no .gnu-emacs-custom, too, during test!!!!! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c64 --- Comment #64 from Christian Herenz <herenz9@netscape.net> 2011-01-28 21:56:34 UTC --- This is what I did now: mv .emacs .emacs-backup mv .gnu-emacs-custom .gnu-emacs-custom-backup cp /etc/skel/.emacs ~ emacs opened the file test.tex (see above), clicked through to pdf-mode (also as above) M-x preview buffer -> still got the wrong way sign at the equation, still get the error .. Error: /invalidfileaccess in --execute-- .. :-( -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c65 --- Comment #65 from Christian Herenz <herenz9@netscape.net> 2011-01-28 22:00:11 UTC --- Additional comment (because I just saw this when checking): I dont use a personal .gnu-emacs - so always the .gnu-emacs from /etc/skel will be loaded from the factory .emacs. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c66 --- Comment #66 from Dieter Jurzitza <dieter.jurzitza@t-online.de> 2011-01-29 10:26:35 UTC --- Hi Christian, bad enough. However, please reply to my previous questions, this is mandatory in order to understand what is going on: 1.) does a "preview" drop - down menu show when you open a .tex - file in emacs? - if yes proceed to 3.) 2.) if you perform the commands as depicted in Comment 60, what happens then? 3.) please report the version of both ghostscript and emacs rpm -qa | grep emacs rpm -qa | grep ghostscript Thanks, take care Dieter -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c67 --- Comment #67 from Christian Herenz <herenz9@netscape.net> 2011-01-29 21:13:58 UTC --- Yes, the preview menu is there when starting with the vanilla emacs (as described in comment #64).
rpm -qa | grep emacs emacs-info-23.1-18.1.noarch emacs-auctex-11.85-94.3.1.noarch emacs-x11-23.1-18.1.x86_64 emacs-23.1-18.1.x86_64
rpm -qa | grep ghostscript ghostscript-x11-8.70-15.1.1.x86_64 ghostscript-fonts-std-8.70-15.1.1.x86_64 ghostscript-library-8.70-15.1.1.x86_64 ghostscript-fonts-other-8.70-15.1.1.x86_64
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c68 --- Comment #68 from Dieter Jurzitza <dieter.jurzitza@t-online.de> 2011-01-30 09:17:32 UTC --- Hi Christian, I cannot catch up with this, nor can I reproduce it. I am using the same ghostscript and the more recent emacs, but this should not be the issue. I find one single failure here on my system when playing around: When creating the demo file as you described (#59). And there are no test.pdf, test.aux, test.log, no region something or prv something files hanging around, just everything from scratch. Then I enter emacs and say "preview-buffer" I get an error I cannot recover from. preview-latex is in an strange state. The only way to get "back on track" is to restart emacs (or restart preview I guess if I knew how to do this). However, if I start emacs with the file and start preview not via the preview-buffer command form within the mini-buffer but via the pull down menu everything works as expected. Always, reproducible. Characteristically I am asked whether I would like to Cache the preamble, if this question arises, things seem to work. Nevertheless, the error messages I get -_if_ I get one - differs from the one you get. Can you confirm that preview does not work independently how you try to trigger it? Are you asked for caching the preamble? Take care Dieter -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c69 --- Comment #69 from Christian Herenz <herenz9@netscape.net> 2011-01-30 14:59:33 UTC --- Preview does in my case not work If i trigger it from the menu nor with the preview-buffer command. I always get asked the question if I want to cache the preamble (when I envoke the preview from the menu, as a window otherwise in the minibuffer). It does not depend wether I start from "scratch" (i.e. no region etc. files) or if I already tried a preview before. I also looked through the files in the folder where I have the test.tex, strangely enough the _region_.pdf got generated well and contains the equation. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c70 --- Comment #70 from Dr. Werner Fink <werner@novell.com> 2011-04-04 14:45:57 UTC --- Any news? As already mentioned I'm not able to reproduce. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c71 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|herenz9@netscape.net | Resolution| |NORESPONSE --- Comment #71 from Dr. Werner Fink <werner@novell.com> 2011-04-12 13:16:13 UTC --- no response :(( -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623719 https://bugzilla.novell.com/show_bug.cgi?id=623719#c72 --- Comment #72 from Christian Herenz <cherenz@aip.de> 2012-05-15 16:59:41 UTC --- I do not suffer under this bug anymore, since our machines were upgraded to openSUSE 11.4. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com