[Pkg-octave-devel] Bug#354638: octave2.9-doc: off by one error in showing the pages of octave.pdf

Kamaraju Kusumanchi kamaraju at gmail.com
Mon Feb 27 21:58:36 UTC 2006


Package: octave2.9-doc
Version: 2.9.4-12
Severity: normal


octave2.9-doc comes with /usr/share/doc/octave2.9-doc/octave.pdf.gz

To reproduce the bug

1) gunzip the octave.pdf.gz file to octave.pdf

2) open the file with kpdf

$kpdf /usr/share/doc/octave2.9-doc/octave.pdf &

3) Select contents tab in the left panel of kpdf

4) Click on any of the links say "Preface"

   the user is shown pg 2 instead of pg 1.

	 Similarly click on the link "Distribution" 

	 the user will be shown pg 5 instead of pg 4.

	I have checked with acroread and kpdf. Both of them exhibit the above
behaviour. However xpdf exhibits correct behaviour (without any off by one
errors) which made me think that may be it is a problem with acroread and kpdf.

  However when viewing /usr/share/doc/maxima-doc/maximabook-19-Sept-2004.pdf
all the three viewers namely acroread, kpdf, xpdf did not exhibit any off by one
errors.

  So I am guessing that there is something going on in the way octave.pdf is
created. Hence I am reporting the bug against octave2.9-doc

thanks
raju

$dpkg -l acroread kpdf xpdf
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                                 Version                              Description
+++-====================================-====================================-========================================================================================
ii  acroread                             7.0.5-0.3                            Adobe Acrobat Reader: Portable Document Format file viewer
ii  kpdf                                 3.5.1-2                              PDF viewer for KDE
ii  xpdf                                 3.01-7                               Portable Document Format (PDF) suite


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-686-smp
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

-- no debconf information




More information about the Pkg-octave-devel mailing list