From: Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com>
To: emacs-orgmode list <emacs-orgmode@gnu.org>
Subject: Re: org-koma-letter-template: Wrong type argument: char-or-string-p, nil
Date: Fri, 08 Mar 2019 17:53:46 +0100 [thread overview]
Message-ID: <877ed95mud.fsf@gmail.com> (raw)
In-Reply-To: <877ed9lnbg.fsf@gmail.com> (Eric S. Fraga's message of "Fri, 08 Mar 2019 09:36:51 +0000")
Le ven. 08 mars 2019 à 09:36:51 , Eric S Fraga <esflists@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
next prev parent reply other threads:[~2019-03-08 16:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-08 8:11 org-koma-letter-template: Wrong type argument: char-or-string-p, nil Joseph Vidal-Rosset
2019-03-08 9:31 ` Joseph Vidal-Rosset
2019-03-08 10:46 ` Eric S Fraga
2019-03-08 9:36 ` Eric S Fraga
2019-03-08 16:53 ` Joseph Vidal-Rosset [this message]
2019-03-08 17:19 ` Eric S Fraga
2019-03-09 8:50 ` Joseph Vidal-Rosset
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=877ed95mud.fsf@gmail.com \
--to=joseph.vidal.rosset@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).