old dvi file
Jorge Almeida
jjalmeida at gmail.com
Thu Feb 5 06:30:59 PST 2015
On Thu, Feb 5, 2015 at 1:14 PM, David A. Bandel <david.bandel at gmail.com> wrote:
> Jorge,
>
> file is recognizing it as an apple file. This will be from one of two
> things, the magic number (first two bytes of the file) or the line endings
> (most likely cause). It's been a long time since I've seen a dvi file, but
> if it has mac line endings, this is probably what is making it choke.
The message from dvips hints at magic number problem. But I think this
is a binary file with mac encoding and it's not as simple as a few
changes in headings... (One wonders what dvi is supposed to mean for
Apple)
>
> Linux (UNIX) uses a newline (line feed)
> Windows uses line feed carriage return
> Mac uses carriage return
>
> I would suggest trying to replace the mac line endings with linux line
> endings.
>
It doesn't seem to have any carriage return (tested with vim)
I hoped that someone (of my generation or older!) would have
experience with this stuff, but it was a long shot anyway
Thanks
Jorge
More information about the Linux-users
mailing list