[Top][All Lists]

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

Re: [PATCH] ob-R output file with graphics parameter

From: Jack Kamm
Subject: Re: [PATCH] ob-R output file with graphics parameter
Date: Tue, 06 Jul 2021 08:04:00 -0700

Hello again,

>> A user might like to construct a figure consisting of various subfigures 
>> such as in a subfloat environment.
>> Will this be reasonably simple to accomplish if `:results graphics' (with no 
>> `file' element) automatically inserts a link?
>> Currently, omitting the file element leaves the link out, which I believe is 
>> the most direct way to approach subfloats.
> Thanks for bringing up this use case, it hadn't occurred to me before.

Thinking about this more, it occurred to me that the ":exports code" or
":exports none" header should already handle this.

When that header is set, the graphics result won't be added to the latex
document, and the user can construct the subfigure separately in latex.

Then we wouldn't need to support the use-case of ob-R creating a graphic
but not producing a result from it...which still feels a little strange
to me, to be honest.

Or am I missing something still?

reply via email to

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