Another latex to html converter, in ocaml.

Cute, fast, good.
This commit is contained in:
espie 2000-05-19 09:59:37 +00:00
parent 8bfe488efc
commit a9120a8d24
6 changed files with 196 additions and 0 deletions

33
textproc/hevea/Makefile Normal file
View File

@ -0,0 +1,33 @@
# $OpenBSD: Makefile,v 1.1.1.1 2000/05/19 09:59:37 espie Exp $
CATEGORIES= textproc print
NEED_VERSION= 1.281
V=1.05
# Q Licence 1.0 + LGPL for parts of the runtime
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
BUILD_DEPENDS= ocamlc::lang/ocaml
DISTNAME= hevea-$V
MASTER_SITES= ftp://ftp.inria.fr/INRIA/Projects/para/hevea/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}-manual${EXTRACT_SUFX}
MAINTAINER= espie@cvs.openbsd.org
FAKE= Yes
HOMEPAGE= http://para.inria.fr/%7Emaranget/hevea/
MAKE_FLAGS=LIBDIR='${PREFIX}/lib/hevea' BINDIR='${PREFIX}/bin'
FAKE_FLAGS=LIBDIR='${WRKINST}${PREFIX}/lib/hevea' BINDIR='${WRKINST}${PREFIX}/bin'
# Beware! this works only because the manual is flat
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/hevea
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}-manual/* ${PREFIX}/share/doc/hevea
.include <bsd.port.mk>

6
textproc/hevea/files/md5 Normal file
View File

@ -0,0 +1,6 @@
MD5 (hevea-1.05-manual.tar.gz) = 183abc96068ff307ff884762081efc14
MD5 (hevea-1.05.tar.gz) = 7909aeec9c417154eb46291a068af35e
RMD160 (hevea-1.05-manual.tar.gz) = 89cd3134f143d78104d21d66cbf6191204609626
RMD160 (hevea-1.05.tar.gz) = 9249c374886e435566c202e6133a142dd0b4328d
SHA1 (hevea-1.05-manual.tar.gz) = 3e7dd64cd34633f712f9c6ab0a408c6b070b925e
SHA1 (hevea-1.05.tar.gz) = 1e4236491717cbdbb9fa9c01ecf5d21e892513ba

View File

@ -0,0 +1 @@
LaTeX to html translator

23
textproc/hevea/pkg/DESCR Normal file
View File

@ -0,0 +1,23 @@
Hevea is yet another latex to html translator, written in Ocaml.
It is more sturdy and yields generally better results than latex2html.
Optionally, Hevea may be instructed not to process part of the input,
but to use the imagen script to create a .gif image and link to that file.
The imagen script needs LaTeX, dvips, ghostscript and tools from netpbm.
Thus, Hevea does not require tetex, ghostscript, nor netpbm, but its
full functionality can only be achieved if you install those packages.
By default, hevea creates documents using the <FONT FACE=symbol> facility
of html, which may require special configuration of your browser.
For Netscape, add
! Repair symbol font for hevea
Netscape*documentFonts.charset*adobe-fontspecific: iso-8859-1
to your .Xresource
Alternately, you may use hevea -nosymb to turn that off.
See section C.2 of the documentation for more details.

View File

@ -0,0 +1,4 @@
The imagen script needs LaTeX, dvips, ghostscript and tools from netpbm.
Thus, Hevea does not require tetex, ghostscript, nor netpbm, but its
full functionality can only be achieved if you install those packages.

129
textproc/hevea/pkg/PLIST Normal file
View File

@ -0,0 +1,129 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2000/05/19 09:59:38 espie Exp $
bin/hacha
bin/hevea
bin/imagen
lib/hevea/amsmath.hva
lib/hevea/articlecommon.hva
lib/hevea/babel.hva
lib/hevea/bookcommon.hva
lib/hevea/comment.hva
lib/hevea/compat.hva
lib/hevea/contents_motif.gif
lib/hevea/cutfoot-eng.html
lib/hevea/cutfoot-fra.html
lib/hevea/footer.tex
lib/hevea/hevea.sty
lib/hevea/html/article.hva
lib/hevea/html/book.hva
lib/hevea/html/color.hva
lib/hevea/html/commongraphic.hva
lib/hevea/html/fancysection.hva
lib/hevea/html/graphics.hva
lib/hevea/html/graphicx.hva
lib/hevea/html/hevea.hva
lib/hevea/html/report.hva
lib/hevea/html/seminar.hva
lib/hevea/html/sword.hva
lib/hevea/html/symb-eng.hva
lib/hevea/html/symb-ent.hva
lib/hevea/html/symb-fra.hva
lib/hevea/html/symb-mathml.hva
lib/hevea/html/symb-text.hva
lib/hevea/html/symb.hva
lib/hevea/html/urlhref.hva
lib/hevea/hyperref.hva
lib/hevea/ifthen.hva
lib/hevea/index.hva
lib/hevea/info/article.hva
lib/hevea/info/book.hva
lib/hevea/info/color.hva
lib/hevea/info/fancysection.hva
lib/hevea/info/hevea.hva
lib/hevea/info/report.hva
lib/hevea/info/seminar.hva
lib/hevea/iso-symb.hva
lib/hevea/keyval.hva
lib/hevea/latexcommon.hva
lib/hevea/makeidx.hva
lib/hevea/mathaccents.hva
lib/hevea/moreverb.hva
lib/hevea/multind.hva
lib/hevea/next_motif.gif
lib/hevea/packages.hva
lib/hevea/previous_motif.gif
lib/hevea/spaces.hva
lib/hevea/text/article.hva
lib/hevea/text/book.hva
lib/hevea/text/color.hva
lib/hevea/text/fancysection.hva
lib/hevea/text/hevea.hva
lib/hevea/text/report.hva
lib/hevea/text/seminar.hva
lib/hevea/text/symb.hva
lib/hevea/url.hva
lib/hevea/verbatim.hva
lib/hevea/xxdate.exe
share/doc/hevea/browser.html
share/doc/hevea/contents_motif.gif
share/doc/hevea/cutname.html
share/doc/hevea/index.html
share/doc/hevea/iso.html
share/doc/hevea/manual001.gif
share/doc/hevea/manual001.html
share/doc/hevea/manual002.gif
share/doc/hevea/manual002.html
share/doc/hevea/manual003.gif
share/doc/hevea/manual003.html
share/doc/hevea/manual004.gif
share/doc/hevea/manual004.html
share/doc/hevea/manual005.gif
share/doc/hevea/manual005.html
share/doc/hevea/manual006.gif
share/doc/hevea/manual006.html
share/doc/hevea/manual007.gif
share/doc/hevea/manual007.html
share/doc/hevea/manual008.gif
share/doc/hevea/manual008.html
share/doc/hevea/manual009.gif
share/doc/hevea/manual010.gif
share/doc/hevea/manual010.html
share/doc/hevea/manual011.gif
share/doc/hevea/manual011.html
share/doc/hevea/manual012.html
share/doc/hevea/manual013.html
share/doc/hevea/manual014.html
share/doc/hevea/manual015.html
share/doc/hevea/manual016.html
share/doc/hevea/manual017.html
share/doc/hevea/manual018.html
share/doc/hevea/manual019.html
share/doc/hevea/manual020.html
share/doc/hevea/manual021.html
share/doc/hevea/manual022.html
share/doc/hevea/manual023.html
share/doc/hevea/manual024.html
share/doc/hevea/manual025.html
share/doc/hevea/manual026.html
share/doc/hevea/manual027.html
share/doc/hevea/manual028.html
share/doc/hevea/manual029.html
share/doc/hevea/manual030.html
share/doc/hevea/manual031.html
share/doc/hevea/manual032.html
share/doc/hevea/manual033.html
share/doc/hevea/manual035.html
share/doc/hevea/manual036.html
share/doc/hevea/manual037.html
share/doc/hevea/manual038.html
share/doc/hevea/manual039.html
share/doc/hevea/manual040.html
share/doc/hevea/next_motif.gif
share/doc/hevea/previous_motif.gif
share/doc/hevea/symbol.html
share/doc/hevea/urlhref.hva
share/doc/hevea/xfd.gif
@dirrm share/doc/hevea
@dirrm lib/hevea/text
@dirrm lib/hevea/info
@dirrm lib/hevea/html
@dirrm lib/hevea