delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/10/10:02:30

Date: Wed, 10 Dec 1997 16:50:50 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "A. Sinan Unur" <sinan DOT unur AT cornell DOT edu>
cc: djgpp AT delorie DOT com
Subject: Re: setting up dviwin for djgpp tex distribution
In-Reply-To: <348DE172.AFAAA249@cornell.edu>
Message-ID: <Pine.SUN.3.91.971210163533.11116B-100000@is>
MIME-Version: 1.0

On Tue, 9 Dec 1997, A. Sinan Unur wrote:

> in anycase, i think most of my problems
> were due to the fact that i was trying to alter an installation that i
> had set up a long time ago to work with emTeX. it might actually work
> better if i start over from scratch.

Yes, if you had emTeX installed, you should delete it and start from 
scratch.  Don't forget to remove all lines in your AUTOEXEC.BAT which set 
TeX-related environment variables--these are subtly different and can get 
you into some really weird bugs.

> i would appreciate hearing advice from anyone who has set up dviwin to
> work with the djgpp distribution of TeX. if i actually do get it
> working, i will post a summary of what is needed. 

I don't know anything about dviwin, but if it is just another DVI driver, 
you will need to set the necessary environment variables so that dviwin 
will find the fonts under the %DJDIR%/share/texmf directory.  You will 
also need to make sure that dviwin can run the MakeTeX... programs to 
create fonts which are missing.

The problem with that setup is that if dviwin was not built with the 
Kpathsea library (which is used in the DJGPP port), you will have grave 
difficulties making it happen, because non-Kpathsea DVI drivers have 
their own built-in assumptions about the structure of the fonts tree, and 
they might have problems to run the MakeTeX... programs due to 
incompatibilities in the command line processing (lines longer than 126 
characters, quoting, globbing, etc.).

So if Kpathsea was not used to build dviwin, I won't recommend this in
general.  If you have access to the sources and the tools that will let
you rebuild dviwin, it is much easier to adapt dviwin to Kpathsea (I did 
that with dvivga, and it took about two nights).  Kpathsea is beautifully 
and clearly documented, which makes it a snap.

Of course, it would be nice if a DVU previewer could be built entirely 
with DJGPP tools. dvivga is just a quick hack, to let people who don't 
have a laser printer preview their documents; it is not good enough for 
actually reading the documents, because its graphics interface is 
minimal.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019