From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Frankel Subject: Re: Superscript and subscript in HTML? Date: Wed, 28 May 2014 08:50:20 -0400 Message-ID: References: <5385CCB5.7070604@pfdstudio.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WpdJN-0008P3-4E for emacs-orgmode@gnu.org; Wed, 28 May 2014 08:50:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WpdJG-00040d-W6 for emacs-orgmode@gnu.org; Wed, 28 May 2014 08:50:29 -0400 Received: from mail.rickster.com ([204.62.15.78]:38764) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WpdJG-0003yz-Hs for emacs-orgmode@gnu.org; Wed, 28 May 2014 08:50:22 -0400 In-Reply-To: <5385CCB5.7070604@pfdstudio.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Peter Davis Cc: emacs-orgmode@gnu.org On 2014-05-28 07:47, Peter Davis wrote: > Is there any markup which will let me get superscripts and subscripts > in HTML export? > > It would be great if the HTML exporter recognized ^{...} and _{...} so > the same markup would work for both LaTeX/PDF and for HTML. It does for me. I believe it always has. Are you sure your options are set correctly? Also, are you sure that the html source doesn't contain and tags that aren't being styled? Here's a example and the output #+BEGIN_SRC org ,#+OPTIONS: toc:nil ,* Super and subscript this is a super^{1} script. and a sub_{2} script. another super^3 and another sub_4 #+END_SRC and the results (C-c C-e C-b h H) #+BEGIN_EXAMPLE

Super and subscript

this is a super1 script. and a sub2 script.

another super3 and another sub4

#+END_EXAMPLE