[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: attachment: link type export to HTML invalid attach dir
From: |
Gustav Wikström |
Subject: |
Re: attachment: link type export to HTML invalid attach dir |
Date: |
Tue, 14 Jan 2020 03:27:33 +0000 |
Hi!
Thanks for reporting this!
The code is updated on the master branch to make the exporters aware of how to
deal with attachment links. Commit d70db54db for the curious. Basically,
attachment links are expanded into file-links by the exporters now, before
further processing into links in the respective markup language.
Regards
Gustav
________________________________________
From: Emacs-orgmode <emacs-orgmode-bounces+gustav=address@hidden> on behalf of
stardiviner <address@hidden>
Sent: Monday, January 13, 2020 13:24
To: address@hidden
Subject: Re: attachment: link type export to HTML invalid attach dir
When I export with =[C-c C-e h o]=, I found attached inline image links are not
displayed in HTML page.
Here is Org content:
#+begin_src org
,****** Strings are not Lists, but Anyway…
:PROPERTIES:
:ID: 2fd354f3-ac7a-499d-9fe4-a76626bbdb38
:END:
In Calva Paredit, strings are treated in much the same way as lists are. Here’s
an example showing Slurp and Barf, Forward/Backward List, and Grow Selection.
[[attachment:string-as-list.gif]]
#+end_src
The email attachment contains the screenshot of HTML page.
I used Edebug on functions, track down to the error function ~(org-attach-dir)~,
it returns ~nil~ when in exporting to HTML, but when I evaluate
~(org-attach-dir)~
interactively under the headline, it works correctly.
--
[ stardiviner ]
I try to make every word tell the meaning what I want to express.
Blog: https://stardiviner.github.io/
IRC(freenode): stardiviner, Matrix: stardiviner
GPG: F09F650D7D674819892591401B5DF1C95AE89AC3
- Re: attachment: link type export to HTML invalid attach dir, stardiviner, 2020/01/13
- Re: attachment: link type export to HTML invalid attach dir,
Gustav Wikström <=
- Re: attachment: link type export to HTML invalid attach dir, stardiviner, 2020/01/14
- RE: attachment: link type export to HTML invalid attach dir, Gustav Wikström, 2020/01/14
- Re: attachment: link type export to HTML invalid attach dir, stardiviner, 2020/01/15
- RE: attachment: link type export to HTML invalid attach dir, Gustav Wikström, 2020/01/15
- Re: attachment: link type export to HTML invalid attach dir, stardiviner, 2020/01/16
- Re: attachment: link type export to HTML invalid attach dir, Nicolas Goaziou, 2020/01/16
- RE: attachment: link type export to HTML invalid attach dir, Gustav Wikström, 2020/01/16
- RE: attachment: link type export to HTML invalid attach dir, Gustav Wikström, 2020/01/16
- Re: attachment: link type export to HTML invalid attach dir, Nicolas Goaziou, 2020/01/16
- RE: attachment: link type export to HTML invalid attach dir, Gustav Wikström, 2020/01/17