goto Tips

Cantor

Cantor is a front-end for many mathematical software applications like Sage, Maxima, R and KAlgebra. Cantor belongs to The KDE Education Project and lets you use your favorite mathematical applications from within a nice KDE-integrated Worksheet Interface. It offers assistant dialogs for common tasks and allows you to share your worksheets with others.

Cantor's main features are:

Install Cantor

Here a way to build only cantor ;)

svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/cantor

   1 project(cantor)
   2 
   3 # search packages used by KDE
   4 find_package(KDE4 4.3.80 REQUIRED)
   5 if(WIN32)
   6   find_package(KDEWIN32 REQUIRED)
   7   # detect oxygen icon dir at configure time based on KDEDIRS - there may be different package installation locations
   8   execute_process(COMMAND "${KDE4_KDECONFIG_EXECUTABLE}" --path icon OUTPUT_VARIABLE _dir ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
   9   file(TO_CMAKE_PATH "${_dir}" __dir)
  10   find_path(KDE4_ICON_DIR oxygen PATHS
  11       ${__dir}
  12   )
  13   message(STATUS "using oxygen application icons from ${KDE4_ICON_DIR}")
  14 else(WIN32)
  15     set (KDE4_ICON_DIR  ${CMAKE_INSTALL_PREFIX}/share/icons)
  16 endif(WIN32)
  17 
  18 include(KDE4Defaults)
  19 include(MacroLibrary)
  20 
  21 if(NOT WIN32)
  22   macro_optional_find_package(LibSpectre)
  23   macro_log_feature(LIBSPECTRE_FOUND "libspectre" "A PostScript rendering library" "http://libspectre.freedesktop.org/wiki/" FALSE "${LIBSPECTRE_MINIMUM_VERSION}" "Support for rendering EPS files in Cantor.")
  24 
  25   if(LIBSPECTRE_FOUND)
  26     set( WITH_EPS On )
  27   else(LIBSPECTRE_FOUND)
  28     set( WITH_EPS Off )
  29   endif(LIBSPECTRE_FOUND)
  30 else(NOT WIN32)
  31   set( WITH_EPS Off )
  32 endif(NOT WIN32)
  33 
  34 include_directories( ${KDE4_INCLUDES} ${QT_INCLUDES} )
  35 
  36 add_subdirectory( src )
  37 add_subdirectory( icons )
  38 add_subdirectory( tests )

   1 def hello():
   2 ''cd cantor''
   3 ''mkdir build''
   4 ''cd build''
   5 ''cmake ../''

You can choose where to install with this param DCMAKE_INSTALL_PREFIX For example:

   1 ''cmake -DCMAKE_INSTALL_PREFIX=/usr/ ../''

<code> make install </code>

Using Sage with Cantor

Links


Front-ends