From: Ihor Radchenko <yantar92@posteo.net>
To: Psionic K <psionik@positron.solutions>
Cc: emacs-orgmode@gnu.org
Subject: Re: How should I handle babel configuration of exports & results in Dslide?
Date: Mon, 27 May 2024 14:51:34 +0000 [thread overview]
Message-ID: <875xuze2a1.fsf@localhost> (raw)
In-Reply-To: <CADQMGATygAjpxKD=2fwWyMV+90xjcU5pSWET426Ff2hbdgOgKA@mail.gmail.com>
Psionic K <psionik@positron.solutions> writes:
> Because live presentations are a bit different from exporting
> documents, I'm not always sure how options should apply. I'm not an
> expert on many of these options and am not sure what will feel
> consistent for users.
>
> For context, a user wants :exports results or :exports none to hide
> the babel block / results. Issue is here:
> https://github.com/positron-solutions/dslide/issues/1 Is their idea
> consistent with the expectations and usages elsewhere?
In some way, presentation can be viewed as export - if you only display
things selectively. So, :exports header argument may indeed be used.
Or you can use a custom header argument...
> To implement options from the Dslide configuration, how can I
> explicitly change babel block behavior from an Elisp program?
> What function is best for cleaning up results of a single block? I'm
> using `org-babel-remove-result'. Whenever the babel args are :results
> replace, I am clearing them on that block both at the start fo the
> slide and when going backwards. Should this behavior interact with
> :exports?
For example, you can use ox-org exporter.
Or you can pass PARAMS argument to `org-babel-execute-src-block' to
override :results header argument value.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
prev parent reply other threads:[~2024-05-27 14:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-27 9:29 How should I handle babel configuration of exports & results in Dslide? Psionic K
2024-05-27 14:51 ` Ihor Radchenko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875xuze2a1.fsf@localhost \
--to=yantar92@posteo.net \
--cc=emacs-orgmode@gnu.org \
--cc=psionik@positron.solutions \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).