t...@tsdye.com (Thomas S. Dye) writes: > Aloha Jo, > > Joseph Vidal-Rosset <joseph.vidal.ros...@gmail.com> writes: > >> 2014-07-20 10:05 GMT+02:00 Thorsten Jolitz <tjol...@gmail.com>: >> >>> 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