zwz <zhangwe...@gmail.com> writes:

> Bernt Hansen <be...@norang.ca> writes:
>
>> zwz <zhangwe...@gmail.com> writes:
>>
>> The following test file works fine for me as far as I can tell
>>
>> ,----[ x.org ]

<snip>

>> | #+OPTIONS:   H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t

<snip>

>>
>> [*1*]  http://www.norang.ca/tmp/x.html
>> [*2*]  http://www.norang.ca/tmp/x.pdf
>
> Wow, so many options I have not used before ...
>
> I copied the text, but the exported HTML and PDF looks the same as the
> formula in ORG. Then I found it was because in my .emacs, there is
>
> (setq org-export-with-sub-superscripts nil)
>
> After I comment this, it works.
>
> But in this way, I have to pay special attention to sub- and super-
> scripts.

The #+OPTIONS: line with ^:t or ^:nil controls whether _ and ^ create
subscripts and superscripts.  I set this per org file to control that
option for export.

-Bernt


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to