scimax - Awesome editing for scientists and engineers
Scimax is an Emacs starterkit for scientists and engineers. It provides a comprehensive configuration of Emacs for scientific programming and publishing.
See the manual for more details.
NEWS
[2023-05-30 Tue] scimax 3.0
Another 2+ year update :) This release primarily revolves around making scimax brew-installable. See *homebrew for details. This new method installs a command-line utility scimax
that will start scimax for you.
There are some newish features. The org-db code has been expanded and includes full-text and image search now. It also provides an org-db-agenda interface. This code is still βjust useful enoughβ; although I use it almost daily, it is still not perfect and has some issues that make it likely I will never separate it from scimax.
scimax now uses emacs-jupyter. See ./scimax-jupyter.org for some examples.
New files include:
- ./scimax-org-table.el
- some convenience functions for tables
- ./scimax-projectile.el
- projectile integration functions
- ./scimax-org-attachments.el
- org-attachment enhancements for scimax
- ./scimax-slack.el
- integration with Slack
- ./scimax-ob-flycheck.el
- integration of flycheck with src blocks (experimental)
- ./ox-twee2.el
- experimental exporter for org to twee (interactive fiction)
A potentially breaking change needed for homebrew integration is that I moved the user directory out of scimax. Scimax now honors the built in way of providing user files, e.g. in .emacs or .emacs.d.
[2021-01-02 Sat] new features
It has been about two years since I noted the last new features. Here are few new features:
- org-db - index your org-files into sqlite and then be able to search them
- scimax-contacts - an org-db add-on to help you find and use contacts
- scimax-editmarks - a new markup for editing org-files and more.
- scimax-@-links - use the @ key to easily insert a link from many different sources
- scimax-hydra - a leader key like menu to use scimax
[2018-02-28 Wed] scimax 2.0
It is an update of scimax, and the main new features are:
- Major overhaul on ipython. See ./scimax-ipython.org.
- A dashboard feature: ./scimax-dashboard.el
- A new inkscape link: ./scimax-inkscape.el
- You can put images on links with images in the description: ./scimax-link-thumbnails.el
- Functional text: ./scimax-functional-text.el
And probably more.
Installation
homebrew
Homebrew is now the preferred way to install scimax. It should work on MacOS, Linux and Windows (via WSL). See https://github.com/jkitchin/homebrew-scimax for all the details.
First you should add the tap where the Formula is:
brew tap jkitchin/scimax
Then to install the default version:
brew install scimax
To get the cutting edge files from the git repository use this command.
brew install --head scimax
This will output some text that tells you how to load scimax in your init file. It will be adding something like this to ~/.emacs.d/init.el, or whatever file you use.
(load "/usr/local/opt/scimax/share/emacs/site-lisp/scimax/init.el")
If you install scimax by homebrew, you want some lines like this in your ~/.emacs.d/init.el file:
;; If you want preload variables
(load "/Users/jkitchin/Dropbox/emacs/user/preload.el")
;; This is what homebrew installed
(load "/usr/local/opt/scimax/share/emacs/site-lisp/scimax/init.el")
;; This points to your user.el file
(load "/Users/jkitchin/Dropbox/emacs/user/user.el")
archived methods
These probably still work, and of course you can set up scimax by simply cloning the repo and setting up your init file to load the parts of it you want.
Mac users
Run the next command in your terminal in the location you want to install scimax. The command will make sure you have homebrew, git, and emacs installed, and then will clone scimax and tell you how to use it. It will take some time to install. You need to install your own Python and LaTeX. These days I am using Python3 from Continuum IO and MacTeX from http://www.tug.org/mactex.
bash -c "$(curl -fsSL https://raw.githubusercontent.com/jkitchin/scimax/master/install-scimax-mac.sh)"
Alternative manual installation of scimax for Mac users
Alternatively, you can install homebrew yourself, install git from http://git-scm.com/download/mac, build your emacs like this:
brew install emacs --with-gnutls --with-imagemagick --with-librsvg --with-x11 --use-git-head --HEAD --with-cocoa
Alternatively, lately I have been using emacs-plus which claims to be faster for magit and has all those options enabled by default.
brew tap d12frosted/emacs-plus
brew install emacs-plus
This got me:
(emacs-version)
After that, I clone scimax like this:
git clone https://github.com/jkitchin/scimax.git
and launch emacs with:
emacs -q -l scimax/init.el
Note that scimax no longer loads your user files like it did before. You will need to add some lines to an init file to do this.
Linux users
Run this command. It checks for a git and emacs, but does not install them. You will have to use your package manager for that. You also need to install your own LaTeX and Python (and other languages you might want).
bash -c "$(curl -fsSL https://raw.githubusercontent.com/jkitchin/scimax/master/install-scimax-linux.sh)"
Windows users
Windows has always been the most difficult installation target, and it is the least maintained.
Install git (http://git-scm.com/download/win). Open a git bash terminal. Run this command.
bash -c "$(curl -fsSL https://raw.githubusercontent.com/jkitchin/scimax/master/install-scimax-win.sh)"
There is an emacs 25.2 binary in this repository for Windows. You should be able to run the scimax.sh command to launch scimax now.
Manual installation
You can use your own emacs if you have one (version 27 or more is recommended). You still have to install Python and LaTeX if you will be using those.
Clone the scimax repo where you want it.
git clone https://github.com/jkitchin/scimax.git
and launch emacs with:
emacs -q -l path/to/scimax/init.el
Alternatively, add scimax to your load path in your init file and just require what you want.
(setq scimax-dir "path/to/scimax")
(add-to-list 'load-path "path/to/scimax")
It is not uncommon to have to restart emacs a few times while all the packages from MELPA are installed. Windows seems to be like that.
Funding for scimax
scimax
development has been partially supported by the following grants:
- National Science Foundation (Award 1506770)
- Department of Energy Early Career Award (DESC0004031)
- You can sponsor
scimax
development at https://github.com/sponsors/jkitchin.