emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jisang Yoo <jisang.yoo.ac+org@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: org-export-section-number-format does not work
Date: Mon, 8 Jul 2013 04:40:29 +0900	[thread overview]
Message-ID: <CADtzDwZfMrMLE=i+XWdh7T3rHxHxHifB=FFVvkcRwx-0ME4bTw@mail.gmail.com> (raw)

Org-mode version 8.0.5 (latest)



Test done with this command:

emacs -q --load ~/t/org-test-final.el



Contents of ~/t/org-test-final.el:

(setq package-load-list '((org t)
                          (org-plus-contrib t)))
(setq org-export-section-number-format '((("I" ".")) . "."))
(package-initialize)
(find-file "~/t/simple.org")



Contents of ~/t/simple.org:

* one
** two
*** three



In the test emacs session, press C-c C-e (org-export-dispatch) then
press h o to open the exported html in the browser. The section
numbers are shown as 1 and 1.1 and 1.1.1 when they should be, I guess,
I. and I.I. and I.I.I.

Same result with this too:

(setq package-load-list '((org t)))
(custom-set-variables
 '(org-export-section-number-format (quote ((("1" ".")) . "."))))
(package-initialize)
(find-file "~/t/simple.org")

C-h v cannot find the variable org-export-section-number-format but
M-x customize-group RET org-export-general RET shows its
documentation, after that C-h v shows it is defined in org-exp.el
which is a file bundled with Emacs, and is not part of the latest org
package.

             reply	other threads:[~2013-07-07 19:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-07 19:40 Jisang Yoo [this message]
2013-07-08  8:05 ` org-export-section-number-format does not work Bastien
2013-07-08  8:19   ` Jisang Yoo
2013-07-08  8:21     ` Bastien
2013-07-08 19:57       ` Jisang Yoo
2013-07-08 20:31         ` Bastien
2013-07-08 20:35         ` Nicolas Goaziou
2013-08-24  6:55           ` Jisang Yoo
2013-07-09  4:22         ` Nick Dokos
2013-07-09 11:15           ` Bastien

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='CADtzDwZfMrMLE=i+XWdh7T3rHxHxHifB=FFVvkcRwx-0ME4bTw@mail.gmail.com' \
    --to=jisang.yoo.ac+org@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).