Posted in LaTeX, Linux, Mathematics, Physics, Science, tagged Bash, Cadabra, Calculation, CLI, Command, Computers, Configuration, How to, HowTo, Install, LaTeX, LaTeX package, Line, Linux, Mathematics, Notebook, Packages, Programming, Script, Software, Symbolic, Tensor, Tensors, Terminal, Tips and Tricks on February 18, 2014|
Leave a Comment »
On a previous post I described how to change the LaTeX options of the Cadabra
notebook.
I collaborate with a colleague, who uses the standard cadabra
installation. Therefore, If I write a Cadabra notebook, he needs to pullback the personalised notebook to the standard one. The pullback script can be downloaded here!!!
Author: Oscar Castillo-Felisola
Created: 2014-02-18 Tue 20:20
Emacs 24.3.1 (Org mode 8.2.5h)
Validate
Read Full Post »
Posted in LaTeX, Linux, Science, tagged Cadabra, Calculation, CLI, Command, Compilation, Compile, Configuration, Debian, Emacs, How to, HowTo, Install, LaTeX, LaTeX package, Line, Linux, Notebook, Packages, Programming, Script, Software, Source, Symbolic, Tensor, Tensors, Terminal, Tips and Tricks on February 18, 2014|
2 Comments »
Goal: a cadabra notebook more LaTeX friendly.
- I run a Debian system. Don’t know why, but the original source code in the git repo didn’t work!!!What did I do? I downloaded the code from the Debian repository.
$ sudo apt-get build-dep cadabra # Install all dependences
$ mkdir -p ~/Software # Create a folder to download the source
$ cd ~/Software # Move to the folder
$ apt-get source cadabra # Download the source code (from Debian)
- On the
cadabra
folder created through the last command line, I looked for the window.cc
file and open it
$ emacs cadabra-1.29/gui/window.cc &
- On the
window.cc
file I changed:
- Finally, time to compile
$ ./configure
$ make
$ sudo make install
- If your compilation/installation went through, and you try to open an old cadabra notebook (a notebook created with the original cadabra code), the program will complain that the file is not compatible… but I created a small script to transform the old files into new files! Download it here!!USAGE:
$ ./transf_cadabra oldfile.cnb newfile.cnb
Author: Oscar Castillo-Felisola
Created: 2014-02-18 Tue 10:09
Emacs 24.3.1 (Org mode 8.2.5h)
Validate
Read Full Post »
Posted in Linux, Mathematics, Physics, Science, tagged C++, Calculation, CLI, Command, Computers, Functions, How to, HowTo, Karmic, Koala, Line, Linux, Maple, Math, Mathematica, Mathematics, Matlab, Programming, Pyhton, Running, Sage, Sagemath, Script, Symbolic, Terminal, Tips and Tricks, Ubuntu on January 30, 2010|
Leave a Comment »
You can put your Sage commands in a file with extension “.sage”. That’s a Sage script. You run this script as:
$ sage /path/to/myscript.sage
See this link for more information: http://mvngu.wordpress.com/2009/10/08/how-to-use-sage-as-a-python-library/
Thanks to mvngu for this useful information, as well as his original post!
Read Full Post »