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.
This commit is contained in:
parent
da6297de52
commit
7b204b81bd
5 changed files with 125 additions and 0 deletions
9
tex-xmltex/DESCR
Normal file
9
tex-xmltex/DESCR
Normal file
|
@ -0,0 +1,9 @@
|
|||
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.
|
41
tex-xmltex/Makefile
Normal file
41
tex-xmltex/Makefile
Normal file
|
@ -0,0 +1,41 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2003/10/11 21:45:01 minskim Exp $
|
||||
#
|
||||
|
||||
DISTNAME= xmltex-1.9
|
||||
PKGNAME= tex-${DISTNAME}
|
||||
WRKSRC= ${WRKDIR}
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=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
|
||||
|
||||
MAINTAINER= minskim@bawi.org
|
||||
HOMEPAGE= http://www.dcarlisle.demon.co.uk/xmltex/manual.html
|
||||
COMMENT= Non-validating XML parser implemented in TeX
|
||||
|
||||
DEPENDS+= teTeX{,2}-bin-[0-9]*:../../print/teTeX-bin
|
||||
|
||||
EXTRACT_ONLY= # empty
|
||||
NO_CONFIGURE= yes
|
||||
|
||||
DIST_SUBDIR= ${PKGBASE}
|
||||
|
||||
do-extract:
|
||||
.for FILE in ${DISTFILES}
|
||||
${CP} ${DISTDIR}/${DIST_SUBDIR}/${FILE} ${WRKSRC}
|
||||
.endfor
|
||||
${CP} ${FILESDIR}/Makefile ${WRKSRC}
|
||||
|
||||
do-install:
|
||||
@cd ${WRKSRC}; TEXMFMAIN=$$(kpsewhich -expand-var '$$TEXMFMAIN'); \
|
||||
${INSTALL_DATA} xmltex.fmt pdfxmltex.fmt $$TEXMFMAIN/web2c;
|
||||
${LOCALBASE}/bin/mktexlsr
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
4
tex-xmltex/PLIST
Normal file
4
tex-xmltex/PLIST
Normal file
|
@ -0,0 +1,4 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2003/10/11 21:45:01 minskim Exp $
|
||||
share/texmf/web2c/xmltex.fmt
|
||||
share/texmf/web2c/pdfxmltex.fmt
|
||||
@unexec %D/bin/mktexlsr
|
62
tex-xmltex/distinfo
Normal file
62
tex-xmltex/distinfo
Normal file
|
@ -0,0 +1,62 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2003/10/11 21:45:01 minskim Exp $
|
||||
|
||||
SHA1 (tex-xmltex/englishutf16.xml) = c15c705d50a87076b5076ee0da1ff9248c5283db
|
||||
Size (tex-xmltex/englishutf16.xml) = 194 bytes
|
||||
SHA1 (tex-xmltex/englishutf8.xml) = 654444707fcfe884e2ec20c07e2bc48b8fdda209
|
||||
Size (tex-xmltex/englishutf8.xml) = 96 bytes
|
||||
SHA1 (tex-xmltex/iso-8859-1.xmt) = d8b8f8543d324c95936fabe42bfc6a3d9fa06c35
|
||||
Size (tex-xmltex/iso-8859-1.xmt) = 490 bytes
|
||||
SHA1 (tex-xmltex/iso-8859-2.xmt) = 307cf8d6321d9a263c054127064db85ef833be52
|
||||
Size (tex-xmltex/iso-8859-2.xmt) = 2688 bytes
|
||||
SHA1 (tex-xmltex/koi8-r.xmt) = c142af8075b712e5f7aa0d0612f00537ff17278c
|
||||
Size (tex-xmltex/koi8-r.xmt) = 3633 bytes
|
||||
SHA1 (tex-xmltex/langtest.tex) = 0d62d9a8895904cdd3f5f5dfb06d852e483433f5
|
||||
Size (tex-xmltex/langtest.tex) = 48 bytes
|
||||
SHA1 (tex-xmltex/langtest.xml) = 31cd40499b60ee98c90b12234aa8f3dfcf14ca1a
|
||||
Size (tex-xmltex/langtest.xml) = 374 bytes
|
||||
SHA1 (tex-xmltex/langtest.xmt) = 98bc4bd7e700b496fbfdb2748c79b08f41b12e7f
|
||||
Size (tex-xmltex/langtest.xmt) = 624 bytes
|
||||
SHA1 (tex-xmltex/manual.html) = ae006eb2a9b9f92b5d796484f73ebff6cab555c7
|
||||
Size (tex-xmltex/manual.html) = 33485 bytes
|
||||
SHA1 (tex-xmltex/manual.tex) = ea157a3a1895fe06cfc8c73677c1e857095c24bc
|
||||
Size (tex-xmltex/manual.tex) = 41 bytes
|
||||
SHA1 (tex-xmltex/manual.xml) = 154c7489a2fb2619f1d794dec26b129feabbf608
|
||||
Size (tex-xmltex/manual.xml) = 34801 bytes
|
||||
SHA1 (tex-xmltex/manual.xsl) = 33f1bba10d924a2ecfa43d7b4ea702e849c9ee57
|
||||
Size (tex-xmltex/manual.xsl) = 1232 bytes
|
||||
SHA1 (tex-xmltex/mathml2.xmt) = c5dfedc19a3cd9431f2bc24bef0854fc42078750
|
||||
Size (tex-xmltex/mathml2.xmt) = 3172 bytes
|
||||
SHA1 (tex-xmltex/pdfxmltex.ini) = 9053ac5dcc3f59fa717fc7fa6ed9e56bb0893759
|
||||
Size (tex-xmltex/pdfxmltex.ini) = 15 bytes
|
||||
SHA1 (tex-xmltex/portugeselatin1.xml) = 2d89a28ebcfb312c634d7b9bfa2575c5d1fda917
|
||||
Size (tex-xmltex/portugeselatin1.xml) = 152 bytes
|
||||
SHA1 (tex-xmltex/readme.txt) = 89072ad91caae0cec2c0fbb02555631018784333
|
||||
Size (tex-xmltex/readme.txt) = 3878 bytes
|
||||
SHA1 (tex-xmltex/russiankoi8.xml) = 6d6846e5850df137328c1f91e1bb24b05870a4f0
|
||||
Size (tex-xmltex/russiankoi8.xml) = 145 bytes
|
||||
SHA1 (tex-xmltex/russianutf8.xml) = 093b0e36518cd997fa2ded65cb15efc41f7b7ade
|
||||
Size (tex-xmltex/russianutf8.xml) = 177 bytes
|
||||
SHA1 (tex-xmltex/sec.xmt) = 6b667dc6f972e8cef6492789ed1c5596a5f6bde6
|
||||
Size (tex-xmltex/sec.xmt) = 584 bytes
|
||||
SHA1 (tex-xmltex/tei.xmt) = f373a6b651fc2f32ea0b77a7162b6faf492b86fb
|
||||
Size (tex-xmltex/tei.xmt) = 2563 bytes
|
||||
SHA1 (tex-xmltex/testascii.cfg) = 07cf8a4bc10dc07683fbdc764fb0fb2621a226e8
|
||||
Size (tex-xmltex/testascii.cfg) = 3311 bytes
|
||||
SHA1 (tex-xmltex/testascii.tex) = b80e31b0d0562e4b3465c678709cada47ca38ce4
|
||||
Size (tex-xmltex/testascii.tex) = 44 bytes
|
||||
SHA1 (tex-xmltex/testascii.xml) = 330fa124c4adf88b535685242a88d392b179dcfb
|
||||
Size (tex-xmltex/testascii.xml) = 790 bytes
|
||||
SHA1 (tex-xmltex/testsec.tex) = c2ca2f702d9b3a860642579abec2e74422b9966c
|
||||
Size (tex-xmltex/testsec.tex) = 47 bytes
|
||||
SHA1 (tex-xmltex/testsec.xml) = 8131d934ca45d1d45a93d90af0dfde3b541ecdee
|
||||
Size (tex-xmltex/testsec.xml) = 1363 bytes
|
||||
SHA1 (tex-xmltex/utf-16.xmt) = c3e3e7f5d52017e2c42df9a85bfd95e4011baedd
|
||||
Size (tex-xmltex/utf-16.xmt) = 65 bytes
|
||||
SHA1 (tex-xmltex/windows-1250.xmt) = 9899215a7d3b1a263bb2c3dbdd8f11c9421f70d1
|
||||
Size (tex-xmltex/windows-1250.xmt) = 3443 bytes
|
||||
SHA1 (tex-xmltex/xmltex.cfg) = 9b07e45e468ea7f95907b799108fc22d21bf231b
|
||||
Size (tex-xmltex/xmltex.cfg) = 7522 bytes
|
||||
SHA1 (tex-xmltex/xmltex.ini) = f6dcae53100d882a0f0b9046bbf6a17ae5ea5de0
|
||||
Size (tex-xmltex/xmltex.ini) = 14 bytes
|
||||
SHA1 (tex-xmltex/xmltex.tex) = 8675f0eb0de49f2e98a4c0db7c3dce1d237218e6
|
||||
Size (tex-xmltex/xmltex.tex) = 56512 bytes
|
9
tex-xmltex/files/Makefile
Normal file
9
tex-xmltex/files/Makefile
Normal file
|
@ -0,0 +1,9 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2003/10/11 21:45:01 minskim Exp $
|
||||
|
||||
all: xmltex.fmt pdfxmltex.fmt
|
||||
|
||||
xmltex.fmt:
|
||||
tex -ini -progname=xmltex "&latex" xmltex.ini
|
||||
|
||||
pdfxmltex.fmt:
|
||||
pdftex -ini -progname=pdfxmltex "&pdflatex" pdfxmltex.ini
|
Loading…
Reference in a new issue