[tex-live] [Fwd: Re: TeXLive Perl + latexmk (windows)]

George N. White III gnwiii at gmail.com
Fri Apr 16 14:57:35 CEST 2010


On Thu, Apr 15, 2010 at 8:12 PM, Adam R. Maxwell <amaxwell at mac.com> wrote:
>
> [...]
>>> Unfortunately I don't have a Mac.  As far as I understand MacTeX
>>> adapts tlmgr's GUI.  But is tlmgr's CLI kept intact?  I hope so.
>>>
>> tlmgr is intact, including its gui (but, as I understand it, the gui will only
>> work for people who previously installed Perl/Tk hence X11, not installed by
>> default, and I'm not sure which proportion of OS X user it represents).
>
> Correct.  The CLI is intact and works out of the box, but Perl/Tk has to be installed manually.

In my experience, Perl/Tk is fragile on MacOSX.   It worked for tlmgr
early on, but now:

$ tlmgr --gui
no event type or button # or keysym at
/Library/Perl/5.8.8/darwin-thread-multi-2level/Tk/Widget.pm line 1105.
 at /usr/local/texlive/2009/texmf/scripts/texlive/tlmgrgui.pl line 222
Compilation failed in require at /usr/texbin/tlmgr line 3193.

A simple script works:

#!/usr/bin/env perl

use Tk;
use strict;
use warnings;

my $mw = new MainWindow;
$mw->title( 'Hello' );

$mw->Label( -text => 'Hello World' )->pack;
$mw->Button( -text => "Done", -command => sub { exit } )->pack;

MainLoop;
  ----------------------------------------------------------------

$ tlmgr -v -version
tlmgr revision 17611 (2010-03-30 01:21:59 +0200)
tlmgr using installation: /usr/local/texlive/2009
TeX Live (http://tug.org/texlive) version 2009

Revision of modules:
TLConfig: 16713
TLUtils:  17495
TLPOBJ:   17183
TLPDB:    17589
TLMedia:  17443
TLPaper:  16743
TLWinGoo: 16713



-- 
George N. White III <aa056 at chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia



More information about the tex-live mailing list