Re: 2.99.3 beta and dvipdft
Svend Tollak Munkejord <[email protected]> Wed, 17 Nov 2004 14:38:18 +0100
| Newsgroups | gmane.comp.tex.tetex.beta |
|---|---|
| Organization | The Royal Society for Putting Things on Top of Other Things |
| Message-ID | <[email protected]> |
I wrote: > On 2004-11-16, Sven de Vries <[email protected]> wrote: > >> Hi there, >> >> seems like dvipdft is broken: >> >>> dvipdft --help >> /usr/devries/local/packages/teTeX-2.99/bin//dvipdft: syntax error >> at line 126: `end of file' unexpected >> >> l43 of that script looks odd. has anybody encountered this too? > > Yes, I got that too, on Compaq Tru64 Unix (OSF1) V5.1 > > On 2004-11-16, Thomas Esser <[email protected]> wrote: > >> On Tue, Nov 16, 2004 at 10:21:09AM +0100, Sven de Vries wrote: >> >> Works for me on SuSE Linux 9.1. >> >>> l43 of that script looks odd. has anybody encountered this too? >> >> Is the following better? >> s="$s${s+ }'"`echo "x$1" | sed "1s@.@@; s@'@'\\\\\''@g"`"'" > > With that line, I get: > > svendm@vsl175 > dvipdft a.dvi > dvipdft: running dvipdfm -e -z0 a.dvi > > Multiple dvi filenames? > > > dvipdfm, version 0.13.2c, Copyright (C) 1998, 1999 by Mark A. Wicks > dvipdfm comes with ABSOLUTELY NO WARRANTY. This is free software, > and you are welcome to redistribute it under certain conditions. > Details are distributed with the software. > > Usage: dvipdfm [options] dvifile > > [...] I just tried another thing, which, of course, occurred to me just after sending the previous message: I changed the first line of the dvipdft script to #!/bin/bash and then it worked with both the alternative s=... lines. I don't know why, but perhaps you do. Regards, Svend Tollak Munkejord