From mboxrd@z Thu Jan 1 00:00:00 1970 From: Myles English Subject: Re: [odt] regression in using an equation sourced via latex_header Date: Wed, 02 Nov 2011 21:38:42 +0000 Message-ID: <874nymryql.fsf@gmail.com> References: <871utr7rj3.fsf@gmail.com> <81hb2n64lz.fsf@gmail.com> <81d3db64em.fsf@gmail.com> Reply-To: emacs-orgmode Mode Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:60686) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLiUK-0005Qq-CY for emacs-orgmode@gnu.org; Wed, 02 Nov 2011 17:36:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RLiUI-0003iy-W2 for emacs-orgmode@gnu.org; Wed, 02 Nov 2011 17:36:48 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:53792) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLiUI-0003ih-QY for emacs-orgmode@gnu.org; Wed, 02 Nov 2011 17:36:46 -0400 Received: by wyg24 with SMTP id 24so773976wyg.0 for ; Wed, 02 Nov 2011 14:36:46 -0700 (PDT) In-Reply-To: <81d3db64em.fsf@gmail.com> (Jambunathan K.'s message of "Wed, 02 Nov 2011 00:44:57 +0530") 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: emacs-orgmode >> On Wed, 02 Nov 2011 00:44:57 +0530, Jambunathan K said: >> 2. mathml - You need to register your command file with -ncf >> argument. >> >> For example, if I put the mystyle.tex in the same directory as >> exported .org file and add the -ncf argument to the converter as >> below >> >> #+begin_src emacs-lisp (setq org-latex-to-mathml-convert-command >> "java -jar %j -ncf mystyle.tex -unicode -force -df %o %I ") >> #+end_src >> > ncf option is documented here: > http://www.mathtoweb.com/cgi-bin/mathtoweb_users_guide.pl#Using_newcommand_and_renewcommand I have narrowed the problem I am having down to newcommands that build on other newcommands, like so ... If I have this in my style file: \newcommand{\pressure}{p} \newcommand{\capillaryPressure}{\pressure_{c}} and try to use it like this: #+LABEL: Equation:cp \begin{equation} \capillaryPressure=0 \end{equation} then I get this xml: \pressur e c = 0 when what I expected was P_c . Any ideas? Myes