From mboxrd@z Thu Jan 1 00:00:00 1970 From: Amos Bird Subject: Re: What is the best way to show inline math formulas in org mode? Date: Mon, 18 Sep 2017 20:51:13 +0800 Message-ID: <87y3pc891a.fsf@gmail.com> References: <87zi9s8nuw.fsf@gmail.com> <87lglc89ic.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dtvWB-0000Uc-NH for emacs-orgmode@gnu.org; Mon, 18 Sep 2017 08:51:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dtvWA-000880-4q for emacs-orgmode@gnu.org; Mon, 18 Sep 2017 08:51:19 -0400 Received: from mail-pg0-x230.google.com ([2607:f8b0:400e:c05::230]:43042) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dtvW9-00087Y-V7 for emacs-orgmode@gnu.org; Mon, 18 Sep 2017 08:51:18 -0400 Received: by mail-pg0-x230.google.com with SMTP id u18so54788pgo.0 for ; Mon, 18 Sep 2017 05:51:17 -0700 (PDT) In-reply-to: <87lglc89ic.fsf@nicolasgoaziou.fr> 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" To: Nicolas Goaziou Cc: Org Mode Mailing List --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit #+OPTIONS: latex:t toc:nil H:3 Thanks Nicolas. That's cool. But I couldn't get it working. I tried this simple equation #+BEGIN_EXAMPLE \begin{equation} x=\sqrt{b} \end{equation} #+END_EXAMPLE and got #+BEGIN_EXAMPLE if: File "/tmp/orgtex24112xzL.dvi" wasn’t produced. Please adjust ‘dvipng’ part of ‘org-preview-latex-process-alist’. #+END_EXAMPLE regards, Nicolas Goaziou writes: > Hello, > > Amos Bird writes: > >> I found that there are ways to write formulas in mathjax or latex in org-mode. But how can I view >> them inlinely? Currently I just copy and paste formula images which >> seems not the right way. > > See `org-toggle-latex-fragment' (C-c C-x C-l). > > Regards, -- Amos Bird amosbird@gmail.com --=-=-= Content-Type: multipart/related; boundary="==-=-=" --==-=-= Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Thanks Nicolas. That's cool. But I couldn't get it working.

I tried this simple equation

\begin{equation}
x=\sqrt{b}
\end{equation}

and got

if: File "/tmp/orgtex24112xzL.dvi" wasn’t produced.  Please adjust ‘dvipng’ part of ‘org-preview-latex-process-alist’.

regards,

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Amos Bird <amosbird@gmail.com> writes:
>
>> I found that there are ways to write formulas in mathjax or latex in org-mode. But how can I view
>> them inlinely? Currently I just copy and paste formula images which
>> seems not the right way.
>
> See `org-toggle-latex-fragment' (C-c C-x C-l).
>
> Regards,


Amos Bird
amosbird@gmail.com

--==-=-=-- --=-=-=--