emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Suspected bug with LaTeX export: the pdf does not open


From: Tim Cross
Subject: Re: [O] Suspected bug with LaTeX export: the pdf does not open
Date: Sun, 19 Aug 2018 12:31:57 +1000
User-agent: mu4e 0.9.18; emacs 26.1

Given the problem appears to only occur with older setups which are
using an external PDF viewer, he problem might be with the xdg settings
on the system. The line

   Running /usr/bin/xdg-open /home/cochard/tmp/scr.pdf...done

might be worth more investigation. What program is xdg using to open PDF
files? What happens if you try to run that viewer manually on the PDF
file?

Tim

address@hidden writes:

> Hi Robert, thanks much for your time.
>
> Robert Klein writes on Sat 18 Aug 2018 21:34:
>
>  > Do you have any information in the *Messages* buffer which might
>  > help?
>
> For the configuration that opens the pdf, that is:
>
>    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/)
>
> the *Messages* buffer contains:
>
>    For information about GNU Emacs and the GNU system, type C-h C-a.
>    Saving file /home/cochard/tmp/scr.tex...
>    Wrote /home/cochard/tmp/scr.tex
>    Processing LaTeX file ./scr.tex...
>    Process completed.
>    Type C-c C-c to toggle between editing or viewing the document.
>
> For the configuration that does not open the pdf:
>
>    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/)
>
> the *Messages* buffer contains:
>
>    For information about GNU Emacs and the GNU system, type C-h C-a.
>    Saving file /home/cochard/tmp/scr.tex...
>    Wrote /home/cochard/tmp/scr.tex
>    Processing LaTeX file scr.tex...
>    PDF file produced.
>    Running /usr/bin/xdg-open /home/cochard/tmp/scr.pdf...done
>
> This does not ring any bell for me, but maybe it will for you or
> someone else.
>
> In view of your results, I have now tried with emacs 26 and master:
>
>    Emacs : GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version
>    3.18.9) of 2018-05-30 Package: Org mode version 9.1.13
>    (release_9.1.13-894-gf79545 @
>    /home/cochard/Org/Coch-git/org-mode/lisp/)
>
> and the pdf does open as expected.  The *Messages* buffer contains
>
>    For information about GNU Emacs and the GNU system, type C-h C-a.
>    Saving file /home/cochard/tmp/scr.tex...
>    Wrote /home/cochard/tmp/scr.tex
>    Processing LaTeX file scr.tex...
>    PDF file produced.
>
> So I guess this suggests that there is a problem with my emacs 24.5.1,
> which is the default on my Fedora 23 distribution.  (NB: The emacs
> 26.1 used above is built from source and I can't make it fully work
> for regular use, i.e., with my normal .emacs.)
>
> Regards


--
Tim Cross



reply via email to

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