emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: zwz <zhangweize@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: How do you use org for other formats
Date: Fri, 31 Jul 2009 21:55:06 -0400	[thread overview]
Message-ID: <87zlakjo1x.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <87prbg1oxx.fsf@gmail.com> (zwz's message of "Sat\, 01 Aug 2009 00\:13\:14 +0200")

zwz <zhangweize@gmail.com> writes:

> Bernt Hansen <bernt@norang.ca> writes:
>
>> zwz <zhangweize@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

      reply	other threads:[~2009-08-01  1:55 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-30 16:06 How do you use org for other formats zwz
2009-07-30 17:13 ` Bernt Hansen
2009-07-30 17:49   ` Brian van den Broek
2009-07-30 18:00     ` Bernt Hansen
2009-07-30 18:31       ` Nick Dokos
2009-07-30 18:43         ` Bernt Hansen
2009-07-31  0:59           ` Baoqiu Cui
2009-08-03  4:37     ` Carsten Dominik
2009-07-30 17:53   ` Nick Dokos
2009-07-30 18:02     ` Bernt Hansen
2009-08-03  4:37     ` Carsten Dominik
2009-07-31 22:13   ` zwz
2009-08-01  1:55     ` Bernt Hansen [this message]

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=87zlakjo1x.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=zhangweize@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).