From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Klein Subject: Re: Suspected bug with LaTeX export: the pdf does not open Date: Sat, 18 Aug 2018 21:34:52 +0200 Message-ID: <20180818213452.37a154c8@lt70.mpip-mainz.mpg.de> References: <23415.42499.834434.715352@frac.u-strasbg.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60836) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fr708-0006gD-EJ for emacs-orgmode@gnu.org; Sat, 18 Aug 2018 15:35:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fr705-0000x6-6P for emacs-orgmode@gnu.org; Sat, 18 Aug 2018 15:35:08 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:33661) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fr704-0000wP-Sy for emacs-orgmode@gnu.org; Sat, 18 Aug 2018 15:35:05 -0400 In-Reply-To: <23415.42499.834434.715352@frac.u-strasbg.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Alain.Cochard@unistra.fr Cc: emacs-orgmode@gnu.org Hi, On Sat, 18 Aug 2018 06:52:19 +0200 Alain.Cochard@unistra.fr wrote: > Hello. > > I read in the manual: > > 'C-c C-e l o' > Export as LaTeX file and convert it to PDF, then open the PDF > using the default viewer. > > I have the file ~/tmp/scr.org which contains only > > * head > blah > > and file ~/.emacs.debug which contains only > > (add-to-list 'load-path "/home/cochard/Org/Coch-git/org-mode/lisp") > (find-file "~/tmp/scr.org") > > I do: > > emacs -Q -l ~/.emacs.debug > > and then: > > C-c C-e l o > > The compilation is OK and the pdf file is created, but not open. > With 'M-x buffer-menu' one can see that the only buffers are: > > . scr.org 13 Org ~/tmp/scr.org > *scratch* 191 Lisp Interaction > %* *Messages* 367 Messages > %* *Org PDF LaTeX O... 4577 Compilation > > I have: > > Emacs : GNU Emacs 24.5.1 (x86_64-redhat-linux-gnu, GTK+ Version > 3.18.9) of 2016-04-11 on buildvm-25.phx2.fedoraproject.org Package: > Org mode version 9.1.13 (release_9.1.13-894-gf79545 @ > /home/cochard/Org/Coch-git/org-mode/lisp/) > > By contrast, with simply > > emacs -Q > > which corresponds to > > Emacs : GNU Emacs 24.5.1 (x86_64-redhat-linux-gnu, GTK+ Version > 3.18.9) of 2016-04-11 on buildvm-25.phx2.fedoraproject.org Package: > Org-mode version 8.2.10 (release_8.2.10 @ > /usr/share/emacs/24.5/lisp/org/) > > when visiting the scr.org file and typing 'C-c C-e l o', the frame > splits into 2 windows and the pdf appears in one of them, as I'd > expect. The buffers are > > . scr.org 13 Org ~/tmp/scr.org > % scr.pdf 50938 DocView ~/tmp/scr.pdf > *scratch* 191 Lisp Interaction > %* *Messages* 283 Messages > * *Org PDF LaTeX O... 4702 Fundamental > I tried to reproduce this, but can't. I tested org-mode master using Emacs 24.4, 24.5, 25.1, 25.2, 25.3, and 26.1, and the only difference I find is that in Emacs 24.x an external viewer (gv) is used instead of Emacs' DocView mode. Your Org version, master (which is three commits ahead of your version), maint, and the bundled versions (9.1.9 for Emacs 26.1, 8.2.10 for the others) behave the same. Do you have any information in the *Messages* buffer which might help? Best regards Robert