Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 381ECCEB9 for ; Fri, 19 Jul 2013 19:32:50 +0000 (UTC) Received: (qmail 28638 invoked by uid 500); 19 Jul 2013 19:32:49 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 28545 invoked by uid 500); 19 Jul 2013 19:32:49 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 28496 invoked by uid 99); 19 Jul 2013 19:32:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jul 2013 19:32:48 +0000 Date: Fri, 19 Jul 2013 19:32:48 +0000 (UTC) From: "Phil Steitz (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MATH-1006) Add support for embedding Tex in javadoc and site docs via MathJax MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MATH-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13713989#comment-13713989 ] Phil Steitz commented on MATH-1006: ----------------------------------- Reopening to add site docs to scope. This can be enabled by adding a element to site.xml. > Add support for embedding Tex in javadoc and site docs via MathJax > ------------------------------------------------------------------ > > Key: MATH-1006 > URL: https://issues.apache.org/jira/browse/MATH-1006 > Project: Commons Math > Issue Type: Bug > Affects Versions: 3.2 > Reporter: Phil Steitz > Priority: Minor > Fix For: 3.3 > > Attachments: mathjax.patch > > > It would be convenient to be able to embed Tex expressions in javadoc, xdocs and apt. This can be accomplished via the [MathJax|http://www.mathjax.org/] javascript display engine. MathJax can be integrated into javadoc by passing a -header option to the doclet that points to the MathJax javascript sources. Both maven and ant support this via configuration. Once pom.xml (maven) and build.xml (ant) are modified to make the MathJax functions available, javadoc can embed Tex expressions by using standard Tex escapes: \\( ... \\) for inline, \\[ ... \\] for formulas. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira