From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Feature suggestion Date: Mon, 02 Jan 2012 19:06:38 +0100 Message-ID: <87d3b2m11t.fsf@gnu.org> References: <87sjjy6tq0.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:57263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhmGL-00037l-9e for emacs-orgmode@gnu.org; Mon, 02 Jan 2012 13:05:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RhmGJ-0001uG-TF for emacs-orgmode@gnu.org; Mon, 02 Jan 2012 13:05:33 -0500 Received: from mail-wi0-f169.google.com ([209.85.212.169]:39641) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhmGJ-0001uB-LL for emacs-orgmode@gnu.org; Mon, 02 Jan 2012 13:05:31 -0500 Received: by wibhq12 with SMTP id hq12so11518309wib.0 for ; Mon, 02 Jan 2012 10:05:30 -0800 (PST) In-Reply-To: (York Zhao's message of "Mon, 2 Jan 2012 10:40:58 -0500") 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: York Zhao Cc: emacs-orgmode@gnu.org Hi York, York Zhao writes: > I think this is a good idea. By `org-babel-execute:tex' do you mean > `org-babel-execute-tex'? No, I mean org-babel-execute:tex. There is a whole family of Babel functions that let C-c C-c act upon a source block, with respect to the langage used. Do `C-h f org-babel-execute: TAB' to see the list of available function for your configuration. Then you can pick up a langage you are familiar with in this list, jump to the Emacs lisp function and start getting familiar with the code to write your own org-babel-execute:tex function. But wait, there is already org-babel-execute:latex, so I think part of the problem is already solved. Good exploration, -- Bastien