From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: org-mode for swi-prolog and latex export ? Date: Mon, 21 Jul 2014 12:01:23 +0200 Message-ID: <87fvhvni8c.fsf@gmail.com> References: <87lhrolakb.fsf@gmail.com> <87d2czbb2m.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]:52700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9APu-0005wJ-UF for emacs-orgmode@gnu.org; Mon, 21 Jul 2014 06:02:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9APn-0005T5-EQ for emacs-orgmode@gnu.org; Mon, 21 Jul 2014 06:01:58 -0400 Received: from plane.gmane.org ([80.91.229.3]:50117) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9APn-0005T1-7v for emacs-orgmode@gnu.org; Mon, 21 Jul 2014 06:01:51 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X9APh-0005bN-CB for emacs-orgmode@gnu.org; Mon, 21 Jul 2014 12:01:45 +0200 Received: from g231109248.adsl.alicedsl.de ([92.231.109.248]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Jul 2014 12:01:45 +0200 Received: from tjolitz by g231109248.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Jul 2014 12:01:45 +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 Joseph Vidal-Rosset writes: > 2014-07-21 6:16 GMT+02:00 Nick Dokos : > > 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). > > Yes, but I do not know how to define such and such language to export. > When I Cc -Ce I can export to latex and html for example , but I do > not know how to extend this list. This is a (lisp)programmers task. The usual proceeding would be to look at the list of extisting ob-.el files and pick a language that is very similar to the new one (in case of prolog maybe a difficult task?). Then try to adapt this file to your new language -> ob-prolog.el. -- cheers, Thorsten