How to get GNU Octave running on macOS with GUI

Gnu-octave-logo Currently, the best option to install Octave on macOS with a stable graphical user interface is via homebrew (sorry macports). Get the latest formula from my repository

brew tap schoeps/homebrew-science
Pin the repository
brew tap-pin schoeps/homebrew-science
Now, install a development snapshot of octave (with GUI and java)
brew install octave --HEAD --with-qt --with-java
(This post was updated on Nov 29 due to the Sundials incompatibility)

How to build GNU Octave with Qt5 on the Mac

1503512The graphical user interface of Octave 4.0 can only be compiled with Qt4. Homebrew is dropping 4.x support and moving towards 5.x. Several Octave dependencies have already been updated (e.g. Qscintilla2, see e.g. this issue. However, the upcoming Octave 4.2 (release is scheduled for September 2016) will have full Qt5 as discussed here.

The standard installation uses the command line interface. If you need Octave with graphical user interface then this should work
brew update 
brew upgrade #to get the latest qscintilla
brew install octave --with-gui --HEAD
Update: The post has been edited on Aug 20 since the new formula is now available in homebrew’s science repository.

TeX Live 2016 released

ctan_lion_350x350The new TeX Live 2016 was just released on 5 June 2016 with a few new features.
TeX Live is an easy way to get up and running with the TeX document production system. It provides a comprehensive TeX system with binaries for most flavors of Unix, including GNU/Linux, and also Windows. It includes all the major TeX-related programs, macro packages, and fonts that are free software, including support for many languages around the world. Continue reading →

UPDATE: How to compile Octave 4 on OS X Yosemite

On savannah, a patch to Octave’s classdef header files has been posted that allows to compile Octave with clang. There is a first build script for homebrew; also the gui works but has some minor interface bugs:

brew install https://raw.githubusercontent.com/schoeps/homebrew-science/octave/octave.rb

UPDATE: Octave 4 is now included in the science repository:
brew tap homebrew/science
brew install octave

Patches and a compile script for FINK user can be found after the jump. Continue reading →

Alfred2 Workflows (Update 2)

Alfred Bibdesk Worklow in action
Alfred Bibdesk Worklow in action
I have written some workflows for Alfred which should make the life of people working with an Apple Mac in science (mathematics, physics, engineering, …) more comfortable, see the Code section. For those who do not know Alfred: it is an “productivity application” or a very feature rich application launcher if you like. Alfred is based on spotlight but significantly increases its flexibility.

Update: All workflow include alleyoop updates.

You probably need to buy the Powerpack to use the workflows.