[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] weird ox-odt, links and images
From: |
Rasmus |
Subject: |
[O] weird ox-odt, links and images |
Date: |
Wed, 25 Feb 2015 16:54:33 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Hi,
For a document which I have to export as odt, I have a sublet issue. In a
document I have something like this
* head
para [[cite:@smith88]] para
#+NAME: name
#+CAPTION: cap
[[file:img/g_one_ahead.png]]
Where cite takes a bibtex key and format in a sensible way as plaintext
using reftex.
I get the following error
formatting cite for @smith88
Embedding /tmp/odt/img/g_one_ahead.png as Images/0001.png...
OpenDocument export failed: Don't know how to format label for link: (link
(:type "file" :path "img/g_one_ahead.png" :raw-link "file:img/g_one_ahead.png"
:application nil :search-option nil :begin 75 :end 103 :contents-begin nil
:contents-end nil :post-blank 0 :parent (paragraph (:begin 41 :end 104
:contents-begin 75 :contents-end 104 :post-blank 0 :post-affiliated 75 :name
"forecast1" :caption (((#("test" 0 4 (:parent #6))))) :parent (section (:begin
10 :end 104 :contents-begin 10 :contents-end 104 :post-blank 0 :post-affiliated
10 :parent (headline (:raw-value "title" :begin 1 :end 104 :pre-blank 0
:contents-begin 10 :contents-end 104 :level 1 :priority nil :tags nil
:todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil
:archivedp nil :commentedp nil :post-affiliated 1 :title (#("title" 0 5
(:parent #6))) :parent (org-data nil #6)) #4)) (paragraph (:begin 10 :end 41
:contents-begin 10 :contents-end 40 :post-blank 1 :post-affiliated 10 :parent
#4) #("para " 0 5 (:parent #5)) (link (:type "cite" :path "@smith88" :raw-link
"cite:@smith88" :application nil :search-option nil :begin 17 :end 35
:contents-begin nil :contents-end nil :post-blank 1 :parent #5)) #("para
" 0 5 (:parent #5))) #2)) #0 #("
" 0 1 (:parent #2)))))
Edebugging org-odt-format-label, when I include the cite-link,
(org-odt--enumerable-image-p element info) returns nil rather than t, as
it's supposed to...
—Rasmus
--
What will be next?
- [O] weird ox-odt, links and images,
Rasmus <=