From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joseph Vidal-Rosset Subject: Re: org-koma-letter-template: Wrong type argument: char-or-string-p, nil Date: Fri, 08 Mar 2019 17:53:46 +0100 Message-ID: <877ed95mud.fsf@gmail.com> References: <8736nxzsxj.fsf@gmail.com> <877ed9lnbg.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:60061) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2Ikp-0003FO-7e for emacs-orgmode@gnu.org; Fri, 08 Mar 2019 11:53:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h2Iko-0005lk-8g for emacs-orgmode@gnu.org; Fri, 08 Mar 2019 11:53:51 -0500 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:55426) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h2Ikn-0005lH-VI for emacs-orgmode@gnu.org; Fri, 08 Mar 2019 11:53:50 -0500 Received: by mail-wm1-x334.google.com with SMTP id q187so13285385wme.5 for ; Fri, 08 Mar 2019 08:53:49 -0800 (PST) Received: from debian ([2a01:e0a:21e:7710:b93d:4a95:36b6:81eb]) by smtp.gmail.com with ESMTPSA id a74sm11300301wma.22.2019.03.08.08.53.47 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Mar 2019 08:53:47 -0800 (PST) In-Reply-To: <877ed9lnbg.fsf@gmail.com> (Eric S. Fraga's message of "Fri, 08 Mar 2019 09:36:51 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode list Le ven. 08 mars 2019 =C3=A0 09:36:51 , Eric S Fraga = a envoy=C3=A9 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:=20 > > 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,=20 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-exam= ple.org=20 and here is the result with M-x toggle-debug-on-error:=20 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 . #("M= is-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 #("1= 580" 0 4 (:parent #12))))) org-koma-letter-template(#("\n\n\\begin{verse}\nThen plain..." 16 61 (:pa= rent (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-expo= rt-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-cen= ter-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-late= x-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) (l= atex-environment . org-latex-latex-environment) ...) :exported-data # :input-buffer "koma-letter-new-example.or.= .." :input-file "/home/joseph/MEGA/lettre/k..." :latex-class "my-letter" :l= co "DINmtext" :author (#("Romeo" 0 5 ...)) :author-changed-in-buffer-p "Rom= eo" :from-address "" :phone-number "" :url "" ...)) org-export-as(koma-letter nil nil nil (:output-file "koma-letter-new-exam= ple.tex")) org-export-to-file(koma-letter "koma-letter-new-example.tex" nil nil nil = nil nil #f(compiled-function (file) #)) 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-le= tter-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).=20 Best wishes,=20 --=20 Joseph=20