kellertuer / mathbin

Binaries for mathematicians

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mathbin

This repository contains some shell scripts for e.g.

  • Fetching bibliography entries from mathscinet (msc), zentralblatt (zentralblatt), arXiv (arxiv2bibtex)
  • Fetching pdf from DOI (doi2pdf, bibtex2pdf, also arxiv2pdf)
  • Preparing LaTeX files for submission (used_...)

Usage with Mac OS

Most of the scripts and tools provided here work directly with Mac OS. This is tested with Mac OS 11 Big Sur, but should work with Mac OS 10.15 Catalina as well, maybe even earlier; just note that with Catalina zsh got the default shell. The issue is, that two tools are missing/wrong

  • grep is different from the GNU grep used here (especially the option -P is not available on Mac OS)
  • curl is missing

You can install these using your favourite package manager, here's how to solve both points with homebrew.

switch from grep to GNU grep

Install GNU grep using

brew install grep

which makes the GNU grep available as ggrep. To then exchange both, i.e. make GNU grep the default, add the line PATH="$(brew --prefix)/opt/grep/libexec/gnubin:$PATH" to your .zshrc for example using

echo '\nexport PATH="$(brew --prefix)/opt/grep/libexec/gnubin:$PATH"' >> ~/.zshrc

Install curl

curl is available as a brew formula, so it can be installed using

brew install curl

About

Binaries for mathematicians

License:GNU General Public License v3.0


Languages

Language:Shell 73.2%Language:PHP 17.6%Language:Perl 7.6%Language:Python 1.6%