From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 683F4BB9A for ; Mon, 7 Nov 2005 18:02:28 +0100 (CET) Received: from haka.fmf.uni-lj.si (haka.fmf.uni-lj.si [193.2.67.18]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id jA7H2RwA019543 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 7 Nov 2005 18:02:28 +0100 Received: from localhost ([127.0.0.1] ident=andrej) by haka.fmf.uni-lj.si with esmtp (Exim 4.50) id 1EZAO3-0003YB-74; Mon, 07 Nov 2005 18:02:27 +0100 Message-ID: <436F88A2.5000206@andrej.com> Date: Mon, 07 Nov 2005 18:02:26 +0100 From: Andrej Bauer User-Agent: Debian Thunderbird 1.0.2 (X11/20050331) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Maxence Guesdon , caml-list@yquem.inria.fr Subject: Re: [Caml-list] ocamldoc charset specification? References: <4360AF46.7060201@andrej.com> <20051107145047.4e6971cb@tintin.inria.fr> In-Reply-To: <20051107145047.4e6971cb@tintin.inria.fr> Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: Andrej.Bauer@andrej.com X-SA-Exim-Scanned: No (on haka.fmf.uni-lj.si); SAEximRunCond expanded to false X-Miltered: at nez-perce with ID 436F88A3.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; andrej:01 andrej:01 caml-list:01 ocamldoc:01 maxence:01 guesdon:01 ocamldoc:01 ...:98 wrote:01 encoding:02 encoding:02 inheriting:03 string:03 string:03 ugly:03 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 Maxence Guesdon wrote: >> Note: I am not asking for ocamldoc to recode from one charset to >> another, just to put information about the encoding in the html file. > > Two solutions: > 1) make a string replacement after the generation of html files. This is (a) ugly and (b) as I said I am not recoding anything, I just need to put info in the document HEAD. I suppose I could use string relpacement for that... > 2) create a custom ocamldoc generator with a geenrator class inheriting from > the standard html generator and change the part where the encoding is > generated. Ah, this sounds like an option. Thanks for the idea, I will look into it. Andrej