Bug#563659: dblatex: Fails with filename elements containing anti-slashes

2010-01-07 Thread ben.guillon

Hi Andreas,

On Wed, 06 Jan 2010 21:22:26 +0100, Andreas Hoenen  
andr...@hoenen-terstappen.de wrote:




attached are a provisional patch for backslash characters in filenames
[1]


I'd prefer you use the attached patch: no need to another dependency, and  
it is fixed by the template in charge to handle nolinkurl (and not by the  
caller).


Regards,
BG



url.patch
Description: Binary data


Bug#563659: dblatex: Fails with filename elements containing anti-slashes

2010-01-06 Thread Andreas Hoenen
ben.guillon ben.guil...@gmail.com wrote:

snip/
 I have no real solution for now. BTW what patch would you apply?
snip/

Hi Benoît,

attached are a provisional patch for backslash characters in filenames
[1], together with a test document [2] that explains the problems as
well.  Looks like it works, however I'm awaiting your feedback, and of
course I would prefer an solution integrated into one of your next
releases.

As the patch works for the Tex Live 2009 hyperref behaviour only, I need
to adapt Debian dblatex's texlive* dependencies to (= 2009).  For the
inclusion of the string.xsl library template I need to add a dependency
on package docbook-xsl [3].

[1] --- a/xsl/inlined.xsl
+++ b/xsl/inlined.xsl
@@ -1,10 +1,14 @@
 
-
+
 
 
 
+
+
 1
 1
 0
@@ -224,7 +228,13 @@
   not(ancestor::title or ancestor::refentrytitle)">
 
 
-  
+  
+
+  
+  \
+  \\
+
+  
 
   
   
[2] 

backslash_filenames_in_texlive_2009.xml
Description: Test (and explanation) document
[3] http://packages.debian.org/docbook-xsl

Regards, Andreas
-- 
Andreas Hoenen andr...@hoenen-terstappen.de
GPG: 1024D/B888D2CE
 A4A6 E8B5 593A E89B 496B
 82F0 728D 8B7E B888 D2CE


pgpjsofjWkbw5.pgp
Description: PGP signature


Bug#563659: dblatex: Fails with filename elements containing anti-slashes

2010-01-04 Thread Sébastien Villemot
Package: dblatex
Version: 0.2.12-2
Severity: normal

dblatex fails on the following DocBook example:

snippet
?xml version=1.0 encoding=utf-8 ?
!DOCTYPE book PUBLIC -//OASIS//DTD DocBook XML V4.5//EN 
http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd;
book
  chapter
titleIntroduction/title
parafilenamec:\dynare\4.x.y/filename/para
  /chapter
/book
/snippet---

The problem occurs during TeX compilation, more precisely inside the 
\nolinkurl{} generated from the filename element. Texlive 2009 does not 
accept unescaped antislashes inside \nolinkurl{}, while Texlive 2007 did. The 
solution is to espace anti-slashes with another anti-slash inside \nolinkurl{}.

This is an expected behaviour of Texlive 2009, see this thread:
http://lists.debian.org/debian-tex-maint/2009/12/msg00661.html

Note that this bug currently occurs only on unstable, since testing still 
contains Texlive 2007.

Also note that this affects at least one package relying on dblatex, see bug 
#562321.

Regards,


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dblatex depends on:
ii  docbook-xml   4.5-7  standard XML documentation system 
ii  python2.5.4-5An interactive high-level object-o
ii  python-apt0.7.13.4   Python interface to libapt-pkg
ii  python-support1.0.6  automated rebuilding support for P
ii  texlive   2009-6 TeX Live: A decent selection of th
ii  texlive-bibtex-extra  2009-6 TeX Live: Extra BibTeX styles
ii  texlive-extra-utils   2009-6 TeX Live: TeX auxiliary programs
ii  texlive-latex-extra   2009-6 TeX Live: LaTeX supplementary pack
ii  texlive-math-extra2009-6 TeX Live: Advanced math typesettin
ii  xsltproc  1.1.26-1   XSLT command line processor

Versions of packages dblatex recommends:
ii  libxml2-utils   2.7.6.dfsg-1 XML utilities

Versions of packages dblatex suggests:
pn  docbook  none  (no description available)
ii  ghostscript  8.70~dfsg-2+b1  The GPL Ghostscript PostScript/PDF
ii  imagemagick  7:6.5.8.3-1 image manipulation programs
pn  latex-cjk-allnone  (no description available)
ii  lmodern  2.004.1-3   scalable PostScript and OpenType f
pn  opensp   none  (no description available)
pn  texlive-lang-cyrillicnone  (no description available)
pn  texlive-xetexnone  (no description available)
pn  transfig none  (no description available)
ii  xpdf-reader [pdf-viewer] 3.02-1.4+lenny1 Portable Document Format (PDF) sui
ii  xpdf-utils [pdf-viewer]  3.02-1.4+lenny1 Portable Document Format (PDF) sui

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org