Differences between revisions 6 and 22 (spanning 16 versions)
Revision 6 as of 2010-01-30 00:12:01
Size: 1301
Comment:
Revision 22 as of 2010-01-30 03:48:44
Size: 3011
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Cantor =

goto [[main page]]
goto [[Tips]]
Line 7: Line 5:
= Cantor, a Sage Front-end= = Cantor =
Line 9: Line 7:
Cantor is a front-end for many mathematical software applications like Sage, Maxima, R and KAlgebra. Cantor 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 is a front-end for many mathematical software applications like Sage, Maxima, R and KAlgebra. Cantor belongs to [[http://edu.kde.org/|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.
Line 11: Line 9:
Cantor's main features are: '''Cantor's main features are:'''
Line 15: Line 13:
 * GetHotNewStuff integration to upload/download example worksheets  * [[http://ghns.freedesktop.org/|GetHotNewStuff]] integration to upload/download example worksheets
Line 21: Line 19:
 * [[daysmarseille|Sage Days 20]] -- Marseille, France (February 22-26, 2010); theme: Combinatorics
 * [[http://www.fields.utoronto.ca/programs/scientific/09-10/sage/index.html|Sage Days 20.5]] -- Toronto, Canada (May 3-7, 2010); theme: Algebraic Combinatorics,
Here a way to build only cantor ;)

 * First obtain the sources
svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/cantor

 * Replace the the content of cantor/CMakeLists.txt with this
{{{#!highlight python
project(cantor)

# search packages used by KDE
find_package(KDE4 4.3.80 REQUIRED)
if(WIN32)
  find_package(KDEWIN32 REQUIRED)
  # detect oxygen icon dir at configure time based on KDEDIRS - there may be different package installation locations
  execute_process(COMMAND "${KDE4_KDECONFIG_EXECUTABLE}" --path icon OUTPUT_VARIABLE _dir ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
  file(TO_CMAKE_PATH "${_dir}" __dir)
  find_path(KDE4_ICON_DIR oxygen PATHS
      ${__dir}
  )
  message(STATUS "using oxygen application icons from ${KDE4_ICON_DIR}")
else(WIN32)
    set (KDE4_ICON_DIR ${CMAKE_INSTALL_PREFIX}/share/icons)
endif(WIN32)

include(KDE4Defaults)
include(MacroLibrary)

if(NOT WIN32)
  macro_optional_find_package(LibSpectre)
  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.")

  if(LIBSPECTRE_FOUND)
    set( WITH_EPS On )
  else(LIBSPECTRE_FOUND)
    set( WITH_EPS Off )
  endif(LIBSPECTRE_FOUND)
else(NOT WIN32)
  set( WITH_EPS Off )
endif(NOT WIN32)

include_directories( ${KDE4_INCLUDES} ${QT_INCLUDES} )

add_subdirectory( src )
add_subdirectory( icons )
add_subdirectory( tests )
}}}

 * Type this 4 commands:
{{{#!highlight python
cd cantor
mkdir build
cd build
cmake ../
}}}

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

{{{#!highlight python
cmake -DCMAKE_INSTALL_PREFIX=/usr/ ../
}}}

 * Type this command
{{{#!highlight python
make install
}}}
Line 30: Line 91:
 * http://edu.kde.org/cantor/  * Official Site - http://edu.kde.org/cantor/
 * Author's Blog - http://arieder.wordpress.com/

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:

  • Nice Worksheet view for evaluating expressions
  • View of plotting results inside the worksheet or in a separate window
  • Easy plugin based structure to add different Backends
  • GetHotNewStuff integration to upload/download example worksheets

  • Typesetting of mathematical formulas using LaTeX
  • Backend aware syntax highlighting
  • Plugin based assistant dialogs for common tasks (like integrating a function or entering a matrix)

Install Cantor

Here a way to build only cantor ;)

  • First obtain the sources

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

  • Replace the the content of cantor/CMakeLists.txt with this

   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 )
  • Type this 4 commands:

   1 cd cantor
   2 mkdir build
   3 cd build
   4 cmake ../

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

   1 cmake -DCMAKE_INSTALL_PREFIX=/usr/ ../
  • Type this command

   1 make install

Using Sage with Cantor

  • Worksheet managment ...

Links


Front-ends

Cantor (last edited 2018-01-31 17:43:50 by slelievre)