From: David E. <ell...@sd...> - 2001-04-20 14:35:45
|
On 010419, at 19:39:17, Mark Hall wrote > I'm having problems getting wvText to work. wvHtml works great, but wvText > dies and reports "Could not convert into HTML". I'm running on Red Hat > Linux 6.1, if that makes any difference. It seems wvText requires the source file to be in the current directory: when calling wvHtml, it specifies the tmp file as "/tmp/wv${1}.html". If the source file (${1}) includes a path, then wvHtml will fail since it won't be able to open the tmp file. You might try modifying wvText to use "/tmp/wv${1##*/}.html" as the tmp file (or perhaps "/tmp/wv`basename ${1}`.html"), if you wish to allow the source to be in an arbitrary directory. -- David Ellement <ell...@sd...> | Hewlett Packard, AiO Division Voice: +1 858 655 5592 | 16399 West Bernardo Drive, MS 8-70 FAX: +1 858 655 4374 | San Diego, CA 92127-1899 |