From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mehul Sanghvi Subject: Numbering specific headings only Date: Tue, 4 Apr 2017 21:26:38 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11441e1aba448b054c614882 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cvZib-0005Yl-E2 for emacs-orgmode@gnu.org; Tue, 04 Apr 2017 21:26:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cvZia-0005mp-BZ for emacs-orgmode@gnu.org; Tue, 04 Apr 2017 21:26:41 -0400 Received: from mail-qt0-x230.google.com ([2607:f8b0:400d:c0d::230]:33337) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cvZia-0005m8-7R for emacs-orgmode@gnu.org; Tue, 04 Apr 2017 21:26:40 -0400 Received: by mail-qt0-x230.google.com with SMTP id i34so154117905qtc.0 for ; Tue, 04 Apr 2017 18:26:40 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: ML Emacs-orgmode --001a11441e1aba448b054c614882 Content-Type: text/plain; charset=UTF-8 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 --001a11441e1aba448b054c614882 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

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

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

* RESIDENTIAL LEASE AGREEMENT

=C2=A0 =C2=A0This= residential leased property lease agreement

** LA= NDLORD AND TENANT COVENANT AND AGREE:

*** DEFINITI= ONS
=C2=A0 =C2=A0 1. blah blah blah blah blah blah blah blah blah= blah ablaakjkfjadsf =C2=A0kjfkjasdfkhajkfdjakf'asdfhsfh =C2=A0shdfjhsa= f khasdfhaieurh kakshfkasfhouw kdhfkahsdfjkiu =C2=A0khdsjfhjf kjkqwn ajhjhb=
=C2=A0 =C2=A0 2. foo bar foo bar foo bar jkhdfjahf mhaksdfjkaf k= jaksfdjkwhefrnm adfhff kaskdfha kajfhjahroryetha jkasdkfhajfhwohrmahjah kah= sdfjhwurey hajsdfhiwyure hkhsadfyoiytg jhajdfh herhjh kh dahf hasjdfhiwer k= hkshdfkq =C2=A0jkjaiyashd

*** FOOBAR
=C2= =A0 =C2=A0 some more legal gibberish goes here

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


W= hen I export the document to PDF, all the headings get numbered.=C2=A0 I on= ly want to
have the 3rd level heading numbered (DEFINITIONS, FOOB= AR, etc.).=C2=A0 I have got about 50 3rd level headings so far.=C2=A0 There= may be more, might get less.=C2=A0 I don't want to manually number the= headings.

How do I go about doing that ? =C2=A0 = =C2=A0If 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.


cheer= s,

=C2=A0 =C2=A0 =C2=A0 mehul

=


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