emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Myles English <mylesenglish@gmail.com>
To: Luis Anaya <papoanaya@hotmail.com>
Cc: Emacs-orgmode <Emacs-orgmode@gnu.org>
Subject: Re: Do Groff letter modes work in latest git?
Date: Mon, 20 Aug 2012 00:17:50 +0100	[thread overview]
Message-ID: <87d32mqxnl.fsf@ed.ac.uk> (raw)
In-Reply-To: <BLU0-SMTP15CD08088E840AE8681510B7BA0@phx.gbl>


Luis Anaya writes:

> Myles English <mylesenglish@gmail.com> writes:
>
>> Thanks for checking but did you start with emacs -Q ?
>
> I tried with emacs -Q. I loaded the following from *scratch*
>
> #+begin_src emacs-lisp
>
> (add-to-list 'load-path "/sdcard-ext/org-mode/lisp")
> (add-to-list 'load-path "/sdcard-ext/org-mode/contrib/lisp")
> (require 'org-install)
> (require 'org)
> (require 'org-e-groff)
>
> #+end_src
>
>
>> I tried it and I don't get a letter.  I get the attached screenshot.  Is
>> that what you get too?
>
> No, certainly not. This is the resultant PDF and Groff files.
>

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"
.H 1 "FROM \fC:FROM:\fP "
.P
Joe Smith
00 Street
City, ST, 00000

.H 1 "TO \fC:TO:\fP "
.P
Maria Rivera
Urbanizacion Palma Lejos
Calle 22, Bloque A, Numero 10
Ciudad, ES, 00000

.H 1 "BODY \fC:BODY:\fP "
.P
letter content

.H 1 "Copy to \fC:NS:\fP "
.P
Jill Brown


I am wondering if semiblock should be in org-e-groff-classes?  Says on
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:

(("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"))
 ("none" ""
  '(:heading 'default :type "custom")))

I don't know what else to try after this, any suggestions?

Myles

  reply	other threads:[~2012-08-19 23:10 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-19 13:36 Do Groff letter modes work in latest git? Myles English
2012-08-19 16:51 ` Luis Anaya
2012-08-19 19:16   ` Myles English
2012-08-19 19:30     ` Luis Anaya
2012-08-19 19:35     ` Luis Anaya
2012-08-19 21:46       ` Myles English
2012-08-19 22:22         ` Luis Anaya
2012-08-19 23:17           ` Myles English [this message]
2012-08-19 23:20             ` Luis Anaya
2012-08-19 23:42               ` Myles English
2012-08-19 23:50                 ` Luis Anaya
2012-08-20  0:31                   ` Do Groff letter modes work in latest git? (Yes, they do) Myles English
2012-08-20  0:43                     ` Luis Anaya

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d32mqxnl.fsf@ed.ac.uk \
    --to=mylesenglish@gmail.com \
    --cc=Emacs-orgmode@gnu.org \
    --cc=papoanaya@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).