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
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
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
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
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
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