bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21591: 2015-09-13; preview latex fails for beamer document with incl


From: Tassilo Horn
Subject: bug#21591: 2015-09-13; preview latex fails for beamer document with included jpg graphics
Date: Fri, 02 Oct 2015 13:16:11 +0200
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)

Uwe Brauer <address@hidden> writes:

>    > Uwe Brauer <address@hidden> writes:
>
>    > All I can say is that it works for me.  A small version of the
>    > screenshot is displayed right below the \includegraphics line.  And what
>    > does "fail" mean concretely?
>
> Sorry, forgot to attach the error trace :'(

Ah, thanks.

> Debugger entered--Lisp error: (file-error "Opening input file" "No such file 
> or
> directory" "/home/oub/ALLES/tex/sty/new.prv/tmp20157yue/preview.dsc")
>   signal(file-error ("Opening input file" "No such file or directory"
> "/home/oub/ALLES/tex/sty/new.prv/tmp20157yue/preview.dsc"))
>   preview-reraise-error(#<process Preview-PDF2DSC>)
>   preview-pdf2dsc-sentinel(#<process Preview-PDF2DSC> "Preview-PDF2DSC" t)
>   (lambda (process command) (preview-pdf2dsc-sentinel process command
> t))(#<process Preview-PDF2DSC> "Preview-PDF2DSC")
>   TeX-command-sentinel(#<process Preview-PDF2DSC> "exited abnormally with 
> code 1\n")

Ok, so pdf2dsc failed for whatever reason.  A first step would be to try
running pdf2dsc against the PDF file on the command line and see if that
works.

Also in your other mail I have seen that you are using a very ancient
TeXLive version, i.e., 2009 where 2015 is current.  Do you have a chance
to try out if upgrading solves the issue?

>    > Please be more specific, and include a recipe for reproducing the
>    > bug starting with emacs -Q.
>
> That will not work for me this then auctex is not loaded.

Hehe, of course starting with emacs -Q -l auctex-init.el where
auctex-init.el is something like

--8<---------------cut here---------------start------------->8---
(setq TeX-data-directory "~/path/to/auctex"
      TeX-lisp-directory TeX-data-directory)

(load "~/path/to/auctex/auctex.el" nil t t)
(load "~/path/to/auctex/preview-latex.el" nil t t)
(setq TeX-parse-self t)
(setq TeX-auto-save t)
--8<---------------cut here---------------end--------------->8---

for the Git version or

--8<---------------cut here---------------start------------->8---
(setq package-load-list '((auctex t)))
(package-initialize)
(setq TeX-parse-self t)
(setq TeX-auto-save t)
--8<---------------cut here---------------end--------------->8---

for the ELPA package is also fine.

> I will try wit my custom setting disabled, which usually is usually
> the culprit, given that it works for you.

Given your backtrace, I suspect it's a problem with pdf2dsc which is
just a script that calls GhostScript.

Bye,
Tassilo





reply via email to

[Prev in Thread] Current Thread [Next in Thread]