emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Uriel Avalos <amscopub-mail@yahoo.com>
To: emacs-orgmode@gnu.org
Subject: Re: Export literally but convert math equations?
Date: Fri, 28 May 2010 12:10:18 -0400	[thread overview]
Message-ID: <20100528121018.12addad7@math.localdomain> (raw)
In-Reply-To: <8DC32978-7194-49AA-BEF7-987E13D60EFF@gmail.com>

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.dominik@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

      reply	other threads:[~2010-05-28 16:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-28 15:32 Export literally but convert math equations? Uriel Avalos
2010-05-28 15:36 ` Carsten Dominik
2010-05-28 16:10   ` Uriel Avalos [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100528121018.12addad7@math.localdomain \
    --to=amscopub-mail@yahoo.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).