Initial import of writer2latex-0.4b2, a Java utility to convert
OpenOffice.org/StarOffice documents to LaTeX and other formats.
This commit is contained in:
parent
c8659788a4
commit
8dc5473e34
4 changed files with 111 additions and 0 deletions
18
textproc/writer2latex/DESCR
Normal file
18
textproc/writer2latex/DESCR
Normal file
|
@ -0,0 +1,18 @@
|
|||
Writer2LaTeX is a utility written in java. It converts OpenOffice.org/
|
||||
StarOffice 6/7 Writer documents -- in particular documents containing
|
||||
formulas -- into other formats. It is actually a collection of four
|
||||
converters:
|
||||
|
||||
- Writer2LaTeX converts documents into LaTeX 2e format for high
|
||||
quality typesetting
|
||||
|
||||
- Writer2BibTeX extracts bibliographic data from a document and
|
||||
stores it in BibTeX format (works together with Writer2LaTeX).
|
||||
|
||||
- Writer2xhtml converts documents into XHTML 1.0 or
|
||||
XHTML 1.1+MathML 2.0 with CSS2. This provides standards-compliant
|
||||
XHTML and brings your math to the web.
|
||||
|
||||
- Calc2xhtml is a companion to Writer2xhtml that converts OOo Calc
|
||||
documents to XHTML 1.0 with CSS2 to display your spreadsheets on
|
||||
the web.
|
40
textproc/writer2latex/Makefile
Normal file
40
textproc/writer2latex/Makefile
Normal file
|
@ -0,0 +1,40 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2005/02/25 23:46:27 rh Exp $
|
||||
#
|
||||
|
||||
DISTNAME= ${W2L}beta2
|
||||
PKGNAME= writer2latex-0.4b2
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= http://www.hj-gym.dk/~hj/writer2latex/
|
||||
EXTRACT_SUFX= .zip
|
||||
|
||||
MAINTAINER= tech-pkg@NetBSD.org
|
||||
HOMEPAGE= http://www.hj-gym.dk/~hj/writer2latex/
|
||||
COMMENT= Convert OpenOffice.org/StarOffice documents to LaTeX and other formats
|
||||
|
||||
WRKSRC= ${WRKDIR}/${W2L}
|
||||
USE_BUILDLINK3= yes
|
||||
USE_JAVA2= yes
|
||||
USE_JAVA= run
|
||||
|
||||
W2L= writer2latex04
|
||||
W2LPATH= ${PREFIX}/share/${W2L}
|
||||
|
||||
do-configure:
|
||||
.for scr in w2l
|
||||
${SED} -e 's|^\(java\)|${PKG_JAVA_HOME}/bin/\1|' \
|
||||
-e 's|^\(W2LPATH\).*|\1="${W2LPATH}"|' \
|
||||
-e 's|bash|sh|g' \
|
||||
< ${WRKSRC}/${scr} > ${WRKSRC}/${scr}.new
|
||||
${MV} ${WRKSRC}/${scr}.new ${WRKSRC}/${scr}
|
||||
.endfor
|
||||
|
||||
do-build:
|
||||
${RM} -rf ${WRKSRC}/source
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/w2l ${PREFIX}/bin/w2l
|
||||
${INSTALL_DATA_DIR} ${W2LPATH}
|
||||
${CP} -R ${WRKSRC}/* ${W2LPATH}
|
||||
|
||||
.include "../../mk/java-vm.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
48
textproc/writer2latex/PLIST
Normal file
48
textproc/writer2latex/PLIST
Normal file
|
@ -0,0 +1,48 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2005/02/25 23:46:27 rh Exp $
|
||||
bin/w2l
|
||||
share/writer2latex04/COPYING.TXT
|
||||
share/writer2latex04/History.txt
|
||||
share/writer2latex04/LaTeX-article.stw
|
||||
share/writer2latex04/Readme.txt
|
||||
share/writer2latex04/article.xml
|
||||
share/writer2latex04/build.xml
|
||||
share/writer2latex04/clean.xml
|
||||
share/writer2latex04/cleanxhtml.xml
|
||||
share/writer2latex04/doc/user-manual-print.pdf
|
||||
share/writer2latex04/doc/user-manual-screen.pdf
|
||||
share/writer2latex04/doc/user-manual.html
|
||||
share/writer2latex04/doc/user-manual.log
|
||||
share/writer2latex04/doc/user-manual.sxw
|
||||
share/writer2latex04/doc/user-manual1.html
|
||||
share/writer2latex04/doc/user-manual2.html
|
||||
share/writer2latex04/doc/user-manual3.html
|
||||
share/writer2latex04/doc/user-manual4.html
|
||||
share/writer2latex04/doc/user-manual5.html
|
||||
share/writer2latex04/doc/user-manual6.html
|
||||
share/writer2latex04/doc/w2llogo.png
|
||||
share/writer2latex04/obsolete/writer.sty
|
||||
share/writer2latex04/ooomath.sty
|
||||
share/writer2latex04/pdfprint.xml
|
||||
share/writer2latex04/pdfscreen.xml
|
||||
share/writer2latex04/pmathml.xsl
|
||||
share/writer2latex04/pmathmlcss.xsl
|
||||
share/writer2latex04/samples/latex/sample-article.bib
|
||||
share/writer2latex04/samples/latex/sample-article.dvi
|
||||
share/writer2latex04/samples/latex/sample-article.sxw
|
||||
share/writer2latex04/samples/latex/sample-article.tex
|
||||
share/writer2latex04/samples/xhtml/sample-xhtml.html
|
||||
share/writer2latex04/samples/xhtml/sample-xhtml.sxw
|
||||
share/writer2latex04/ultraclean.xml
|
||||
share/writer2latex04/w2l
|
||||
share/writer2latex04/w2l.bat
|
||||
share/writer2latex04/w2lfilters.zip
|
||||
share/writer2latex04/w2llogo.png
|
||||
share/writer2latex04/writer2latex.jar
|
||||
share/writer2latex04/writer2latex.xml
|
||||
share/writer2latex04/xmergefix.jar
|
||||
@dirrm share/writer2latex04/samples/xhtml
|
||||
@dirrm share/writer2latex04/samples/latex
|
||||
@dirrm share/writer2latex04/samples
|
||||
@dirrm share/writer2latex04/obsolete
|
||||
@dirrm share/writer2latex04/doc
|
||||
@dirrm share/writer2latex04
|
5
textproc/writer2latex/distinfo
Normal file
5
textproc/writer2latex/distinfo
Normal file
|
@ -0,0 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2005/02/25 23:46:27 rh Exp $
|
||||
|
||||
SHA1 (writer2latex04beta2.zip) = 19c6bca32d793621c0ea3be67ad648b0a14782e4
|
||||
RMD160 (writer2latex04beta2.zip) = a90c6e50b569525da1c82c85a9396c18d9a2952d
|
||||
Size (writer2latex04beta2.zip) = 1361032 bytes
|
Loading…
Reference in a new issue