help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: want a file format easily edited and read by emacs that allows (mult


From: Dan Hitt
Subject: Re: want a file format easily edited and read by emacs that allows (multiple) pictures to be included
Date: Mon, 4 Dec 2017 12:35:13 -0800

On Mon, Dec 4, 2017 at 2:02 AM, Marcin Borkowski <mbork@mbork.pl> wrote:
>
> On 2017-12-02, at 22:08, Marcin Borkowski <mbork@mbork.pl> wrote:
>
>> On 2017-12-02, at 21:31, Dan Hitt <dan.hitt@gmail.com> wrote:
>>
>>> The one aspect of org mode (or html) that is a sort of problem is that
>>> the images it shows cannot exist in the file itself, but rather float
>>> in the file system (or presumably served remotely over http).
>>>
>>> The problem here is breakage.  The image can get renamed or deleted,
>>> and then the file.org is broken.
>>>
>>> That's why i would like something where the image is copied directly
>>> into the file.
>>
>> I'm pretty sure you could embed the image in some kind of a source
>> block, so that after executing it, the image file would appear in the
>> current directory.  I could try to make a proof of concept tomorrow if
>> you're interested.
>
> OK, so here's my (quite simplistic, but apparently working well enough)
> solution:
>
> http://mbork.pl/2017-12-04_Embedding_files_in_Org-mode
>
> Hth,
>
> --
> Marcin Borkowski

Awesome!

Thanks Marcin!

So i can archive my image right in my org file, and if it gets lost,
it can be recreated by running the code that M-xorg-insert-file
created.  And it works on my system.

:)

dan



reply via email to

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