Package: xpdf-reader Version: 3.02-1.3 Severity: wishlist I inserted an escape sequence to hand over the current page number when invoking an external programme via the run command. This is useful to open another xpdf-window on the same document at the same page to provide some kind of bookmark for reading later again.
patch is: *** xpdf-3.02.debian/xpdf/XPDFViewer.cc 2008-02-22 19:29:46.000000000 +0100 --- xpdf-3.02/xpdf/XPDFViewer.cc 2008-02-22 19:26:47.000000000 +0100 *************** *** 1110,1113 **** --- 1110,1119 ---- } break; + case 'p': + if (core->getDoc()) { + sprintf(buf,"%d",core->getPageNum()); + cmd->append(buf); + } + break; case 'x': case 'y': best regards, Henrik -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.22heli (SMP w/2 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages xpdf-reader depends on: ii gsfonts 1:8.11+urwcyr1.0.7~pre43-2 Fonts for the Ghostscript interpre ii lesstif2 1:0.95.0-2.1 OSF/Motif 2.1 implementation relea ii libc6 2.7-6 GNU C Library: Shared libraries ii libfreetype6 2.3.5-1+b1 FreeType 2 font engine, shared lib ii libgcc1 1:4.3-20080202-1 GCC support library ii libice6 2:1.0.4-1 X11 Inter-Client Exchange library ii libpaper1 1.1.23 library for handling paper charact ii libsm6 2:1.0.3-1+b1 X11 Session Management library ii libstdc++6 4.3-20080202-1 The GNU Standard C++ Library v3 ii libt1-5 5.1.1-5 Type 1 font rasterizer library - r ii libx11-6 2:1.0.3-7 X11 client-side library ii libxext6 1:1.0.3-2 X11 miscellaneous extension librar ii libxp6 1:1.0.0.xsf1-1 X Printing Extension (Xprint) clie ii libxpm4 1:3.5.7-1 X11 pixmap library ii libxt6 1:1.0.5-3 X11 toolkit intrinsics library ii xpdf-common 3.02-1.3 Portable Document Format (PDF) sui xpdf-reader recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]