From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: Index of cases Date: Sun, 08 Sep 2013 10:07:53 +0530 Message-ID: <874n9wdj32.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]:38640) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIWiz-00066O-FF for emacs-orgmode@gnu.org; Sun, 08 Sep 2013 00:35:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VIWir-0003RA-1b for emacs-orgmode@gnu.org; Sun, 08 Sep 2013 00:35:49 -0400 Received: from mail-pb0-x236.google.com ([2607:f8b0:400e:c01::236]:35371) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIWiq-0003R5-Ol for emacs-orgmode@gnu.org; Sun, 08 Sep 2013 00:35:40 -0400 Received: by mail-pb0-f54.google.com with SMTP id ro12so4816958pbb.13 for ; Sat, 07 Sep 2013 21:35:39 -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 CC me in the reply. 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. Please share the existing macros. Others may find it useful or get inspiration from it. > 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. If you are interested in ODT export and find something missing, I would be happy to implement. The exporter currently doesn't print table of figures etc. It is something that I hope to flesh out. Btw, the exporter already categorises Math formula (meaning png images or MathML snippets converted from Latex math snipppets) in to it's own sequence counter. So I believe we can conjure up a way to enumerate the cases separately. > 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] Assuming that the cases are introduced in a paragraph you can attach a label and caption to a paragraph and link to the NAME with the usual "reference" link. (This is possible with the new exporter.) #+CAPTION: A Non-sensical case #+NAME: case:dismissed This paragraph describes HowellvCoupland. ---------------------------------------------------------------- Another alternative would be to introduce the title of the case as a paragraph of its own and styled separately and then link to the paragraph. #+ATTR_ODT: :style "Cases" A Non-sensical case This paragraph describes HowellvCoupland. ---------------------------------------------------------------- The difference between the two is this: In the second case, the name of the case goes right in to document content rather than as a paragraph caption. In ODT, it is possible to "collect" paragraphs that have a given style in to an index of it's own. ---------------------------------------------------------------- I am writing from memory and you know better than to repose trust on someone you have never met.