1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

add htmltolatex 1

HTML to LaTeX to PDF Converter
This commit is contained in:
Ying-Chieh Liao 2002-01-20 18:37:32 +00:00
parent 57f48687c5
commit 1a9e1e1835
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53391
7 changed files with 54 additions and 0 deletions

View File

@ -67,6 +67,7 @@
SUBDIR += html2fo
SUBDIR += htmldoc
SUBDIR += htmlsection
SUBDIR += htmltolatex
SUBDIR += info2html
SUBDIR += info_to_html
SUBDIR += intltool

View File

@ -0,0 +1,33 @@
# ex:ts=8
# New ports collection makefile for: htmltolatex
# Date created: Jan 19, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= htmltolatex
PORTVERSION= 1
CATEGORIES= textproc
MASTER_SITES= http://66.108.152.41/~nradisch/docgen/
DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= Magick:${PORTSDIR}/graphics/ImageMagick
USE_BISON= yes
MAKEFILE= GNUmakefile
CXXFLAGS+= -I${LOCALBASE}/include -DUNIX
USE_GMAKE= yes
post-patch:
@${PERL} -pi -e "s,^CXXFLAGS,#CXXFLAGS,g ; \
s,^CXX,#CXX,g" ${WRKSRC}/${MAKEFILE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/h2l ${PREFIX}/bin
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/nmr.tex ${DATADIR}
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (htmltolatex.tar.gz) = aec7a4682c97b42481af9b4321a8600e

View File

@ -0,0 +1,11 @@
--- h2l.l.orig Sun Jan 20 14:47:49 2002
+++ h2l.l Sun Jan 20 14:47:56 2002
@@ -2,7 +2,7 @@
#include "CLexData.h"
#define YYSTYPE CLexDataPtr
-#include "h2l.tab.cpp.h"
+#include "h2l.tab.hpp"
#include "CH2L.h"
#include "util.h"
#include <assert.h>

View File

@ -0,0 +1 @@
HTML to LaTeX to PDF Converter

View File

@ -0,0 +1,4 @@
This HTML to LaTeX converter attempts to handle all aspects of HTML and
style sheets. It works with images, tables, alignments, fonts, etc.
WWW: http://66.108.152.41/~nradisch/docgen/

View File

@ -0,0 +1,3 @@
bin/h2l
share/htmltolatex/nmr.tex
@dirrm share/htmltolatex