--- Begin Message ---
Subject: |
Bug#470380: feature request: --viewer=CMD option to texi2dvi |
Date: |
Mon, 10 Mar 2008 16:11:36 -0400 |
Package: texinfo
Version: 4.11.dfsg.1-4
Severity: wishlist
Tags: patch
Some DVI/PDF viewers (*cough* evince) are too stupid to redisplay the
document when the file changes, but will redisplay the document in the
same window if re-invoked with the same file name. It would be nice,
therefore, if texi2dvi had a mode in which it automatically ran a viewer
at the end of every recompilation of a given document.
The attached patch implements just such an option, spelt --viewer=CMD.
(It may need a certain amount of polish; for instance, --viewer= with
no argument does nothing useful and does not give an error. I'm not
comfortable enough with the coding style to do things like that.)
zw
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages texinfo depends on:
ii libc6 2.7-9 GNU C Library: Shared libraries
texinfo recommends no packages.
-- no debconf information
texi2dvi.viewer.diff
Description: Text document
--- End Message ---