emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Problem exporting to PDF (and viewing)


From: Richard Stanton
Subject: [O] Problem exporting to PDF (and viewing)
Date: Fri, 11 May 2012 16:52:26 -0700

Using Org-mode version 7.8.09 (release_7.8.09-553-g5750f0) (and earlier 
versions) I've encountered a problem on my Windows machine when I try to export 
an Org file to LaTeX, then to Pdf, then viewing (using C-c C-e d).

In my init.el I have the lines

  (eval-after-load "org"
    '(progn
       (if (assoc "\\.pdf\\'" org-file-apps)
           (setcdr (assoc "\\.pdf\\'" org-file-apps) 
"c:/progra~1/sumatrapdf/sumatrapdf.exe  %s")         
         (add-to-list 'org-file-apps '("\\.pdf\\'" . 
"c:/progra~1/sumatrapdf/sumatrapdf.exe %s") t))))
)

This results in:
 
org-file-apps is a variable defined in `org.el'.
Its value is ((auto-mode . emacs)
 ("\\.mm\\'" . default)
 ("\\.x?html?\\'" . default)
 ("\\.pdf\\'" . "c:/progra~1/sumatrapdf/sumatrapdf.exe %s"))

When I try to export an org file by typing C-c C-e d, sumatrapdf opens up OK, 
but complains with an error like this:

Error loading c:\dropbox\org\c\:\dropbox\org\personal.pdf

Any idea why I get the repeated path? A similar constructions works fine on my 
Mac, so I'm not quite sure what's going wrong here.




reply via email to

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