TeX Live and MacTeXGUI for the TeX Documentation Browser

Information and discussion about TeX Live distribution for all platforms (Windows, Linux, Mac OS X) and the related MacTeX: installing, updating, configuring
Post Reply
mmutoo
Posts: 8
Joined: Mon Jan 23, 2012 1:21 am

GUI for the TeX Documentation Browser

Post by mmutoo »

Hi all.

I used TeX Live on Windows for a while now, and it seems awesome. Especially I really like the TeX documentation browser GUI which helps searching in its database for documentation for LaTeX packages.

However, recently I have moved to Ubuntu. And now, I am surprised that there is no GUI for TeX Live (like the tray GUI in Windows) in Linux! I suppose TeX Live was created for Linux first. Is there any GUI for TeX Live, especially for the TeX documentation browser?

By the way, I tried to use texdoctk, but I get an error:
"Couldn't open system-wide default config file texdocrc.defaults"

I would appreciate any help guys.
thanks.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

mmutoo
Posts: 8
Joined: Mon Jan 23, 2012 1:21 am

GUI for the TeX Documentation Browser

Post by mmutoo »

The problem should lie between these lines of the file "texdocrc.defaults".

Code: Select all

# defaults: unix values
my $qq="'";
my $HomeEnv=$ENV{HOME};
my $TeXDocRcDefaults="texdocrc.defaults";
my $TempDir; $TempDir=$ENV{TMPDIR} or $TempDir="/tmp";
my $CmdConsole="xterm -e ";

if ($IsWin32) {
  $qq = "\"";
  $HomeEnv = $ENV{'USERPROFILE'};
  chomp $HomeEnv;
  $TeXDocRcDefaults = "texdocrc-win32.defaults";
  $TempDir = &GetTempPath;
  $CmdConsole = "cmd /c ";
}

my $myrc="${HomeEnv}/.texdocrc"; # optional personal settings file

my ($line,@dummy);
my @tmpfiles;
# read system-wide defaults from texdocrc.defaults
my $sysrc=`kpsewhich --progname=texdoctk --format=${qq}other text files${qq} ${TeXDocRcDefaults}`;
my $database=`kpsewhich --progname=texdoctk --format=${qq}other text files${qq} texdoctk.dat`;
my $locdatabase=`kpsewhich --progname=texdoctk --format=${qq}other text files${qq} texdoctk-local.dat`;
my $homedatabase=`kpsewhich --progname=texdoctk --format=${qq}other text files${qq} texdoctk-pers.dat`;
User avatar
shadgrind
Posts: 140
Joined: Thu Jul 16, 2009 12:39 am

Re: GUI for the TeX Documentation Browser

Post by shadgrind »

Hmm, texdoctk works fine for me in Fedora 16. Are you sure you have the perl-Tk package installed (whatever its equivalent in Ubuntu is called)?

There's also an administration gui: tlmgr -gui
System: TeX Live 2012, Fedora 18 x86_64, GNU Emacs 24.2
Post Reply