emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Org equivalent to \chapter*
Date: Tue, 05 Aug 2014 22:28:21 -0400	[thread overview]
Message-ID: <87a97i5p2y.fsf@gmail.com> (raw)
In-Reply-To: 87lhr2v2vu.fsf@gmail.com

Thorsten Jolitz <tjolitz@gmail.com> writes:

> Alan L Tyree <alantyree@gmail.com> writes:
>
>> I'm sure this has been asked before, but I can't seem to find it. Is
>> there an org markup that produces a starred latex heading?
>>
>> In a book, for example, I want the Preface to be at chapter level, but
>> not included in the numbering. Same for HTML export, of course.
>
> ,----[ C-h v org-latex-classes RET ]
> | org-latex-classes is a variable defined in `ox-latex.el'.
> | Its value is shown below.
> | ...
> `----

How does org-latex-classes help with the OP's question?

AFAIK, org-latex-classes works together with :section-numbers
(org-export-with-section-numbers or #+OPTIONS: num: t|nil|N) to allow
the first N [fn:1] levels of headlines to be numbered while lower levels
are unnumbered. It does not allow selectively turning on/off numbers for
a given level: they are either all on or all off.

And it cannot possibly affect HTML export.

To the best of my knowledge, the answer to the OP's question is that it
cannot be done from org: you have to tweak the export output.

Footnotes:

[fn:1] If set to t, then N is set from the value of org-export-headline-levels
       (3 by default).

-- 
Nick

  reply	other threads:[~2014-08-06  2:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-06  0:11 Org equivalent to \chapter* Alan L Tyree
2014-08-06  1:11 ` Thorsten Jolitz
2014-08-06  2:28   ` Nick Dokos [this message]
2014-08-06  8:09     ` Thorsten Jolitz
2014-08-06  9:18 ` Rasmus
2014-08-06 17:15   ` Thomas S. Dye
2014-08-06 17:38     ` Rasmus
2014-08-06 19:52       ` Thomas S. Dye
2014-08-06 22:46         ` Alan L Tyree
2014-08-07 10:05           ` Rasmus
2014-08-07 22:07             ` Alan L Tyree
2014-08-08  8:42               ` Rasmus

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=87a97i5p2y.fsf@gmail.com \
    --to=ndokos@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).