From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luis Anaya Subject: Re: Do Groff letter modes work in latest git? Date: Sun, 19 Aug 2012 19:20:36 -0400 Message-ID: References: <87harzqa09.fsf@ed.ac.uk> <87fw7ir8u3.fsf@ed.ac.uk> <87ehn2r1vi.fsf@ed.ac.uk> <87d32mqxnl.fsf@ed.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50298) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3EnT-0003Qr-TJ for Emacs-orgmode@gnu.org; Sun, 19 Aug 2012 19:20:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T3EnR-0001QQ-KR for Emacs-orgmode@gnu.org; Sun, 19 Aug 2012 19:20:43 -0400 Received: from blu0-omc1-s6.blu0.hotmail.com ([65.55.116.17]:7958) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3EnR-0001QL-DY for Emacs-orgmode@gnu.org; Sun, 19 Aug 2012 19:20:41 -0400 In-Reply-To: <87d32mqxnl.fsf@ed.ac.uk> (Myles English's message of "Mon\, 20 Aug 2012 00\:17\:50 +0100") 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: Myles English Cc: Emacs-orgmode Myles English writes: > Did you mean to attach your Groff file? Here's mine anyway: > > .AF "Org User" > .TL > Example from Worg > .AU "Mickey Mouse" > .ND "2012-08-19" Note that you do not have a .MT command, this is suspicious. > > I am wondering if semiblock should be in org-e-groff-classes? Says on Yes. It should be listed there, otherwise goes through the wayside and you get the "generic" one. This is useful if you have a specialized cover letter or custom cover. But it should default to internal. > Worg that "The [#+GROFF_CLASS:] must be listed in org-e-groff-classes" > but here is the org-e-groff-classes from org-e-groff.el: [chop] This code tells me that that you have a very old version. These are defined in the org-e-groff.el, at the end If you are picking it up from Git, make sure that you get the latest and greatest. This is how that variable is supposed to look like, but if you have an old version, adding those will not help: #+begin_src emacs-lisp (defcustom org-e-groff-classes '(("file" ".MT 1" (:heading 'default :type "memo" :last-section "toc")) ("internal" ".MT 0" (:heading 'default :type "memo" :last-section "toc")) ("programmer" ".MT 2" (:heading 'default :type "memo" :last-section "toc")) ("engineer" ".MT 3" (:heading 'default :type "memo" :last-section "toc")) ("external" ".MT 4" (:heading 'default :type "memo" :last-section "toc")) ("letter" ".MT 5" (:heading 'default :type "memo" :last-section "sign")) ("custom" ".so file" (:heading custom-function :type "custom" :last-section "toc")) ("dummy" "" (:heading 'default :type "memo")) ("ms" "ms" (:heading 'default :type "cover" :last-section "toc")) ("se_ms" "se_ms" (:heading 'default :type "cover" :last-section "toc")) ("block" "BL" (:heading 'default :type "letter" :last-section "sign")) ("semiblock" "SB" (:heading 'default :type "letter" :last-section "sign")) ("fullblock" "FB" (:heading 'default :type "letter" :last-section "sign")) ("simplified" "SP" (:heading 'default :type "letter" :last-section "sign")) ("none" "" (:heading 'default :type "custom"))) #+end_src -- Luis Anaya papo anaya aroba hot mail punto com "Do not use 100 words if you can say it in 10" - Yamamoto Tsunetomo