debian/0000755000000000000000000000000012302375713007171 5ustar debian/postinst0000644000000000000000000000224311750550417011002 0ustar #!/bin/bash # postinst script for dblatex # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package # case "$1" in configure|abort-upgrade|abort-remove|abort-deconfigure) # A call to 'mktexlsr' is needed to register the dblatex TeX files # in the TeX database '/var/lib/texmf/ls-R-TEXMFMAIN'. # # This call won't do any harm even if it might be superfluous in # special cases. mktexlsr /usr/share/texmf ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/copyright0000644000000000000000000001445512036750505011135 0ustar DocBook to LaTeX Publishing Copyright (C) 2003-2011 Benoit Guillon This package was debianized by Andreas Hoenen on Sun, 12 Feb 2006 14:56:46 +0100 It was downloaded from: http://dblatex.sourceforge.net/ The Debian packaging is Copyright (C) 2006-2009, Andreas Hoenen and is licensed under the GPL, see below. LICENSE: This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. IMPORTANT: The stylesheets provided ARE NOT the official DocBook XSL stylesheets. These stylesheets ARE NOT maintained by Norman Walsh. Please, DO NOT e-mail Norman about any question regarding these stylesheets FROM THE OFFICIAL XSL DocBook Stylesheets -------------------------------------------------------------------------------- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ``Software''), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. Except as contained in this notice, the names of individuals credited with contribution to this software shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from the individuals in question. Any stylesheet derived from this Software that is publicly distributed will be identified with a different name and the version strings in any derived Software will be changed so that no possibility of confusion between the derived package and this Software will exist. ORIGINAL DOCBOOK XSL STYLESHEETS * Norman Walsh XSL Stylesheets http://www.nwalsh.com DOCBOOK DTD * Arbortex, Oasis, etc * See Docbook copyright MATHML 2.0 SUPPORT -------------------------------------------------------------------------------- xsltml (http://xsltml.sourceforge.net) by Vasil Yaroshevich is integrated as MathML 2.0 support. See the xsltml README file for copyright. The stylesheets used here are derived from the original package and are not maintained by the xsltml author or maintainer. NEW TABLE SUPPORT -------------------------------------------------------------------------------- The newtbl code (http://www.vistair.com/newtbl) by David Hedley is included to drive the DocBook tables. This very good implementation is now the default and unique implementation used, so the newtbl.use parameter is useless. PASSIVETEX PACKAGES -------------------------------------------------------------------------------- Some of the Passivetex packages are provided to extend the support of Unicode characters. % % Copyright 2002 Sebastian Rahtz/Oxford University % % % Permission is hereby granted, free of charge, to any person obtaining % a copy of this software and any associated documentation files (the % ``Software''), to deal in the Software without restriction, including % without limitation the rights to use, copy, modify, merge, publish, % distribute, sublicense, and/or sell copies of the Software, and to % permit persons to whom the Software is furnished to do so, subject to % the following conditions: % % The above copyright notice and this permission notice shall be included % in all copies or substantial portions of the Software. (G)RUBBER SUPPORT -------------------------------------------------------------------------------- A customized version of Rubber by Emmanuel Beffara (http://www.pps.jussieu.fr/~beffara/soft/rubber) is integrated to compile the LaTeX documents. The code used by dblatex IS NOT the offical rubber package and is not maintained by the rubber author or maintainer. The dblatex rubber customization is called grubber. DBLATEX EXAMPLES -------------------------------------------------------------------------------- DocBook to LaTeX Publishing Examples Copyright (C) 2003-2009 Benoit Guillon LICENSE: This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA MISCELLANEOUS -------------------------------------------------------------------------------- The string-replace template by David Carlisle (http://www.dcarlisle.demon.co.uk/david) is extracted from pmathml.xsl (http://www.w3.org/Math/XSL/pmathml.xsl), one of the W3C MathML XSL stylesheets (http://www.w3.org/Math/XSL/Overview.html). The code is made available under the following conditions: "Copyright (C) David Carlisle 2001, 2002. Use and distribution of this code are permitted under the terms of the W3C Software Notice and License (http://www.w3.org/Consortium/Legal/copyright-software-19980720)". debian/changelog0000644000000000000000000010003512302375713011042 0ustar dblatex (0.3.4-3build1) trusty; urgency=medium * Rebuild to drop files installed into /usr/share/pyshared. -- Matthias Klose Sun, 23 Feb 2014 13:46:51 +0000 dblatex (0.3.4-3) unstable; urgency=low * 20_xetex_index_page_range.patch: Also with XeTeX backend show page ranges in index with ndash (–) instead of double hyphen (--). Thanks to Petter Reinholdtsen for reporting. Closes: #682901 * 20_chapter_after_part.patch: In the PDF document structure don't include chapters after a book part in the part. Thanks to Petter Reinholdtsen for reporting and for his ideas how to solve this in TeX. Closes: #683166 * 20_nn_quotes_in_title.patch: Don't crash on quotation marks in titles of Norwegian Nynorsk documents. Thanks to Petter Reinholdtsen for reporting. Closes: #684393 * Adapt 20_norwegian_bokmal.patch regarding quotes as told by Petter Reinholdtsen (http://bugs.debian.org/684391#26). * debian/rules: + Drop target override_dh_auto_install as superfluous. + Simplify documentation installation/cleanup. Thanks to Raphaël Hertzog for the suggestions. -- Andreas Hoenen Sat, 03 Nov 2012 09:21:25 +0100 dblatex (0.3.4-2) unstable; urgency=low * 20_norwegian_bokmal.patch: Add support for document language Norwegian Bokmål: lang="nb" Thanks to Petter Reinholdtsen for reporting and for some localization. Closes: #682936, #684391 -- Andreas Hoenen Sat, 25 Aug 2012 11:09:15 +0200 dblatex (0.3.4-1) unstable; urgency=low * New upstream release Closes: #675741 * 20_regression_simple_style.patch: Fix a regression that breaks simple style. * 20_regression_zh-cn.patch: Fix a regression that breaks some documents with language zh-cn. * 20_texlive_version_2009.patch: Keep the value 2009 for parameter texlive.version, as bigger values result in problems. * Drop patches that have been integrated upstream: + 20_dblatex_sys_path.patch + 20_debian_errorhandler.patch + 20_glossary.patch + 20_missed_chars.patch * debian/rules: Use new upstream install layout "deb", which enables us to simplify the rules file considerably. * Remove python-4suite-xml dependency (alternative to xlstproc) as package has been removed from unstable (#637334) and as using it as XSLT processor has started to run into "out of memory" recently. -- Andreas Hoenen Thu, 07 Jun 2012 15:25:28 +0200 dblatex (0.3.3-2) unstable; urgency=low * 20_glossary.patch: Fix failure for glosssee and glossseealso elements within a glossary: http://sourceforge.net/tracker/?func=detail&atid=535062&aid=3520152&group_id=72607 Thanks to Benoît Guillon for pointing to the problem and for his patch. * 20_debian_errorhandler.patch: Adapt Debian error handler to changed upstream call in error case. * Simplify packaging: Keep upstream python namespace "dbtexmf" instead of moving it below an additional namespace "dblatex". Thanks to Raphaël Hertzog for the advice. -- Andreas Hoenen Sun, 29 Apr 2012 12:05:52 +0200 dblatex (0.3.3-1) unstable; urgency=low * New upstram release * Remove patches that have been integrated upstream: + 10_texlive_version.patch + 20_apt_progress_interface.patch + 20_exit_code_on_error.patch (#632967) + 20_no_image_in_pdftitle.patch (#634563) + 20_xetex_draft_watermark.patch (#629514) * 20_missed_chars.patch: Fix the new feature of warnings about characters missing from the used font when using the pdftex backend. Thanks to Benoît Guillon for the patch. * debian/rules: Replace the manual approach by the debhelper command sequencer dh. * Standards-Version: 3.9.3 (no changes needed) -- Andreas Hoenen Tue, 24 Apr 2012 17:30:21 +0200 dblatex (0.3.2-2) unstable; urgency=low * 20_no_image_in_pdftitle.patch: Don't try to include a title image in the pdftitle field of TeX package hyperref, as this field doesn't support images. Thanks to Lucas Nussbaum for reporting and to Torsten Werner for tracking down the build failure of package xmlunit to dblatex. Closes: #634563 * 20_exit_code_on_error.patch: Signal every build failure by an exit code ≠ 0. Thanks to Osamu Aoki for reporting. Closes: #632967 * 20_apt_progress_interface.patch: Adapt Debian dblatex error handler to python-apt interface changes: Avoid warnings like below when the error handler gets called: Error in function update TypeError: update() takes exactly 2 arguments (1 given) -- Andreas Hoenen Tue, 13 Sep 2011 20:21:50 +0200 dblatex (0.3.2-1) unstable; urgency=low * New upstram release * New upstream release fixes the following open Debian BTS issues: + Don't crash on XeTeX backend compilation of spanish documents with an element. Thanks to W. Martin Borgert for reporting. Closes: #629110 * Remove patches that have been integrated upstream: + 20_filename_replaceable.patch (#623590) * Take over actualized copyright period of upstream COPYRIGHT to debian/copyright. * Replace python build helper dh_pysupport with dh_python2. * In draft mode set draft watermark for XeTeX backend, too. Thanks to W. Martin Borgert for reporting and for the patch. Closes: #629514 -- Andreas Hoenen Sat, 09 Jul 2011 15:20:37 +0200 dblatex (0.3.1-2) unstable; urgency=low * Render elements inside of elements like other elements: use an italics type. Thanks to Osamu Aoki for reporting. Closes: #623590 -- Andreas Hoenen Wed, 11 May 2011 20:46:31 +0200 dblatex (0.3.1-1) unstable; urgency=low * New upstram release * New upstream release fixes the following Debian BTS issues: + In french documents use « and » as quote characters instead of “ and ”. Thanks to David Prévot for reporting. Closes: #609374 + Replace html by xhtml documentation (and thus change encoding from ISO-8859-1 to UTF-8): this fixes ugly appearance of dblatex pages in dwww. Thanks to W. Martin Borgert for reporting. Closes: #617842 + Don't crash TeX compilation on special characters like # in elements. Thanks to Osamu Aoki for reporting. Closes: #622357 * Remove patches that have been integrated upstream: + 20_python_deprecated_md5.patch (#594601) * Improve subtitle handling: + Don't pass through a subtitle as plain text into document body due to a missing stylesheet (problem is style independent). + Display subtitle below title in simple style, just as it is done in db2latex style. Thanks to Roland Stigge for reporting. Closes: #584669 * Avoid duplication of title and author on title page for articles in db2latex style. Thanks to Roland Stigge for reporting. Closes: #584670 * Also install upstream changelog. Thanks to Michal Čihař for the suggestion. * Replace deprecated 'dh_clean -k' by 'dh_prep' in debian/rules. Correspondingly bump Build-Depends dependency on debhelper to >= 7 in debian/control. * Standards-Version: 3.9.2 (no changes needed) -- Andreas Hoenen Mon, 25 Apr 2011 22:06:25 +0200 dblatex (0.3-2) unstable; urgency=low * Fix the annoying deprecation warning regarding module md5 introduced with python 2.6. Thanks to Simon Paillard for reporting and for the patch. Closes: #594601 -- Andreas Hoenen Mon, 25 Oct 2010 21:46:28 +0200 dblatex (0.3-1) unstable; urgency=low * New upstream release * New upstream release fixes dblatex's support for alternative XSLT processor 4xslt. Thanks to Jakub Wilk for reporting. Closes: #570582 * Remove patches that have been integrated upstream: + 20_mathml_mtable.patch (#551740) + 20_backslash_filename_in_texlive_2009.patch (#563659) + 20_refresh_pdf_figures.patch + 20_python_apt_pep_8.patch * Debian related changes of upstream release: improve error handling: + Avoid progress messages when building the apt cache. + Fall back to standard error handler when the Debian one doesn't identify the error. * 10_texlive_version.patch: Set new XSL parameter texlive.version to '2009': the upstream solution of determining it during package installation is not feasible for Debian. * Improve handling of the examples tarball: + Extract contents to directory examples/ where dpkg-source expects them (instead of previous location examples/dblatex/). + Drop debian/source/include-binaries as superfluous. * Hotfix for BTS report #576217: Avoid pdflatex runs repeating ad infinitum in case of documents with german umlauts in headings and dblatex processing options latex.encoding=utf8 and latex.unicode.use=1 Please note that the problem hasn't been solved yet for non-ASCII characters in general. -- Andreas Hoenen Wed, 14 Apr 2010 21:18:46 +0200 dblatex (0.2.12-4) unstable; urgency=low * 20_refresh_pdf_figures.patch: Replace upstream figures PDF files by those recreated with TexLive 2009 as the 2009 XeTeX backend breaks on the old ones (e.g. when using a DocBook element). * Fix watchfile to ignore the (unversioned) examples upstream tarball when determining the newest version. Thanks to Michal Čihař for reporting. Closes: #569572 * Adapt to API changes of package python-apt: + 20_python_apt_pep_8.patch + debian/control: Version the dependency on python-apt (>= 0.7.91). * Standards-Version: 3.8.4 (no changes needed) -- Andreas Hoenen Thu, 18 Feb 2010 20:00:37 +0100 dblatex (0.2.12-3) unstable; urgency=low * 20_backslash_filename_in_texlive_2009.patch: Adapt handling of backslash characters in elements to TeX Live 2009. Thanks to Sébastien Villemot for reporting. Closes: #563659 * Upgrade the versioned TeX Live dependencies from 2007 to 2009 as the adaption above does not work with TeX Live 2007. * Include some dblatex examples that are packaged separately by upstream in the Debian package below the dblatex documentation directory. Thanks to W. Martin Borgert for the suggestion. Closes: #493261 * Add a note to README.Debian that for proper hyphenation of localized documents the corresponding texlive-lang-* package is needed (e.g. texlive-lang-spanish for a spanish document). Thanks to Daniel Álvaro Martínez for the suggestion. * Add ${misc:Depends} dependency. Thanks, lintian. * Remove debian/README.source as not necessary for 3.0 (quilt) source packages. -- Andreas Hoenen Fri, 08 Jan 2010 20:54:46 +0100 dblatex (0.2.12-2) unstable; urgency=low * Cope with missing and elements in MathML s (although omitting those is deprecated). Thanks to Petr Břeň for reporting. Closes: #551740 * Migrate patch system from dpatch to quilt. * Change source package format to 3.0 (quilt). * Include the upstream tarball in original bz2 format instead of repackaging it as gz. -- Andreas Hoenen Sat, 14 Nov 2009 14:12:49 +0100 dblatex (0.2.12-1) unstable; urgency=low * New upstream release * New upstream release fixes the separate page number display of PDF viewers like evince and acroread regarding the TOC page numbers for large documents when using the XeTeX backend. Thanks to Yves-Alexis Perez for reporting. Closes: #533332 * Remove patches that have been integrated upstream: + 20_preserve_linebreaks_in_screen_userinput (#528964) + 10_dblatex_wrapper_script * Cleanup dblatex .sty files that are already provided by TeXLive packages: + Remove the duplicates from dblatex. + Add a dependency on texlive-bibtex-extra for bibtopic.sty (the other files are provided by the already existing dependency on texlive-latex-extra). + Remove the .sty files section from the copyright file. Thanks to Vincent Lefevre for reporting. Closes: #535550 * Synchronize debian/copyright with upstream COPYRIGHT regarding spelling issues. * Move contents of debian/README.Debian-source to debian/copyright in order to comply with "Debian Developer's Reference", "Best practices for orig.tar.gz files". * Add dblatex README.source refering to the dpatch one. Thanks, lintian. * Standards-Version: 3.8.3 (no changes needed) -- Andreas Hoenen Thu, 27 Aug 2009 20:17:07 +0200 dblatex (0.2.11-1) unstable; urgency=low * New upstream release * New upstream release improves rendering. Thanks to Ivan Shmakov for reporting. Closes: #528849 * 20_preserve_linebreaks_in_screen_userinput.dpatch: Preserve the verbatim nature of elements even as children of a element, that is preserve linebreaks. Thanks to Ivan Shmakov for reporting. Closes: #528964 * Debian specific files are now kept in upstream repository and included in upstream package: + Post failure analysis code (errorhandler.py) + Wrapper script (/usr/bin/dblatex) Adaptions: + 10_analyze_failure.dpatch: drop + 10_dblatex_wrapper_script.dpatch: adapt wrapper included in upstream release to Debian file locations + debian/rules: install both files * 10_TEXINPUTS_env_precedence.dpatch: remove as integrated upstream. * 10_xetex_fontspec_encoder.dpatch: remove as integrated upstream. * debian/rules: Remove cleanup of superfluous file test1.py as applied upstream. * Standards-Version: 3.8.2 (no changes needed) -- Andreas Hoenen Sat, 27 Jun 2009 10:01:26 +0200 dblatex (0.2.10-1) unstable; urgency=low * New upstream release, fixing several bugs: + Support monofont typesettings for non-western languages like bulgarian when using the XeTeX backend. Thanks to W. Martin Borgert for reporting. Closes: #499500 + Disable double quotes as active characters in the intermediate TeX files for russian and german documents. Thanks to Ivan Shmakov for reporting. Closes: #525692 * Remove patches that have been integrated upstream: + 20_html_doc_external_programlisting (#492675) + 20_html_doc_missing_images (#492675) + 20_pass_through_xslt_options (#514932) + 20_relax_xetex_dependency (#514293) + 20_spanish_support (#492304) + 20_ukranian_support (#482856) + 20_underscore_in_xreflabel (#492959) * Adapt patch 20_cjk_issues (#482857, #492350): Remove parts integrated upstream and rename the remaining, permanent patch in accordance with the patch numbering scheme: 10_cjk_font * Documentation changes: + Upstream has separated the Release Notes part of the User Manual into an own document. + Upstream has integrated the HTML documentation into the upstream package, thus it has become superfluous to create it at package build time. + Resulting packaging changes: • debian/control: Remove Build-Depends-Indep dependencies: ‣ docbook-xml ‣ docbook-xsl ‣ ghostscript ‣ sharutils ‣ transfig ‣ xsltproc • debian/rules: Remove HTML creation code. • debian/dblatex.doc-base → dblatex.doc-base.manual • debian/dblatex.doc-base.releasenotes: new * Clean up the new XeTeX FontSpec encoder code: + 10_xetex_fontspec_encoder.dpatch: Remove the wrong and superfluous shebang line of codec.py Thanks, lintian. + debian/rules: Don't install superfluous file test1.py * As package python-apt has dropped the warning 'apt API not stable yet' with release 0.7.9~exp1: + 10_analyze_failure.dpatch: Drop filtering of the warning. + debian/control: Version the dependency on python-apt (>= 0.7.9~exp1). * 10_analyze_failure.dpatch: On failure try to identify a typical error scenario (cyrillic document with none of the needed options specified) and emit a corresponding hint. Thanks to Ivan Shmakov for the suggestion. Closes: #525688 * Standards-Version: 3.8.1 (no changes needed) -- Andreas Hoenen Thu, 14 May 2009 20:22:23 +0200 dblatex (0.2.9-4) unstable; urgency=low * Apply specified pass-through options for the XSLT engine to all xsltproc calls. Thanks to W. Martin Borgert for reporting and for the patch. Closes: #514932 * Relax dependencies on packages texlive-lang-cyrillic and texlive-xetex to Suggests. Thanks to Sandro Tosi for the suggestion. Closes: #514293 + Cope with missing file ifxetex.sty when not using the XeTeX backend (20_relax_xetex_dependency.dpatch). + Warn appropriately on transformation failure due to missing package texlive-lang-cyrillic (10_analyze_failure.dpatch). + Document purpose of optional dependencies in README.Debian. * Create a HTML version from the DocBook user manual (besides the PDF version distributed with upstream). Thanks to W. Martin Borgert for the suggestion. Closes: #492675 New dependencies (Build-Depends-Indep): + docbook-xml + docbook-xsl + ghostscript + transfig + xsltproc HTML creation needs two patches: * 20_html_doc_external_programlisting.dpatch: Fix inclusion of external programlistings into the user manual in a way that it works also for the HTML version. * 20_html_doc_missing_images.dpatch: Provide some missing images referenced in the DocBook source, thus they get included also in the HTML version. New dependencies (Build-Depends-Indep): + sharutils * Remove the cleanup code for non-configuration files in /etc/dblatex/ (BTS bug #395207) as outdated: meanwhile a fixed version has migrated to oldstable: + debian/postinst + debian/README.Debian * Copyright adaptions: + Actualize copyright dates. + Fix copyright-with-old-dh-make-debian-copyright. Thanks, lintian. -- Andreas Hoenen Sun, 22 Feb 2009 17:27:11 +0100 dblatex (0.2.9-3) unstable; urgency=low * Improve CJK (Chinese/Japanese/Korean) support: + Let XSL configuration parameter cjk.font default to gkai (instead of the cyberbit font not included in Debian). + Add Suggests dependency on latex-cjk-all for the gkai fonts. + Fix the db2latex style not to collide with the CJKutf8.sty file. Thanks to W. Martin Borgert for reporting and hints. Closes: #482857, #492350 * Fix a name clash with TeXLive for spanish documents in native style. Thanks to W. Martin Borgert for reporting. Closes: #492304 * Support underscore characters in xreflabel attributes. Thanks to Sébastien Villemot for reporting. Closes: #492959 -- Andreas Hoenen Mon, 11 Aug 2008 20:28:56 +0200 dblatex (0.2.9-2) unstable; urgency=low * Support ukrainian documents using the XeTeX backend. Thanks to W. Martin Borgert for reporting. Closes: #482856 * Fix a regression in patch 10_no_TEXINPUTS_manipulation (and rename it to 10_TEXINPUTS_env_precedence): Reenable support for --texinputs parameter that has been broken by the patch. Thanks to Sebastien Couppey for reporting. * Adapt Debian specific patch 10_analyze_failure to upstream author's feedback. Thanks, Benoît Guillon. * Standards-Version: 3.8.0 (no changes needed) -- Andreas Hoenen Sun, 29 Jun 2008 14:00:25 +0200 dblatex (0.2.9-1) unstable; urgency=low * New upstream release * Remove patches that have been integrated upstream: + 25_abstract_title (#461919) + 25_avoid_literal_linebreaks (#477660) + 25_db2latex_wrapped_author_names (#465221) + 25_dedication_without_title (SourceForge dblatex bug tracker 1838293) + 25_emphasis_within_screen + 25_reference_localization (#466162) + 25_simplesect_in_appendix (#459474) * Rework patch numbering scheme: Do not suggest a superfluous patch order by using different patch prefix numbers, instead restrict to 10_ for permanent and to 20_ for temporary patches. * Add dependencies due to the new XeTeX backend: + texlive-xetex (Depends) + lmodern (Suggests) * Generalize 20_postvalidation_on_failure.dpatch to 10_analyze_failure.dpatch: On failure check several possible causes and warn appropriately: + Invalid DocBook + Not installed dependencies * For post failure analysis add Depends dependency on python-apt. * Post failure analysis allows to relax from Depends to Suggests several dependencies that are not needed for dblatex's core functionality and that many users do not make use of: + docbook (SGML processing) + opensp (SGML processing) + graphicsmagick-imagemagick-compat (Image conversion) + imagemagick (Image conversion) + ghostscript (Image conversion) + transfig (Image conversion) + lmodern (XeTeX backend) -- Andreas Hoenen Wed, 04 Jun 2008 20:31:04 +0200 dblatex (0.2.8-8) unstable; urgency=low * Don't ignore a possible setting of TEXINPUTS by the calling user. Thanks to Ivan Shmakov for reporting. Closes: #470209 * Reduce risk of line breaks in literal elements. Thanks to Roland Stigge for reporting. Closes: #477660 -- Andreas Hoenen Sun, 18 May 2008 15:46:31 +0200 dblatex (0.2.8-7) unstable; urgency=low * In db2latex style for multiple authors avoid exceeding the right border of the title page. Thanks to W. Martin Borgert for reporting. Closes: #465221 * Localize REFERENCE label in native style and omit printing it when empty. Thanks to Roland Stigge for reporting. Closes: #466162 * Adapt the section entry in dblatex.doc-base: Applications/Text -> Text * Actualize the copyright dates in debian/copyright. * Actualize my mail address in all debian files except changelog. -- Andreas Hoenen Mon, 14 Apr 2008 20:00:57 +0200 dblatex (0.2.8-6) unstable; urgency=low * Do not repeat abstract title in first abstract paragraph. Thanks to Roland Stigge for the patch. Closes: #461919 * Fix 20_postvalidation_on_failure.dpatch: dblatex process hung on big stderr amounts of xmllint post failure validation. (Compare debian-edu-doc #458879.) -- Andreas Hoenen Sun, 10 Feb 2008 11:25:00 +0100 dblatex (0.2.8-5) unstable; urgency=low Adapt to further feedback from Michal Čihař (thanks): * Drop intermediate target clean1 from debian/rules: superfluous. * Simplify debian/watch. -- Andreas Hoenen Wed, 23 Jan 2008 20:23:24 +0100 dblatex (0.2.8-4) unstable; urgency=low Adapt to feedback from Michal Čihař (thanks): * debian/control: + Move python-support build dependency from Build-Depends to Build-Depends-Indep. + Actualize gs-gpl | gs-pdfencrypt dependency to ghostscript. * debian/rules: + Use the dpatch rules from dpatch.make. + Remove lintian override conditional code as not needed for current release. -- Andreas Hoenen Tue, 22 Jan 2008 19:37:02 +0100 dblatex (0.2.8-3) unstable; urgency=low * Add dependencies needed for SGML handling: docbook, opensp. Thanks to Dmitry Potapov for reporting. Closes: #459470 * Support simplesect element in appendix. Thanks to Dmitry Potapov for reporting. Closes: #459474 * Better support for AsciiDoc highlighting by handling elements within . Look mail thread: http://lists.metaperl.com/pipermail/asciidoc-discuss/2008-January/000119.html -- Andreas Hoenen Thu, 17 Jan 2008 20:07:48 +0100 dblatex (0.2.8-2) unstable; urgency=low Adapt to feedback from Leo "costela" Antunes (thanks): * debian/rules: + Don't install superfluous test/ and scripts/ directory subtrees. * debian/control: + Remove redundant link to SourceForge site. * Remove lintian override for warnings about control lines too long: + Only the most recent release will be checked (this one), and it is okay. + The warning is a lintian bug in case of URLs. (http://lists.debian.org/debian-mentors/2007/12/msg00264.html) Further issues: * debian/copyright: + Fix spelling: publically -> publicly -- Andreas Hoenen Sun, 16 Dec 2007 10:05:55 +0100 dblatex (0.2.8-1) unstable; urgency=low * New upstream release, which fixes several bugs: + Multiple copyright holders as well as multiple authors get separated properly. Closes: #446871 + The colophon gets placed at the very end of the document. Closes: #447607 + A sidebar title is distinguishable from the sidebar content. Closes: #447616 * Improve suboptimal error messaging on validation failures due to invalid DocBook documents: Closes: #451267 + On transformation failures validation of the DocBook input is tried (if the validation program is installed), in order to check for a common error cause and thus help the user understanding the problem. + As xmllint is used for validation, add Recommends dependency on package libxml2-utils. * Add dependency on graphicsmagick-imagemagick-compat | imagemagick for on the fly figure conversion. * Apply a patch for SourceForge dblatex bug tracker 1838293 (http://sourceforge.net/tracker/index.php?func=detail&aid=1838293&group_id=72607&atid=535062): Support dedication elements without a title, but with an id attribute. * Override lintian warning about line in previous section being too long. * Adapt control to the new, official homepage field. * Upgrade Standards-Version: 3.7.3 (changes are marked below) * dblatex.doc-base: + Top level section: Apps->Applications (Standards-Version 3.7.3) + Improve indentation of second Abstract line. + Swap Abstract and Section fields to avoid a false lintian positive (compare bug report #454941). -- Andreas Hoenen Sat, 08 Dec 2007 14:58:07 +0100 dblatex (0.2.7-1) unstable; urgency=low * New upstream release * Remove patches as integrated into upstream: + 20_italian_localization.bug432671.dpatch + 20_texlive_total_pages.dpatch * Adapt link to GPL-2 in copyright. -- Andreas Hoenen Sat, 15 Sep 2007 12:35:05 +0200 dblatex (0.2.6-1) unstable; urgency=low * New upstream release * Upstream release fixes incorrectly referenced footnotes. Closes: #435528 Thanks to Roland Stigge for reporting. * Provide italian localization. Closes: #432671 Thanks to Giuseppe Sacco and the Italian translation project. * Remove patch 20_unicode_support.bug425677 as it has been integrated into upstream. * debian/rules: + Move the binary-arch actions to binary-indep, as dblatex is an architecture independent package. + Replace hardcoded package version by runtime determination. + Remove trailing whitespace. * Add a forgotten space after a version relationship in debian/control. -- Andreas Hoenen Wed, 22 Aug 2007 19:35:06 +0200 dblatex (0.2.5-1) unstable; urgency=low * New upstream release, Closes: #428801 * Adapt dependencies to TeX migration from teTeX to TeX Live: + Drop tetex-extra alternative from dependencies. + Revaluate TeX Live dependencies. * 20_texlive_total_pages.dpatch: Problem with the texlive.2007 packages that leads to a wrong total pages count in page numbering. Thanks to Vincent Bernat for reporting. * 20_unicode_support.bug425677.dpatch: Support unicode characters EURO SIGN, CHECK MARK, BALLOT X. Thanks to Josselin Mouette and Phil Nitschke for reporting. Closes: #425677 * Adapt watchfile again, as somehow uscan's standard SourceForge handling does not work any longer for dblatex. -- Andreas Hoenen Sun, 3 Jun 2007 12:20:24 +0200 dblatex (0.2.4-1) unstable; urgency=low * New upstream release * Add README.Debian-source. * Add rules target get-orig-source. * Change installation of dblatex manual to use dh_installdocs. -- Andreas Hoenen Tue, 10 Apr 2007 13:07:12 +0200 dblatex (0.2.3-1) experimental; urgency=low * New upstream release * Upstream release fixes problematic output for article/articleinfo/authorgroup/corpauthor/remark/email. Closes: #374210 * Upstream release fixes disturbing spaces in URLs in french documents. Closes: #398516 * Upstream release enables text containing underscores in anchored titles. Closes: #400045 * Patch upstream regression which breaks creation of ps documents. * Adapt to changed dvips behaviour which by default disables use of absolute paths. * Migrate package to use dpatch. * Add python-4suite-xml as alternative dependency to xlstproc. * Adapt texlive dependencies. * Remove configuration directory /etc/dblatex/ on package purge. * Adapt 'debian/watch'. * Actualize copyright file. * Integrate installation makefile into 'debian/rules' as it has been separated until now only due to historical reasons. * Remove superfluous 'debian/rules' target 'config.status'. -- Andreas Hoenen Sat, 3 Feb 2007 11:33:20 +0100 dblatex (0.2-2) unstable; urgency=high * Do not depend on script mktexlsr belonging to a non-essential package in postrm purge. (Urgency set to high due to serious severity.) Closes: #398776 -- Andreas Hoenen Sat, 18 Nov 2006 09:52:18 +0100 dblatex (0.2-1) unstable; urgency=low * New upstream release * Fix a bug that breaks processing with xsltproc 1.1.18. Closes: #396880 * Do not install non configuration files below /etc/dblatex/. Closes: #395207 * Fix dvi production with db2latex style. Closes: #395205 * Adapt dependencies to major upstream changes: the previous mixture of makefiles, shell and perl scripts has been replaced by a uniform python based solution. * Reorganize dblatex's directory layout as the package supplied (non) configuration files and the python files need new locations. * Remove manual page build dependencies as the manual page has been integrated into the upstream package. * Fix a regression bug that breaks build of dblatex manual in simple style. -- Andreas Hoenen Sat, 4 Nov 2006 10:20:42 +0100 dblatex (0.1.10-1) unstable; urgency=low * New upstream release * Adapt the manual page to the current DocBook XSL stylesheet revision (1.70.1). * Upgrade to debhelper compatibility level 5. * Replace suggests package xpdf by pdf-viewer. -- Andreas Hoenen Mon, 28 Aug 2006 21:27:19 +0200 dblatex (0.1.9-3) unstable; urgency=low * Install TeX input files in TEXMFMAIN. Closes: #376388 * Fix itemizedlist for french documents. Closes: #374215 * Improve the way font setup uses to access Postscript fonts. Closes: #376418 * Allow TeX to be provided by texlive as an alternative to tetex. Closes: #376386 * Fix the copyright output for multiple copyright holders in db2latex style. Closes: #374212 * Add copyright output in native style. * Dump out the debian version of dblatex instead of the upstream version when invoking dblatex. (Thanks to Benoit Guillon for this suggestion.) -- Andreas Hoenen Sun, 9 Jul 2006 11:49:52 +0200 dblatex (0.1.9-2) unstable; urgency=low * Enable file names containing white space to be handled. Closes: #366721 * Standards-Version: 3.7.2 (no changes needed) -- Andreas Hoenen Mon, 15 May 2006 19:59:06 +0200 dblatex (0.1.9-1) unstable; urgency=low * New upstream release * Add 'docbook-xml' to build dependencies. * Standards-Version: 3.7.1 (no changes needed) -- Andreas Hoenen Thu, 4 May 2006 21:22:26 +0200 dblatex (0.1.8-2) unstable; urgency=low * Enable — entities in tables. Closes: #359911 -- Andreas Hoenen Thu, 30 Mar 2006 20:55:54 +0200 dblatex (0.1.8-1) unstable; urgency=low * Initial release Closes: #350397 -- Andreas Hoenen Sun, 12 Feb 2006 14:56:46 +0100 debian/dblatex.doc-base.releasenotes0000644000000000000000000000063711750550417014713 0ustar Document: dblatex-releasenotes Title: dblatex Release Notes Author: Benoit Guillon Section: Text Abstract: This document provides a per-release list of enhancements and changes to the dblatex project. Format: html Index: /usr/share/doc/dblatex/html/release-notes/index.html Files: /usr/share/doc/dblatex/html/release-notes/*.html Format: pdf Files: /usr/share/doc/dblatex/release-notes.pdf.gz debian/compat0000644000000000000000000000000211750550417010371 0ustar 5 debian/postrm0000644000000000000000000000450511750550417010446 0ustar #!/bin/sh # postrm script for dblatex # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `remove' # * `purge' # * `upgrade' # * `failed-upgrade' # * `abort-install' # * `abort-install' # * `abort-upgrade' # * `disappear' overwrit>r> # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) # A call to 'mktexlsr' is needed to unregister the dblatex TeX files # in the TeX database '/var/lib/texmf/ls-R-TEXMFMAIN'. # # This call won't do any harm even if it might be superfluous in # special postrm cases, but it may take some time. # Thus a performance optimization can be applied to the main case # of successful package upgrade: # As the new version's postinst script will register the new version's # dblatex TeX files in the TeX database, the old version's files that # have vanished in the new version will be unregistered implicitly then. # Thus in the case of successful upgrade to another dblatex version # supporting the TeX (de)registration the deregistration call can be # left out as a superfluous duplicate. if test "$1" = upgrade -a -n "$2" && \ dpkg --compare-versions "$2" ge 0.1.9-3 then true # Unregistration will be executed implicitly by # 'new-postinst configure'. else mktexlsr /usr/share/texmf # Unregister dblatex TeX files in TeX. fi ;; purge) # TeX unregistration has already been executed before. # (Besides that mktexlsr is not guaranteed to be available at purge # as it belongs to a non-essential package.) # Remove dblatex configuration directory. rm --recursive --force /etc/dblatex ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/patches/0000755000000000000000000000000012045151652010616 5ustar debian/patches/20_norwegian_bokmal.patch0000644000000000000000000013224612037065245015471 0ustar Author: Benoît Guillon Description: Patch for BTS reports #682936 and #684391: Add support for document language Norwegian Bokmål: lang="nb" --- a/xsl/lang.xsl +++ b/xsl/lang.xsl @@ -111,6 +111,7 @@ italian dutch norsk + norsk polish --- a/xsl/common/l10n.xml +++ b/xsl/common/l10n.xml @@ -34,9 +34,9 @@ + - @@ -95,9 +95,9 @@ &la; &lit; &mn; +&nb; &nl; &nn; -&no; ∨ &pa; &pl; --- /dev/null +++ b/xsl/common/nb.xml @@ -0,0 +1,1230 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symbols +A +a +À +à +Á +á + +â +à +ã +Ä +ä +Å +å +Ā +ā +Ă +ă +Ą +ą +Ǎ +ǎ +Ǟ +ǟ +Ǡ +ǡ +Ǻ +ǻ +Ȁ +ȁ +Ȃ +ȃ +Ȧ +ȧ + + + + + + + + + + + + + + + + + + + + + + + + + + + +B +b +ƀ +Ɓ +ɓ +Ƃ +ƃ + + + + + + +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +Ċ +ċ +Č +č +Ƈ +ƈ +ɕ + + +D +d +Ď +ď +Đ +đ +Ɗ +ɗ +Ƌ +ƌ +Dž +Dz +ȡ +ɖ + + + + + + + + + + +E +e +È +è +É +é +Ê +ê +Ë +ë +Ē +ē +Ĕ +ĕ +Ė +ė +Ę +ę +Ě +ě +Ȅ +ȅ +Ȇ +ȇ +Ȩ +ȩ + + + + + + + + + + + + + + + + + +ế + + + + + + + + +F +f +Ƒ +ƒ + + +G +g +Ĝ +ĝ +Ğ +ğ +Ġ +ġ +Ģ +ģ +Ɠ +ɠ +Ǥ +ǥ +Ǧ +ǧ +Ǵ +ǵ + + +H +h +Ĥ +ĥ +Ħ +ħ +Ȟ +ȟ +ɦ + + + + + + + + + + + +I +i +Ì +ì +Í +í +Î +î +Ï +ï +Ĩ +ĩ +Ī +ī +Ĭ +ĭ +Į +į +İ +Ɨ +ɨ +Ǐ +ǐ +Ȉ +ȉ +Ȋ +ȋ + + + + + + + + +J +j +Ĵ +ĵ +ǰ +ʝ +K +k +Ķ +ķ +Ƙ +ƙ +Ǩ +ǩ + + + + + + +L +l +Ĺ +ĺ +Ļ +ļ +Ľ +ľ +Ŀ +ŀ +Ł +ł +ƚ +Lj +ȴ +ɫ +ɬ +ɭ + + + + + + + + +M +m +ɱ + +ḿ + + + + +N +n +Ñ +ñ +Ń +ń +Ņ +ņ +Ň +ň +Ɲ +ɲ +ƞ +Ƞ +Nj +Ǹ +ǹ +ȵ +ɳ + + + + + + + + +O +o +Ò +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +Ō +ō +Ŏ +ŏ +Ő +ő +Ɵ +Ơ +ơ +Ǒ +ǒ +Ǫ +ǫ +Ǭ +ǭ +Ǿ +ǿ +Ȍ +ȍ +Ȏ +ȏ +Ȫ +ȫ +Ȭ +ȭ +Ȯ +ȯ +Ȱ +ȱ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +P +p +Ƥ +ƥ + + + + +Q +q +ʠ +R +r +Ŕ +ŕ +Ŗ +ŗ +Ř +ř +Ȑ +ȑ +Ȓ +ȓ +ɼ +ɽ +ɾ + + + + + + + + +S +s +Ś +ś +Ŝ +ŝ +Ş +ş +Š +š +Ș +ș +ʂ + + + + + + + + + + +T +t +Ţ +ţ +Ť +ť +Ŧ +ŧ +ƫ +Ƭ +ƭ +Ʈ +ʈ +Ț +ț +ȶ + + + + + + + + + +U +u +Ù +ù +Ú +ú +Û +û +Ü +ü +Ũ +ũ +Ū +ū +Ŭ +ŭ +Ů +ů +Ű +ű +Ų +ų +Ư +ư +Ǔ +ǔ +Ǖ +ǖ +Ǘ +ǘ +Ǚ +ǚ +Ǜ +ǜ +Ȕ +ȕ +Ȗ +ȗ + + + + + + + + + + + + + + + + + + + + + + + + +V +v +Ʋ +ʋ + + + +ṿ +W +w +Ŵ +ŵ + + + + + + + + + + + +X +x + + + + +Y +y +Ý +ý +ÿ +Ÿ +Ŷ +ŷ +Ƴ +ƴ +Ȳ +ȳ + + + + + + + + + + + +Z +z +Ź +ź +Ż +ż +Ž +ž +Ƶ +ƶ +Ȥ +ȥ +ʐ +ʑ + + + + + + + + debian/patches/20_subtitle_handling.patch0000644000000000000000000000174511750550417015652 0ustar Author: Andreas Hoenen Description: Hotfix for BTS report #584669: - Don't pass through a subtitle as plain text into document body due to a missing stylesheet (problem is style independent). - Display subtitle below title in simple style, just as it is done in db2latex style. --- a/xsl/common/titles.xsl +++ b/xsl/common/titles.xsl @@ -81,6 +81,9 @@ + + + --- a/latex/contrib/example/dbsimple.sty +++ b/latex/contrib/example/dbsimple.sty @@ -87,3 +87,12 @@ \end{minipage}\end{Sbox}\shadowbox{\TheSbox}% } +% +% Subtitle handling +% +\let\stdtitle=\title +\def\title#1{ + \def\DBKtitle{#1} + \stdtitle{\bfseries #1% + \ifthenelse{\equal{\DBKsubtitle}{}}{}{\\[12pt]\normalsize \DBKsubtitle}} +} debian/patches/20_regression_simple_style.patch0000644000000000000000000000075511763210473017123 0ustar Author: Benoît Guillon Description: Fix a regression that breaks simple style. --- a/latex/style/dbk_core.sty +++ b/latex/style/dbk_core.sty @@ -52,13 +52,13 @@ % \newcommand{\DBKrevhistory}{} -\usepackage{dbk_misc} \usepackage{dbk_fonts} \usepackage{dbk_hyper} \usepackage{dbk_biblio} \usepackage{dbk_table} \usepackage{dbk_graphic} \usepackage{dbk_verbatim} +\usepackage{dbk_misc} \usepackage{dbk_callout} \usepackage{dbk_locale} \usepackage{dbk_annot} debian/patches/20_endless_processing_loop.patch0000644000000000000000000000151011750550417017063 0ustar Author: Andreas Hoenen Description: Hotfix for BTS report #576217: Avoid pdflatex runs repeating ad infinitum in case of: - document with german umlauts in headings - dblatex processing options: * latex.encoding=utf8 * latex.unicode.use=1 Please note that this patch only resolves the special case reported to BTS, a fundamental solution must take into account also other non-ASCII characters, e.g. î, … --- a/xsl/lang.xsl +++ b/xsl/lang.xsl @@ -223,6 +223,7 @@ \usepackage[T2A,T2D,T1]{fontenc} \usepackage{ucs} \usepackage[utf8x]{inputenc} + \PrerenderUnicode{äöüÄÜÖß} \def\hyperparamadd{unicode=true} debian/patches/10_cjk_font.patch0000644000000000000000000000122511750550417013740 0ustar Author: Andreas Hoenen Description: Improve CJK (Chinese/Japanese/Korean) support: Let XSL configuration parameter cjk.font default to gkai (instead of the cyberbit font not included in Debian). --- a/xsl/lang.xsl +++ b/xsl/lang.xsl @@ -8,7 +8,7 @@ latin1 CJK -cyberbit +gkai \setmainfont{DejaVu Serif} \setsansfont{DejaVu Sans} debian/patches/20_chapter_after_part.patch0000644000000000000000000000260212007203755015775 0ustar Author: Benoît Guillon Description: Patch for BTS report #683166: In the PDF document structure don't include chapters after a book part in the part. --- a/latex/style/dbk_hyper.sty Sun Jun 03 01:42:51 2012 +0200 +++ b/latex/style/dbk_hyper.sty Sat Aug 04 12:28:43 2012 +0200 @@ -15,16 +15,20 @@ }{} \ifpdf \usepackage[pdftex,plainpages=false,\hyperparam,\hyperparamadd]{hyperref} + \usepackage{bookmark} \def\hyperlabel#1{\hypertarget{#1}{}} \else\ifxetex \usepackage[xetex,plainpages=false,\hyperparam,\hyperparamadd]{hyperref} + \usepackage{bookmark} \def\hyperlabel#1{\hypertarget{#1}{}} \else \usepackage[dvips,plainpages=false,\hyperparam,\hyperparamadd]{hyperref} + \usepackage{bookmark} \def\hyperlabel#1{\Hy@raisedlink{\hyper@anchorstart{#1}\hyper@anchorend}} \fi\fi }{ \usepackage{hyperref} + \usepackage{bookmark} \def\hyperlabel#1{} } --- a/xsl/part.xsl Sun Jun 03 01:42:51 2012 +0200 +++ b/xsl/part.xsl Sat Aug 04 12:28:43 2012 +0200 @@ -11,6 +11,10 @@ % + + + \bookmarksetup{startatroot} + debian/patches/20_nn_quotes_in_title.patch0000644000000000000000000000063112045151652016042 0ustar Author: Andreas Hoenen Description: Hotfix for BTS report #684393: Don't crash on quotation marks in titles of Norwegian Nynorsk documents. --- a/latex/style/dbk_locale.sty +++ b/latex/style/dbk_locale.sty @@ -268,6 +268,10 @@ \ifxetex\usepackage{xecyr}\fi } +\babelsetup{nn}{% + \AtBeginDocument{\shorthandoff{"}} +} + %% Apply default locale setup \setuplocale{en} debian/patches/20_regression_zh-cn.patch0000644000000000000000000000123411763447537015437 0ustar Author: Benoît Guillon Description: Fix a regression that breaks some documents with language zh-cn. --- a/xsl/lang.xsl +++ b/xsl/lang.xsl @@ -214,7 +214,11 @@ - + + + \usepackage{ucs} + \def\hyperparamadd{unicode=true} + \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} debian/patches/series0000644000000000000000000000051712017206634012036 0ustar 10_cjk_font.patch 10_dblatex_version.patch 20_endless_processing_loop.patch 20_subtitle_handling.patch 20_db2latex_title_page.patch 20_regression_simple_style.patch 20_regression_zh-cn.patch 20_texlive_version_2009.patch 20_norwegian_bokmal.patch 20_chapter_after_part.patch 20_xetex_index_page_range.patch 20_nn_quotes_in_title.patch debian/patches/20_texlive_version_2009.patch0000644000000000000000000000117311764107523016046 0ustar Author: Andreas Hoenen Description: Avoid setting parameter texlive.version to the TeX version of the build environment (which is unpredictable), but keep the default value 2009 as it works well. Until now dblatex has problems with bigger values like 2012. --- a/setup.py +++ b/setup.py @@ -427,7 +427,8 @@ self.data_files = full_data_files rc = install_data.run(self) - self.adapt_installed_data() + if self.distribution.command_obj['install'].install_layout != 'deb': + self.adapt_installed_data() return rc def adapt_installed_data(self): debian/patches/20_xetex_index_page_range.patch0000644000000000000000000000103112012515717016627 0ustar Author: Andreas Hoenen Description: Patch for BTS report #682901: Also with XeTeX backend show page ranges in index with ndash (–) instead of double hyphen (--). --- a/xsl/lang.xsl +++ b/xsl/lang.xsl @@ -209,6 +209,7 @@ \ifxetex \usepackage{fontspec} \usepackage{xltxtra} + \defaultfontfeatures{Mapping=tex-text} \else debian/patches/20_db2latex_title_page.patch0000644000000000000000000000227411750550417016053 0ustar Author: Andreas Hoenen Description: Hotfix for BTS report #584670: Avoid duplication of title and author on title page for articles in db2latex style. --- a/latex/contrib/db2latex/db2latex.sty +++ b/latex/contrib/db2latex/db2latex.sty @@ -133,8 +133,10 @@ \def\maketitle{ \stdmaketitle \noindent - \textbf{\DBKtitle \\} - \ifx\DBKauthor\empty\else{by \DBKauthor \\}\fi + \ifthenelse{\boolean{DBKIsBook}}{ + \textbf{\DBKtitle \\} + \ifx\DBKauthor\empty\else{by \DBKauthor \\}\fi + }{} \hspace{0pt}\\ \ifthenelse{\equal{\DBKedition}{}}{}{Edition \DBKedition \\} \ifthenelse{\equal{\DBKpubdate}{}}{}{Published \DBKpubdate \\} --- a/xsl/preamble.xsl +++ b/xsl/preamble.xsl @@ -52,6 +52,14 @@ } + \usepackage{ifthen} + \newboolean{DBKIsBook} + \setboolean{DBKIsBook}{ + + true + false + + } debian/patches/10_dblatex_version.patch0000644000000000000000000000071512017207451015330 0ustar Author: Andreas Hoenen Description: Adapt version string that gets dumped out when running dblatex to debian version. --- a/xsl/version.xsl +++ b/xsl/version.xsl @@ -5,6 +5,6 @@ XSLT Stylesheet DocBook -> LaTeX ############################################################################ --> -0.3.4 +0.3.4-3 debian/README.Debian0000644000000000000000000000317011750550417011235 0ustar dblatex for Debian ------------------ The common place to discuss questions about dblatex is the mailing list 'dblatex-users', to be found at 'http://sourceforge.net/projects/dblatex/'. However, if you have questions/problems concerning the package's Debian packaging, perhaps a better way is to contact the Debian maintainer. Master configuration files - also called specification files - chosen at the command line are searched for at the following locations, the first found file wins: (1) ./ (Document specific style) (2) ~/.dblatex/ (User specific styles) (3) /etc/dblatex/ (Site specific styles) (4) /usr/share/dblatex/latex/specs/ (Standard styles supplied by upstream) (5) $DBLATEX_CONFIG_FILES (Optional environment variable) dblatex's optional dependencies are needed for: - Post analysis after failure (DocBook validation): * libxml2-utils - Online display of transformation result: * pdf-viewer - XeTeX backend: * lmodern * texlive-xetex - On-the-fly image conversion: * ghostscript * graphicsmagick-imagemagick-compat | imagemagick * transfig - Improved CJK support (gkai fonts): * latex-cjk-all - Option latex.encoding=utf8: * texlive-lang-cyrillic - SGML support: * docbook * opensp Please note that the various texlive-lang-* packages are not registered as dependencies at all (just too many of them), although you might need them for proper hyphenation. E.g. you might want to install package texlive-lang-spanish for handling spanish documents. -- Andreas Hoenen , Fri, 8 Jan 2010 19:58:56 +0100 debian/control0000644000000000000000000000220712036751132010572 0ustar Source: dblatex Section: text Priority: optional Maintainer: Andreas Hoenen Build-Depends: debhelper (>= 7.0.50~) Build-Depends-Indep: python (>= 2.6.6-3~) Standards-Version: 3.9.3 Homepage: http://dblatex.sourceforge.net/ Package: dblatex Architecture: all Depends: ${misc:Depends}, ${python:Depends}, docbook-xml, xsltproc, python-apt (>= 0.7.91), texlive (>= 2009), texlive-bibtex-extra (>= 2009), texlive-latex-extra (>= 2009), texlive-math-extra (>= 2009), texlive-extra-utils (>= 2009) Recommends: libxml2-utils Suggests: docbook, ghostscript, graphicsmagick-imagemagick-compat | imagemagick, latex-cjk-all, lmodern, opensp, pdf-viewer, texlive-lang-cyrillic (>= 2009), texlive-xetex (>= 2009), transfig Description: Produces DVI, PostScript, PDF documents from DocBook sources DocBook to LaTeX Publishing that transforms your SGML/XML DocBook documents to DVI, PostScript or PDF by translating them in pure LaTeX as a first process. MathML 2.0 markups are supported, too. It originally started as a clone of DB2LaTeX, but has been enhanced extensively since then and is actively maintained by the upstream author. debian/rules0000755000000000000000000000470411771545034010262 0ustar #!/usr/bin/make -f # Use the debhelper command sequencer. %: dh $@ --with python2 ############################# Variable definitions ############################# # Some targets (e.g. get-orig-source) are not required to be started from the # package's top level directory. # Nevertheless they need to know the package's version. # The version gets determined at runtime by dpkg-parsechangelog using the # package's changefile. # The changefile is located in this file's directory. # Thus this file's directory needs to be determined, which will only work # reliably when the make variable MAKEFILE_LIST contains exactly one value. ifneq ($(words $(MAKEFILE_LIST)),1) $(error Unable to determine location of rules) endif debiandir := $(realpath $(dir $(strip $(MAKEFILE_LIST)))) PKG_VERS := $(shell dpkg-parsechangelog -l$(debiandir)/changelog \ | grep ^Version: | cut -d' ' -f2 | cut -d- -f1) PKG_UPSTREAM := dblatex-$(PKG_VERS).tar.bz2 PKG_DEBIAN := dblatex_$(PKG_VERS).orig.tar.bz2 DOWNLOAD_URL := http://prdownloads.sourceforge.net/dblatex ################################# dh overrides ################################# override_dh_clean: rm --force --recursive docs/examples/ rm --force --recursive dblatex.egg-info/ dh_clean override_dh_auto_build: # - Nothing to be compiled # - Don't call build_doc, as it's superfluous and will run into # bootstrap problems. override_dh_installchangelogs: dh_installchangelogs docs/changes/changes.txt override_dh_installdocs: # Prepare installation of dblatex examples. tar --directory=docs --extract --bzip2 \ --file=examples/examples-src.tar.bz2 rm --force docs/examples/COPYRIGHT # Finally install all documentation. dh_installdocs docs/manual.pdf docs/release-notes.pdf \ docs/xhtml/ docs/examples/ # Don't follow upstream directory name change from docs/html/ to # docs/xhtml/, but keep well known name /usr/share/doc/dblatex/html/, # that is don't break existing bookmarks. mv debian/dblatex/usr/share/doc/dblatex/xhtml debian/dblatex/usr/share/doc/dblatex/html ############################## Additional targets ############################## get-orig-source: wget $(DOWNLOAD_URL)/$(PKG_UPSTREAM)?download \ --output-document=$(PKG_DEBIAN) wget $(DOWNLOAD_URL)/dblatex-examples.tar.bz2 \ --output-document=dblatex_$(PKG_VERS).orig-examples.tar.bz2 .PHONY: get-orig-source debian/source/0000755000000000000000000000000011750550417010473 5ustar debian/source/format0000644000000000000000000000001411750550417011701 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000013011750550417010216 0ustar # Watch control file for uscan version=3 http://sf.net/dblatex/dblatex-(\d.*)\.tar\.bz2 debian/dblatex.doc-base.manual0000644000000000000000000000065011750550417013472 0ustar Document: dblatex-manual Title: dblatex Manual Author: Benoit Guillon Section: Text Abstract: This manual in-depth describes the functionality and usage of dblatex to produce DVI, PostScript and PDF documents from DocBook sources. Format: html Index: /usr/share/doc/dblatex/html/manual/index.html Files: /usr/share/doc/dblatex/html/manual/*.html Format: pdf Files: /usr/share/doc/dblatex/manual.pdf.gz