emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Chapter headings
@ 2014-03-28 20:08 Steven Arntson
  2014-03-28 20:35 ` Nick Dokos
  2014-03-28 20:41 ` Scott Randby
  0 siblings, 2 replies; 8+ messages in thread
From: Steven Arntson @ 2014-03-28 20:08 UTC (permalink / raw)
  To: emacs-orgmode

Hello, I'm a beginning org-mode user.

I'm writing a book with many chapters, each chapter as a top-level
header (*). Is there a way to assign chapter numbers automatically, such
that I might get a result along the lines of:

* 1. This is a chapter containing thousands of words.

* 2. This is the next chapter, with many words.

* 3. And so on.

Thank you!
steven arntson

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Chapter headings
  2014-03-28 20:08 Chapter headings Steven Arntson
@ 2014-03-28 20:35 ` Nick Dokos
  2014-03-28 20:49   ` Steven Arntson
  2014-03-31  8:06   ` Sebastien Vauban
  2014-03-28 20:41 ` Scott Randby
  1 sibling, 2 replies; 8+ messages in thread
From: Nick Dokos @ 2014-03-28 20:35 UTC (permalink / raw)
  To: emacs-orgmode

Steven Arntson <steven@stevenarntson.com> writes:

> Hello, I'm a beginning org-mode user.
>
> I'm writing a book with many chapters, each chapter as a top-level
> header (*). Is there a way to assign chapter numbers automatically, such
> that I might get a result along the lines of:
>
> * 1. This is a chapter containing thousands of words.
>
> * 2. This is the next chapter, with many words.
>
> * 3. And so on.
>

There are probably many ways to do that, but I want to invert the
question: *why* do you want chapter numbers in your org file?
I would argue that they are a bad idea in the vast majority of cases.

Nick

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Chapter headings
  2014-03-28 20:08 Chapter headings Steven Arntson
  2014-03-28 20:35 ` Nick Dokos
@ 2014-03-28 20:41 ` Scott Randby
  1 sibling, 0 replies; 8+ messages in thread
From: Scott Randby @ 2014-03-28 20:41 UTC (permalink / raw)
  To: emacs-orgmode

On 03/28/2014 04:08 PM, Steven Arntson wrote:
> Hello, I'm a beginning org-mode user.
>
> I'm writing a book with many chapters, each chapter as a top-level
> header (*). Is there a way to assign chapter numbers automatically, such
> that I might get a result along the lines of:
>
> * 1. This is a chapter containing thousands of words.
>
> * 2. This is the next chapter, with many words.
>
> * 3. And so on.
>
> Thank you!
> steven arntson
>
>
>

Chapter numbers are automatically assigned when you export to LaTeX
unless you turn off numbering. You can also control numbering with the
following code.

#+OPTIONS: num:t

#+OPTIONS: num:nil

The first line turns on numbering of exported headlines, and the second
line turns off numbering of exported headlines. You can then eliminate
the numbers in the headlines of your org file.

See the following link for more information about export options.

http://orgmode.org/manual/Export-settings.html

Scott Randby

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Chapter headings
  2014-03-28 20:35 ` Nick Dokos
@ 2014-03-28 20:49   ` Steven Arntson
  2014-03-29  1:52     ` Alan Tyree
  2014-03-31  8:06   ` Sebastien Vauban
  1 sibling, 1 reply; 8+ messages in thread
From: Steven Arntson @ 2014-03-28 20:49 UTC (permalink / raw)
  To: emacs-orgmode

Nick Dokos <ndokos@gmail.com> writes:

> There are probably many ways to do that, but I want to invert the
> question: *why* do you want chapter numbers in your org file?
> I would argue that they are a bad idea in the vast majority of cases.
>
> Nick

I'm just accustomed to seeing them in my working drafts. Perhaps it is I
who needs to change, rather than my unnumbered chapters! Something I
haven't explored yet with org-mode is exporting to LaTeX, but it sounds
like these numbers can be made to appear after export. I'm not yet a
LaTeX user, so I may wait to explore that until I get to it.

Best!
steven

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Chapter headings
  2014-03-28 20:49   ` Steven Arntson
@ 2014-03-29  1:52     ` Alan Tyree
  2014-03-29  2:18       ` Steven Arntson
  0 siblings, 1 reply; 8+ messages in thread
From: Alan Tyree @ 2014-03-29  1:52 UTC (permalink / raw)
  To: Steven Arntson; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1292 bytes --]

Unless you have the structure of your book set in stone, numbers just get
in your way. The great power of org is being able to write 'modularly' and
rearrange at will.

When you export, your chapter/section numbers will be right as well as all
cross references.

I think you'll be happier to ignore numbered headings when writing. I've
just moved to org for a 600+ page book -- Magic (and even more magic once
the whole bibliographic reference problem is solved).

Cheers,
Alan


On 29 March 2014 07:49, Steven Arntson <steven@stevenarntson.com> wrote:

> Nick Dokos <ndokos@gmail.com> writes:
>
> > There are probably many ways to do that, but I want to invert the
> > question: *why* do you want chapter numbers in your org file?
> > I would argue that they are a bad idea in the vast majority of cases.
> >
> > Nick
>
> I'm just accustomed to seeing them in my working drafts. Perhaps it is I
> who needs to change, rather than my unnumbered chapters! Something I
> haven't explored yet with org-mode is exporting to LaTeX, but it sounds
> like these numbers can be made to appear after export. I'm not yet a
> LaTeX user, so I may wait to explore that until I get to it.
>
> Best!
> steven
>
>
>
>


-- 
Alan L Tyree                    http://www2.austlii.edu.au/~alan
Tel:  04 2748 6206

[-- Attachment #2: Type: text/html, Size: 1987 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Chapter headings
  2014-03-29  1:52     ` Alan Tyree
@ 2014-03-29  2:18       ` Steven Arntson
  2014-03-29 13:30         ` Scott Randby
  0 siblings, 1 reply; 8+ messages in thread
From: Steven Arntson @ 2014-03-29  2:18 UTC (permalink / raw)
  To: emacs-orgmode

Back in my mac-user days I used a program called "Scrivener" that would
renumber chapters on the fly if I dragged them to new positions. I think
I was missing that functionality a little, but now that I think about
it, I shouldn't miss it. It didn't add anything. My next project will be
to learn more about exporting. I'm sure I will have questions as I
encounter that ...

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Chapter headings
  2014-03-29  2:18       ` Steven Arntson
@ 2014-03-29 13:30         ` Scott Randby
  0 siblings, 0 replies; 8+ messages in thread
From: Scott Randby @ 2014-03-29 13:30 UTC (permalink / raw)
  To: emacs-orgmode

On 03/28/2014 10:18 PM, Steven Arntson wrote:
> Back in my mac-user days I used a program called "Scrivener" that would
> renumber chapters on the fly if I dragged them to new positions. I think
> I was missing that functionality a little, but now that I think about
> it, I shouldn't miss it. It didn't add anything. My next project will be
> to learn more about exporting. I'm sure I will have questions as I
> encounter that ...
>

One of the wonderful features of Org is the ability to rearrange
headlines easily without worrying about numbering. You can switch
headlines around at will and Org takes care of all the numbering when
you export.

Scott Randby

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Chapter headings
  2014-03-28 20:35 ` Nick Dokos
  2014-03-28 20:49   ` Steven Arntson
@ 2014-03-31  8:06   ` Sebastien Vauban
  1 sibling, 0 replies; 8+ messages in thread
From: Sebastien Vauban @ 2014-03-31  8:06 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Nick Dokos wrote:
> Steven Arntson <steven-9v/4WlS9d01uOnY4IQmrIgC/G2K4zDHf@public.gmane.org> writes:
>
>> Hello, I'm a beginning org-mode user.
>>
>> I'm writing a book with many chapters, each chapter as a top-level
>> header (*). Is there a way to assign chapter numbers automatically, such
>> that I might get a result along the lines of:
>>
>> * 1. This is a chapter containing thousands of words.
>>
>> * 2. This is the next chapter, with many words.
>>
>> * 3. And so on.
>
> There are probably many ways to do that, but I want to invert the
> question: *why* do you want chapter numbers in your org file?
> I would argue that they are a bad idea in the vast majority of cases.

Numbers can be nice be particularly nice when having some colleague (or
boss) on the phone asking you to fix the typo on the second paragraph of
page 12. When you tell them you don't see page numbers, they give you
the section number... and you've to ask for the title, not its number.

This is to say that numbers could be a positive feedback for the writer,
but they certainly would have to be overlays on the Org headings, not
saved with the file.

Best regards,
  Seb

-- 
Sebastien Vauban

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-03-31  8:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-28 20:08 Chapter headings Steven Arntson
2014-03-28 20:35 ` Nick Dokos
2014-03-28 20:49   ` Steven Arntson
2014-03-29  1:52     ` Alan Tyree
2014-03-29  2:18       ` Steven Arntson
2014-03-29 13:30         ` Scott Randby
2014-03-31  8:06   ` Sebastien Vauban
2014-03-28 20:41 ` Scott Randby

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).