Re: [O] LaTeX Formulas and Publishing to HTML Error

2011-07-01 Thread Pierre de Buyl

Hello,

Did you try putting some text before the first formula ?
It is not recognized as latex (there is only one img included in the  
html).


Anyway, your version of org-mode may be outdated, it works fine on my  
computer (org-mode version 7.5).


http://orgmode.org/manual/Installation.html#Installation

will give you the steps required to install. On the mac, you need to  
give the full path the the emacs binary in the Makefile.
It should look similar to /Applications/Aquamacs.app/Contents/MacOS/ 
Emacs
Do not forget to set up the load path so that emacs will pick the new  
version of emacs.


Pierre

Le 30 juin 11 à 21:50, Colin Grey a écrit :


Hello,

I'm having a weird problem trying to write formulas using latex in  
org mode.  Here is a sample file with just two formulas:


#+TITLE: Title
#+OPTIONS: H:3 num:t toc:t
#+OPTIONS: author:nil timestamp:nil creator:nil
#+OPTIONS: ^:t skip:t LaTeX:t

$A$

$B$



When I export to HTML, the result is where 'A' should be is a link  
to 'file' and where 'B' should be is rendered 'A'.  The output HTML  
is below.  Any ideas?  (I'm using Aquamacs on OS X)





http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
http://www.w3.org/1999/xhtml";
lang="en" xml:lang="en">

Title










Title
file:













Re: [O] LaTeX Formulas and Publishing to HTML Error

2011-07-01 Thread Eric S Fraga
Colin Grey  writes:

> Hello,
>
> I'm having a weird problem trying to write formulas using latex in org
> mode.  Here is a sample file with just two formulas:
>
> #+TITLE: Title
> #+OPTIONS: H:3 num:t toc:t 
> #+OPTIONS: author:nil timestamp:nil creator:nil
> #+OPTIONS: ^:t skip:t LaTeX:t
>
> $A$
>
> $B$

This didn't work for me either.  Adding a top leaving heading, such
as:

--8<---cut here---start->8---
* Introduction
--8<---cut here---end--->8---

before the first equation at least made latex export work.  HTML export
still doesn't do what I believe you wanted, however, but this I know
less about...

HTH.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.5 (release_7.5.526.g311b0.dirty)