Bug#353799: /usr/bin/dvips: dvips -pp option fails with multiple ranges
Package: tetex-bin
Version: 3.0-13
Severity: normal
File: /usr/bin/dvips
I gave this command
dvips -p 48-51,101-105 -f < mspath.dvi | lp
This produced every page from 48 on, violating the documented behavior
of this option in info and dvips --help, unless I'm misunderstanding.
I cut the printout off, but here's what showed at the terminal,
supporting the "everything after 48" theory:
This is dvips(k) 5.95a Copyright 2005 Radical Eye Software (www.radicaleye.com)
' TeX output 2005.10.27:1317' ->
<tex.pro><texps.pro><special.pro>. <cmsy9.pfb><cmmi9.pfb><cmbx9.pfb>
<cmtt9.pfb><cmbxti10.pfb><cmcsc10.pfb><cmti8.pfb><cmbx8.pfb><cmti9.pfb>
<cmr6.pfb><cmr7.pfb><cmbx12.pfb><cmti10.pfb><cmmi10.pfb><cmsy10.pfb>
<cmtt12.pfb><cmr8.pfb><cmtt10.pfb><cmr10.pfb><cmbx10.pfb>[48] [49] [50] [51]
[52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62] [63] [64] [65] [66]
[67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79] [80] [81]
[82] [83] [84] [85] [86] [87] [88] [89] [90] [91] [92] [93] [94] [95] [96]
[97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] [108] [109]
[110] [111] [112] [113] [114] [115] [116] [117] [118] [119] [120] [121] [122]
[123] [124] [125] [126] [127] [128] [129] [130] [131] [132] [133] [134] [135]
[136] [137] [138] [139] [140] [141] [142] [143] [144] [145] [146] [147] [148]
[149] [150] [151] [152] [153] [154] [155] [156] [157] [158] [159] [160] [161]
[162] [163] [164] [165] [166] [167] [168] [169] [170] [171] [172] [173] [174]
[175] [176] [177] [178] [179] [180<Coefficient.eps>] [181] [182] [183] [184]
[185] [186] [187] [188] [189] [190] [191] [192] [193] [194] [195] [196] [197]
[198] [199] [200] [201] [202] [203] [204] [205] [206] [207] [208] [209] [210]
[211] [212] [213] [214] [215] [216] [217] [218] [219] [220] [221] [222] [223]
[224] [225] [226] [227] [228] [229] [230] [231] [232] [233] [234] [235] [236]
[237]
request id is lp-1163 (1 file(s))
Work-around: don't use multple ranges.
Possibly relevant is that the file has the first few TeX page numbers
repeat, for a table of contents. But this stops well before p. 48,
which was accurately located.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (990, 'stable'), (50, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27advncdfs
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages tetex-bin depends on:
ii debconf [debconf-2.0] 1.4.70 Debian configuration management sy
ii debianutils 2.15.2 Miscellaneous utilities specific t
ii dpkg 1.13.13 package maintenance system for Deb
ii ed 0.2-20 The classic unix line editor
ii libc6 2.3.5-13 GNU C Library: Shared libraries an
ii libcairo2 1.0.2-3 The Cairo 2D vector graphics libra
ii libfontconfig1 2.3.2-1.1 generic font configuration library
ii libfreetype6 2.1.7-2.4 FreeType 2 font engine, shared lib
ii libgcc1 1:4.0.2-8 GCC support library
ii libice6 6.9.0.dfsg.1-4 Inter-Client Exchange library
ii libjpeg62 6b-11 The Independent JPEG Group's JPEG
ii libkpathsea4 3.0-13 path search library for teTeX (run
ii libpaper1 1.1.14-5 Library for handling paper charact
ii libpng12-0 1.2.8rel-5 PNG library - runtime
ii libpoppler0c2 0.4.4-1 PDF rendering library
ii libsm6 6.9.0.dfsg.1-4 X Window System Session Management
ii libstdc++6 4.0.2-8 The GNU Standard C++ Library v3
ii libt1-5 5.1.0-2 Type 1 font rasterizer library - r
ii libx11-6 6.9.0.dfsg.1-4 X Window System protocol client li
ii libxaw8 6.9.0.dfsg.1-4 X Athena widget set library
ii libxext6 6.9.0.dfsg.1-4 X Window System miscellaneous exte
ii libxmu6 6.9.0.dfsg.1-4 X Window System miscellaneous util
ii libxp6 6.9.0.dfsg.1-4 X Window System printing extension
ii libxpm4 6.9.0.dfsg.1-4 X pixmap library
ii libxrender1 1:0.9.0.2-1 X Rendering Extension client libra
ii libxt6 6.9.0.dfsg.1-4 X Toolkit Intrinsics
ii mime-support 3.35-1 MIME files 'mime.types' & 'mailcap
ii perl 5.8.7-10 Larry Wall's Practical Extraction
ii sed 4.1.4-5 The GNU sed stream editor
ii tetex-base 3.0-13 Basic library files of teTeX
ii ucf 2.005 Update Configuration File: preserv
ii zlib1g 1:1.2.3-9 compression library - runtime
Versions of packages tetex-bin recommends:
ii dialog 1.0-20060126-1 Displays user-friendly dialog boxe
ii libxml-parser-perl 2.34-4 Perl module for parsing XML files
ii perl-tk 1:804.027-4 Perl module providing the Tk graph
ii psutils 1.17-21 A collection of PostScript documen
ii whiptail 0.51.6-31 Displays user-friendly dialog boxe
-- debconf information:
tetex-bin/upd_map: true
* tetex-bin/cnf_name:
tetex-bin/fmtutil: true
tetex-bin/fmtutil-failed:
* tetex-bin/texmf: true
tetex-bin/updmap-failed:
* tetex-bin/hyphen: ngerman[=naustrian-neue_Rechtschreibung], french[=patois]
tetex-bin/oldcfg: true
* tetex-bin/use_debconf: true
Reply to: