From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: Re: Capture abort: (user-error Can't preview LaTeX fragment in a non-file buffer) Date: Sat, 3 Oct 2015 10:46:13 +0800 Message-ID: References: <951D22A3-00DD-4095-9D74-D76F33040845@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZiCpz-0005pw-Hk for emacs-orgmode@gnu.org; Fri, 02 Oct 2015 22:46:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZiCpy-0000OB-EH for emacs-orgmode@gnu.org; Fri, 02 Oct 2015 22:46:15 -0400 Received: from mail-oi0-x22c.google.com ([2607:f8b0:4003:c06::22c]:35568) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZiCpy-0000O2-8w for emacs-orgmode@gnu.org; Fri, 02 Oct 2015 22:46:14 -0400 Received: by oiww128 with SMTP id w128so67201922oiw.2 for ; Fri, 02 Oct 2015 19:46:13 -0700 (PDT) In-Reply-To: <951D22A3-00DD-4095-9D74-D76F33040845@gmail.com> 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: Fanpeng Kong Cc: org-mode mailing list On Wed, Sep 30, 2015 at 3:22 PM, Fanpeng Kong wrote: > Hi all, > > I tried to setup my org-mode according to Bernt Hansen=E2=80=99s wonderfu= l > 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 sear= ch on the > web I still can not solve it. I am wondering is there anyone can help me > out? Thanks in advance! Maybe you should type C-c C-c to finish the capture. > 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 met= hods 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=3D168c5584f5a41c4c089= 0f4caa89fc11cff021c4e > 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 > > > > > > > > --=20 Yours faithfully, Tian Qiu