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

Tim Cross writes on Sun 19 Aug 2018 12:31:
 > 
 > 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?

When running the command 

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

from a standard linux terminal or a shell terminal within emacs (M-x
shell) the file is open with evince.  However nothing happens if doing
it from an eshell terminal (M-x eshell).

Also if I visit (C-x C-f) the file in emacs, it is displayed properly;
the modeline says '(DocView)'

If I add the line 

   (setq process-connection-type nil)

to my minimal .emacs, then, upon 'C-c C-e l o', the file does open,
although not within emacs -- but with evince.  So it does not fully
solve the problem, but it is already a rather decent workaround for
me.  Thanks a lot!

-- 
EOST (École et Observatoire des Sciences de la Terre) 
IPG (Institut de Physique du Globe) | alain.cochard@unistra.fr
5 rue René Descartes   [bureau 106] | Phone: +33 (0)3 68 85 50 44 
F-67084 Strasbourg Cedex, France    | Fax:   +33 (0)3 68 85 01 25     

  reply	other threads:[~2018-08-19  4:22 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
2018-08-19  4:21       ` Alain.Cochard [this message]
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=23416.61538.126781.355250@frac.u-strasbg.fr \
    --to=alain.cochard@unistra.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=roklein@roklein.de \
    --cc=theophilusx@gmail.com \
    /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).