Rasmus <[email protected]> writes:
> Stefan Reichör <[email protected]> writes:
>
>>>> I tried the recipe on this site:
>>>> http://orgmode.org/worg/exporters/koma-letter-export.html
>>>>
>>>> C-c C-e gives the following error message:
>>>> Debugger entered--Lisp error: (error "org-export-backend-menu
>>>> accessing a non-org-export-backend")
>>>> signal(error ("org-export-backend-menu accessing a
>>>> non-org-export-backend"))
>>>> error("%s accessing a non-%s" org-export-backend-menu org-export-backend)
>>>> byte-code("\305.\211.\203.
>>>
>>> I'm sorry but I cannot reproduce. The bug happens right at the moment
>>> you hit "C-c C-e"?
>>
>> Thanks for responding.
>> Yes, I get the error message after hitting C-c C-e.
>>
>> I installed org via M-x list-packages yesterday.
>
> Just to be able to compare, do you get the error when using the git
> version of ox-koma-letter?
>
>
> http://orgmode.org/cgit.cgi/org-mode.git/tree/contrib/lisp/ox-koma-letter.el
>
> Of course the "elpa" version should be working, but let's see if the
> problem exists in the newest version.
>
> I can test further in the beginning of August if it isn't solved by
> then.
I can't reproduce with git. With emacs -q and evaluating the
following scratch buffer I can export documents.
--8<---------------cut here---------------start------------->8---
(require 'ox-koma-letter)
;; Defined in ox-koma-letter, but there was a bug; fix has beeen submitted
(defun org-koma-letter-plug-into-ox ()
"Add a sparse `default-koma-letter' to `org-latex-classes' and set
`org-koma-letter-default-class' to `default-koma-letter'"
(let ((class "default-koma-letter"))
(eval-after-load "ox-latex"
`(unless (member ,class 'org-latex-classes)
(add-to-list 'org-latex-classes
`(,class
"\\documentclass[11pt]{scrlttr2}") ())
(setq org-koma-letter-default-class class)))))
(org-koma-letter-plug-into-ox)
--8<---------------cut here---------------end--------------->8---
I can typeset the letter from Worg with minimal changes (removing
redundant newline symbols). (The site somewhat it out of date)
–Rasmus
--
Enough with the bla bla!