emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* koma letter export
@ 2013-06-10 15:36 Vikas Rawal
  2013-06-10 20:06 ` Viktor Rosenfeld
  0 siblings, 1 reply; 3+ messages in thread
From: Vikas Rawal @ 2013-06-10 15:36 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 465 bytes --]

I am trying to use ox-koma-letter for my correspondence. I have a
functioning test file that produces a nice pdf. But I would like to
set it up so as to have one letter per headline, and do subtree export
to produce the pdf. 

I am attaching the test file for the purpose. When I export it using
C-c @ C-c C-e k o, this file gives me the following error:

let*: Wrong type argument: char-or-string-p, nil

Have I made a mistake or is there a bug somewhere?

Vikas


[-- Attachment #2: correspondence.org --]
[-- Type: text/plain, Size: 835 bytes --]


* A Simple letter
:PROPERTIES:
:EXPORT_LATEX_CLASS: vikasletter
:EXPORT_LCO: DefaultAddress
:EXPORT_AUTHOR: Vikas Rawal
:EXPORT_DATE: April 22, 2013
:EXPORT_EMAIL: vikasrawal@gmail.com
:EXPORT_TO_ADDRESS: John Doe\\
:EXPORT_TO_ADDRESS: Other Street 1\\
:EXPORT_TO_ADDRESS: 54321 Other City
:EXPORT_OPENING: Dear ,
:EXPORT_CLOSING: Yours sincerely,
:EXPORT_OPTIONS: backaddress:nil
:END:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enimad
minim veniam, quis nostrud exercitation ullamco laboris nisi ut
aliquip ex ea commodo consequat. Duis aute irure dolor in
reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
culpa qui officia deserunt mollit anim id est laborum.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: koma letter export
  2013-06-10 15:36 koma letter export Vikas Rawal
@ 2013-06-10 20:06 ` Viktor Rosenfeld
  2013-06-10 23:04   ` Vikas Rawal
  0 siblings, 1 reply; 3+ messages in thread
From: Viktor Rosenfeld @ 2013-06-10 20:06 UTC (permalink / raw)
  To: emacs-orgmode

Hi Vikas,

Vikas Rawal wrote:

> I am trying to use ox-koma-letter for my correspondence. I have a
> functioning test file that produces a nice pdf. But I would like to
> set it up so as to have one letter per headline, and do subtree export
> to produce the pdf. 
> 
> I am attaching the test file for the purpose. When I export it using
> C-c @ C-c C-e k o, this file gives me the following error:

I'm not sure about the C-c @ keys. On OS X this results in a message
that C-c M-l are not bound. (The @ key is accessed using Alt-L and Alt
is mapped to Meta in Emacs.)

However, using C-c C-e C-s k o I can create a letter from your example
just fine. Note the C-s in the middle which selects the current subtree.

Cheers,
Viktor

> 
> let*: Wrong type argument: char-or-string-p, nil
> 
> Have I made a mistake or is there a bug somewhere?
> 
> Vikas
> 

> 
> * A Simple letter
> :PROPERTIES:
> :EXPORT_LATEX_CLASS: vikasletter
> :EXPORT_LCO: DefaultAddress
> :EXPORT_AUTHOR: Vikas Rawal
> :EXPORT_DATE: April 22, 2013
> :EXPORT_EMAIL: vikasrawal@gmail.com
> :EXPORT_TO_ADDRESS: John Doe\\
> :EXPORT_TO_ADDRESS: Other Street 1\\
> :EXPORT_TO_ADDRESS: 54321 Other City
> :EXPORT_OPENING: Dear ,
> :EXPORT_CLOSING: Yours sincerely,
> :EXPORT_OPTIONS: backaddress:nil
> :END:
> 
> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
> eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enimad
> minim veniam, quis nostrud exercitation ullamco laboris nisi ut
> aliquip ex ea commodo consequat. Duis aute irure dolor in
> reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
> pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
> culpa qui officia deserunt mollit anim id est laborum.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: koma letter export
  2013-06-10 20:06 ` Viktor Rosenfeld
@ 2013-06-10 23:04   ` Vikas Rawal
  0 siblings, 0 replies; 3+ messages in thread
From: Vikas Rawal @ 2013-06-10 23:04 UTC (permalink / raw)
  To: emacs-orgmode


> 
> However, using C-c C-e C-s k o I can create a letter from your example
> just fine. Note the C-s in the middle which selects the current subtree.

Thank you. Works perfect.

Vikas

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-06-10 23:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-10 15:36 koma letter export Vikas Rawal
2013-06-10 20:06 ` Viktor Rosenfeld
2013-06-10 23:04   ` Vikas Rawal

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).