#############################################################################
##
#W  init.g              GAP character table library             Thomas Breuer
##
#H  @(#)$Id: init.g,v 1.8 2001/11/27 09:19:27 gap Exp $
##
#Y  Copyright (C)  2001,  Lehrstuhl D fuer Mathematik,  RWTH Aachen,  Germany
##

if VERSION[1] = '4' then

  # Announce the package version.
  DeclareAutoPackage( "ctbllib", "1.0", ReturnTrue );

  # Install the documentation.
  DeclarePackageAutoDocumentation( "ctbllib", "doc" );

  # Prepare the replacement of the ``old'' character table library.
  if VERSION[3] < '3' then
    ReadPkg( "ctbllib", "gap4/compat42.g" );
  else

    # We want the library of tables of marks to be loaded if it is installed,
    # the interface is part of the character table library.
    RequirePackage( "tomlib" );

  fi;

  # Read the declaration part.
  ReadPkg( "ctbllib", "gap4/ctadmin.tbd" );

else

  ReadPkg( "ctbllib", "gap3/ctadmin" );

fi;

#############################################################################
##
#E

