ports/124607: new port: print/texvc -- latex to mathml, png converter
Max Brazhnikov
makc at issp.ac.ru
Sun Jun 15 08:50:05 UTC 2008
>Number: 124607
>Category: ports
>Synopsis: new port: print/texvc -- latex to mathml, png converter
>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: Sun Jun 15 08:50:05 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Max Brazhnikov
>Release: FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
FreeBSD luna.dio.ru 7.0-STABLE FreeBSD 7.0-STABLE #0: Sun Jun 8 18:13:48 MSD 2008 root at luna.dio.ru:/usr/obj/usr/freebsd/7/src/sys/LUNA i386
>Description:
add print/texvc (as a part of upcoming LabPlot update):
texvc takes LaTeX-compatible equations and produces formatted output in
HTML, MathML, and (via LaTeX/dvips/ImageMagick) rasterized PNG images.
Input data is parsed and scrutinized for safety, and the output includes
an estimate of whether the code is simple enough that HTML rendering will
look acceptable.
>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:
#
# texvc
# texvc/pkg-descr
# texvc/Makefile
# texvc/distinfo
#
echo c - texvc
mkdir -p texvc > /dev/null 2>&1
echo x - texvc/pkg-descr
sed 's/^X//' >texvc/pkg-descr << 'END-of-texvc/pkg-descr'
Xtexvc takes LaTeX-compatible equations and produces formatted output in
XHTML, MathML, and (via LaTeX/dvips/ImageMagick) rasterized PNG images.
XInput data is parsed and scrutinized for safety, and the output includes
Xan estimate of whether the code is simple enough that HTML rendering will
Xlook acceptable.
X
XWWW: http://www.mediawiki.org/wiki/Texvc
END-of-texvc/pkg-descr
echo x - texvc/Makefile
sed 's/^X//' >texvc/Makefile << 'END-of-texvc/Makefile'
X# New ports collection makefile for: texvc
X# Date created: 2008-06-14
X# Whom: Max Brazhnikov <makc at issp.ac.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME= texvc
XPORTVERSION= 20050202
XCATEGORIES= print
XMASTER_SITES= SF
XMASTER_SITE_SUBDIR=wikipedia
XDISTNAME= ${PORTNAME}-linux-x86-${PORTVERSION}
X
XMAINTAINER= makc at issp.ac.ru
XCOMMENT= Convert latex equations to HTML, MathML, PNG
X
XUSE_OCAML= yes
XNO_OCAML_RUNDEPENDS= yes
XUSE_GMAKE= yes
XBUILD_WRKSRC= ${WRKSRC}/src
X
XPLIST_FILES= bin/texvc
X
XOPTIONS= RASTER "rasterization support" on
X
X.include <bsd.port.pre.mk>
X
X.if !defined(WITHOUT_RASTER)
XUSE_GHOSTSCRIPT_RUN= yes
XRUN_DEPENDS+= latex:${PORTSDIR}/print/teTeX-base \
X dvips:${PORTSDIR}/print/dvipsk-tetex \
X convert:${PORTSDIR}/graphics/ImageMagick
X.endif
X
Xdo-install:
X ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/texvc ${PREFIX}/bin
X
X.include <bsd.port.post.mk>
END-of-texvc/Makefile
echo x - texvc/distinfo
sed 's/^X//' >texvc/distinfo << 'END-of-texvc/distinfo'
XMD5 (texvc-linux-x86-20050202.tar.gz) = 9f57d535f6c66b3a84f743e696f7eaf3
XSHA256 (texvc-linux-x86-20050202.tar.gz) = 0ab27b1f04ba7b120042734959cc2afcde4becb61a1167e371c94948cadf24c7
XSIZE (texvc-linux-x86-20050202.tar.gz) = 159378
END-of-texvc/distinfo
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list