emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Do Groff letter modes work in latest git?


From: Luis Anaya
Subject: Re: [O] Do Groff letter modes work in latest git?
Date: Sun, 19 Aug 2012 19:20:36 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Myles English <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]