Mail Archives: cygwin/2011/08/15/08:03:45
X-Recipient: | archive-cygwin AT delorie DOT com
|
X-SWARE-Spam-Status: | No, hits=-0.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_XM,T_TO_NO_BRKTS_FREEMAIL
|
X-Spam-Check-By: | sourceware.org
|
MIME-Version: | 1.0
|
Date: | Mon, 15 Aug 2011 16:03:21 +0400
|
Message-ID: | <CAO3CB=DkXBQdWEjuvMzP9ymNwKJQ0qXxgZo7i1nHEhk=pq+Dww@mail.gmail.com>
|
Subject: | teTeX/dvips
|
From: | Charles Hyder <dr DOT hyder AT gmail DOT com>
|
To: | cygwin AT cygwin DOT com
|
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm
|
List-Id: | <cygwin.cygwin.com>
|
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com>
|
List-Archive: | <http://sourceware.org/ml/cygwin/>
|
List-Post: | <mailto:cygwin AT cygwin DOT com>
|
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
|
Sender: | cygwin-owner AT cygwin DOT com
|
Mail-Followup-To: | cygwin AT cygwin DOT com
|
Delivered-To: | mailing list cygwin AT cygwin DOT com
|
Hi! I've just upgraded to a fresh Cygwin distribution. I installed the
full teTeX package. Then I tried to add my usual stuff like extra TeX
packages that I had with my previous installation of Cygwin.
(Yes, I have read that the problems with 3rd party packages are not
welcome here, but 1) I doubt there's a single TeX user who doesn't use
extra TeX packages; 2) I already resolved the issue, so I'm not really
complaining; 3) this issue has to do with recent changes in Cygwin's
teTeX package; so, please, read on!)
One of them is cm-super (font package to typeset Cyrillic fonts). To
start with, the installation instructions for cm-super no longer work
out the box with the latest teTeX distro. I found this to be due to
the change in the texmf configs which no longer look for .map and .enc
files in /usr/share/texmf/dvips/config, but rather in
/usr/share/texmf/fonts/map/dvips and /usr/share/texmf/fonts/enc/dvips,
respectively. Well, it took me some time to figure this out, but I
did, and so I reinstalled the .map and .enc files there. However,
something strange happened: dvipdfm started working just fine, while
dvips didnt'! It took me a really long time to figure out what's going
on.
Turns out, the include path for dvips's map files is
/usr/shar/texmf/fonts/map// (!) Here, the "//" means "search all
subdirectories", of course. And it includes both those for dvips and
dvipdfm. And the cm-super guys did no better than name the
corresponding .map and .enc files identically! And since dvipdf comes
before dvips in the the alphabetical sort the dvips was actually
reading dvipdfm's .map and .enc files!
So, here's the bottom line: it's a bad idea to allow - even in
principle - for dvips to read dvipdfm's (or any other tool's) files.
Looks like, you guys wanted to make the search for .map/.enc files
mechanism uniform among all tools. Please try to see if this can be
done more safely.
Regards,
-CH
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -