emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-mode for swi-prolog and latex export ?


From: Nick Dokos
Subject: Re: [O] org-mode for swi-prolog and latex export ?
Date: Mon, 21 Jul 2014 00:16:49 -0400
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.3.50 (gnu/linux)

address@hidden (Thomas S. Dye) writes:

> Aloha Jo,
>
> Joseph Vidal-Rosset <address@hidden> writes:
>
>> 2014-07-20 10:05 GMT+02:00 Thorsten Jolitz <address@hidden>:
>>
>>> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]