1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Dblatex started as a DB2LaTeX clone. So, why this project? The purpose

is a bit different on these points:

(1) The project is end-user oriented, that is, it tries to hide as much
as possible the latex compiling stuff by providing a single clean
script to produce directly DVI, PostScript and PDF output.

(2) The actual output rendering is done not only by the XSL stylesheets
transformation, but also by a dedicated LaTeX package. The purpose is
to allow a deep LaTeX customisation without changing the XSL
stylesheets.

(3) Post-processing is done by Python, to make publication faster,
convert the images if needed, and do the whole compilation.

WWW:	http://dblatex.sourceforge.net/

PR:		ports/109520
Submitted by:	Peter Johnson <johnson.peter at gmail.com>
This commit is contained in:
Martin Wilke 2007-02-26 11:19:33 +00:00
parent 44fe6e212c
commit 1376a3b978
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=185978
5 changed files with 338 additions and 0 deletions

View File

@ -70,6 +70,7 @@
SUBDIR += dadadodo
SUBDIR += db2latex
SUBDIR += dbacl
SUBDIR += dblatex
SUBDIR += denature
SUBDIR += dict
SUBDIR += dictem

35
textproc/dblatex/Makefile Normal file
View File

@ -0,0 +1,35 @@
# New ports collection makefile for: dblatex
# Date created: 2007-02-25
# Whom: Peter Johnson <johnson.peter@gmail.com>
#
# $FreeBSD$
#
PORTNAME= dblatex
PORTVERSION= 0.2.4
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= johnson.peter@gmail.com
COMMENT= DocBook to LaTeX/ConTeXt Publishing
RUN_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt \
${LOCALBASE}/share/xml/docbook/4.2/docbook.cat:${PORTSDIR}/textproc/docbook-xml \
etex:${PORTSDIR}/print/teTeX-base
USE_BZIP2= yes
USE_PYTHON= 2.4+
USE_PYDISTUTILS=yes
PYDISTUTILS_INSTALLARGS= -c -O1 --prefix=${PREFIX} \
--catalogs=${PREFIX}/share/xml/catalog.ports
PORTDOCS= manual.pdf
MAN1= dblatex.1
MANCOMPRESSED= yes
post-patch:
${REINPLACE_CMD} -e "s,share/man/man1,man/man1,g" ${WRKSRC}/setup.py
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (dblatex-0.2.4.tar.bz2) = bbf1c3a627711b64433c6c69fce29215
SHA256 (dblatex-0.2.4.tar.bz2) = f413235fa18300b145e0a8b110476fa24238425ab4cf21099da9b1d78275724f
SIZE (dblatex-0.2.4.tar.bz2) = 646003

View File

@ -0,0 +1,16 @@
Dblatex started as a DB2LaTeX clone. So, why this project? The purpose
is a bit different on these points:
(1) The project is end-user oriented, that is, it tries to hide as much
as possible the latex compiling stuff by providing a single clean
script to produce directly DVI, PostScript and PDF output.
(2) The actual output rendering is done not only by the XSL stylesheets
transformation, but also by a dedicated LaTeX package. The purpose is
to allow a deep LaTeX customisation without changing the XSL
stylesheets.
(3) Post-processing is done by Python, to make publication faster,
convert the images if needed, and do the whole compilation.
WWW: http://dblatex.sourceforge.net/

283
textproc/dblatex/pkg-plist Normal file
View File

@ -0,0 +1,283 @@
@comment $FreeBSD$
bin/dblatex
%%DATADIR%%/latex/contrib/db2latex/db2latex.sty
%%DATADIR%%/latex/contrib/db2latex/graphics/caution.eps
%%DATADIR%%/latex/contrib/db2latex/graphics/caution.pdf
%%DATADIR%%/latex/contrib/db2latex/graphics/important.eps
%%DATADIR%%/latex/contrib/db2latex/graphics/important.pdf
%%DATADIR%%/latex/contrib/db2latex/graphics/note.eps
%%DATADIR%%/latex/contrib/db2latex/graphics/note.pdf
%%DATADIR%%/latex/contrib/db2latex/graphics/tip.eps
%%DATADIR%%/latex/contrib/db2latex/graphics/tip.pdf
%%DATADIR%%/latex/contrib/db2latex/graphics/warning.eps
%%DATADIR%%/latex/contrib/db2latex/graphics/warning.pdf
%%DATADIR%%/latex/contrib/db2latex/param.xsl
%%DATADIR%%/latex/contrib/example/dbsimple.sty
%%DATADIR%%/latex/graphics/dblatex.eps
%%DATADIR%%/latex/graphics/dblatex.png
%%DATADIR%%/latex/graphics/warning.eps
%%DATADIR%%/latex/graphics/warning.fig
%%DATADIR%%/latex/graphics/warning.pdf
%%DATADIR%%/latex/misc/attachfile.sty
%%DATADIR%%/latex/misc/bibtopic.sty
%%DATADIR%%/latex/misc/enumitem.sty
%%DATADIR%%/latex/misc/multirow2.sty
%%DATADIR%%/latex/misc/passivetex/LICENSE
%%DATADIR%%/latex/misc/passivetex/dummyels.sty
%%DATADIR%%/latex/misc/passivetex/unicode.sty
%%DATADIR%%/latex/misc/ragged2e.sty
%%DATADIR%%/latex/scripts/doc.ist
%%DATADIR%%/latex/specs/db2latex.specs
%%DATADIR%%/latex/specs/native.specs
%%DATADIR%%/latex/specs/simple.specs
%%DATADIR%%/latex/style/dbk_admonition.sty
%%DATADIR%%/latex/style/dbk_annot.sty
%%DATADIR%%/latex/style/dbk_biblio.sty
%%DATADIR%%/latex/style/dbk_callout.sty
%%DATADIR%%/latex/style/dbk_changebar.sty
%%DATADIR%%/latex/style/dbk_core.sty
%%DATADIR%%/latex/style/dbk_fonts.sty
%%DATADIR%%/latex/style/dbk_graphic.sty
%%DATADIR%%/latex/style/dbk_headfoot.sty
%%DATADIR%%/latex/style/dbk_hyper.sty
%%DATADIR%%/latex/style/dbk_item.sty
%%DATADIR%%/latex/style/dbk_locale.sty
%%DATADIR%%/latex/style/dbk_revision.sty
%%DATADIR%%/latex/style/dbk_table.sty
%%DATADIR%%/latex/style/dbk_title.sty
%%DATADIR%%/latex/style/dbk_verbatim.sty
%%DATADIR%%/latex/style/docbook.sty
%%DATADIR%%/xsl/abstract.xsl
%%DATADIR%%/xsl/admon.xsl
%%DATADIR%%/xsl/annotation.xsl
%%DATADIR%%/xsl/appendix.xsl
%%DATADIR%%/xsl/biblio.xsl
%%DATADIR%%/xsl/bridgehead.xsl
%%DATADIR%%/xsl/callout.xsl
%%DATADIR%%/xsl/chapter.xsl
%%DATADIR%%/xsl/chunker.xsl
%%DATADIR%%/xsl/citation.xsl
%%DATADIR%%/xsl/classsynopsis.xsl
%%DATADIR%%/xsl/color.xsl
%%DATADIR%%/xsl/common.xsl
%%DATADIR%%/xsl/common/ca.xml
%%DATADIR%%/xsl/common/common.xsl
%%DATADIR%%/xsl/common/cs.xml
%%DATADIR%%/xsl/common/da.xml
%%DATADIR%%/xsl/common/de.xml
%%DATADIR%%/xsl/common/el.xml
%%DATADIR%%/xsl/common/en.xml
%%DATADIR%%/xsl/common/es.xml
%%DATADIR%%/xsl/common/et.xml
%%DATADIR%%/xsl/common/fi.xml
%%DATADIR%%/xsl/common/fr.xml
%%DATADIR%%/xsl/common/gentext.xsl
%%DATADIR%%/xsl/common/hu.xml
%%DATADIR%%/xsl/common/id.xml
%%DATADIR%%/xsl/common/it.xml
%%DATADIR%%/xsl/common/ja.xml
%%DATADIR%%/xsl/common/ko.xml
%%DATADIR%%/xsl/common/l10n.dtd
%%DATADIR%%/xsl/common/l10n.xml
%%DATADIR%%/xsl/common/l10n.xsl
%%DATADIR%%/xsl/common/labels.xsl
%%DATADIR%%/xsl/common/mklistings.xsl
%%DATADIR%%/xsl/common/nl.xml
%%DATADIR%%/xsl/common/no.xml
%%DATADIR%%/xsl/common/pl.xml
%%DATADIR%%/xsl/common/pt.xml
%%DATADIR%%/xsl/common/pt_br.xml
%%DATADIR%%/xsl/common/ro.xml
%%DATADIR%%/xsl/common/ru.xml
%%DATADIR%%/xsl/common/sk.xml
%%DATADIR%%/xsl/common/sl.xml
%%DATADIR%%/xsl/common/subtitles.xsl
%%DATADIR%%/xsl/common/sv.xml
%%DATADIR%%/xsl/common/titles.xsl
%%DATADIR%%/xsl/common/zh_cn.xml
%%DATADIR%%/xsl/common/zh_tw.xml
%%DATADIR%%/xsl/component.xsl
%%DATADIR%%/xsl/dingbat.xsl
%%DATADIR%%/xsl/docbook.xsl
%%DATADIR%%/xsl/docbookng.xsl
%%DATADIR%%/xsl/email.xsl
%%DATADIR%%/xsl/equation.xsl
%%DATADIR%%/xsl/errors.xsl
%%DATADIR%%/xsl/example.xsl
%%DATADIR%%/xsl/fasttext.xsl
%%DATADIR%%/xsl/figure.xsl
%%DATADIR%%/xsl/footnote.xsl
%%DATADIR%%/xsl/format.xsl
%%DATADIR%%/xsl/glossary.xsl
%%DATADIR%%/xsl/graphic.xsl
%%DATADIR%%/xsl/index.xsl
%%DATADIR%%/xsl/inlined.xsl
%%DATADIR%%/xsl/keyword.xsl
%%DATADIR%%/xsl/labelid.xsl
%%DATADIR%%/xsl/lang.xsl
%%DATADIR%%/xsl/latex_book.xsl
%%DATADIR%%/xsl/latex_book_fast.xsl
%%DATADIR%%/xsl/legalnotice.xsl
%%DATADIR%%/xsl/lists.xsl
%%DATADIR%%/xsl/main.xsl
%%DATADIR%%/xsl/mapping.dtd
%%DATADIR%%/xsl/mathml2/README
%%DATADIR%%/xsl/mathml2/cmarkup.xsl
%%DATADIR%%/xsl/mathml2/entities.xsl
%%DATADIR%%/xsl/mathml2/glayout.xsl
%%DATADIR%%/xsl/mathml2/mapmmlent.xml
%%DATADIR%%/xsl/mathml2/mathml.xsl
%%DATADIR%%/xsl/mathml2/mmltex.xsl
%%DATADIR%%/xsl/mathml2/scripts.xsl
%%DATADIR%%/xsl/mathml2/tables.xsl
%%DATADIR%%/xsl/mathml2/tokens.xsl
%%DATADIR%%/xsl/mediaobject.xsl
%%DATADIR%%/xsl/mediaobjectco.xsl
%%DATADIR%%/xsl/misc.xsl
%%DATADIR%%/xsl/msgset.xsl
%%DATADIR%%/xsl/newtbl.xsl
%%DATADIR%%/xsl/para.xsl
%%DATADIR%%/xsl/param.xsl
%%DATADIR%%/xsl/part.xsl
%%DATADIR%%/xsl/pi.xsl
%%DATADIR%%/xsl/procedure.xsl
%%DATADIR%%/xsl/qandaset.xsl
%%DATADIR%%/xsl/quote.xsl
%%DATADIR%%/xsl/refentry.xsl
%%DATADIR%%/xsl/revision.xsl
%%DATADIR%%/xsl/scape.xsl
%%DATADIR%%/xsl/secmap.xml
%%DATADIR%%/xsl/sections.xsl
%%DATADIR%%/xsl/sgmltag.xsl
%%DATADIR%%/xsl/sidebar.xsl
%%DATADIR%%/xsl/synopsis.xsl
%%DATADIR%%/xsl/tablen.xsl
%%DATADIR%%/xsl/texmap.xml
%%DATADIR%%/xsl/toc_lot.xsl
%%DATADIR%%/xsl/verbatim.xsl
%%DATADIR%%/xsl/verbatimco.xsl
%%DATADIR%%/xsl/version.xsl
%%DATADIR%%/xsl/xref.xsl
%%PYTHON_SITELIBDIR%%/dbtexmf/__init__.py
%%PYTHON_SITELIBDIR%%/dbtexmf/__init__.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/__init__.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/core/__init__.py
%%PYTHON_SITELIBDIR%%/dbtexmf/core/__init__.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/core/__init__.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/core/confparser.py
%%PYTHON_SITELIBDIR%%/dbtexmf/core/confparser.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/core/confparser.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/core/dbtex.py
%%PYTHON_SITELIBDIR%%/dbtexmf/core/dbtex.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/core/dbtex.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/core/imagedata.py
%%PYTHON_SITELIBDIR%%/dbtexmf/core/imagedata.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/core/imagedata.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/core/logger.py
%%PYTHON_SITELIBDIR%%/dbtexmf/core/logger.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/core/logger.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/core/sgmlent.txt
%%PYTHON_SITELIBDIR%%/dbtexmf/core/sgmlxml.py
%%PYTHON_SITELIBDIR%%/dbtexmf/core/sgmlxml.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/core/sgmlxml.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/__init__.py
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/__init__.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/__init__.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/dblatex.py
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/dblatex.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/dblatex.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/rawtex.py
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/rawtex.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/rawtex.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/rawverb.py
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/rawverb.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/rawverb.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/runtex.py
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/runtex.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/runtex.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/texcodec.py
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/texcodec.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/texcodec.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/unient.py
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/unient.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/unient.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/__init__.py
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/__init__.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/__init__.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/bibtex.py
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/bibtex.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/bibtex.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/bibtopic.py
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/bibtopic.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/bibtopic.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/dvips.py
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/dvips.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/dvips.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/index.py
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/index.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/index.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/latex.py
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/latex.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/latex.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/logparser.py
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/logparser.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/logparser.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/makeidx.py
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/makeidx.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/makeidx.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/maker.py
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/maker.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/maker.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/msg.py
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/msg.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/msg.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/pdftex.py
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/pdftex.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/pdftex.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/plugins.py
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/plugins.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/plugins.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/ps2pdf.py
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/ps2pdf.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/ps2pdf.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/texbuilder.py
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/texbuilder.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/texbuilder.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/texparser.py
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/texparser.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/texparser.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/util.py
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/util.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/util.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/xslt/4xslt.py
%%PYTHON_SITELIBDIR%%/dbtexmf/xslt/4xslt.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/xslt/4xslt.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/xslt/__init__.py
%%PYTHON_SITELIBDIR%%/dbtexmf/xslt/__init__.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/xslt/__init__.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/xslt/xslt.py
%%PYTHON_SITELIBDIR%%/dbtexmf/xslt/xslt.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/xslt/xslt.pyo
%%PYTHON_SITELIBDIR%%/dbtexmf/xslt/xsltproc.py
%%PYTHON_SITELIBDIR%%/dbtexmf/xslt/xsltproc.pyc
%%PYTHON_SITELIBDIR%%/dbtexmf/xslt/xsltproc.pyo
@dirrm %%PYTHON_SITELIBDIR%%/dbtexmf/xslt
@dirrm %%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber
@dirrm %%PYTHON_SITELIBDIR%%/dbtexmf/dblatex
@dirrm %%PYTHON_SITELIBDIR%%/dbtexmf/core
@dirrm %%PYTHON_SITELIBDIR%%/dbtexmf
@dirrm %%DATADIR%%/xsl/mathml2
@dirrm %%DATADIR%%/xsl/common
@dirrm %%DATADIR%%/xsl
@dirrm %%DATADIR%%/latex/style
@dirrm %%DATADIR%%/latex/specs
@dirrm %%DATADIR%%/latex/scripts
@dirrm %%DATADIR%%/latex/misc/passivetex
@dirrm %%DATADIR%%/latex/misc
@dirrm %%DATADIR%%/latex/graphics
@dirrm %%DATADIR%%/latex/contrib/db2latex/graphics
@dirrm %%DATADIR%%/latex/contrib/db2latex
@dirrm %%DATADIR%%/latex/contrib/example
@dirrm %%DATADIR%%/latex/contrib
@dirrm %%DATADIR%%/latex
@dirrm %%DATADIR%%