From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: How do I specify the language for a :results code block Date: Wed, 04 Dec 2013 13:35:42 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59126) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoC2Z-0006d0-MR for emacs-orgmode@gnu.org; Wed, 04 Dec 2013 07:59:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VoC2S-0004rK-D9 for emacs-orgmode@gnu.org; Wed, 04 Dec 2013 07:58:55 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:36606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoC2S-0004r9-6r for emacs-orgmode@gnu.org; Wed, 04 Dec 2013 07:58:48 -0500 In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Thomas S. Dye" Cc: emacs-orgmode@gnu.org, Charles Berry 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