Aloha Joseph, Joseph Vidal-Rosset <joseph.vidal.ros...@gmail.com> writes:
> With numbered equation, I do not succeed to get a code working both for > LateX export AND html export . > > For example this code: > > #+BEGIN_LaTeX > \begin{equation} > \label{eq:2} > A \to \neg B > \end{equation} > #+END_LaTeX > > works fine in org-mode : latex syntax is highleted and the export to pdf > works. But it does not work with html export: the formula does not appear. > Your code is targeted to the LaTeX back-end and should be ignored by other back-ends (as you've discovered). Something like this might do what you want: #+NAME: eq:2 #+BEGIN_EQUATION A \to \neg B #+END_EQUATION See Section 11.8 of the manual, Special Blocks. hth, Tom -- Thomas S. Dye http://www.tsdye.com