From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Rogers Subject: Re: Index of cases Date: Sat, 07 Sep 2013 19:05:52 -0700 Message-ID: <87hadwqd8f.fsf@gmail.com> References: <522BB194.7060705@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55191) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIUO8-00022h-SV for emacs-orgmode@gnu.org; Sat, 07 Sep 2013 22:06:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VIUO0-0000sc-AT for emacs-orgmode@gnu.org; Sat, 07 Sep 2013 22:06:08 -0400 Received: from mail-pd0-x232.google.com ([2607:f8b0:400e:c02::232]:48898) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIUO0-0000rJ-1c for emacs-orgmode@gnu.org; Sat, 07 Sep 2013 22:06:00 -0400 Received: by mail-pd0-f178.google.com with SMTP id w10so4802188pde.37 for ; Sat, 07 Sep 2013 19:05:56 -0700 (PDT) In-Reply-To: <522BB194.7060705@gmail.com> (Alan L. Tyree's message of "Sun, 08 Sep 2013 09:07:00 +1000") 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: Alan L Tyree Cc: emacs-orgmode@gnu.org Alan L Tyree writes: > G'day, > > I am the author of a legal text of about 700 pages. I currently have > the book in LaTeX using the memoir class. A couple of macros define > special indexes for a Table of Cases and a Table of Statutes. I would > like to move the whole thing to Org to make it easier for my editors > who can be easily alarmed by the LaTeX markup. > > The LaTeX is overkill since I submit the manuscript to the publisher in a Word file. > > Is there a standard way to get, say, the table of cases? A typical "case" looks like this: > > Howell v Coupland (1874) LR 9 QB 462; (1876) 1 QBD 258 > > The Table of Cases needs to indicate where in the text the case is mentioned; reference to section numbers is OK. So, for example, in the Table of Cases, the above case appears as: > > Howell v Coupland (1874) LR 9 QB 462; (1876) 1 QBD 258 [15.16] [15.25] > > Presuming there is not a "standard", I have considered the following procedure: > > - maintain a list of cases as I write; I already do this to ensure consistent citation of cases; > - use links from the list of cases back into the manuscript to index the places where each case is mentioned in the text. > > Does this seem like a reasonable approach, or is there some obviously better way? I am an extreme novice at elisp but can handle some simple jobs. In one sense it would be "nicer" and more writer-friendly if the links went the other direction; that is, when you refer to a case within the manuscript, you would always tag it in a way that allows it to be automatically labelled with the section in which it occurs, and automatically placed into the index of cases for you. That's a work-saving ideal that I don't actually know how to achieve. (Further idealistic ramblings: if for example you were to add a new section between current sections 6 and 7, it would be nice for the labels in sections 7 through the end to update themselves "wholesale" without your needing to change each label individually.) -- David R