Le ven. 08 mars 2019 à 09:36:51 , Eric S Fraga <esfli...@gmail.com> a envoyé ce message: > On Friday, 8 Mar 2019 at 09:11, Joseph Vidal-Rosset wrote: >> Hello, >> >> I'm trying to export to koma class, and especially to get the export to >> koma letter but I meet always the same message: > > Two things: > > 1. could you post a minimal example? > > 2. what do you see if you M-x toggle-debug-on-error RET first.
Hello, I have reinstalled the current version of ox-koma-letter.el to compile the example given here https://code.orgmode.org/bzg/worg/raw/master/exporters/koma-letter-new-example.org and here is the result with M-x toggle-debug-on-error: Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil) format-spec(nil ((116 . #("Mis-shapen chaos of well-seeming forms!" 0 39 (:parent (#("Mis-shapen chaos of well-seeming forms!" 0 39 (:parent #7)))))) (97 . #("Romeo" 0 5 (:parent (#("Romeo" 0 5 (:parent #8)))))) (116 . #("Mis-shapen chaos of well-seeming forms!" 0 39 (:parent (#("Mis-shapen chaos of well-seeming forms!" 0 39 (:parent #9)))))) (107 . "") (100 . "") (99 . "Emacs 27.0.50 (Org mode 9.2.2)") (108 . "french") (76 . "French") (68 #("1580" 0 4 (:parent #12))))) org-koma-letter-template(#("\n\n\\begin{verse}\nThen plain..." 16 61 (:parent (verse-block ... ...)) 64 101 (:parent (verse-block ... ...)) 104 144 (:parent (verse-block ... ...)) 147 192 (:parent (verse-block ... ...)) 195 237 (:parent (verse-block ... ...)) 240 283 (:parent (verse-block ... ...)) 286 329 (:parent (verse-block ... ...)) 332 369 (:parent (verse-block ... ...)) ...) (:export-options nil :back-end #s(org-export-backend :name koma-letter :parent latex :transcoders (... ... ... ... ...) :options (... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) :filters nil :blocks nil :menu (107 "Export with KOMA Scrlttr2" ...)) :translate-alist ((export-block . org-koma-letter-export-block) (export-snippet . org-koma-letter-export-snippet) (headline . org-koma-letter-headline) (keyword . org-koma-letter-keyword) (template . org-koma-letter-template) (bold . org-latex-bold) (center-block . org-latex-center-block) (clock . org-latex-clock) (code . org-latex-code) (drawer . org-latex-drawer) (dynamic-block . org-latex-dynamic-block) (entity . org-latex-entity) (example-block . org-latex-example-block) (export-block . org-latex-export-block) (export-snippet . org-latex-export-snippet) (fixed-width . org-latex-fixed-width) (footnote-definition . org-latex-footnote-definition) (footnote-reference . org-latex-footnote-reference) (headline . org-latex-headline) (horizontal-rule . org-latex-horizontal-rule) (inline-src-block . org-latex-inline-src-block) (inlinetask . org-latex-inlinetask) (italic . org-latex-italic) (item . org-latex-item) (keyword . org-latex-keyword) (latex-environment . org-latex-latex-environment) ...) :exported-data #<hash-table eq 64/4001 0x155a9ad8ff3d> :input-buffer "koma-letter-new-example.or..." :input-file "/home/joseph/MEGA/lettre/k..." :latex-class "my-letter" :lco "DINmtext" :author (#("Romeo" 0 5 ...)) :author-changed-in-buffer-p "Romeo" :from-address "" :phone-number "" :url "" ...)) org-export-as(koma-letter nil nil nil (:output-file "koma-letter-new-example.tex")) org-export-to-file(koma-letter "koma-letter-new-example.tex" nil nil nil nil nil #f(compiled-function (file) #<bytecode 0x155a9ac0fda1>)) org-koma-letter-export-to-pdf(nil nil nil nil) (org-open-file (org-koma-letter-export-to-pdf nil s v b)) (if a (org-koma-letter-export-to-pdf t s v b) (org-open-file (org-koma-letter-export-to-pdf nil s v b))) (lambda (a s v b) (if a (org-koma-letter-export-to-pdf t s v b) (org-open-file (org-koma-letter-export-to-pdf nil s v b))))(nil nil nil nil) org-export-dispatch(nil) funcall-interactively(org-export-dispatch nil) call-interactively(org-export-dispatch nil nil) command-execute(org-export-dispatch) I hope it helps (because I am unable to understand this output). Best wishes, -- Joseph