emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Myles English <mylesenglish@gmail.com>
To: Emacs-orgmode <Emacs-orgmode@gnu.org>
Subject: Do Groff letter modes work in latest git?
Date: Sun, 19 Aug 2012 14:36:22 +0100	[thread overview]
Message-ID: <87harzqa09.fsf@ed.ac.uk> (raw)


Hi,

Following the announcement that writing letters was possible using the
Groff exporter in this thread:

http://lists.gnu.org/archive/html/emacs-orgmode/2012-08/msg00416.html

I decided to have a go but the resulting pdf does not look much like a
letter, more like a memo, and the tags :FROM: :TO: etc are still visible
in the text.  I was expecting a nicely formatted letter.

Steps to reproduce:

1. starting emacs with emacs -Q and loading org-mode via the latest git
   head at ~/.emacs.d/plugins/org-mode

(add-to-list 'load-path
             "~/.emacs.d/plugins/org-mode/lisp")
(require 'org-install)

(add-to-list 'load-path
 	     "/home/myles/.emacs.d/plugins/org-mode/contrib/lisp")
(require 'org-e-groff)

2. open an org document containing:

#+AUTHOR: Mickey Mouse
#+TITLE: Example from Worg
#+GROFF_CLASS: letter

* FROM								       :FROM:
Joe Smith
00 Street
City, ST, 00000
* TO									 :TO:
Maria Rivera
Urbanizacion Palma Lejos
Calle 22, Bloque A, Numero 10
Ciudad, ES, 00000
* BODY								       :BODY:
letter content
* Copy to								 :NS:
Jill Brown

3. M-x org-e-groff-export-to-pdf

4. open the resulting pdf

Can anyone see where I may be going wrong?

Thanks,

Myles

             reply	other threads:[~2012-08-19 13:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-19 13:36 Myles English [this message]
2012-08-19 16:51 ` Do Groff letter modes work in latest git? 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
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=87harzqa09.fsf@ed.ac.uk \
    --to=mylesenglish@gmail.com \
    --cc=Emacs-orgmode@gnu.org \
    /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).