From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uriel Avalos Subject: Re: Export literally but convert math equations? Date: Fri, 28 May 2010 12:10:18 -0400 Message-ID: <20100528121018.12addad7@math.localdomain> References: <20100528113252.60d817fd@math.localdomain> <8DC32978-7194-49AA-BEF7-987E13D60EFF@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=49350 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OI2BQ-0005d4-PK for emacs-orgmode@gnu.org; Fri, 28 May 2010 12:13:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OI2BP-00031C-PE for emacs-orgmode@gnu.org; Fri, 28 May 2010 12:13:16 -0400 Received: from oproxy1-pub.bluehost.com ([66.147.249.253]:42866 helo=outbound-mail-359.bluehost.com) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OI2BP-000313-G3 for emacs-orgmode@gnu.org; Fri, 28 May 2010 12:13:15 -0400 Received: from [64.61.28.170] (helo=math.localdomain) by host300.hostmonster.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1OI28a-0003kd-Ej for emacs-orgmode@gnu.org; Fri, 28 May 2010 10:10:20 -0600 In-Reply-To: <8DC32978-7194-49AA-BEF7-987E13D60EFF@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org It would be nice to have that feature available as an option :-) Or is there a way to preserve whitespace in other blocks? I set the variable org-src-preserve-indentation for SRC blocks but that had no effect. I'm typing up an HTML doc with lots of (simple) math. However, I'm trying to avoid using latex as much as possible. I thus need a way to align equations (incidentally, whitespace is good enough). Why not use latex/tex? Because I work for a publisher that uses MathType. And unfortunately, the current version of MathType is buggy when it comes to converting latex/tex, so I need to minimize it's use. Thanks for the reply! --Uriel On Fri, 28 May 2010 17:36:00 +0200 Carsten Dominik wrote: > > On May 28, 2010, at 5:32 PM, Uriel Avalos wrote: > > > Is there a way to convert latex equations and math inside of EXAMPLE > > and HTML blocks? > > > Well, the whole idea of example blocks is to *not* do this. What is > the application for this? > > - Carsten > > > > > For example, I would like to the following equation to display as an > > equation in the HTML: > > > > #+BEGIN_EXAMPLE > > Hello world > > $2^2+\sqrt(2) = 2$ > > #+END_EXAMPLE > > > > The current behavior just gives me the literal example. I would use > > other blocks (like BLOCKQUOTE); except that I need to preserve the > > extra whitespace. > > > > Alternatively: is there a way to preserve whitespace in the HTML > > export?-- > > --Thanks! > > Uriel > > > > _______________________________________________ > > Emacs-orgmode mailing list > > Please use `Reply All' to send replies to the list. > > Emacs-orgmode@gnu.org > > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > - Carsten > > > -- --Thanks! Uriel