Dblatex is actually a DB2LaTeX clone, since it takes the major part of its XSL stylesheets. So, why this project? The purpose is a bit different 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 purpose is to allow a deep LaTeX customisation without changing the XSL stylesheets. * Post-processing is done by Perl, to make publication faster, and to parse things not so easily done by the XSL stylesheets like tables.
Created attachment 84306 [details] app-text/dblatex/dblatex-0.1.4.1.ebuild Ebuild for dblatex-0.1.4.1.
Created attachment 84307 [details] files/install-dblatex-0.1.4.1.sh Instalation doesn't work. It need some impovement in the ebuild.
Created attachment 85854 [details] app-text/dblatex/dblatex-0.1.4.1.ebuild Installation works good now.
Created attachment 85858 [details] app-text/dblatex/dblatex-0.1.9.ebuild New version.
Created attachment 85859 [details] files/install-dblatex-0.1.9.sh New version.
Installing the script as dblatex may conflict with dev-tex/tex4ht which install a script with the same name to convert files the other way (latex -> docbook)
Created attachment 102414 [details] app-text/dblatex/dblatex-0.2.ebuild Current version - Doesn't need the install script - The application script is renamed to "docbook2latex" to prevent collisions - Removed bibtopic dependency. v1.0 is included in tetex, maybe it works with that one (I don't have a docbook document with bibliography to check).
Created attachment 121843 [details] app-text/dblatex/dblatex-0.2.5.ebuild
Created attachment 161772 [details] dblatex-0.2.7.ebuild ebuild also works for 0.2.7
Created attachment 162135 [details] dblatex-0.2.9.ebuild Hiya guys, Just came across this package. Please note that you can use the distutils eclass to do all the setup.py installation for you. I've added a warning for people who may be familiar with that package that it's primary executable is installed as docbook2latex. Also, please note, the virtual/tetex dependency is not enough when using texlive, since this version also requires texlive-latexextra, texlive-mathextra and one other that I haven't tracked down yet (that contains ifxetex, so I'm guessing texlive-xetex)... I'm not sure how best to deal with this, possibly by using: || (>=app-text/tetex-3 ( app-text/texlive app-text/texlive-mathextra app-text/texlive-latexextra app-text/texlive-xetex ) ) I don't know if that rules out any other possible virtual/tetex combinations. Anyway, see what you think...
Created attachment 162136 [details] dblatex-0.2.9.ebuild Doh, just realized I left that one with an RDEPEND, rather than a DEPEND. New one has the suggested depdency split between texlive and tetex... The issue is, if neither can be satisfied, portage will seemingly go for tetex-3 every time (so even if texlive is installed, it'll try installing tetex-3, rather than fulfill the remaining dependencies)...
Created attachment 162150 [details] dblatex-0.2.9.ebuild Double doh, I got the categories wrong for the texlive additional builds. Hopefully this is the last one... 5:)
Created attachment 194351 [details] dblatex-0.2.10.ebuild 0.2.10 ebuild with added dependency for dev-libs/libxslt (which provides xsltproc).
Created attachment 194400 [details] dblatex-0.2.10.ebuild 0.2.10 ebuild with added dependency for dev-libs/libxslt (which provides xsltproc), app-text/docbook-xml-dtd AND dev-texlive/texlive-pictures (provides epic.sty).
(In reply to comment #14) > Created an attachment (id=194400) [edit] > dblatex-0.2.10.ebuild > > 0.2.10 ebuild with added dependency for dev-libs/libxslt > (which provides xsltproc), app-text/docbook-xml-dtd AND > dev-texlive/texlive-pictures (provides epic.sty). In an as-yet futile attempt to get asciidoc working, I just tried this ebuild , and it fails thusly: [...] >>> Source compiled. >>> Test phase [not enabled]: app-text/dblatex-0.2.10 >>> Install dblatex-0.2.10 into /home/portage/tmp/portage/app-text/dblatex-0.2.10/image/ category app-t ext running install +checking XSLT xsltproc... yes +checking convert... yes +checking epstopdf... yes +checking fig2dev... no warning: not found: fig2dev +checking latex... yes [...] +checking textcomp... yes +checking titlesec... no +checking url... yes +checking wasysym... yes +checking xecyr... found in package Error: not found: changebar, footmisc, multirow, overpic, stmaryrd, subfigure, titlesec * * ERROR: app-text/dblatex-0.2.10 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 2507: Called distutils_src_install * environment, line 710: Called die * The specific snippet of code: * ${python} setup.py install --root="${D}" --no-compile "$@" || die "python setup.py install failed"; * The die message: * python setup.py install failed [...] I've googled for the "not found" error message and came up empty. Any ideas on how to proceed?
(In reply to comment #15) > Error: not found: changebar, footmisc, multirow, overpic, stmaryrd,subfigure, titlesec > * > * ERROR: app-text/dblatex-0.2.10 failed. The ebuild is missing dependancies on texlive-latexextra and texlive-mathextra
Versions 0.2.11 and 0.2.12 have been already released: Release 0.2.12: --------------- - Add support for feature #2836168 with the xref.hypermarkup parameter that wraps the whole xref markup with an hyperlink. - The <index> section can be unnumbered when the new parameter index.numbered is set to 0. - <bibliography> sections can be unnumbered when the new parameter bibliography.numbered is set to 0. The parameter bibliography.tocdepth is also given. - Basic <biblioref> support added. The specific attributes are not handled. - Allow the appendices to be followed by other sections. - Fix indexterm bug in titles. - Apply patch #2821475: add a converter to transform SVG graphics with Inkscape (thanks to David Necas) - Fix bug #2821901: <reference> headings to the right level - Fix bug #2818215: square brackets must be protected in <member>s - Fix bug #2819592: references working with xml:id (DocBook 5 compatibility) - Fix Debian bug #533332: wrong page numeration in PDF viewers with XeTeX backend - Fix Debian bug #528964: linebreaks preserved in formatted verbatim environment Release 0.2.11: --------------- - Improve the <set> support: dblatex can build all the PDF files (one per book) and the package xr is used to make cross-references between the books. - Improve the xetex font switch macros (experimental fontconfig support) - Format the elements contained in <ulink>s (not only text) - Add some hook to external error handlers + Add the Debian error handler in the repository (the maintainer is still A. Hoenen) - Change verbatim implementation in order to be able to easily add new elements embeddable in <programlisting>s - Optimize the pdftex backend by supporting the -draftmode option (experimental) - Fix documentation bug #1997998. - Fix bug #1831383: use \ref*{} to display <xref> in a TOC or LOT - Fix Debian bug #528849 about the <refclass> rendering, add the refclass.suppress parameter, and fix the <refpurpose> dash separator (use of — instead of –) - Fix the bug where \nolinkurl{} strips the spaces - Fix a bug annotation - Glossary headings are now rendered like refentry headings (add glossary.numbered and glossary.tocdepth parameters) - Add and modify scripts to synch SF CVS and Mercurial repositories
Created attachment 223859 [details] dblatex-0.2.12.ebuild The dblatex-0.2.10.ebuild also works as dblatex-0.2.12.ebuild
Created attachment 226645 [details] dblatex-0.3.ebuild Updated ebuild for 0.3, and install documentation to the correct location.
Comment on attachment 226645 [details] dblatex-0.3.ebuild I discovered recently that my 0.3 ebuild is broken, as many files are installed to the wrong locations. I have not had time to look at it, sorry!
well, i wanted to build gimp-help from git repo and it needed dblatex, after installation i just symlinked docbook2latex to dblatex as that is what it seems it was looking for and now the make works, though i am not sure it really uses the program for generating html help which i was making. anyway, thank you for the ebuild.
Created attachment 331976 [details] dblatex-0.3.4.ebuild This ebuild is based on wagnerflo's overlay.
Created attachment 331978 [details, diff] dblatex-0.3.4-path-logging.patch
Created attachment 331980 [details, diff] dblatex-0.3.4-install_layout.patch Build fix.
I have found a more up to date ebuild in the "eva" overlay, that makes v0.3.5. (https://gpo.zugaina.org/Overlays/eva/app-text/dblatex) I have also checked the project web page, apparently there is an even more recent release 0.3.7 posted on 2015-08-07. I'll work on an ebuild based on these as this is needed to build KiCad documentation.
Created attachment 416320 [details] dblatex-0.3.7.ebuild
Created attachment 416322 [details, diff] dblatex-no-inkscape-dependency.patch
Created attachment 416324 [details, diff] dblatex-path-logging.patch
Created attachment 416326 [details, diff] dblatex-setup.patch
Created attachment 416328 [details] metadata.xml
Proposed commit message: app-text/dblatex: New ebuild for dblatex-0.3.7 DocBook to LaTeX Publishing package built using Python Gentoo-Bug: #129368
Now available in portage main tree. Commit: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=337e2f7b91b016c1f1181e2125c0e74da7497ba4
commit 337e2f7b91b016c1f1181e2125c0e74da7497ba4 Author: Amy Winston <amynka@gentoo.org> Date: Mon Nov 9 01:26:52 2015 +0100 app-text/dblatex: New ebuild for dblatex-0.3.7. By Zoltan Puskas. DocBook to LaTeX Publishing package built using Python Gentoo-Bug: #129368