GNU bug report logs - #14605
Problem with export an .org file to .pdf does not open pdf file

Previous Next

Packages: emacs, org-mode;

Reported by: Petr Hracek <phracek <at> redhat.com>

Date: Thu, 13 Jun 2013 13:30:03 UTC

Severity: normal

Done: Bastien <bzg <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #19 received at 14605 <at> debbugs.gnu.org (full text, mbox):

From: Carsten Dominik <carsten.dominik <at> gmail.com>
To: Petr Hracek <phracek <at> redhat.com>
Cc: 14605 <at> debbugs.gnu.org
Subject: Re: [O] bug#14605: Problem with export an .org file to .pdf does not
 open pdf file
Date: Mon, 2 Sep 2013 07:35:40 +0200
On 13.8.2013, at 15:14, Petr Hracek <phracek <at> redhat.com> wrote:

> Hi,
> 
> I have browsed the lisp code of org.el
> where  is mentioned:
> "External applications for opening `file:path' items in a document.
> Org-mode uses system defaults for different file types, but
> you can use this variable to set the application for a given file
> extension.  The entries in this list are cons cells where the car identifies
> files and the cdr the corresponding command.  Possible values for the
> file identifier are
> \"string\"    A string as a file identifier can be interpreted in different
>               ways, depending on its contents:
> 
>               - Alphanumeric characters only:
>                 Match links with this file extension.
>                 Example: (\"pdf\" . \"evince %s\")
>                          to open PDFs with evince.
> 
> What does it mean system defaults?
> What command is used for getting default programs?
> xdg-mine or another?
> Thank you in advance

Hi Petr,

these defaults come from

`org-file-apps-defaults-macosx'
`org-file-apps-defaults-windowsnt'
`org-file-apps-defaults-gnu'

They are basically the "open" commands for MacOS X and Windows, and mailcap for Unix/Linux.

Hope this helps

- Carsten

> 
> greetings
> Petr
> 
> On 06/25/2013 01:07 PM, Petr Hracek wrote:
>> On 06/13/2013 03:28 PM, Petr Hracek wrote:
>>> Hi folks,
>>> 
>>> I would like to export some .org file into .pdf file.
>>> This should also open PDF after export is done but it does not.
>>> 
>>> This is done by command C-c C-e d.
>>> In some case emacs freezes.
>>> 
>>> Could you please help me?
>>> 
>> Hi
>> 
>> I have find out that if file org/org.el where are defined variables like org-file-apps
>> is mentioned
>> ("\\.pdf\\'" . default)
>> 
>> When I changed them to e.g xpdf then pdf file is openned properly.
>> 
> 
> 
> -- 
> Best regards / S pozdravem
> Petr Hracek
> 
> 
> 
> 





This bug report was last modified 11 years and 264 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.