From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: org-babel tangling + ascii export Date: Mon, 26 Mar 2012 07:22:44 -0400 Message-ID: <87ehsfr2mi.fsf@gmx.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53360) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCAXh-0000km-KD for emacs-orgmode@gnu.org; Mon, 26 Mar 2012 10:05:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SCAXc-0001O4-GM for emacs-orgmode@gnu.org; Mon, 26 Mar 2012 10:05:05 -0400 Received: from mailout-us.gmx.com ([74.208.5.67]:46289) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1SCAXc-0001Nu-98 for emacs-orgmode@gnu.org; Mon, 26 Mar 2012 10:05:00 -0400 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: Ilya Shlyakhter Cc: emacs-orgmode@gnu.org Yes this is possible, see the "org" argument to the "comment" header argument http://orgmode.org/manual/comments.html. Cheers, Ilya Shlyakhter writes: > Is it possible to combine org-babel tangling with ASCII export, so that > the tangled file would have ALL of the Org-file's content > as comments (preserving indentation etc as the ASCII export does), > with the code blocks inserted as non-comments? > > Basically I want to write the program in literate-programming form in > Org mode, but be able to export it into an executable form that's > independent of Org but still has all the information (not just the > text immediately before each code block). > > Thanks for help, > > ilya > > -- Eric Schulte http://cs.unm.edu/~eschulte/