emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Pierre de Buyl <pdebuyl@ulb.ac.be>
To: Colin Grey <cgpgrey@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: LaTeX Formulas and Publishing to HTML Error
Date: Fri, 1 Jul 2011 09:46:38 +0200	[thread overview]
Message-ID: <3CAACA0A-B52F-4ECA-9A81-DC0C1AB106F6@ulb.ac.be> (raw)
In-Reply-To: <54CE44E6-F08F-4BE0-A8CA-8C7B267501E1@gmail.com>

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	other threads:[~2011-07-01  7:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-30 19:50 LaTeX Formulas and Publishing to HTML Error Colin Grey
2011-07-01  7:46 ` Pierre de Buyl [this message]
2011-07-01  8:01 ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3CAACA0A-B52F-4ECA-9A81-DC0C1AB106F6@ulb.ac.be \
    --to=pdebuyl@ulb.ac.be \
    --cc=cgpgrey@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).