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 mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 61E157FA5C for ; Sat, 14 May 2016 22:17:22 +0200 (CEST) IronPort-PHdr: 9a23:XOzIChNj/9FIoBvZs3Ml6mtUPXoX/o7sNwtQ0KIMzox0KPj6rarrMEGX3/hxlliBBdydsKIVzbCN+Pm8AyQp2tWojjMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpQAbFhi3DwdpPOO9QteU1JTmkbrpsMSPOU1hv3mUX/BbFF2OtwLft80b08NJC50a7V/3mEZOYPlc3mhyJFiezF7W78a0+4N/oWwL46pyv50IbaKvdK09SflcDS86G2Ez/szi8xfZHiWV4X5JcmgQngBJAEDv6xb/FsPxvy32rOt+8DWdJcr3C6gzXi3k5KBuHky7wBwbPiI0pTmEwvd7i7hW9Uqs Authentication-Results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=hendrik@topoi.pooq.com; spf=None smtp.mailfrom=hendrik@topoi.pooq.com; spf=None smtp.helo=postmaster@april.topoi.pooq.com Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of hendrik@topoi.pooq.com) identity=pra; client-ip=69.165.131.134; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="hendrik@topoi.pooq.com"; x-sender="hendrik@topoi.pooq.com"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of hendrik@topoi.pooq.com) identity=mailfrom; client-ip=69.165.131.134; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="hendrik@topoi.pooq.com"; x-sender="hendrik@topoi.pooq.com"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@april.topoi.pooq.com) identity=helo; client-ip=69.165.131.134; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="hendrik@topoi.pooq.com"; x-sender="postmaster@april.topoi.pooq.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AvCwBhhzdX/4aDpUVehAxKATOCdLh0JIUjSgKBXhABAQEBAQEBAWQngi2CFgEBBDowHwsYCSUPBRhfiBQOwy4BAQEHAgEfBQsCimWFC4Jfgi4FmCeFfogWCmaOM49BNyuECCAyAYZHJIEaAQEB X-IPAS-Result: A0AvCwBhhzdX/4aDpUVehAxKATOCdLh0JIUjSgKBXhABAQEBAQEBAWQngi2CFgEBBDowHwsYCSUPBRhfiBQOwy4BAQEHAgEfBQsCimWFC4Jfgi4FmCeFfogWCmaOM49BNyuECCAyAYZHJIEaAQEB X-IronPort-AV: E=Sophos;i="5.24,619,1454972400"; d="scan'208,217";a="218304506" Received: from topoi.pooq.com (HELO april.topoi.pooq.com) ([69.165.131.134]) by mail2-smtp-roc.national.inria.fr with ESMTP; 14 May 2016 22:17:20 +0200 Received: by april.topoi.pooq.com (Postfix, from userid 1001) id 413DF1A02D7; Sat, 14 May 2016 16:17:19 -0400 (EDT) Date: Sat, 14 May 2016 16:17:19 -0400 From: Hendrik Boom To: caml-list@inria.fr Message-ID: <20160514201719.GA31835@topoi.pooq.com> References: <20160514192948.GA27326@topoi.pooq.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160514192948.GA27326@topoi.pooq.com> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [Caml-list] How can I use mathematics with omd's markdown On Sat, May 14, 2016 at 03:29:49PM -0400, Hendrik Boom wrote: > Evidently it's possible to use mathematicl notation with omd. > > Ths issue > > https://github.com/ocaml/omd/issues/107 > > contains some clues how to do it. But when I do it, all I get is the > Latex code in the webpage. > > Not surprising, because it says that mathjax will further convert it, > and I haven't invoked mathjax nor do I know how. > > I this something that has to be specified on the omd command -- > presumably some pre or post processor? > > Or is there some other mechanism to do the remaining translation? Partial solution: I have to prepend the following to the generated html file: If I do this, both forms mentioned in issue 107 work, but the one with the double dollar signs works without the extra backslashes, and is *much* more readable in the source code. Is there some way to get omd to prefix that script to its output, os do I have to send it into a temporary file and prepend it with the cat shell command? -- hendrik