feature request: easy embedding of images

2023-02-20 Thread Alexis Gallagher
Hello, my fellow org-mode lovers,

This is a feature request — or failing that, a request for advice on a settings 
configuration which could produce this functionality now. 

I wish org-mode had the ability to attach images to notes, display them inline, 
and have that work well. By “work well” I mean a few specific things:

•   the image is automatically resized to maintain aspect ratio and 
fit horizontally with a civilized margin, so that I can resize my emacs window 
without the image disappearing or swamping the other content. 
•   you can still scroll the window one line height unit at a time, 
without the entire image being scrolled as if it were one giant line, breaking 
scrolling, as seems to happen on my emacs (version 28.x on Linux)
•   drag and drop, so I can add the image by dragging it in, for 
instance from a screenshot tool or from an image on a web page.
•   sensible defaults for storing the images bundled with notes and 
keeping the two associated, so that I don't subsequently live in fear of ever 
moving my org files

Why is this valuable, to me at least? I use org to take notes all day, during 
meetings, on reading matter, in the development of my own thoughts. Embedding 
images would let me collect every kind of resource I can't reproduce by typing 
or copy and pasting text — photos of slides during presentations, photos of 
whiteboard,  key snippets from websites, handwritten notes and equations, etc..

Alexis



[O] the right way to build OMPL export and import

2013-04-24 Thread Alexis Gallagher
Hi,

I would love to be able to export org documents to opal, so that I can read 
them with the various commercial outlining apps on platforms without emacs -- 
e.g, iOS. The ideal thing would be if I could import OPML as well.

Is anyone working on this already?

If not, does anyone have any pointers on the right way to go about this, so 
that the work would go smoothly and be acceptable upstream? This seems like a 
good time to ask given the recent consolidation of export facilities around the 
internal parser org-element.el.

I presume any OPML exporter should be based on that, correct? Is any one of the 
existing exporters a particularly clean example to work from?

For OPML import, is org-element-interpret-data the best starting point?

Alexis