From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-mode for swi-prolog and latex export ?
Date: Mon, 21 Jul 2014 00:16:49 -0400 [thread overview]
Message-ID: <87d2czbb2m.fsf@gmail.com> (raw)
In-Reply-To: m2egxfk8xb.fsf@tsdye.com
tsd@tsdye.com (Thomas S. Dye) writes:
> Aloha Jo,
>
> Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes:
>
>> 2014-07-20 10:05 GMT+02:00 Thorsten Jolitz <tjolitz@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
next prev parent reply other threads:[~2014-07-21 4:17 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-20 7:54 org-mode for swi-prolog and latex export ? Joseph Vidal-Rosset
2014-07-20 8:05 ` Thorsten Jolitz
2014-07-20 20:37 ` Joseph Vidal-Rosset
2014-07-20 21:38 ` Thomas S. Dye
2014-07-21 4:16 ` Nick Dokos [this message]
2014-07-21 9:15 ` Joseph Vidal-Rosset
2014-07-21 10:01 ` Thorsten Jolitz
2014-07-21 10:19 ` Nick Dokos
2014-07-21 10:34 ` Joseph Vidal-Rosset
2014-07-21 13:40 ` Nick Dokos
2014-07-21 17:49 ` Joseph Vidal-Rosset
2014-07-21 18:27 ` Nick Dokos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d2czbb2m.fsf@gmail.com \
--to=ndokos@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.