[Orgmode] Export literally but convert math equations?
Is there a way to convert latex equations and math inside of EXAMPLE and HTML blocks? 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
Re: [Orgmode] Export literally but convert math equations?
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 ___ 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
Re: [Orgmode] Export literally but convert math equations?
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 carsten.domi...@gmail.com 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 ___ 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