From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Stanton Subject: Problem exporting to PDF (and viewing) Date: Fri, 11 May 2012 16:52:26 -0700 Message-ID: <40C7B1BFC291ED4E9D10436D07736A33470478B2DD@EXMAIL7.haas.uc.berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43699) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSzdq-0004tw-2r for emacs-orgmode@gnu.org; Fri, 11 May 2012 19:52:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SSzdm-00024o-Vn for emacs-orgmode@gnu.org; Fri, 11 May 2012 19:52:57 -0400 Received: from gateway-a.haas.berkeley.edu ([128.32.222.29]:15186) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSzdm-00024U-Pp for emacs-orgmode@gnu.org; Fri, 11 May 2012 19:52:54 -0400 Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" Using Org-mode version 7.8.09 (release_7.8.09-553-g5750f0) (and earlier ver= sions) I've encountered a problem on my Windows machine when I try to expor= t 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/sumatrapd= f/sumatrapdf.exe %s") =20 (add-to-list 'org-file-apps '("\\.pdf\\'" . "c:/progra~1/sumatrapd= f/sumatrapdf.exe %s") t)))) ) This results in: =20 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 O= K, 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.