Hi Nick,

> I don't know anything about asymptote and I am not sure whether this
> will help: it does produce a temp file with everything quoted and
> running asy on the temp file produces an .eps file that contains the
> diagonal line, but it produces a png file which seems somewhat peculiar
> to me but maybe it'll work for you.

Thanks for the example, good idea.  Yes, the diagonal line is OK,
that's what my asymptote example creates, as the code I posted doesn't
actually make use of the array (its mere presence is enough to trigger
the error).

> You have to do
> 
> (setq org-babel-min-lines-for-block-output 0)
> 
> in order to get the example block result.

#+begin_rant

Is it just me, or are there other people who think that this kind of
approach is wrong?  In my view, per-user configuration can affect
the look-and-feel of org-mode, the paths, etc., but I think having
options that affect the result in any way (most babel options, in
fact) should be configurable from within the Org file itself.

After all, most work I do (now in Org) is supposed to be passed
to other people who can then continue doing this work.  I can't
expect them to change "global" settings just so they can reproduce
my output.

I love most software I use exactly because it doesn't rely too
much on global (per-user) configuration.  I think Org should also
reduce the set of global options to the absolute minimum.

#+end_rant

  András



Reply via email to