emacs-orgmode
[Top][All Lists]
Advanced

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

Re: Best way to include METAPOST in ConTeXt exporter


From: Ihor Radchenko
Subject: Re: Best way to include METAPOST in ConTeXt exporter
Date: Wed, 13 Oct 2021 14:54:31 +0800

Jason Ross <jasonross1024@gmail.com> writes:

>> Or you can use "raw" results by default and format everything as you
>> wish in your Org Babel module programatically.
>
> I'm not sure I understand this yet. Would this emit METAPOST code to the
> Org buffer? Ideally, I'd like to emit METAPOST code if the backend is
> `context`, otherwise, emit a file.

A hackish way would be detecting if you are executing code during export
and emitting different results (say, you may look at
org-export-current-backend).  However, it will do nothing when user
specifies :results file

Best,
Ihor



reply via email to

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