diff options
author | wiz <wiz@pkgsrc.org> | 2016-10-09 22:07:58 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2016-10-09 22:07:58 +0000 |
commit | 381c48742a8d014c53684d5d526cb662a83d0be3 (patch) | |
tree | d1add420dfb05fc2f814823e6eede620a7495695 | |
parent | eeaf7fdffc787d400a8727076377d4924e43a2c6 (diff) | |
download | pkgsrc-381c48742a8d014c53684d5d526cb662a83d0be3.tar.gz |
Import LaTeXML-0.8.2 as print/LaTeXML.
latexml is a program, written in Perl, that attempts to faithfully
mimic TeX's behavior, but produces XML instead of dvi. The document
model of the target XML makes explicit the model implied by LaTeX.
The processing and model are both extensible; you can define the
mapping between TeX constructs and the XML fragments to be created.
A postprocessor, latexmlpost converts this XML into other formats
such as HTML or XHTML, with options to convert the math into MathML
(currently only presentation) or images.
-rw-r--r-- | print/LaTeXML/DESCR | 8 | ||||
-rw-r--r-- | print/LaTeXML/Makefile | 37 | ||||
-rw-r--r-- | print/LaTeXML/PLIST | 4 | ||||
-rw-r--r-- | print/LaTeXML/distinfo | 6 |
4 files changed, 55 insertions, 0 deletions
diff --git a/print/LaTeXML/DESCR b/print/LaTeXML/DESCR new file mode 100644 index 00000000000..62dbe4a565f --- /dev/null +++ b/print/LaTeXML/DESCR @@ -0,0 +1,8 @@ +latexml is a program, written in Perl, that attempts to faithfully +mimic TeX's behavior, but produces XML instead of dvi. The document +model of the target XML makes explicit the model implied by LaTeX. +The processing and model are both extensible; you can define the +mapping between TeX constructs and the XML fragments to be created. +A postprocessor, latexmlpost converts this XML into other formats +such as HTML or XHTML, with options to convert the math into MathML +(currently only presentation) or images. diff --git a/print/LaTeXML/Makefile b/print/LaTeXML/Makefile new file mode 100644 index 00000000000..3ea7d164083 --- /dev/null +++ b/print/LaTeXML/Makefile @@ -0,0 +1,37 @@ +# $NetBSD: Makefile,v 1.1 2016/10/09 22:07:58 wiz Exp $ + +DISTNAME= LaTeXML-0.8.2 +CATEGORIES= textproc www +MASTER_SITES= http://dlmf.nist.gov/LaTeXML/releases/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://dlmf.nist.gov/LaTeXML/ +COMMENT= LaTeX to XML/HTML/MathML Converter +LICENSE= public-domain + +DEPENDS+= p5-Archive-Zip-[0-9]*:../../archivers/p5-Archive-Zip +DEPENDS+= p5-DB_File-[0-9]*:../../databases/p5-DB_File +DEPENDS+= p5-File-Which-[0-9]*:../../devel/p5-File-Which +DEPENDS+= p5-Getopt-Long-[0-9]*:../../devel/p5-Getopt-Long +DEPENDS+= p5-Image-Size-[0-9]*:../../graphics/p5-Image-Size +DEPENDS+= p5-IO-String-[0-9]*:../../devel/p5-IO-String +DEPENDS+= p5-JSON-XS-[0-9]*:../../converters/p5-JSON-XS +DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww +DEPENDS+= p5-Parse-RecDescent-[0-9]*:../../devel/p5-Parse-RecDescent +DEPENDS+= p5-Pod-Parser-[0-9]*:../../textproc/p5-Pod-Parser +DEPENDS+= p5-Text-Unidecode-[0-9]*:../../textproc/p5-Text-Unidecode +DEPENDS+= p5-Test-Simple-[0-9]*:../../devel/p5-Test-Simple +DEPENDS+= p5-Time-HiRes-[0-9]*:../../time/p5-Time-HiRes +DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI +DEPENDS+= p5-XML-LibXML-[0-9]*:../../textproc/p5-XML-LibXML +DEPENDS+= p5-XML-LibXSLT-[0-9]*:../../textproc/p5-XML-LibXSLT +DEPENDS+= p5-UUID-Tiny-[0-9]*:../../devel/p5-UUID-Tiny +# can probably be reduced, but this should be a good start +DEPENDS+= texlive-collection-latexrecommended-[0-9]*:../../meta-pkgs/texlive-collection-latexrecommended +DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick +DEPENDS+= p5-PerlMagick-[0-9]*:../../graphics/p5-PerlMagick + +PERL5_PACKLIST= auto/LaTeXML/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/print/LaTeXML/PLIST b/print/LaTeXML/PLIST new file mode 100644 index 00000000000..4e50b28ad11 --- /dev/null +++ b/print/LaTeXML/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1 2016/10/09 22:07:58 wiz Exp $ +share/texmf-local/tex/latex/latexml/.packlist +share/texmf-local/tex/latex/latexml/latexml.sty +share/texmf-local/tex/latex/latexml/lxRDFa.sty diff --git a/print/LaTeXML/distinfo b/print/LaTeXML/distinfo new file mode 100644 index 00000000000..811a2b205a3 --- /dev/null +++ b/print/LaTeXML/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2016/10/09 22:07:58 wiz Exp $ + +SHA1 (LaTeXML-0.8.2.tar.gz) = 9d439a0ce8fcebd8283684b26ac115d5b6196a7e +RMD160 (LaTeXML-0.8.2.tar.gz) = 6dbf960277cdcf30605ce93335e3383673c1ff66 +SHA512 (LaTeXML-0.8.2.tar.gz) = 521134f7b3820c2cbf8fbf60778f03f40b8bb6900311d82da986e8dd3ee1a0d518ef9bb4b852bd95a5bac758bb65b159218602f4adf454c77dfbf6280a4bd1a4 +Size (LaTeXML-0.8.2.tar.gz) = 8220020 bytes |