From: Esther Baruk <esther.baruk@gmail.com>
To: michel levy <michel.levy@imag.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] insert ocaml source in latex
Date: Mon, 29 Aug 2011 18:16:38 +0200 [thread overview]
Message-ID: <CAFzMiE08EDFizey4tN35N2T8_YcKaqkp_wNCj-fS0eU5DU-+TQ@mail.gmail.com> (raw)
In-Reply-To: <4E5BB4E0.5020406@imag.fr>
[-- Attachment #1: Type: text/plain, Size: 877 bytes --]
Hi,
for this purpose, you can also add " '(indent-tabs-mode nil)" to your
"custom-set-variables" in your .emacs file.
This will put some spaces when you press TAB instead of a tabulation.
Esther Baruk
On Mon, Aug 29, 2011 at 5:48 PM, michel levy <michel.levy@imag.fr> wrote:
> **
> On 29/08/2011 17:12, michel levy wrote:
>
> I want to insert some Ocaml expressions in latex, but by cut/paste it's
> impossible, because I lose
> the identation.
> Do you have a solution to insert Ocaml source in latex document ?
> Do you know if someone has written a definition for using ocaml with the
> listings package ?
>
> Thank you all, for your answers to my questions.
> But for my limited needs, I have also seen that cut/paste was a solution,
> if, in emacs,
> you replace the tabs by spaces. For example, M-x untabify replaces in a
> selected region the tabs by spaces.
>
>
[-- Attachment #2: Type: text/html, Size: 1524 bytes --]
next prev parent reply other threads:[~2011-08-29 16:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-29 15:12 michel levy
2011-08-29 15:31 ` Benoit Montagu
2011-08-29 15:41 ` Maxence Guesdon
2011-08-29 15:48 ` michel levy
2011-08-29 16:16 ` Esther Baruk [this message]
[not found] <1021401908.2930.1314630761934.JavaMail.root@zmbs2.inria.fr>
2011-08-29 15:37 ` luc.maranget
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=CAFzMiE08EDFizey4tN35N2T8_YcKaqkp_wNCj-fS0eU5DU-+TQ@mail.gmail.com \
--to=esther.baruk@gmail.com \
--cc=caml-list@inria.fr \
--cc=michel.levy@imag.fr \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox