emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com>
To: Thorsten Jolitz <tjolitz@gmail.com>
Cc: "Liste-emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: org-mode for swi-prolog and latex export ?
Date: Sun, 20 Jul 2014 22:37:22 +0200	[thread overview]
Message-ID: <CAD-VTcHtJKdqMUH1NFhNa3gYR6hsCSNFj3ey9CGjTJUp5o+WcA@mail.gmail.com> (raw)
In-Reply-To: <87lhrolakb.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1180 bytes --]

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:
>
> ,----
> | * My documentation
> |
> | Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec
> | hendrerit tempor tellus. Donec pretium posuere tellus. Proin quam
> | nisl, tincidunt et, mattis eget, convallis nec, purus. Cum sociis
> | natoque penatibus et magnis dis parturient montes, nascetur ridiculus
> | mus. Nulla posuere. Donec vitae dolor. Nullam tristique diam non
> | turpis. Cras placerat accumsan nulla. Nullam rutrum. Nam vestibulum
> | accumsan nisl.
> |
> | #+header: :exports both
> | #+begin_src prolog
> |  ( ... my-program ...)
> | #+end_src
> `----
>
> PS
> Code and documentation text is always exported together, thats what
> Org Babel is for, as long as you don't specify :exports none or so.
>

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.

Best regards,

Jo.

[-- Attachment #2: Type: text/html, Size: 1700 bytes --]

  reply	other threads:[~2014-07-20 20:37 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 [this message]
2014-07-20 21:38     ` Thomas S. Dye
2014-07-21  4:16       ` Nick Dokos
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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAD-VTcHtJKdqMUH1NFhNa3gYR6hsCSNFj3ey9CGjTJUp5o+WcA@mail.gmail.com \
    --to=joseph.vidal.rosset@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tjolitz@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).