[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] are babel python sessions and inlined images incompatible?
From: |
Achim Gratz |
Subject: |
Re: [O] are babel python sessions and inlined images incompatible? |
Date: |
Sat, 27 Apr 2013 08:27:48 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Sebastien Vauban writes:
> Would we want to abstract the above, I guess we should generalize the
> languages families as:
>
> - graphics-only languages (ditaa, dot, gnuplot, etc.)
>
> - general-purpose languages with graphical capacities (R, maxima, octave...
> and, at least, python[1] IIUC)
>
> - general-purpose languages without graphical capacities (sql, sh, etc.)
This is something of a non-starter as all generalizations are false.
Babels notion of graphics is simply that after execution of the source
block it expects to be able to find a file that looks like it has a
graphics format in it (and its notion of results is that it gets
something from standard output that conforms to certain rules that are
changeable by header arguments).
A "graphics-only" language would be one that could only write files, but
Babel can easily transcend that limitation and pretend it had gotten a
result instead. It might even filter the result to convert between
formats. Conversely, a language that cannot write files could have an
implementation where Babel constructs the file to put in the graphics
link in Org from the output of the program. Existing Babel language
implementations already use both mechanisms.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
SD adaptation for Waldorf Blofeld V1.15B11:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
- [O] are babel python sessions and inlined images incompatible?, Rodrigo Amestica, 2013/04/23
- Re: [O] are babel python sessions and inlined images incompatible?, Eric Schulte, 2013/04/23
- Re: [O] are babel python sessions and inlined images incompatible?, Rodrigo Amestica, 2013/04/23
- Re: [O] are babel python sessions and inlined images incompatible?, Sebastien Vauban, 2013/04/24
- Re: [O] are babel python sessions and inlined images incompatible?, Rodrigo Amestica, 2013/04/24
- Re: [O] are babel python sessions and inlined images incompatible?, Sebastien Vauban, 2013/04/25
- Re: [O] are babel python sessions and inlined images incompatible?, Thomas S. Dye, 2013/04/26
- Re: [O] are babel python sessions and inlined images incompatible?, Sebastien Vauban, 2013/04/26
- Re: [O] are babel python sessions and inlined images incompatible?, Rasmus, 2013/04/26
- Re: [O] are babel python sessions and inlined images incompatible?,
Achim Gratz <=
- Re: [O] are babel python sessions and inlined images incompatible?, Sebastien Vauban, 2013/04/27