[O] (org-element-property :title ...) not returning a string
I've got: (defun org-scdoc-headline (headline contents info) Transcode a HEADLINE element from Org to ASCII. CONTENTS holds the contents of the headline. INFO is a plist holding contextual information. ;; Don't export footnote section, which will be handled at the end ;; of the template. (unless (org-element-property :footnote-section-p headline) (let* ((title (org-element-property :title headline)) (allcaps (upcase title)) ... blah blah It's choking on (upcase...) because 'title' ends up being an element object, and *not* the value of the :title property. Why? http://orgmode.org/worg/dev/org-export-reference.html is not helpful in answering this question. hjh
Re: [O] (org-element-property :title ...) not returning a string
On March 4, 2015 7:18:11 PM James Harkins jamshar...@qq.com wrote: I've got: (defun org-scdoc-headline (headline contents info) (unless (org-element-property :footnote-section-p headline) (let* ((title (org-element-property :title headline)) (allcaps (upcase title)) ... blah blah It's choking on (upcase...) because 'title' ends up being an element object, and *not* the value of the :title property. Never mind, I needed to wrap the org-element-property call inside org-export-data. That much is working now! Next question... maybe tomorrow. hjh Sent with AquaMail for Android http://www.aqua-mail.com