From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: org-mode for swi-prolog and latex export ? Date: Mon, 21 Jul 2014 00:16:49 -0400 Message-ID: <87d2czbb2m.fsf@gmail.com> References: <87lhrolakb.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X952D-0006Bo-Gv for emacs-orgmode@gnu.org; Mon, 21 Jul 2014 00:17:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9528-0003DJ-1U for emacs-orgmode@gnu.org; Mon, 21 Jul 2014 00:17:09 -0400 Received: from plane.gmane.org ([80.91.229.3]:48229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9527-0003Ac-Qo for emacs-orgmode@gnu.org; Mon, 21 Jul 2014 00:17:03 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X9526-0001vN-0W for emacs-orgmode@gnu.org; Mon, 21 Jul 2014 06:17:02 +0200 Received: from pool-98-110-160-12.bstnma.fios.verizon.net ([98.110.160.12]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Jul 2014 06:17:02 +0200 Received: from ndokos by pool-98-110-160-12.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Jul 2014 06:17:02 +0200 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: emacs-orgmode@gnu.org tsd@tsdye.com (Thomas S. Dye) writes: > Aloha Jo, > > Joseph Vidal-Rosset writes: > >> 2014-07-20 10:05 GMT+02:00 Thorsten Jolitz : >> >>> I have not seen an ob-prolog.el yet, but maybe it does exist? If so, >>> exporting both code and result of its execution would be: >> >> Thanks for this reply. Unfortunately, I don't see option to export into >> the prolog .pl format. If someone can explain to me how export any code >> (python , prolog, ocaml, etc.) if it is possible with org-mode, I will be >> thankfull. > > I don't see Prolog on the list of supported languages: > > http://orgmode.org/worg/org-contrib/babel/languages.html > > There are instructions for developing support for other languages: > > http://orgmode.org/worg/org-contrib/babel/languages.html#develop > > You'll want to "tangle" the .pl source code file and "export" the > documentation. > The first sentence of the doc that Tom pointed to is: ,---- | The core Babel functions (viewing, export, tangling, etc…) are language | agnostic and will work even for languages that are not explicitly | supported. Explicit language-specific support is required only for | evaluation of code blocks in a language. `---- So maybe nothing more is needed for just exporting and tangling (completely untested). -- Nick