Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DB39C200C6F for ; Tue, 9 May 2017 15:28:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D9F20160BB6; Tue, 9 May 2017 13:28:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 04FF4160BB3 for ; Tue, 9 May 2017 15:28:22 +0200 (CEST) Received: (qmail 96067 invoked by uid 500); 9 May 2017 13:28:22 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 96055 invoked by uid 99); 9 May 2017 13:28:21 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 May 2017 13:28:21 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 23A0F1806A4 for ; Tue, 9 May 2017 13:28:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.1 X-Spam-Level: X-Spam-Status: No, score=0.1 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=scarlet.be Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 5S1Ai_XULLqB for ; Tue, 9 May 2017 13:28:18 +0000 (UTC) Received: from eir.is.scarlet.be (eir.is.scarlet.be [193.74.71.27]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 6FAF15F569 for ; Tue, 9 May 2017 13:28:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=scarlet.be; s=scarlet; t=1494336498; bh=RrzCPpRu1+okT0LJRfMJqMScTYbRby1V7kkZc4GikTc=; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:From:To: Subject:In-Reply-To:References:Message-ID; b=rqR+YAyysitYhD8sgiO7m28ijdwvp9eQ/zPN4tBfoLWumksg+zfDHTkbylvpLDzSG 3/UDyqhozyfxMv5K1sH1/5ca8uhgQ4+EIghLL7IH3Le1/rB0/WbAZLQi3y3jZpW5p8 i7TNJqqQvSrmF+ApaaOku+vAgLarWLpKj6s9p23k= Received: from webmail.scarlet.be (gresham.is.scarlet.be [193.74.71.215]) by eir.is.scarlet.be (8.14.9/8.14.9) with ESMTP id v49DSHXN014980 for ; Tue, 9 May 2017 15:28:18 +0200 X-Scarlet: d=1494336498 c=193.74.71.215 Received: from pno-astro-26.ulb.ac.be ([164.15.138.26]) via astropc12.ulb.ac.be ([164.15.138.26]) by webmail.scarlet.be with HTTP (HTTP/1.1 POST); Tue, 09 May 2017 15:28:17 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 09 May 2017 15:28:17 +0200 From: Gilles To: Subject: Re: [4/4] commons-numbers git commit: Avoid "malformed HTML" javadoc error In-Reply-To: References: <3bdbb7ac79f041e09deb7910adc6f031@git.apache.org> <5f7b6b157c44473ca33a7f9d4cdf231b@git.apache.org> <564e414f82cc603436d3521c5a1f8ee6@scarlet.be> Message-ID: <3ffb5ca3e9da3df63d2c03578e4f4c5b@scarlet.be> X-Sender: gilles@harfang.homelinux.org User-Agent: Scarlet Webmail X-DCC-scarlet.be-Metrics: eir; whitelist X-Virus-Scanned: clamav-milter 0.98.1-exp at eir X-Virus-Status: Clean archived-at: Tue, 09 May 2017 13:28:24 -0000 On Tue, 9 May 2017 09:03:13 -0400, Raymond DeCampo wrote: > How does MathJax interact with HTML entities? Seems that javadoc8 breaks the build even before MathJax has the chance to interpret the LaTeX code. See this for a more complete answer: http://docs.mathjax.org/en/latest/tex.html > > My LateX is very rusty - is there a suitable escape sequence (like > the \leq > used in other parts of the doc) that could be used instead? See reference above; there is "\lt" (defined by "MathJax", not LaTeX IIUC). Anyways, I think that we should try and use "{@code ...}" whenever the "formula" is just stating inequalities between simple entities (numbers). [See the latest Javadoc changes in branch "task_NUMBERS-33_Gamma".] Gilles > > > On Tue, May 9, 2017 at 7:17 AM, Gilles > wrote: > >> On Tue, 09 May 2017 11:09:49 -0000, stain@apache.org wrote: >> >>> Avoid "malformed HTML" javadoc error >>> >> >> -1 >> >> This is not malformed HTML! It is LateX (to be interpreted by >> MathJax). >> >> Regards, >> Gilles >> >> >> >>> >>> Project: >>> http://git-wip-us.apache.org/repos/asf/commons-numbers/repo >>> Commit: >>> >>> >>> http://git-wip-us.apache.org/repos/asf/commons-numbers/commit/851b17ec >>> Tree: http://git-wip-us.apache.org/repos/asf/commons-numbers/tree/ >>> 851b17ec >>> Diff: http://git-wip-us.apache.org/repos/asf/commons-numbers/diff/ >>> 851b17ec >>> >>> Branch: refs/heads/task_NUMBERS-33__Gamma >>> Commit: 851b17ece739245bc04f7f03dc20cfe4c0ea60a8 >>> Parents: 8d2b162 >>> Author: Stian Soiland-Reyes >>> Authored: Tue May 9 11:07:20 2017 +0100 >>> Committer: Stian Soiland-Reyes >>> Committed: Tue May 9 12:09:40 2017 +0100 >>> >>> >>> >>> ---------------------------------------------------------------------- >>> .../src/main/java/org/apache/commons/numbers/gamma/Digamma.java >>> | 2 >>> +- >>> .../src/main/java/org/apache/commons/numbers/gamma/LogGamma.java >>> | 2 >>> +- >>> 2 files changed, 2 insertions(+), 2 deletions(-) >>> >>> >>> ---------------------------------------------------------------------- >>> >>> >>> >>> http://git-wip-us.apache.org/repos/asf/commons-numbers/blob/ >>> 851b17ec/commons-numbers-gamma/src/main/java/org/apache/ >>> commons/numbers/gamma/Digamma.java >>> >>> >>> ---------------------------------------------------------------------- >>> diff --git >>> >>> a/commons-numbers-gamma/src/main/java/org/apache/commons/num >>> bers/gamma/Digamma.java >>> >>> b/commons-numbers-gamma/src/main/java/org/apache/commons/num >>> bers/gamma/Digamma.java >>> index a10f1df..32d7bf5 100644 >>> --- >>> >>> a/commons-numbers-gamma/src/main/java/org/apache/commons/num >>> bers/gamma/Digamma.java >>> +++ >>> >>> b/commons-numbers-gamma/src/main/java/org/apache/commons/num >>> bers/gamma/Digamma.java >>> @@ -47,7 +47,7 @@ public class Digamma { >>> * >>> * Some of the constants have been changed to increase >>> accuracy >>> at the moderate >>> * expense of run-time. The result should be accurate to >>> within >>> \( 10^{-8} \) >>> - * relative tolerance for \( 0 < x < 10^{-5} \) and within \( >>> 10^{-8} \) absolute >>> + * relative tolerance for \( 0 < x < 10^{-5} \) and >>> within \( 10^{-8} \) absolute >>> * tolerance otherwise. >>> * >>> * @param x Argument. >>> >>> >>> http://git-wip-us.apache.org/repos/asf/commons-numbers/blob/ >>> 851b17ec/commons-numbers-gamma/src/main/java/org/apache/ >>> commons/numbers/gamma/LogGamma.java >>> >>> >>> ---------------------------------------------------------------------- >>> diff --git >>> >>> a/commons-numbers-gamma/src/main/java/org/apache/commons/num >>> bers/gamma/LogGamma.java >>> >>> b/commons-numbers-gamma/src/main/java/org/apache/commons/num >>> bers/gamma/LogGamma.java >>> index 57146a2..e4fac6e 100644 >>> --- >>> >>> a/commons-numbers-gamma/src/main/java/org/apache/commons/num >>> bers/gamma/LogGamma.java >>> +++ >>> >>> b/commons-numbers-gamma/src/main/java/org/apache/commons/num >>> bers/gamma/LogGamma.java >>> @@ -34,7 +34,7 @@ public class LogGamma { >>> private static final LogGamma1p LOG_GAMMA_1P = >>> LogGamma1p.instance; >>> >>> /** >>> - * Computes the function \( \ln \Gamma(x) \) for \( x > 0 \). >>> + * Computes the function \( \ln \Gamma(x) \) for \( x > 0 >>> \). >>> * >>> * For \( x \leq 8 \), the implementation is based on the >>> double >>> precision >>> * implementation in the NSWC Library of Mathematics >>> Subroutines, >>> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org >> For additional commands, e-mail: dev-help@commons.apache.org >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org