From: Mehul Sanghvi <mehul.sanghvi@gmail.com>
To: Rasmus <rasmus@gmx.us>
Cc: ML Emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Numbering specific headings only
Date: Wed, 5 Apr 2017 10:47:55 -0400 [thread overview]
Message-ID: <CAPo9-A8RbxMVPJM1r4zB90AuJoOy_tVUa9hdUx17P0N5-+h5fw@mail.gmail.com> (raw)
In-Reply-To: <87bmsbt1se.fsf@gmx.us>
[-- Attachment #1: Type: text/plain, Size: 1477 bytes --]
Hi,
Thanks for pointers. Using the UNNUMBERED property did not work. I
applied the property to the top level heading and the second level heading.
I believe it cascades down to the other headings, so everything was
unnumbered.
The latex_header option worked though. It numbered the 3rd level
heading and anything below it as well. For the
most part I will not have any headings below that anyway so it should be
fine.
cheers,
mehul
On Wed, Apr 5, 2017 at 9:35 AM, Rasmus <rasmus@gmx.us> wrote:
> Hi,
>
> > When I export the document to PDF, all the headings get numbered. I only
> > want to
> > have the 3rd level heading numbered (DEFINITIONS, FOOBAR, etc.). I have
> > got about 50 3rd level headings so far. There may be more, might get
> > less. I don't want to manually number the headings.
>
> Does this solve your problem:
>
> #+latex_header: \renewcommand{\thesection}{}
> #+latex_header: \renewcommand{\thesubsection}{}
> #+latex_header: \renewcommand{\thesubsubsection}{\arabic{subsubsection}}
>
> Depending on your usage, you might have to disable counter reset between
> sections/subsections. You might be able to use the chngcntr package for
> that.
>
> You might be able to use the Org UNNUMBERED property, though I doubt it.
>
> Rasmus
>
> --
> To err is human. To screw up 10⁶ times per second, you need a computer
>
>
>
--
Mehul N. Sanghvi
email: mehul.sanghvi@gmail.com
[-- Attachment #2: Type: text/html, Size: 2239 bytes --]
prev parent reply other threads:[~2017-04-05 14:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-05 1:26 Numbering specific headings only Mehul Sanghvi
2017-04-05 13:35 ` Rasmus
2017-04-05 14:47 ` Mehul Sanghvi [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=CAPo9-A8RbxMVPJM1r4zB90AuJoOy_tVUa9hdUx17P0N5-+h5fw@mail.gmail.com \
--to=mehul.sanghvi@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=rasmus@gmx.us \
/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).