Initial import of dblatex-0.2.7:

Dblatex started as a DB2LaTeX clone, but since then many things
have changed and new features have been added or (hopefully)
improved. Now, the portion of shared code is small if any, and the
dblatex purpose is different from DB2LaTeX on these points:

* 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.

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

* Post-processing is done by Python, to make publication faster,
convert the images if needed, and do the whole compilation.
This commit is contained in:
wiz 2007-09-08 10:25:48 +00:00
parent 470ab0a92f
commit 62ec29b153
4 changed files with 379 additions and 0 deletions

16
textproc/dblatex/DESCR Normal file
View file

@ -0,0 +1,16 @@
Dblatex started as a DB2LaTeX clone, but since then many things
have changed and new features have been added or (hopefully)
improved. Now, the portion of shared code is small if any, and the
dblatex purpose is different from DB2LaTeX on these points:
* 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.
* The actual output rendering is done not only by the XSL stylesheets
transformation, but also by a dedicated LaTeX package. The goal is
to allow a deep LaTeX customisation without changing the XSL
stylesheets.
* Post-processing is done by Python, to make publication faster,
convert the images if needed, and do the whole compilation.

35
textproc/dblatex/Makefile Normal file
View file

@ -0,0 +1,35 @@
# $NetBSD: Makefile,v 1.1.1.1 2007/09/08 10:25:48 wiz Exp $
#
DISTNAME= dblatex-0.2.7
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dblatex/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://dblatex.sourceforge.net/
COMMENT= DocBook to LaTeX Publishing
DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick
DEPENDS+= teTeX-bin-[0-9]*:../../print/teTeX3-bin
DEPENDS+= transfig-[0-9]*:../../print/transfig
DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
PYDISTUTILSPKG= yes
USE_LANGUAGES= # none
SUBST_CLASSES+= man
SUBST_MESSAGE.man= Fixing man page installation path.
SUBST_STAGE.man= pre-configure
SUBST_FILES.man= setup.py
SUBST_SED.man+= -e 's,share/man/man1,${PKGMANDIR}/man1,'
SUBST_SED.man+= -e "s,'python','${PYTHONBIN}',"
#SUBST_CLASSES+= path
#SUBST_MESSAGE.path= Fixing python path.
#SUBST_STAGE.path= pre-configure
#SUBST_FILES.path= scripts/dblatex
#SUBST_SED.path= -e 's,/usr/bin/env python,${PYTHONBIN},g'
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"

323
textproc/dblatex/PLIST Normal file
View file

@ -0,0 +1,323 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2007/09/08 10:25:48 wiz Exp $
bin/dblatex
${PYSITELIB}/dbtexmf/__init__.py
${PYSITELIB}/dbtexmf/__init__.pyc
${PYSITELIB}/dbtexmf/__init__.pyo
${PYSITELIB}/dbtexmf/core/__init__.py
${PYSITELIB}/dbtexmf/core/__init__.pyc
${PYSITELIB}/dbtexmf/core/__init__.pyo
${PYSITELIB}/dbtexmf/core/confparser.py
${PYSITELIB}/dbtexmf/core/confparser.pyc
${PYSITELIB}/dbtexmf/core/confparser.pyo
${PYSITELIB}/dbtexmf/core/dbtex.py
${PYSITELIB}/dbtexmf/core/dbtex.pyc
${PYSITELIB}/dbtexmf/core/dbtex.pyo
${PYSITELIB}/dbtexmf/core/imagedata.py
${PYSITELIB}/dbtexmf/core/imagedata.pyc
${PYSITELIB}/dbtexmf/core/imagedata.pyo
${PYSITELIB}/dbtexmf/core/logger.py
${PYSITELIB}/dbtexmf/core/logger.pyc
${PYSITELIB}/dbtexmf/core/logger.pyo
${PYSITELIB}/dbtexmf/core/sgmlent.txt
${PYSITELIB}/dbtexmf/core/sgmlxml.py
${PYSITELIB}/dbtexmf/core/sgmlxml.pyc
${PYSITELIB}/dbtexmf/core/sgmlxml.pyo
${PYSITELIB}/dbtexmf/dblatex/__init__.py
${PYSITELIB}/dbtexmf/dblatex/__init__.pyc
${PYSITELIB}/dbtexmf/dblatex/__init__.pyo
${PYSITELIB}/dbtexmf/dblatex/dblatex.py
${PYSITELIB}/dbtexmf/dblatex/dblatex.pyc
${PYSITELIB}/dbtexmf/dblatex/dblatex.pyo
${PYSITELIB}/dbtexmf/dblatex/grubber/__init__.py
${PYSITELIB}/dbtexmf/dblatex/grubber/__init__.pyc
${PYSITELIB}/dbtexmf/dblatex/grubber/__init__.pyo
${PYSITELIB}/dbtexmf/dblatex/grubber/bibtex.py
${PYSITELIB}/dbtexmf/dblatex/grubber/bibtex.pyc
${PYSITELIB}/dbtexmf/dblatex/grubber/bibtex.pyo
${PYSITELIB}/dbtexmf/dblatex/grubber/bibtopic.py
${PYSITELIB}/dbtexmf/dblatex/grubber/bibtopic.pyc
${PYSITELIB}/dbtexmf/dblatex/grubber/bibtopic.pyo
${PYSITELIB}/dbtexmf/dblatex/grubber/dvips.py
${PYSITELIB}/dbtexmf/dblatex/grubber/dvips.pyc
${PYSITELIB}/dbtexmf/dblatex/grubber/dvips.pyo
${PYSITELIB}/dbtexmf/dblatex/grubber/index.py
${PYSITELIB}/dbtexmf/dblatex/grubber/index.pyc
${PYSITELIB}/dbtexmf/dblatex/grubber/index.pyo
${PYSITELIB}/dbtexmf/dblatex/grubber/latex.py
${PYSITELIB}/dbtexmf/dblatex/grubber/latex.pyc
${PYSITELIB}/dbtexmf/dblatex/grubber/latex.pyo
${PYSITELIB}/dbtexmf/dblatex/grubber/logparser.py
${PYSITELIB}/dbtexmf/dblatex/grubber/logparser.pyc
${PYSITELIB}/dbtexmf/dblatex/grubber/logparser.pyo
${PYSITELIB}/dbtexmf/dblatex/grubber/makeidx.py
${PYSITELIB}/dbtexmf/dblatex/grubber/makeidx.pyc
${PYSITELIB}/dbtexmf/dblatex/grubber/makeidx.pyo
${PYSITELIB}/dbtexmf/dblatex/grubber/maker.py
${PYSITELIB}/dbtexmf/dblatex/grubber/maker.pyc
${PYSITELIB}/dbtexmf/dblatex/grubber/maker.pyo
${PYSITELIB}/dbtexmf/dblatex/grubber/msg.py
${PYSITELIB}/dbtexmf/dblatex/grubber/msg.pyc
${PYSITELIB}/dbtexmf/dblatex/grubber/msg.pyo
${PYSITELIB}/dbtexmf/dblatex/grubber/pdftex.py
${PYSITELIB}/dbtexmf/dblatex/grubber/pdftex.pyc
${PYSITELIB}/dbtexmf/dblatex/grubber/pdftex.pyo
${PYSITELIB}/dbtexmf/dblatex/grubber/plugins.py
${PYSITELIB}/dbtexmf/dblatex/grubber/plugins.pyc
${PYSITELIB}/dbtexmf/dblatex/grubber/plugins.pyo
${PYSITELIB}/dbtexmf/dblatex/grubber/ps2pdf.py
${PYSITELIB}/dbtexmf/dblatex/grubber/ps2pdf.pyc
${PYSITELIB}/dbtexmf/dblatex/grubber/ps2pdf.pyo
${PYSITELIB}/dbtexmf/dblatex/grubber/texbuilder.py
${PYSITELIB}/dbtexmf/dblatex/grubber/texbuilder.pyc
${PYSITELIB}/dbtexmf/dblatex/grubber/texbuilder.pyo
${PYSITELIB}/dbtexmf/dblatex/grubber/texparser.py
${PYSITELIB}/dbtexmf/dblatex/grubber/texparser.pyc
${PYSITELIB}/dbtexmf/dblatex/grubber/texparser.pyo
${PYSITELIB}/dbtexmf/dblatex/grubber/util.py
${PYSITELIB}/dbtexmf/dblatex/grubber/util.pyc
${PYSITELIB}/dbtexmf/dblatex/grubber/util.pyo
${PYSITELIB}/dbtexmf/dblatex/rawparse.py
${PYSITELIB}/dbtexmf/dblatex/rawparse.pyc
${PYSITELIB}/dbtexmf/dblatex/rawparse.pyo
${PYSITELIB}/dbtexmf/dblatex/rawtex.py
${PYSITELIB}/dbtexmf/dblatex/rawtex.pyc
${PYSITELIB}/dbtexmf/dblatex/rawtex.pyo
${PYSITELIB}/dbtexmf/dblatex/rawverb.py
${PYSITELIB}/dbtexmf/dblatex/rawverb.pyc
${PYSITELIB}/dbtexmf/dblatex/rawverb.pyo
${PYSITELIB}/dbtexmf/dblatex/runtex.py
${PYSITELIB}/dbtexmf/dblatex/runtex.pyc
${PYSITELIB}/dbtexmf/dblatex/runtex.pyo
${PYSITELIB}/dbtexmf/dblatex/texcodec.py
${PYSITELIB}/dbtexmf/dblatex/texcodec.pyc
${PYSITELIB}/dbtexmf/dblatex/texcodec.pyo
${PYSITELIB}/dbtexmf/dblatex/unient.py
${PYSITELIB}/dbtexmf/dblatex/unient.pyc
${PYSITELIB}/dbtexmf/dblatex/unient.pyo
${PYSITELIB}/dbtexmf/xslt/4xslt.py
${PYSITELIB}/dbtexmf/xslt/4xslt.pyc
${PYSITELIB}/dbtexmf/xslt/4xslt.pyo
${PYSITELIB}/dbtexmf/xslt/__init__.py
${PYSITELIB}/dbtexmf/xslt/__init__.pyc
${PYSITELIB}/dbtexmf/xslt/__init__.pyo
${PYSITELIB}/dbtexmf/xslt/xslt.py
${PYSITELIB}/dbtexmf/xslt/xslt.pyc
${PYSITELIB}/dbtexmf/xslt/xslt.pyo
${PYSITELIB}/dbtexmf/xslt/xsltproc.py
${PYSITELIB}/dbtexmf/xslt/xsltproc.pyc
${PYSITELIB}/dbtexmf/xslt/xsltproc.pyo
share/dblatex/latex/contrib/db2latex/db2latex.sty
share/dblatex/latex/contrib/db2latex/graphics/caution.eps
share/dblatex/latex/contrib/db2latex/graphics/caution.pdf
share/dblatex/latex/contrib/db2latex/graphics/important.eps
share/dblatex/latex/contrib/db2latex/graphics/important.pdf
share/dblatex/latex/contrib/db2latex/graphics/note.eps
share/dblatex/latex/contrib/db2latex/graphics/note.pdf
share/dblatex/latex/contrib/db2latex/graphics/tip.eps
share/dblatex/latex/contrib/db2latex/graphics/tip.pdf
share/dblatex/latex/contrib/db2latex/graphics/warning.eps
share/dblatex/latex/contrib/db2latex/graphics/warning.pdf
share/dblatex/latex/contrib/db2latex/param.xsl
share/dblatex/latex/contrib/example/dbsimple.sty
share/dblatex/latex/graphics/dblatex.eps
share/dblatex/latex/graphics/dblatex.png
share/dblatex/latex/graphics/warning.eps
share/dblatex/latex/graphics/warning.fig
share/dblatex/latex/graphics/warning.pdf
share/dblatex/latex/misc/attachfile.sty
share/dblatex/latex/misc/bibtopic.sty
share/dblatex/latex/misc/enumitem.sty
share/dblatex/latex/misc/multirow2.sty
share/dblatex/latex/misc/passivetex/LICENSE
share/dblatex/latex/misc/passivetex/dummyels.sty
share/dblatex/latex/misc/passivetex/unicode.sty
share/dblatex/latex/misc/ragged2e.sty
share/dblatex/latex/scripts/doc.ist
share/dblatex/latex/specs/db2latex.specs
share/dblatex/latex/specs/native.specs
share/dblatex/latex/specs/simple.specs
share/dblatex/latex/style/dbk_admonition.sty
share/dblatex/latex/style/dbk_annot.sty
share/dblatex/latex/style/dbk_biblio.sty
share/dblatex/latex/style/dbk_callout.sty
share/dblatex/latex/style/dbk_changebar.sty
share/dblatex/latex/style/dbk_core.sty
share/dblatex/latex/style/dbk_fonts.sty
share/dblatex/latex/style/dbk_graphic.sty
share/dblatex/latex/style/dbk_headfoot.sty
share/dblatex/latex/style/dbk_hyper.sty
share/dblatex/latex/style/dbk_item.sty
share/dblatex/latex/style/dbk_locale.sty
share/dblatex/latex/style/dbk_revision.sty
share/dblatex/latex/style/dbk_table.sty
share/dblatex/latex/style/dbk_title.sty
share/dblatex/latex/style/dbk_verbatim.sty
share/dblatex/latex/style/docbook.sty
share/dblatex/xsl/abstract.xsl
share/dblatex/xsl/admon.xsl
share/dblatex/xsl/annotation.xsl
share/dblatex/xsl/appendix.xsl
share/dblatex/xsl/biblio.xsl
share/dblatex/xsl/bridgehead.xsl
share/dblatex/xsl/callout.xsl
share/dblatex/xsl/chapter.xsl
share/dblatex/xsl/chunker.xsl
share/dblatex/xsl/citation.xsl
share/dblatex/xsl/classsynopsis.xsl
share/dblatex/xsl/color.xsl
share/dblatex/xsl/common/af.xml
share/dblatex/xsl/common/am.xml
share/dblatex/xsl/common/ar.xml
share/dblatex/xsl/common/az.xml
share/dblatex/xsl/common/bg.xml
share/dblatex/xsl/common/bn.xml
share/dblatex/xsl/common/bs.xml
share/dblatex/xsl/common/ca.xml
share/dblatex/xsl/common/common.xsl
share/dblatex/xsl/common/cs.xml
share/dblatex/xsl/common/cy.xml
share/dblatex/xsl/common/da.xml
share/dblatex/xsl/common/de.xml
share/dblatex/xsl/common/el.xml
share/dblatex/xsl/common/en.xml
share/dblatex/xsl/common/es.xml
share/dblatex/xsl/common/et.xml
share/dblatex/xsl/common/eu.xml
share/dblatex/xsl/common/fa.xml
share/dblatex/xsl/common/fi.xml
share/dblatex/xsl/common/fr.xml
share/dblatex/xsl/common/ga.xml
share/dblatex/xsl/common/gentext.xsl
share/dblatex/xsl/common/gu.xml
share/dblatex/xsl/common/he.xml
share/dblatex/xsl/common/hi.xml
share/dblatex/xsl/common/hr.xml
share/dblatex/xsl/common/hu.xml
share/dblatex/xsl/common/id.xml
share/dblatex/xsl/common/it.xml
share/dblatex/xsl/common/ja.xml
share/dblatex/xsl/common/kn.xml
share/dblatex/xsl/common/ko.xml
share/dblatex/xsl/common/l10n.dtd
share/dblatex/xsl/common/l10n.xml
share/dblatex/xsl/common/l10n.xsl
share/dblatex/xsl/common/la.xml
share/dblatex/xsl/common/labels.xsl
share/dblatex/xsl/common/lib.xsl
share/dblatex/xsl/common/lt.xml
share/dblatex/xsl/common/mklistings.xsl
share/dblatex/xsl/common/mn.xml
share/dblatex/xsl/common/nl.xml
share/dblatex/xsl/common/nn.xml
share/dblatex/xsl/common/no.xml
share/dblatex/xsl/common/olink.xsl
share/dblatex/xsl/common/or.xml
share/dblatex/xsl/common/pa.xml
share/dblatex/xsl/common/pl.xml
share/dblatex/xsl/common/pt.xml
share/dblatex/xsl/common/pt_br.xml
share/dblatex/xsl/common/ro.xml
share/dblatex/xsl/common/ru.xml
share/dblatex/xsl/common/sk.xml
share/dblatex/xsl/common/sl.xml
share/dblatex/xsl/common/sq.xml
share/dblatex/xsl/common/sr.xml
share/dblatex/xsl/common/sr_Latn.xml
share/dblatex/xsl/common/subtitles.xsl
share/dblatex/xsl/common/sv.xml
share/dblatex/xsl/common/ta.xml
share/dblatex/xsl/common/th.xml
share/dblatex/xsl/common/titles.xsl
share/dblatex/xsl/common/tl.xml
share/dblatex/xsl/common/tr.xml
share/dblatex/xsl/common/uk.xml
share/dblatex/xsl/common/vi.xml
share/dblatex/xsl/common/xh.xml
share/dblatex/xsl/common/zh_cn.xml
share/dblatex/xsl/common/zh_tw.xml
share/dblatex/xsl/component.xsl
share/dblatex/xsl/dingbat.xsl
share/dblatex/xsl/docbook.xsl
share/dblatex/xsl/docbookng.xsl
share/dblatex/xsl/email.xsl
share/dblatex/xsl/equation.xsl
share/dblatex/xsl/errors.xsl
share/dblatex/xsl/example.xsl
share/dblatex/xsl/fasttext.xsl
share/dblatex/xsl/figure.xsl
share/dblatex/xsl/footnote.xsl
share/dblatex/xsl/format.xsl
share/dblatex/xsl/glossary.xsl
share/dblatex/xsl/graphic.xsl
share/dblatex/xsl/index.xsl
share/dblatex/xsl/inlined.xsl
share/dblatex/xsl/keyword.xsl
share/dblatex/xsl/labelid.xsl
share/dblatex/xsl/lang.xsl
share/dblatex/xsl/latex_book.xsl
share/dblatex/xsl/latex_book_fast.xsl
share/dblatex/xsl/legalnotice.xsl
share/dblatex/xsl/lists.xsl
share/dblatex/xsl/main.xsl
share/dblatex/xsl/mapping.dtd
share/dblatex/xsl/mathml2/README
share/dblatex/xsl/mathml2/cmarkup.xsl
share/dblatex/xsl/mathml2/entities.xsl
share/dblatex/xsl/mathml2/glayout.xsl
share/dblatex/xsl/mathml2/mapmmlent.xml
share/dblatex/xsl/mathml2/mathml.xsl
share/dblatex/xsl/mathml2/mmltex.xsl
share/dblatex/xsl/mathml2/scripts.xsl
share/dblatex/xsl/mathml2/tables.xsl
share/dblatex/xsl/mathml2/tokens.xsl
share/dblatex/xsl/mediaobject.xsl
share/dblatex/xsl/mediaobjectco.xsl
share/dblatex/xsl/msgset.xsl
share/dblatex/xsl/newtbl.xsl
share/dblatex/xsl/para.xsl
share/dblatex/xsl/param.xsl
share/dblatex/xsl/part.xsl
share/dblatex/xsl/pi.xsl
share/dblatex/xsl/preamble.xsl
share/dblatex/xsl/procedure.xsl
share/dblatex/xsl/qandaset.xsl
share/dblatex/xsl/quote.xsl
share/dblatex/xsl/refentry.xsl
share/dblatex/xsl/revision.xsl
share/dblatex/xsl/scape.xsl
share/dblatex/xsl/secmap.xml
share/dblatex/xsl/sections.xsl
share/dblatex/xsl/sgmltag.xsl
share/dblatex/xsl/sidebar.xsl
share/dblatex/xsl/synopsis.xsl
share/dblatex/xsl/tablen.xsl
share/dblatex/xsl/texmap.xml
share/dblatex/xsl/toc_lot.xsl
share/dblatex/xsl/url.xsl
share/dblatex/xsl/verbatim.xsl
share/dblatex/xsl/verbatimco.xsl
share/dblatex/xsl/version.xsl
share/dblatex/xsl/xref.xsl
share/doc/dblatex/manual.pdf
man/man1/dblatex.1
@dirrm share/doc/dblatex
@dirrm share/dblatex/xsl/mathml2
@dirrm share/dblatex/xsl/common
@dirrm share/dblatex/xsl
@dirrm share/dblatex/latex/style
@dirrm share/dblatex/latex/specs
@dirrm share/dblatex/latex/scripts
@dirrm share/dblatex/latex/misc/passivetex
@dirrm share/dblatex/latex/misc
@dirrm share/dblatex/latex/graphics
@dirrm share/dblatex/latex/contrib/example
@dirrm share/dblatex/latex/contrib/db2latex/graphics
@dirrm share/dblatex/latex/contrib/db2latex
@dirrm share/dblatex/latex/contrib
@dirrm share/dblatex/latex
@dirrm share/dblatex
@dirrm ${PYSITELIB}/dbtexmf/xslt
@dirrm ${PYSITELIB}/dbtexmf/dblatex/grubber
@dirrm ${PYSITELIB}/dbtexmf/dblatex
@dirrm ${PYSITELIB}/dbtexmf/core
@dirrm ${PYSITELIB}/dbtexmf

View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2007/09/08 10:25:48 wiz Exp $
SHA1 (dblatex-0.2.7.tar.bz2) = 012b5f3cda88cfd3acdf8a97553295f24a09394f
RMD160 (dblatex-0.2.7.tar.bz2) = 2cd976589343701a594e62aad6692e17f52e120a
Size (dblatex-0.2.7.tar.bz2) = 785233 bytes