emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tsd@tsdye.com (Thomas S. Dye)
To: Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com>
Cc: emacs-orgmode list <emacs-orgmode@gnu.org>
Subject: Re: latex equation and html export
Date: Mon, 30 Dec 2013 08:53:06 -1000	[thread overview]
Message-ID: <m1ha9q2mst.fsf@tsdye.com> (raw)
In-Reply-To: <CAD-VTcGe=YykXM2bvjiTStPzbrhdH0nrNB9bj18EdmvjCDBwsQ@mail.gmail.com> (Joseph Vidal-Rosset's message of "Mon, 30 Dec 2013 19:03:46 +0100")

Aloha Joseph,

Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes:

> Unfortunately, this code does not give a good translation in latex , here
> is the result in the tex file:
>
> \begin{equation}
> \label{eq:2}
> A [image: \to] [image: \neg{}] B
> \end{equation}

I get this LaTeX, which works as expected:

\begin{equation}
\label{eq:2}
A \(\to\) \(\neg{}\) B
\end{equation}
% Emacs 24.3.1 (Org mode 8.2.4)

Also, IIUC the Org mode manual at section 11.8, the HTML back-end wraps
its contents within a `<div name="equation">' tag (although I get <div
class="equation">). I don't work with HTML export much, but I believe
this is what you need to format the output with a style sheet.

hth,
Tom

-- 
T.S. Dye & Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com

  reply	other threads:[~2013-12-30 18:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-30 12:52 latex equation and html export Joseph Vidal-Rosset
2013-12-30 16:25 ` Thomas S. Dye
2013-12-30 18:03   ` Joseph Vidal-Rosset
2013-12-30 18:53     ` Thomas S. Dye [this message]
2013-12-30 20:10       ` Joseph Vidal-Rosset
2013-12-30 21:30         ` Thomas S. Dye
2014-01-01  6:28         ` Nick Dokos
2014-01-01  9:11           ` Joseph Vidal-Rosset
2014-01-01  9:28           ` Achim Gratz
2014-01-01 15:42             ` Nick Dokos

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=m1ha9q2mst.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=joseph.vidal.rosset@gmail.com \
    /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).