From mboxrd@z Thu Jan 1 00:00:00 1970 From: "D. C. Toedt" Subject: Tables of contents for individual sections wanted -- will donate Date: Sun, 29 Jun 2014 13:51:15 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1135ed225ede7504fcfe093a Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48466) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1KCn-00089S-9T for emacs-orgmode@gnu.org; Sun, 29 Jun 2014 14:52:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X1KCj-0008OL-A3 for emacs-orgmode@gnu.org; Sun, 29 Jun 2014 14:52:01 -0400 Received: from mail-vc0-f182.google.com ([209.85.220.182]:36533) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1KCj-0008OD-4H for emacs-orgmode@gnu.org; Sun, 29 Jun 2014 14:51:57 -0400 Received: by mail-vc0-f182.google.com with SMTP id il7so6818460vcb.27 for ; Sun, 29 Jun 2014 11:51:56 -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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --001a1135ed225ede7504fcfe093a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi all -- BACKGROUND: I've been using org-mode to develop the *Common Draft* annotated collection of business contract clauses, in part for the law school course in contract drafting that I teach to third-year law students. I've been posting the collection as a Creative Commons document at http://www.CommonDraft.org, and plan to expand and maintain it. QUESTION: I'm currently using a single, multi-level table of contents (TOC) at the beginning of the document. That ends up being a lot to scroll through to get to the first chapter. I'd like instead to have: - a one-level "master" TOC at the beginning of the document, listing and linking to just the articles (in contracts, "articles" are the same as "chapters" in books, that is, the top-level sections); and - at the beginning of each article, a TOC listing and linking to the subheadings within that article. EXAMPLE of the desired capability: [book title:] COMMON DRAFT: Business Contract Clauses, Annotated and Explained SUMMARY OF CONTENTS 1. Definitions & Usages 2. Arbitration 3. Assignment of Agreement [etc.] ART. 1. DEFINITIONS & USAGES TABLE OF CONTENTS 1.1 Affiliate Status 1.2 Agreement Definition [etc.] 1.1 Affiliate Status Two entities are affiliates if one of them controls, is controlled by, or is under common control of the other, where "control" refers .... 1.2 Agreement Definition The term "this Agreement" refers to this signed document as well as its exhibits, appendixes, annexes, ..... =E2=80=8BSuggestions? =E2=80=8BIf it can't currently be done in org-mode b= ut can be implemented, I'd donate US$100.00 to the org-mode support fund if someone were to come up with and publish a working solution. As for doing it myself in e-lisp, I'm just scratching the surface of e-lisp, so it's not something I could undertake at this juncture. Regards, --D. C. *D*ell *C*harles "D. C." Toedt III *(my** last name is pronounced "Tate") = * Attorney and neutral arbitrator -- tech contracts and intellectual property =E2=80=8BEditor, =E2=80=8B=E2=80=8B=E2=80=8BCommon Draft project: Model contract term sheets & clauses, annotated dc@toedt.com LinkedIn: dctoedt Calendar (redacted) O: +1 (713) 364-6545 C: +1 (713) 516-8968 =E2=80=8B=E2=80=8B =E2=80=8B Houston, Texas (Central time zone) Unless expressly stated otherwise, this message is not intended to serve as an electronic signature nor as assent to an agreement. --001a1135ed225ede7504fcfe093a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi all --=C2=A0

BACKGROUND: =C2=A0I've been using org-mode to develop the Common Dra= ft annotated collection of business contract clauses, in part for the l= aw school course in contract drafting that I teach to third-year law studen= ts. =C2=A0I've been posting the collection as a Creative Commons docume= nt at http://www.C= ommonDraft.org, and plan to expand and maintain it.

QUESTION: =C2=A0I'm cur= rently using a single, multi-level table of contents (TOC) at the beginning= of the document. =C2=A0That ends up being a lot to scroll through to get t= o the first chapter. =C2=A0I'd like instead to have:
  • a one-level "master" TOC at the beginn= ing of the document, listing and linking to just the articles (in contracts= , "articles" are the same as "chapters" in books, that = is, the top-level sections); and
  • at the beginning of each article, a TOC listing and linking to the subh= eadings within that article.
EXAMPLE of the desired capab= ility:

[book title:] COMMON DRAFT: =C2=A0Business Contract= Clauses, Annotated and Explained

SUMMARY OF CONTENTS
<= /blockquote>

1. =C2=A0Definitions & Usages

2. =C2=A0Arbitration

3. =C2=A0Assignment of= Agreement

[etc.]


ART. 1. =C2=A0DEFINITIONS & USAGES
<= /blockquote>

TABLE OF CONTENTS

1.1 =C2=A0Af= filiate Status

1.2 =C2=A0Agreement Definition

[etc.]


1.1 =C2=A0Affiliate Status
=
Two entities are affiliates if one of them controls, is controlled by,= or is under common control of the other, where "control" refers = ....


1.2 =C2=A0Agreement Definition
=

The term "this Agreement" refers to this = signed document as well as its exhibits, appendixes, annexes, .....


=
=E2=80=8BSuggestions? =C2=A0=E2=80=8BIf it can't currently be done in o= rg-mode but can be implemented, I'd donate US$100.00 to the org-mode su= pport fund if someone were to come up with and publish a working solution. = =C2=A0As for doing it myself in e-lisp, I'm just scratching the surface= of e-lisp, so it's not something I could undertake at this juncture.

Regar= ds,

--= D. C.=C2=A0

Dell Charl= es "D. C." Toedt III=C2=A0=C2=A0(my=C2=A0last name is pronounced "Tate")=C2=A0
Attorney and neutra= l arbitrator -- tech contracts and intellectual property
=E2=80=8B=E2=80=8BCommon Draft=C2=A0project: =C2=A0Model contr= act term sheets & clauses, annotated
= dc@toedt.com=C2=A0 =C2=A0 =C2=A0LinkedIn:=C2=A0dctoedt=C2=A0 =C2=A0=C2=A0Calendar=C2=A0(redacted)
O: +1 (713) 364= -6545 =C2=A0 =C2=A0C: +1 (713) 516-8968
=E2=80=8B=E2=80=8B
=C2=A0 =C2=A0=C2=A0
=E2=80=8B
Houston, Texas (Central time zone)

Unless expressly stated otherwise, this message is not intend= ed=C2=A0
to serve as an electronic signature nor as= =C2=A0assent to= an agreement.


--001a1135ed225ede7504fcfe093a--