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.

WWW:	http://www.mediawiki.org/wiki/Texvc

PR:		ports/124607
Submitted by:	Max Brazhnikov <makc at issp.ac.ru>
This commit is contained in:
Martin Wilke 2008-06-18 23:27:33 +00:00
parent 9b5da4ef4f
commit 94eb69cdf3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=215186
4 changed files with 50 additions and 0 deletions

View File

@ -312,6 +312,7 @@
SUBDIR += tex-texmflocal
SUBDIR += texinfo
SUBDIR += texpower
SUBDIR += texvc
SUBDIR += tgif2tex
SUBDIR += tipograf
SUBDIR += tr2latex

39
print/texvc/Makefile Normal file
View File

@ -0,0 +1,39 @@
# New ports collection makefile for: texvc
# Date created: 2008-06-14
# Whom: Max Brazhnikov <makc@issp.ac.ru>
#
# $FreeBSD$
#
PORTNAME= texvc
PORTVERSION= 20050202
CATEGORIES= print
MASTER_SITES= SF
MASTER_SITE_SUBDIR=wikipedia
DISTNAME= ${PORTNAME}-linux-x86-${PORTVERSION}
MAINTAINER= makc@issp.ac.ru
COMMENT= Convert latex equations to HTML, MathML, PNG
USE_OCAML= yes
NO_OCAML_RUNDEPENDS= yes
USE_GMAKE= yes
BUILD_WRKSRC= ${WRKSRC}/src
PLIST_FILES= bin/texvc
OPTIONS= RASTER "rasterization support" on
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_RASTER)
USE_GHOSTSCRIPT_RUN= yes
RUN_DEPENDS+= latex:${PORTSDIR}/print/teTeX-base \
dvips:${PORTSDIR}/print/dvipsk-tetex \
convert:${PORTSDIR}/graphics/ImageMagick
.endif
do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/texvc ${PREFIX}/bin
.include <bsd.port.post.mk>

3
print/texvc/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (texvc-linux-x86-20050202.tar.gz) = 9f57d535f6c66b3a84f743e696f7eaf3
SHA256 (texvc-linux-x86-20050202.tar.gz) = 0ab27b1f04ba7b120042734959cc2afcde4becb61a1167e371c94948cadf24c7
SIZE (texvc-linux-x86-20050202.tar.gz) = 159378

7
print/texvc/pkg-descr Normal file
View File

@ -0,0 +1,7 @@
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.
WWW: http://www.mediawiki.org/wiki/Texvc