[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#382598: wv: Bad numbering in lists, and bogus PDF



Package: wv
Version: 1.2.1-2
Severity: normal

 I have a word doc that wv has two (maybe separate) problems with.
With wvText, the numbering in the lists comes without the whole
hierarchy.  With wvPDF, everything's line wrapped terribly.  This
should maybe be two separate bugs.  split if you want.  

 I'll attach the word doc.

 The numbered list problem is also present in antiword, bug #382515.
(same word doc attached to that bug).

OOWriter produces good text output that looks like this:
----------------
CHAPTER FIVE: Marine resources of the Bay of Fundy 
(J.A. Percy)
5.1Introduction		103
5.2Status of marine resources		105

5.2.1Pelagic fish		105
5.2.2Demersal fish		107
5.2.3Diadromous fish		110
5.2.4Invertebrates and marine plants		112
5.2.5Aggregate extraction		119
5.3	Aquaculture		119
5.3.1Introduction		119
5.3.2Species in culture		120
5.3.3Potential constraints on aquaculture development		121

5.3.3.1Tidal currents	,		121
5.3.3.2Winter temperature		121
5.3.3.3Pollutants		122
...
----------------

wvText produces this:
----------------
...
   CHAPTER FIVE: Marine resources of the Bay of Fundy
   (J.A.  Percy)

    1. Introduction  103

    2. Status of marine resources  105

    1. Pelagic fish  105

    2. Demersal fish  107

    3. Diadromous fish  110

    4. Invertebrates and marine plants  112

    5. Aggregate extraction  119

   5.3  Aquaculture  119

    1. Introduction  119

    2. Species in culture  120

    3. Potential constraints on aquaculture development  121

    1. Tidal currents , 121

    2. Winter temperature  121

    3. Pollutants  122
...
----------------

 wvPDF's output doesn't look much like the word doc.  It seems to not
be treating the line breaks as line breaks, besides having the lists
numbered badly.

 Anyway, oowriter from openoffice 1.1 handles the doc fine, so there
is open source code around that understands however it is that MS
stores lists in their doc files.  The file was produced with some
version of MS Office running on Windows.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-ck5
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages wv depends on:
ii  libc6                      2.3.6-15      GNU C Library: Shared libraries
ii  libexpat1                  1.95.8-3.2    XML parsing C library - runtime li
ii  libfreetype6               2.2.1-2       FreeType 2 font engine, shared lib
ii  libglib2.0-0               2.10.3-3      The GLib library of C routines
ii  libgsf-1-114               1.14.1-2      Structured File Library - runtime 
ii  libice6                    1:1.0.0-3     X11 Inter-Client Exchange library
ii  libjpeg62                  6b-13         The Independent JPEG Group's JPEG 
ii  libpng12-0                 1.2.8rel-5.2  PNG library - runtime
ii  libsm6                     1:1.0.0-4     X11 Session Management library
ii  libwmf0.2-7                0.2.8.3-3.1   Windows metafile conversion librar
ii  libwv-1.2-1                1.2.1-1       Library for accessing Microsoft Wo
ii  libx11-6                   2:1.0.0-7     X11 client-side library
ii  libxml2                    2.6.26.dfsg-2 GNOME XML library
ii  zlib1g                     1:1.2.3-13    compression library - runtime

wv recommends no packages.

-- no debconf information

Attachment: Workshop 1 - Contents.doc.gz
Description: Binary data


Reply to: