Re: [O] equation numbering in html and latex export

2011-06-18 Thread Samuel Sinayoko
Unfortunately this is not what jsMath expects. We get this in the html file (see attached files for full source) --- This is what we want $$ \label{eq:1} y = ax + b $$ This is what we get \label{eq:1} y = ax + b -- What we need to do is to replace \begin{equation} ... \end{equation} with

Re: [O] equation numbering in html and latex export

2011-06-18 Thread Samuel Sinayoko
Thanks Eric. I think you're right. It would make sense to use \begin{equation} \end{equation} with HTML export to number equations. I've put a minimal example below showing what is happening. -- #+TITLE: Equation numbering #+STYLE: * Numbered in HTML export / Not numbered in LaTeX Equation is nu

Re: [O] equation numbering in html and latex export

2011-06-16 Thread Darlan Cavalcante Moreira
Using the org-special-blocks library org-mode will recognize blocks in the form : #+begin_something : bla bla bla : #+end_something Then you could write : #+begin_equation : y=ax+b : #+end_equation in org-mode. It would be translated to : \begin{equation} : y=ax+b : \end{equation} in latex

Re: [O] equation numbering in html and latex export

2011-06-16 Thread Samuel Sinayoko
Thanks Eric. I think you're right. It would make sense to use \begin{equation} \end{equation} with HTML export to number equations. I've put a minimal example below showing what is happening. -- #+TITLE: Equation numbering #+STYLE: * Numbered in HTML export / Not numbered in LaTeX Equation is nu

Re: [O] equation numbering in html and latex export

2011-06-16 Thread Eric S Fraga
Samuel Sinayoko writes: > Dear list, > > I've been trying to write short scientific reports that I can export to > both LaTeX and HTML. So far I've managed to figure out how to include > equations, images, references, and how to include labels and cross > reference between all these things. > > T

[O] equation numbering in html and latex export

2011-06-14 Thread Samuel Sinayoko
Dear list, I've been trying to write short scientific reports that I can export to both LaTeX and HTML. So far I've managed to figure out how to include equations, images, references, and how to include labels and cross reference between all these things. The only problem I have is that I can't g