emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: attachment: link type export to HTML invalid attach dir


From: stardiviner
Subject: Re: attachment: link type export to HTML invalid attach dir
Date: Tue, 14 Jan 2020 13:04:12 +0800
User-agent: mu4e 1.3.2; emacs 27.0.50

Gustav Wikström <address@hidden> writes:

> 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

Many thanks for really quick patching.

I tested out the new patch, still does not work.

#+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 upper org content is exported as this (HTML page):

#+begin_example
Strings are not Lists, but Anyway…

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.

file:///home/stardiviner/Org/Wiki/Computer 
Technology/Programming/Emacs/Data/Emacs Packages/string-as-list.gif
#+end_example

You can see:

1. the link still does not contains the attach directory from 
~(org-attach-dir)~.
2. image links are not exported as inline image displayed with ~<img 
src="...">~.

-- 
[ 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
      



reply via email to

[Prev in Thread] Current Thread [Next in Thread]