emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Pierre de Buyl
Subject: Re: [O] LaTeX Formulas and Publishing to HTML Error
Date: Fri, 1 Jul 2011 09:46:38 +0200

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)



<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";
lang="en" xml:lang="en">
<head>
<title>Title</title>
<meta http-equiv="Content-Type" content="text/ html;charset=iso-8859-1"/>
<meta name="generator" content="Org-mode"/>
<meta name="generated" content="2011-06-30 20:46:43 BST"/>
<meta name="author" content="Grey"/>
<meta name="description" content=""/>
<meta name="keywords" content=""/>
</head>
<body>
<div id="content">
<h1 class="title">Title</h1>
<p><a href="#file:">file:</a>
</p>
<p>
<img src="ltxpng/ test.org_f7cded5a4adea768e121f84d85028c24f7cddf58.png"/>
</p><div id="postamble">
</div>
</div>
</body>
</html







reply via email to

[Prev in Thread] Current Thread [Next in Thread]