emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] How do I specify the language for a :results code block


From: Alan Schmitt
Subject: Re: [O] How do I specify the language for a :results code block
Date: Wed, 04 Dec 2013 13:35:42 +0100
User-agent: mu4e 0.9.9.6pre2; emacs 24.3.1

Hi Thomas,

> IIUC, your goal is to export the coq source code blocks. Does the
> following, which uses :results org, do what you want? It seems to work
> for me.

It almost works. What I get upon export is an org blog, where I can see
the "#+BEGIN_SRC coq" marker. The code inside is correctly displayed, though.

> P.S. I remembered :wrap just now. This doesn't export well, though.
>
> #+call: fetchcoq2("demo.v") :wrap src coq
>
> #+results:
> #+BEGIN_src coq
> demo.v
> #+END_src

This is very nice! The fact that it does not export well seems to be a
bug. I'll report it (in a new thread). Thank you for the suggestion.

Alan



reply via email to

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