emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tim Cross <theophilusx@gmail.com>
To: alain.cochard@unistra.fr
Cc: emacs-orgmode@gnu.org, Robert Klein <roklein@roklein.de>
Subject: Re: Suspected bug with LaTeX export: the pdf does not open
Date: Sun, 19 Aug 2018 12:31:57 +1000	[thread overview]
Message-ID: <87h8jr5boi.fsf@gmail.com> (raw)
In-Reply-To: <23416.35007.231189.876742@frac.u-strasbg.fr>


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

Alain.Cochard@unistra.fr 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	other threads:[~2018-08-19  2:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-18  4:52 Suspected bug with LaTeX export: the pdf does not open Alain.Cochard
2018-08-18 19:34 ` Robert Klein
2018-08-18 20:59   ` Alain.Cochard
2018-08-19  2:31     ` Tim Cross [this message]
2018-08-19  4:21       ` Alain.Cochard
2018-09-23  8:41         ` Alain.Cochard
2018-09-24  3:37           ` Alain.Cochard
2018-08-20 15:50     ` Nick Dokos
2018-08-20 16:27       ` Alain.Cochard
2018-08-20 16:59         ` Nick Dokos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h8jr5boi.fsf@gmail.com \
    --to=theophilusx@gmail.com \
    --cc=alain.cochard@unistra.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=roklein@roklein.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).