Your message dated Mon, 11 Feb 2008 04:02:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#461919: fixed in dblatex 0.2.8-6
has caused the Debian Bug report #461919,
regarding dblatex: "abstract" title handled inappropriately
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
461919: http://bugs.debian.org/cgi-bin//461919
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: dblatex
Version: 0.2.8-2
Severity: normal
Tags: patch

Hi,

consider the following docbook xml input:

===========================================================
  <abstract>
    <title>Kurzbeschreibung</title>
    <para>
      Testpara
    </para>
===========================================================

This leads to the following latex output:

===========================================================
% -------- 
% Abstract 
% -------- 
\let\savabstractname=\abstractname
\def\abstractname{Kurzbeschreibung}\begin{abstract}
Kurzbeschreibung
       Testpara


       Testpara2
===========================================================

(See also the attached example input test.xml and output test.tex
files.)

I.e., the abstract title (if specified) is applied correctly, but
additionally inserted into the text. This can be fixed in abstract.xsl
as attached.

bye,
  Roland


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-rc5-rt1 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dblatex depends on:
ii  docbook-xml        4.5-5                 standard XML documentation system,
ii  ghostscript [gs-pd 8.61.dfsg.1~svn8187-3 The GPL Ghostscript PostScript/PDF
ii  gs-gpl             8.61.dfsg.1~svn8187-3 Transitional package
ii  imagemagick        7:6.2.4.5.dfsg1-2     Image manipulation programs
ii  python             2.4.4-6               An interactive high-level object-o
ii  python-support     0.7.6                 automated rebuilding support for p
ii  texlive            2007-13               TeX Live: A decent selection of th
ii  texlive-extra-util 2007.dfsg.1-2         TeX Live: TeX auxiliary programs
ii  texlive-lang-cyril 2007.dfsg.3-1         TeX Live: Cyrillic
ii  texlive-latex-extr 2007.dfsg.1-1         TeX Live: LaTeX supplementary pack
ii  texlive-math-extra 2007.dfsg.1-1         TeX Live: Advanced math typesettin
ii  transfig           1:3.2.5-rel-3         Utilities for converting XFig figu
ii  xsltproc           1.1.22-1              XSLT command line processor

Versions of packages dblatex recommends:
ii  libxml2-utils              2.6.30.dfsg-3 XML utilities

-- no debconf information
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
                      "http://nwalsh.com/docbook/xml/4.3/docbook.dtd";>
<article lang="de">
  <articleinfo>
    <title>Testdocument</title>
    <author>
      <firstname>Roland</firstname>
      <surname>Stigge</surname>
      <email>[EMAIL PROTECTED]</email>
    </author>
    <pubdate>21 Jan 2008</pubdate>
    <copyright>
      <year>2008</year>
      <holder>Roland Stigge</holder>
    </copyright>
  </articleinfo>
  <abstract>
    <title>Kurzbeschreibung</title>
    <para>
      Testpara
    </para>
    <para>
      Testpara2
    </para>
   </abstract>
  <sect1><title>SECT1TITLE</title>
    <para>
      Testpara...
    </para>
  </sect1>
</article>

% -----------------------------------------  
% Autogenerated LaTeX file from XML DocBook  
% -----------------------------------------  
%%<params>
%%</params>
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{fancybox}
\usepackage{makeidx}
\usepackage[ngerman]{babel}
\usepackage{cmap}
\usepackage[hyperlink]{docbook}
\setuplocale{de}
\setupbabel{de}
\renewcommand{\DBKreleaseinfo}{}
\setcounter{tocdepth}{5}
\setcounter{secnumdepth}{5}
\renewcommand{\DBKcopyright}{\noindent Copyright \textnormal{\copyright} 2008 Roland Stigge}
\renewcommand{\DBKpubdate}{21 Jan 2008}
\title{Testdocument}
\author{Roland Stigge}
\hypersetup{%
pdfcreator={DBLaTeX-0.2.8-2},%
pdftitle={Testdocument},%
pdfauthor={Roland Stigge}%
}
% ------------------
% Collaborators
% ------------------
\renewcommand{\DBKindexation}{
\begin{DBKindtable}
\DBKinditem{\writtenby}{Roland Stigge}
\end{DBKindtable}
}
\makeindex
\makeglossary
\begin{document}
\frontmatter
\maketitle
\tableofcontents

% -------- 
% Abstract 
% -------- 
\let\savabstractname=\abstractname
\def\abstractname{Kurzbeschreibung}\begin{abstract}
Kurzbeschreibung
       Testpara
 

       Testpara2
 

\end{abstract}
\let\abstractname=\savabstractname
\mainmatter

\section{SECT1TITLE}

       Testpara...
 

\end{document}
diff -ruN dblatex-0.2.8.orig/xsl/abstract.xsl dblatex-0.2.8/xsl/abstract.xsl
--- dblatex-0.2.8.orig/xsl/abstract.xsl 2007-02-24 19:17:23.000000000 +0100
+++ dblatex-0.2.8/xsl/abstract.xsl      2008-01-21 14:40:29.000000000 +0100
@@ -21,7 +21,7 @@
     <xsl:text>}</xsl:text>
   </xsl:if>
   <xsl:text>\begin{abstract}&#10;</xsl:text>
-  <xsl:apply-templates/>
+  <xsl:apply-templates select="*[not(self::title)]"/>
   <xsl:text>&#10;\end{abstract}&#10;</xsl:text>
   <xsl:if test="title">
     <xsl:text>\let\abstractname=\savabstractname&#10;</xsl:text>

--- End Message ---
--- Begin Message ---
Source: dblatex
Source-Version: 0.2.8-6

We believe that the bug you reported is fixed in the latest version of
dblatex, which is due to be installed in the Debian FTP archive:

dblatex_0.2.8-6.diff.gz
  to pool/main/d/dblatex/dblatex_0.2.8-6.diff.gz
dblatex_0.2.8-6.dsc
  to pool/main/d/dblatex/dblatex_0.2.8-6.dsc
dblatex_0.2.8-6_all.deb
  to pool/main/d/dblatex/dblatex_0.2.8-6_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Hoenen <[EMAIL PROTECTED]> (supplier of updated dblatex package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 10 Feb 2008 11:25:00 +0100
Source: dblatex
Binary: dblatex
Architecture: source all
Version: 0.2.8-6
Distribution: unstable
Urgency: low
Maintainer: Andreas Hoenen <[EMAIL PROTECTED]>
Changed-By: Andreas Hoenen <[EMAIL PROTECTED]>
Description: 
 dblatex    - Produces DVI, PostScript, PDF documents from DocBook sources
Closes: 461919
Changes: 
 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.)
Files: 
 ccb4309a21de158b561260e02ea122e0 661 text optional dblatex_0.2.8-6.dsc
 b4c69e91b8d5891db1b033cc37473738 13580 text optional dblatex_0.2.8-6.diff.gz
 b634b84c5214500246ae914e25b7ee0d 955776 text optional dblatex_0.2.8-6_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHr8eX3DVS6DbnVgQRAtpNAJ9F8T9jy8nh7wM1uHLxnyd2wXB2pQCfevvz
gJi0jWQBAmgrZ9saLtxvLDA=
=U7JX
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to