From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 534E77EEBF for ; Sun, 28 Jun 2015 19:02:12 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of gabriel.scherer@gmail.com) identity=pra; client-ip=209.85.213.181; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="gabriel.scherer@gmail.com"; x-sender="gabriel.scherer@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of gabriel.scherer@gmail.com designates 209.85.213.181 as permitted sender) identity=mailfrom; client-ip=209.85.213.181; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="gabriel.scherer@gmail.com"; x-sender="gabriel.scherer@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-ig0-f181.google.com) identity=helo; client-ip=209.85.213.181; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="gabriel.scherer@gmail.com"; x-sender="postmaster@mail-ig0-f181.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0BvAgAvKJBVlLXVVdFbgzA1XwasW5IyhgACgRQHTAEBAQEBARIBAQEBBwsLCR8whCMBAQQSER0BGx0BAwwGBQsNAgImAgIhAQERAQUBHAYTIod3AQMSrCA+MYs/gWuCeYpIChknDVeFHQEBAQEGAQEBARgBBQ6BE4opgk2COQeCaIFDBZQEhFmFGYFjkSCFURIjgRUXhAs8MYJIAQEB X-IPAS-Result: A0BvAgAvKJBVlLXVVdFbgzA1XwasW5IyhgACgRQHTAEBAQEBARIBAQEBBwsLCR8whCMBAQQSER0BGx0BAwwGBQsNAgImAgIhAQERAQUBHAYTIod3AQMSrCA+MYs/gWuCeYpIChknDVeFHQEBAQEGAQEBARgBBQ6BE4opgk2COQeCaIFDBZQEhFmFGYFjkSCFURIjgRUXhAs8MYJIAQEB X-IronPort-AV: E=Sophos;i="5.13,694,1427752800"; d="scan'208";a="138163542" Received: from mail-ig0-f181.google.com ([209.85.213.181]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 28 Jun 2015 19:02:11 +0200 Received: by igcur8 with SMTP id ur8so20901130igc.0 for ; Sun, 28 Jun 2015 10:02:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=qpa/hI8fBb9BnnD9upwz0ifYfWABg9HAx16GdL3uQWg=; b=TInsJcKWlhIKLy8T78FcVLog1GBRVa9ExyvD2JOpcZThQv/aRgUlBoTqVQT9JAMHax xABbLY7GFpWMNZMTntP9JdanxglUdsiMjTFdAtes1A+CI0EbIjc6ug4q0Of0c7Eykicb ZiSRxGOfXTOmML+vE6GYwc+4JkwcsgLWI+px9Dwx7ui6jY4/70JTADzKOVRTsAFRyWyA bg2ZDWAfQ0G9XOru+CJGl3UBlnSY6sJBh9vKKg/eYkhZPg6nCjS4wLnYktO5ccteX5a0 G0ehCprVCYDCAtzBM48ZOdsKmJB2UgmWf+LOyHDP8rU5fctJAjngdDBCPEjtpOVaVgKj Oglw== X-Received: by 10.50.78.199 with SMTP id d7mr10725136igx.18.1435510929930; Sun, 28 Jun 2015 10:02:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.25.130 with HTTP; Sun, 28 Jun 2015 10:01:30 -0700 (PDT) In-Reply-To: References: From: Gabriel Scherer Date: Sun, 28 Jun 2015 19:01:30 +0200 Message-ID: To: Robert Muller Cc: caml users Content-Type: text/plain; charset=UTF-8 Subject: Re: [Caml-list] syntax highlighting of ocaml code in html I don't think it is standard by any means, but I have had good success using GNU source-highlight in the past. Just "source-highlight foo.ml" produces a foo.ml.html. (--doc or --no-doc can be used depending on whether on not one wants the html produced to be self-contained). On Sun, Jun 28, 2015 at 6:42 PM, Robert Muller wrote: > An opam search and googling a bit fails to turn up an obvious standard tool > for publishing highlighted ocaml code in html. Is there a standard tool? > caml2html?, highlight.js?, cow? > thank you, > Bob Muller