ports/143860: [NEW PORT] math/jlatexmath
Rob Farmer
rfarmer at predatorlabs.net
Sat Feb 13 07:20:04 UTC 2010
>Number: 143860
>Category: ports
>Synopsis: [NEW PORT] math/jlatexmath
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Feb 13 07:20:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Rob Farmer
>Release: 9.0-CURRENT
>Organization:
>Environment:
FreeBSD coretwo.predatorlabs.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r203695: Tue Feb 9 03:02:13 PST 2010 rfarmer at coretwo.predatorlabs.net:/usr/obj/usr/src/sys/CORETWO amd64
>Description:
The goal of this Java API is to display mathematical formulas written in
LaTeX. The default encoding is UTF-8.
The most of LaTeX commands are available and :
1) macros from amsmath and symbols from amssymb and stmaryrd;
2) \includegraphics (without options);
3) the TeX macro \over;
4) accents from amsxtra package;
5) the macros \definecolor, \textcolor, \colorbox and \fcolorbox from the
package color;
6) the macros \rotatebox, \reflectbox and \scalebox from the package graphicx;
7) the most of latin unicode characters are available and cyrillic or
greek characters are detected for the loading of the different fonts;
8) the commands \newcommand and \newenvironment;
9) the environments array, matrix, pmatrix,..., eqnarray, cases;
10) the fonts are embedded in the jar file to be used by fop 0.95 to generate
PDF, PS or EPS (SVG export with shaped fonts works fine too);
11) and probably other things I forgot...
There is no dependency and no external programs to install : JLaTeXMath is
fully functional by itself.
WWW: http://forge.scilab.org/index.php/p/jlatexmath/
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# jlatexmath
# jlatexmath/pkg-descr
# jlatexmath/distinfo
# jlatexmath/Makefile
# jlatexmath/pkg-plist
#
echo c - jlatexmath
mkdir -p jlatexmath > /dev/null 2>&1
echo x - jlatexmath/pkg-descr
sed 's/^X//' >jlatexmath/pkg-descr << '2a470659361147fa414f5061795f5e3e'
XThe goal of this Java API is to display mathematical formulas written in
XLaTeX. The default encoding is UTF-8.
X
XThe most of LaTeX commands are available and :
X
X 1) macros from amsmath and symbols from amssymb and stmaryrd;
X 2) \includegraphics (without options);
X 3) the TeX macro \over;
X 4) accents from amsxtra package;
X 5) the macros \definecolor, \textcolor, \colorbox and \fcolorbox from the
X package color;
X 6) the macros \rotatebox, \reflectbox and \scalebox from the package graphicx;
X 7) the most of latin unicode characters are available and cyrillic or
X greek characters are detected for the loading of the different fonts;
X 8) the commands \newcommand and \newenvironment;
X 9) the environments array, matrix, pmatrix,..., eqnarray, cases;
X10) the fonts are embedded in the jar file to be used by fop 0.95 to generate
X PDF, PS or EPS (SVG export with shaped fonts works fine too);
X11) and probably other things I forgot...
X
XThere is no dependency and no external programs to install : JLaTeXMath is
Xfully functional by itself.
X
XWWW: http://forge.scilab.org/index.php/p/jlatexmath/
2a470659361147fa414f5061795f5e3e
echo x - jlatexmath/distinfo
sed 's/^X//' >jlatexmath/distinfo << 'b388ea193a7d977fd71a8d0ebd53d12d'
XMD5 (jlatexmath-src-all-0.8.9.jar) = cef10764c65fd7b48e5349713a99a608
XSHA256 (jlatexmath-src-all-0.8.9.jar) = d0972c70799a16bfe9689ecc3120295fd77be32a07ab289af938ee5ed07fa8e7
XSIZE (jlatexmath-src-all-0.8.9.jar) = 1077515
b388ea193a7d977fd71a8d0ebd53d12d
echo x - jlatexmath/Makefile
sed 's/^X//' >jlatexmath/Makefile << 'c70ecd89b6c97352e0701041e6cfdb5b'
X# New ports collection makefile for: jlatexmath
X# Date created: 11 February 2010
X# Whom: rfarmer at predatorlabs.net
X#
X# $FreeBSD$
X#
X
XPORTNAME= jlatexmath
XPORTVERSION= 0.8.9
XCATEGORIES= math java
XMASTER_SITES= http://forge.scilab.org/upload/jlatexmath/files/ \
X http://www.predatorlabs.net/dl
XDISTNAME= ${PORTNAME}-src-all-${PORTVERSION}
XEXTRACT_SUFX= .jar
X
XMAINTAINER= rfarmer at predatorlabs.net
XCOMMENT= Java API to display mathematical formulas written in LaTeX
X
XUSE_JAVA= yes
XJAVA_VERSION= 1.5+
XJAVA_BUILD= yes
XJAVA_RUN= yes
XUSE_ANT= yes
X
XNO_WRKSUBDIR= yes
X
Xdo-install:
X ${INSTALL_DATA} ${WRKSRC}/dist/jlatexmath-0.8.9.jar ${JAVAJARDIR}
X.if !defined(NOPORTDOCS)
X (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
X.endif
X
X.include <bsd.port.mk>
c70ecd89b6c97352e0701041e6cfdb5b
echo x - jlatexmath/pkg-plist
sed 's/^X//' >jlatexmath/pkg-plist << '67d33526d85962a3f2aed22605b21a98'
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Basic/Example1.java
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Basic/Example2.java
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Basic/Example3.java
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Basic/Example4.java
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Basic/Main.java
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Basic/lion.png
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Export/Convert.java
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Export/Example1.java
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Export/Example2.java
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Export/Example3.java
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Export/Example4.java
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Export/Main.java
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Export/README
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Export/build.xml
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Export/lion.png
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Macros/FooPackage.java
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Macros/Main.java
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Macros/Package_Foo.xml
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Macros/README
Xshare/java/classes/jlatexmath-0.8.9.jar
X%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/Macros/bin
X%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/Macros
X%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/Export
X%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/Basic
X%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
X%%PORTEXAMPLES%%@exec mkdir -p %D/%%EXAMPLESDIR%%/Macros/bin
67d33526d85962a3f2aed22605b21a98
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list