From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 2BBEDBBAF for ; Fri, 19 Sep 2008 15:24:05 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhMDAFxE00hDz4HeiGdsb2JhbACTLQEBAQ8gpVqBZQ X-IronPort-AV: E=Sophos;i="4.32,429,1217800800"; d="sh'?scan'208";a="17137300" Received: from fettunta.fettunta.org ([67.207.129.222]) by mail3-smtp-sop.national.inria.fr with ESMTP; 19 Sep 2008 15:24:04 +0200 Received: from aquarium.takhisis.invalid (unknown [10.17.0.18]) by fettunta.fettunta.org (Postfix) with ESMTP id 7ED68180B1 for ; Fri, 19 Sep 2008 13:24:02 +0000 (UTC) Received: by aquarium.takhisis.invalid (Postfix, from userid 1000) id 91F7C62EF; Fri, 19 Sep 2008 15:23:09 +0200 (CEST) Date: Fri, 19 Sep 2008 15:23:09 +0200 From: Stefano Zacchiroli To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] XML library for validating MathML Message-ID: <20080919132309.GA21088@usha.takhisis.invalid> References: <1221762483.17456.42.camel@flake.lan.gerd-stolpmann.de> <688783.84893.qm@web54603.mail.re2.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="J2SCkAp4GZ/dPZZf" Content-Disposition: inline In-Reply-To: <688783.84893.qm@web54603.mail.re2.yahoo.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam: no; 0.00; zacchiroli:01 zack:01 pxp:01 ocamldoc:01 ocamldoc:01 pxp:01 gerd:01 flags:01 -pp:01 cheers:01 zacchiroli:01 postdoc:01 zack:01 wrote:01 pps:01 X-Attachments: type="application/x-sh" name="expand_stars.sh" --J2SCkAp4GZ/dPZZf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Sep 18, 2008 at 01:44:27PM -0700, Dario Teixeira wrote: > Ah, thanks, I'll look into that. By the way, is there an > API reference for PXP? I noticed you are not using Ocamldoc, For the Debian package, I've a hack to generate ocamldoc API reference from PXP (and for other pre-ocamldoc projects by Gerd). Basically I'm passing to ocamldoc the following pre-processing flags: -pp debian/expand_stars.sh The corresponding shell script is attached. Yes, it is hackish, but gives decent results. Sure they can be improved by reviewing the comments and making them conform to ocamldoc conventions, but is still something usable. Cheers. -- Stefano Zacchiroli -*- PhD in Computer Science \ PostDoc @ Univ. Paris 7 zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/ I'm still an SGML person,this newfangled /\ All one has to do is hit the XML stuff is so ... simplistic -- Manoj \/ right keys at the right time --J2SCkAp4GZ/dPZZf Content-Type: application/x-sh Content-Disposition: attachment; filename="expand_stars.sh" Content-Transfer-Encoding: quoted-printable #!/bin/bash=0A# expand '(*' to '(**'=0Ased 's/^\( *\)(\*\( [^\$=3D]\)/\1(**= \2/' "$@"=0A --J2SCkAp4GZ/dPZZf--