From: Pierre-Etienne Meunier <meunier.pe@free.fr>
To: Caml mailing list <caml-list@yquem.inria.fr>
Subject: Caml2TeX
Date: Sun, 05 Jun 2005 14:22:08 +0200 [thread overview]
Message-ID: <42A2EE70.3080305@free.fr> (raw)
Hi,
I am proud to announce the first release of Caml2TeX, an application
that produces LaTeX2e code from caml (OCaml, Caml light) source files.
Available at : http://martin.jambon.fr/caml2html.html
Since I wrote it very quickly from the Caml2html code, it may still have
a few bugs, but it worked for the caml files I did it for.
My main goal when I wrote it was to avoid creating a new LaTeX package.
It makes my TeX files very portable : you dont need to install anything
to compile the documents.
Known bugs :
- The standard Caml functions are not recognized as functions by Caml2TeX
- The functions following '#' (OCaml objects) are not recognized as
functions
- I write my Caml code with emacs, which produces weird indentations,
badly detected by Caml2TeX
- If argument 'a' is passed to function 'f', and 'a' is already declared
as a function, 'a' is considered a function in 'f', but it should be
considered an argument. In my opinion, it should lead to a bug in the
caml compiler : how do you use function 'a' in 'f' ?
P.E. Meunier
Bonjour,
Je suis fier de vous annoncer la sortie de Caml2TeX, une application qui
transforme du code Caml en document LaTeX2e.
Vous pouvez le trouver sur : http://martin.jambon.fr/caml2html.html
Je l'ai écrit très vite à partir du code de Caml2html, donc il peut
rester quelques bugs, mais il a suffi pour les fichiers pour lesquels je
l'ai écrit. Mon principal objectif était de rendre mes fichiers TeX
portables, c'est-à-dire d'éviter de créer des nouveaux packages LaTeX.
Donc, aucune installation nécessaire pour compiler les documents LaTeX.
Par contre, les en-têtes sont très longues.
Bugs connus :
- Les fonctions de caml (float_of_int, print_int...) ne sont pas
reconnues comme fonctions par Caml2TeX
- Les fonctions qui suivent un # (les objets de OCaml) ne sont pas
reconnues comme fonctions.
- J'écris mon Caml avec emacs, les indentations sont un peu étranges et
mal reconnues par Caml2TeX
- Si on passe à une fonction 'f' un argument 'a', et que 'a' est déjà
déclaré comme fonction, 'a' ne sera pas reconnu comme un argument dans
'f' mais comme une fonction. A mon avis, le compilateur Caml devrait le
reconnaître comme un bug : comme on fait pour utiliser la fonction 'a'
dans 'f' ?
P.E. Meunier
next reply other threads:[~2005-06-05 12:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-05 12:22 Pierre-Etienne Meunier [this message]
2005-06-06 8:45 ` [Caml-list] Caml2TeX Agustín Valverde
2005-06-06 21:15 ` Martin Jambon
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=42A2EE70.3080305@free.fr \
--to=meunier.pe@free.fr \
--cc=caml-list@yquem.inria.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