1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

xmltex is an XML parser and formatting system written in TeX.

This commit is contained in:
Nik Clayton 2002-05-28 18:11:09 +00:00
parent 3b02382ee9
commit 7cc8777152
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60216
8 changed files with 121 additions and 0 deletions

View File

@ -175,6 +175,7 @@
SUBDIR += xdvi
SUBDIR += xdvik
SUBDIR += xmbibtex
SUBDIR += xmltex
SUBDIR += xpp
SUBDIR += xtem
SUBDIR += xtexsh

54
print/xmltex/Makefile Normal file
View File

@ -0,0 +1,54 @@
# New ports collection makefile for: xmltex
# Date created: 9 May 2002
# Whom: Nik Clayton <nik@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= xmltex
PORTVERSION= 0.8
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN} \
http://www.hcu.ox.ac.uk/TEI/Software/passivetex/:xmltex
MASTER_SITE_SUBDIR= macros/xmltex/base
DISTFILES= englishutf16.xml englishutf8.xml iso-8859-1.xmt \
iso-8859-2.xmt koi8-r.xmt langtest.tex langtest.xml \
langtest.xmt manual.html manual.tex manual.xml \
manual.xsl mathml2.xmt pdfxmltex.ini \
portugeselatin1.xml readme.txt russiankoi8.xml \
russianutf8.xml sec.xmt tei.xmt testascii.cfg \
testascii.tex testascii.xml testsec.tex testsec.xml \
utf-16.xmt windows-1250.xmt xmltex.cfg xmltex.ini \
xmltex.tex:xmltex
DIST_SUBDIR= xmltex
EXTRACT_ONLY=
MAINTAINER= nik@FreeBSD.org
BUILD_DEPENDS= hugelatex:${PORTSDIR}/print/hugelatex
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
RUN_DEPENDS= tex:${PORTSDIR}/print/teTeX
WRKSRC= ${WRKDIR}/base
USE_ZIP= yes
MAKE_ENV= TEXMFCNF=${FILESDIR}:${LOCALBASE}/share/texmf/web2c
post-extract:
@${MKDIR} ${WRKSRC}
@${CP} ${DISTDIR}/${DIST_SUBDIR}/* ${WRKSRC}
post-patch: patch-message copy-makefile
copy-makefile:
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
do-install:
@cd ${WRKSRC}; TEXMFMAIN=$$(kpsewhich -expand-var '$$TEXMFMAIN'); \
${INSTALL_DATA} xmltex.fmt pdfxmltex.fmt $$TEXMFMAIN/web2c;
post-install: rebuild-tex-database
rebuild-tex-database:
${LOCALBASE}/bin/mktexlsr
.include <bsd.port.mk>

30
print/xmltex/distinfo Normal file
View File

@ -0,0 +1,30 @@
MD5 (xmltex/englishutf16.xml) = 357795f8cb1ff1715582c7748fe0736e
MD5 (xmltex/englishutf8.xml) = 2507cf52b50e27c433cfc4c0237da316
MD5 (xmltex/iso-8859-1.xmt) = d36edf9b6763ef9e971edc6f604ea413
MD5 (xmltex/iso-8859-2.xmt) = e53891dde29991d387ae470a214e31be
MD5 (xmltex/koi8-r.xmt) = 8e380e2db9a818c4780cbdfea4dc922b
MD5 (xmltex/langtest.tex) = 54b01ccfd2c55d87172f5e306cbd0cfc
MD5 (xmltex/langtest.xml) = 0d922e94fda17eaf507ba0bd98f527d8
MD5 (xmltex/langtest.xmt) = f6233b02391a6878eb1f4df2a1f92125
MD5 (xmltex/manual.html) = bbc075921cacc1a83bfb988c17e4f966
MD5 (xmltex/manual.tex) = 71d5e16046f38ce195b3750beee9a182
MD5 (xmltex/manual.xml) = 3a548670c06a7682f454dbeb34e559ad
MD5 (xmltex/manual.xsl) = 4ceef2b2892d2fbffc4f6a31309eedd3
MD5 (xmltex/mathml2.xmt) = 82b80695db15d666c3b5282b847debbe
MD5 (xmltex/pdfxmltex.ini) = c11c90324ad092d62980536912cb96f1
MD5 (xmltex/portugeselatin1.xml) = 5e460e705c2dced98591a52b79299ad7
MD5 (xmltex/readme.txt) = 406e5d358a8242c5f0e3c90bd34b1e25
MD5 (xmltex/russiankoi8.xml) = e9b8a405c3399c6645aee3d09f002313
MD5 (xmltex/russianutf8.xml) = 53bd7cf77f5855f7fd44f9d077926d59
MD5 (xmltex/sec.xmt) = 499d247bb2937c2299116fecb6b56e9d
MD5 (xmltex/tei.xmt) = f4e6ecb3c0918b3b86c40e78f798e44c
MD5 (xmltex/testascii.cfg) = 13941e6694234c364a14e8bad5e84df4
MD5 (xmltex/testascii.tex) = 63ecb718683cf36ad455c5a69b7fdf91
MD5 (xmltex/testascii.xml) = 2ac13b0521afd2787873a64449ec5036
MD5 (xmltex/testsec.tex) = d4404ae03425922c6293e8529d79d772
MD5 (xmltex/testsec.xml) = a5363dbdb1bfbdcfb41cef4309cf3819
MD5 (xmltex/utf-16.xmt) = 2c132dacd60811e981face710f8da42f
MD5 (xmltex/windows-1250.xmt) = b968201e4a4369ff6f0181e7cb9d98dd
MD5 (xmltex/xmltex.cfg) = 09ce15b436ee3e52544b0a12456eb45b
MD5 (xmltex/xmltex.ini) = c3cfed8cd4214dff82c58e1706787900
MD5 (xmltex/xmltex.tex) = d438d94124523fccb706df7b645e4549

View File

@ -0,0 +1,9 @@
# $FreeBSD$
all: xmltex.fmt pdfxmltex.fmt
xmltex.fmt:
tex -ini -progname=xmltex "&latex" xmltex.ini
pdfxmltex.fmt:
pdftex -ini -progname=pdfxmltex "&pdflatex" pdfxmltex.ini

View File

@ -0,0 +1,4 @@
hash_extra = 60000
pool_size = 1000000
max_strings = 70000
save_size = 10000

1
print/xmltex/pkg-comment Normal file
View File

@ -0,0 +1 @@
A non-validating XML parser, written in TeX

17
print/xmltex/pkg-descr Normal file
View File

@ -0,0 +1,17 @@
[ From the Introduction in the manual ]
xmltex implements a non validating parser for documents matching
the W3C XML Namespaces Recommendation. The system may just be used
to parse the file (expanding entity references and normalising
namespace declarations) in which case it records a trace of the
parse on the terminal. Normally however the information from the
parse is used to trigger TeX typesetting code. Declarations (in
TeX syntax) are provided as part of xmltex to associate TeX code
with the start and end of each XML element, attributes, processing
instructions, and with unicode character data.
[ From Nik ]
In otherwords, this is a system for formatting XML data using
formatting instructions written in TeX, rather than DSSSL, or
XSLT, or other stylesheet language.

5
print/xmltex/pkg-plist Normal file
View File

@ -0,0 +1,5 @@
@comment $FreeBSD: /tmp/pcvs/ports/print/xmltex/pkg-plist,v 1.1 2002-05-28 18:11:03 nik Exp $
share/texmf/web2c/xmltex.fmt
share/texmf/web2c/pdfxmltex.fmt
@exec %D/bin/mktexlsr
@unexec %D/bin/mktexlsr