From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fanpeng Kong Subject: Capture abort: (user-error Can't preview LaTeX fragment in a non-file buffer) Date: Wed, 30 Sep 2015 17:22:46 +1000 Message-ID: <951D22A3-00DD-4095-9D74-D76F33040845@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_D9B9F1F2-4CED-4079-8098-A42269F4FAF3" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhBj7-0003jL-JJ for emacs-orgmode@gnu.org; Wed, 30 Sep 2015 03:22:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZhBj4-0008OI-Ds for emacs-orgmode@gnu.org; Wed, 30 Sep 2015 03:22:57 -0400 Received: from mail-pa0-x232.google.com ([2607:f8b0:400e:c03::232]:32860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhBj4-0008OD-54 for emacs-orgmode@gnu.org; Wed, 30 Sep 2015 03:22:54 -0400 Received: by pacex6 with SMTP id ex6so32092977pac.0 for ; Wed, 30 Sep 2015 00:22:53 -0700 (PDT) Received: from jupiter.ad.adfa.edu.au ([131.236.232.254]) by smtp.gmail.com with ESMTPSA id d13sm29586108pbu.17.2015.09.30.00.22.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 30 Sep 2015 00:22:52 -0700 (PDT) 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 --Apple-Mail=_D9B9F1F2-4CED-4079-8098-A42269F4FAF3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi all, I tried to setup my org-mode according to Bernt Hansen = =E2=80=99s = wonderful documentation: http://doc.norang.ca/org-mode.html#Capture = But later I found I got problem with Org Capture as in Section 6. when I = typed C-c c, an error message "Capture abort: (user-error Can't preview = LaTeX fragment in a non-file buffer)=E2=80=9D occured. After lots of = search on the web I still can not solve it. I am wondering is there = anyone can help me out? Thanks in advance! Things I have tried: 1. Test Latex preview in org file: = http://orgmode.org/worg/org-tutorials/org-latex-preview.html = Both =E2=80=9Cdvipng=E2=80=9D and =E2=80=9Cimagemagick=E2=80=9D = setup methods work fine, I can preview Latex formula in .org file. 2. Use the method described here: = http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=3D168c5584f5a41c4c0890= f4caa89fc11cff021c4e = I replace my =E2=80=9Corg-mode=E2=80=9D package with the one in = the link which is supposed to solve the problem, however, I still got = the same error message. Versions of some packages I am using: 1. Emacs: GNU Emacs 24.4.1 (x86_64-apple-darwin13.4.0, NS = apple-appkit-1265.21) of 2014-10-21 on builder10-9.porkrind.org = 2. AucTeX: 11.88.8 3. org-mode: Org-mode version 8.3.1 (8.3.1-146-gfd8a18-elpa @ = /Users/xiaok/.emacs.d/elpa/org-20150928/)=09 Cheers, Fanpeng --Apple-Mail=_D9B9F1F2-4CED-4079-8098-A42269F4FAF3 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi all,

I = tried to setup my org-mode according to Bernt Hansen=E2=80=99= s wonderful documentation:


But later I found I got = problem with Org Capture as in Section 6. when I typed C-c c, an error = message "Capture abort: (user-error Can't preview LaTeX fragment in a = non-file buffer)=E2=80=9D occured. After lots of search on the web I = still can not solve it. I am wondering is there anyone can help me out? = Thanks in advance!

Things I have tried:

2. Use the method described here: http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=3D168c5584f= 5a41c4c0890f4caa89fc11cff021c4e
I replace = my =E2=80=9Corg-mode=E2=80=9D package with the one in the link which is = supposed to solve the problem, however, I still got the same error = message.

Versions of some packages I am using:
1. = Emacs: GNU Emacs 24.4.1 (x86_64-apple-darwin13.4.0, NS = apple-appkit-1265.21) of 2014-10-21 on builder10-9.porkrind.org
2. AucTeX: = 11.88.8
3. org-mode: Org-mode version 8.3.1 = (8.3.1-146-gfd8a18-elpa @ /Users/xiaok/.emacs.d/elpa/org-20150928/)

Cheers,
Fanpeng








= --Apple-Mail=_D9B9F1F2-4CED-4079-8098-A42269F4FAF3--