[Top][All Lists]

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

Re: preview src blocks that generate image files

From: John Kitchin
Subject: Re: preview src blocks that generate image files
Date: Sun, 26 Jan 2020 07:29:47 -0500

How would you handle source blocks that generate many figures? In iPython, for example this happens pretty easily. I guess you are thinking about blocks with a :file output or something though?

Once a preview was on it, would you have to C-c C-x C-v to toggle it off to edit it? I have explored a few different approaches with latex fragments, like clicking on it would turn the preview off, or entering it to turn it off.

What would trigger putting the image preview on? Running C-c C-c on a block? something more manual? 

I guess you have a use case where this makes sense, but you can already see an image preview on a link output, and there are ways to have the source blocks be in other places in a document than where the results are. 

Maybe for some src blocks like graphiz, or gnuplot where they more or less only produce one graphic this idea could be a good one. 


Professor John Kitchin 
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213

On Sun, Jan 26, 2020 at 3:11 AM Matt Huszagh <address@hidden> wrote:

I'm considering adding the ability to display an image preview overlay of
source blocks that generate an image file, much in the same way that
latex fragments can be previewed.

Is anyone else interested in this feature? Any general thoughts/feature


reply via email to

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