This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFU] TeX Live 2012 (texlive-20120628-1, etc.)


On 8/5/2012 6:29 AM, Ken Brown wrote:
On 8/4/2012 12:37 PM, Achim Gratz wrote:
It's updmap IIRC, the error message contains the line where the check is
happening. I see no downside in providing an empty texmf-site however,
parallel to some Emacs distributions.

I'm glad you told me about this. In TeX Live 2012 updmap has a new feature that allows a system to have more than one updmap.cfg, with preference given to one in TEXMFLOCAL (which is /usr/share/texmf-site on Cygwin). Unfortunately, the script fails with the error message you got if TEXMFLOCAL doesn't exist.

This means that all the updmap-sys commands in the existing
texlive-collection-*-20120628-1 postinstall scripts have failed. I need
to fix this before I pursue your suggestion further. I think the way to
fix it is to update texlive-collection-basic so that it contains (a)
/usr/share/texmf-site and (b) a postinstall script that will rerun the
'updmap-sys --enable' commands from the existing
/etc/postinstall/texlive-collection-*.sh.done scripts.

Suggestions for a better way to do this are welcome.

Another consequence of the fact that updmap reads more than one updmap.cfg file is that /usr/share/texmf-dist/web2c/updmap.cfg should not be included in the distribution. (It effectively enables all possible maps that are not explicitly disabled in /etc/texmf/web2c/updmap.cfg.) So my new release of texlive-collection-basic has to exclude this file.


If any TeX users on this list want to help make sure that I've got it right, you could test it as follows:

1. Save the attached script and make it executable.

2. Issue the following commands:

mkdir -p /usr/share/texmf-site
rm -f /usr/share/texmf-dist/web2c/updmap.cfg
/path/to/texlive_fix_updmap.sh

As a variation on this, you could first delete (or move) /etc/texmf/web2c/updmap.cfg. It should get recreated.

Thanks.

Ken

Attachment: texlive_fix_updmap.sh
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]