emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Charles Millar <millarc@verizon.net>
To: emacs-orgmode@gnu.org
Subject: Re: Problem
Date: Mon, 6 Apr 2020 07:49:18 -0400	[thread overview]
Message-ID: <7ab34410-0dbd-5cec-478e-03fbe9ee868e@verizon.net> (raw)
In-Reply-To: <874ktx6mds.fsf@ucl.ac.uk>

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

On 4/6/20 4:37 AM, Eric S Fraga wrote:
> On Saturday,  4 Apr 2020 at 13:13, Charles Millar wrote:
>> OK, started over.
>>
>> Please see attached backtrace and the file I used.
> 
> Strange.  Your example file works just fine for me.
> 
> What version of org are you using?  And LaTeX?

Just ran the same file with the following versions

Org mode version 9.3.6 (release_9.3.6-449-gb99357 @ 
/usr/local/share/org-mode/lisp/)
GNU Emacs 28.0.50 (build 87, x86_64-pc-linux-gnu, GTK+ Version 3.24.14, 
cairo version 1.16.0) of 2020-04-06

attached is the backtrace.

> 
> Can you export to LaTeX (C-c C-e k l) and see if that LaTeX file
> compiles manually?
> no Latex file produced.

[-- Attachment #2: komaletterbacktrace-2020-04-06 --]
[-- Type: text/plain, Size: 7140 bytes --]

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)))))) (115 . "") (107 . "") (100 . "") (99 . "Emacs 28.0.50 (Org mode 9.3.6)") (108 . "english") (76 . "English") (68 #("1580" 0 4 (:parent #13)))))
  (concat (if (and with-subject (not (eq with-subject t))) (progn (format "\\KOMAoption{subject}{%s}\n" (if (symbolp with-subject) with-subject (mapconcat #'symbol-name with-subject ","))))) (format-spec hyperref-template spec) "\\begin{document}\n\n" (if subject (progn (format "\\setkomavar{subject}{%s}\n" subject))) (if title (progn (format "\\setkomavar{title}{%s}\n" title))) (if (or (org-string-nw-p title) (org-string-nw-p subject)) (progn "\n")))
  (let* ((with-subject (plist-get info :with-subject)) (with-title (plist-get info :with-title)) (title-as-subject (and with-subject (plist-get info :with-title-as-subject))) (subject* (org-string-nw-p (org-export-data (plist-get info :subject) info))) (title* (and with-title (org-string-nw-p (org-export-data (plist-get info :title) info)))) (subject (cond ((not with-subject) nil) (title-as-subject (or subject* title*)) (t subject*))) (title (cond ((not with-title) nil) (title-as-subject (and subject* title*)) (t title*))) (hyperref-template (plist-get info :latex-hyperref-template)) (spec (append (list (cons 116 (or title subject ""))) (org-latex--format-spec info)))) (concat (if (and with-subject (not (eq with-subject t))) (progn (format "\\KOMAoption{subject}{%s}\n" (if (symbolp with-subject) with-subject (mapconcat #'symbol-name with-subject ","))))) (format-spec hyperref-template spec) "\\begin{document}\n\n" (if subject (progn (format "\\setkomavar{subject}{%s}\n" subject))) (if title (progn (format "\\setkomavar{title}{%s}\n" title))) (if (or (org-string-nw-p title) (org-string-nw-p subject)) (progn "\n"))))
  (concat (and (plist-get info :time-stamp-file) (format-time-string "%% Created %Y-%m-%d %a %H:%M\n")) (org-latex--insert-compiler info) (org-latex-make-preamble info) (org-koma-letter--build-settings 'global info) (mapconcat #'(lambda (file) (format "\\LoadLetterOption{%s}\n" file)) (split-string (or (plist-get info :lco) "")) "") (org-koma-letter--build-settings 'buffer info) (format "\\date{%s}\n" (org-export-data (org-export-get-date info) info)) (let* ((with-subject (plist-get info :with-subject)) (with-title (plist-get info :with-title)) (title-as-subject (and with-subject (plist-get info :with-title-as-subject))) (subject* (org-string-nw-p (org-export-data (plist-get info :subject) info))) (title* (and with-title (org-string-nw-p (org-export-data (plist-get info :title) info)))) (subject (cond ((not with-subject) nil) (title-as-subject (or subject* title*)) (t subject*))) (title (cond ((not with-title) nil) (title-as-subject (and subject* title*)) (t title*))) (hyperref-template (plist-get info :latex-hyperref-template)) (spec (append (list (cons 116 (or title subject ""))) (org-latex--format-spec info)))) (concat (if (and with-subject (not (eq with-subject t))) (progn (format "\\KOMAoption{subject}{%s}\n" (if (symbolp with-subject) with-subject (mapconcat ... with-subject ","))))) (format-spec hyperref-template spec) "\\begin{document}\n\n" (if subject (progn (format "\\setkomavar{subject}{%s}\n" subject))) (if title (progn (format "\\setkomavar{title}{%s}\n" title))) (if (or (org-string-nw-p title) (org-string-nw-p subject)) (progn "\n")))) (let ((keyword-val (plist-get info :to-address)) (heading-val (org-koma-letter--get-tagged-contents 'to))) (format "\\begin{letter}{%%\n%s}\n\n" (org-koma-letter--add-latex-newlines (or (if (plist-get info :special-headings) (or heading-val keyword-val) (or keyword-val heading-val)) "\\mbox{}")))) (format "\\opening{%s}\n\n" (org-koma-letter--keyword-or-headline :opening #'(lambda (h i) (not (org-koma-letter--special-tag h i))) info)) contents (format "\\closing{%s}\n" (org-koma-letter--keyword-or-headline :closing #'(lambda (h i) (let ((special-tag ...)) (and special-tag (string= "closing" special-tag)))) info)) (org-koma-letter--special-contents-inline (plist-get info :special-tags-after-closing) info) "\n\\end{letter}\n" (org-koma-letter--special-contents-inline (plist-get info :special-tags-after-letter) info) "\n\\end{document}")
  org-koma-letter-template(#("\n\n\n\\begin{verse}\nThen plai..." 17 62 (:parent (verse-block ... ...)) 65 102 (:parent (verse-block ... ...)) 105 145 (:parent (verse-block ... ...)) 148 193 (:parent (verse-block ... ...)) 196 238 (:parent (verse-block ... ...)) 241 284 (:parent (verse-block ... ...)) 287 330 (:parent (verse-block ... ...)) 333 370 (: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 61/4001 0x156f5356b8e9> :input-buffer "LearnKomaLetter.org" :input-file "/mnt/Data/ActiveFiles/Lear..." :latex-class "default-koma-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 "LearnKomaLetter.tex"))
  org-export-to-file(koma-letter "LearnKomaLetter.tex" nil nil nil nil nil)
  (let ((outfile (org-export-output-file-name ".tex" subtreep)) (org-koma-letter-special-contents)) (org-export-to-file 'koma-letter outfile async subtreep visible-only body-only ext-plist))
  org-koma-letter-export-to-latex(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)

  reply	other threads:[~2020-04-06 12:04 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cfb79959-0ac6-737b-cc2a-d16f5b984c86.ref@verizon.net>
2020-04-03 20:49 ` Problem Charles Millar
2020-04-03 21:05   ` Problem with LaTeX class scrlttr2 Charles Millar
2020-04-03 23:19     ` John Hendy
2020-04-04  1:25       ` Charles Millar
2020-04-04  2:30         ` John Hendy
2020-04-04 12:01           ` Charles Millar
2020-04-04  6:22         ` Julius Dittmar
2020-04-04 12:03           ` Charles Millar
2020-04-04  7:43   ` Problem Robert Klein
2020-04-04 11:34     ` Problem Eric S Fraga
2020-04-04 12:22       ` Problem Charles Millar
2020-04-04 12:19     ` Problem Charles Millar
2020-04-04 11:30   ` Problem Eric S Fraga
2020-04-04 17:13     ` Problem Charles Millar
2020-04-06  8:37       ` Problem Eric S Fraga
2020-04-06 11:49         ` Charles Millar [this message]
2020-04-06 12:04           ` Problem Eric S Fraga
2020-04-06 12:33             ` Problem Nicolas Goaziou
2020-04-06 14:18               ` Problem Charles Millar

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=7ab34410-0dbd-5cec-478e-03fbe9ee868e@verizon.net \
    --to=millarc@verizon.net \
    --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).