emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Mehul Sanghvi <mehul.sanghvi@gmail.com>
To: ML Emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Numbering specific headings only
Date: Tue, 4 Apr 2017 21:26:38 -0400	[thread overview]
Message-ID: <CAPo9-A8iwQf_Yaq+EJQteof6=z6tJPq8pUyk0PzcicUrW=Y0hQ@mail.gmail.com> (raw)

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

I am creating a legal document (a rental agreement) using org-mode and
{{{macros}}}.
I have some of the kinks in the document ironed out so, except for one.

----sample document---
#+OPTIONS: num:nil toc:nil
#+LATEX_HEADER: \usepackage{fullpage}

* RESIDENTIAL LEASE AGREEMENT

   This residential leased property lease agreement

** LANDLORD AND TENANT COVENANT AND AGREE:

*** DEFINITIONS
    1. blah blah blah blah blah blah blah blah blah blah ablaakjkfjadsf
 kjfkjasdfkhajkfdjakf'asdfhsfh  shdfjhsaf khasdfhaieurh kakshfkasfhouw
kdhfkahsdfjkiu  khdsjfhjf kjkqwn ajhjhb
    2. foo bar foo bar foo bar jkhdfjahf mhaksdfjkaf kjaksfdjkwhefrnm
adfhff kaskdfha kajfhjahroryetha jkasdkfhajfhwohrmahjah kahsdfjhwurey
hajsdfhiwyure hkhsadfyoiytg jhajdfh herhjh kh dahf hasjdfhiwer khkshdfkq
 jkjaiyashd

*** FOOBAR
    some more legal gibberish goes here

---end of sample document-----


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.

How do I go about doing that ?    If I use the option 'H:3' it will do all
headings 3 and above, which is not what I want.

Any thoughts/pointers/suggestions much appreciated.


cheers,

      mehul



-- 
Mehul N. Sanghvi
email: mehul.sanghvi@gmail.com

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

             reply	other threads:[~2017-04-05  1:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-05  1:26 Mehul Sanghvi [this message]
2017-04-05 13:35 ` Numbering specific headings only Rasmus
2017-04-05 14:47   ` Mehul Sanghvi

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-A8iwQf_Yaq+EJQteof6=z6tJPq8pUyk0PzcicUrW=Y0hQ@mail.gmail.com' \
    --to=mehul.sanghvi@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).