From: Peter Davis <pfd@pfdstudio.com>
To: emacs-orgmode@gnu.org
Subject: Re: Getting "Chapter" before a heading number
Date: Fri, 30 Dec 2016 14:21:32 -0500 [thread overview]
Message-ID: <enheg0prznn.fsf@pfdstudio.com> (raw)
Peter Davis <pfd@pfdstudio.com> writes:
> I'm preparing a proposed table of contents for a book, and I'd like the HTML output to appear like:
>
> Chapter 1 Blah
> 1.1 blah
> 1.2 blah blah
> 1.3 blah blah blah
>
> Chapter 2 Blah Blah
> 2.1 blah
> 2.2 blah blah
>
> etc.
>
> Is there a way to get HTML output to do this? I'd like the "*" at the start of a line to denote a new chapter, and nested headings
> to go inside. I haven't been able to find anything like this.
It occurred to me that another way to get this effect might be with numbered lists:
#+BEGIN_SRC org
* Chapter 1 Blah
1. blah
2. blah blah
3. blah blah blah
* Chapter 2 Blah Blah
1. blah
2. blah blah
#+END_SRC
and so on. Is there any way to get numbered lists to use a "." notation, where the path to each list item is indicated by
.-separated numbers?
1
1.1
1.2
1.2.1
...
Thanks, and Happy New Year!
-pd
next reply other threads:[~2016-12-30 19:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-30 19:21 Peter Davis [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-12-29 19:54 Getting "Chapter" before a heading number Peter Davis
2016-12-29 22:26 ` Richard Lawrence
2016-12-29 22:41 ` Peter Davis
2016-12-31 14:23 ` Nicolas Goaziou
2016-12-31 14:40 ` Peter Davis
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=enheg0prznn.fsf@pfdstudio.com \
--to=pfd@pfdstudio.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.