A Homebrew tap for installing rxiv-maker, an automated LaTeX article generation system.
- macOS 10.15+ or Linux
- Homebrew package manager
# Add the tap
brew tap henriqueslab/rxiv-maker
# Install rxiv-maker
brew install rxiv-maker
rxiv-maker requires additional system dependencies for full functionality:
# Install LaTeX distribution (recommended)
brew install --cask mactex
# Or minimal LaTeX installation
brew install --cask basictex
# Git is usually pre-installed with Xcode Command Line Tools
# If not available:
xcode-select --install
# Ubuntu/Debian
sudo apt-get update
sudo apt-get install texlive-full git make
# Fedora/CentOS/RHEL
sudo dnf install texlive-scheme-full git make
# Arch Linux
sudo pacman -S texlive-most git make
After installation, the rxiv
command will be available in your PATH:
# Initialize a new manuscript
rxiv init
# Generate PDF
rxiv pdf
# Show help
rxiv --help
# Check version
rxiv version
# Update Homebrew and all packages
brew update && brew upgrade
# Update only rxiv-maker
brew upgrade rxiv-maker
# Remove rxiv-maker
brew uninstall rxiv-maker
# Remove the tap (optional)
brew untap henriqueslab/rxiv-maker
rxiv-maker is installed in an isolated Python virtual environment to avoid conflicts with system Python packages. This follows Python PEP 668 best practices.
If you encounter LaTeX compilation errors:
- Ensure MacTeX or BasicTeX is installed
- Add LaTeX to PATH:
echo 'export PATH="/usr/local/texlive/2023/bin/universal-darwin:$PATH"' >> ~/.zshrc
- Reload shell:
source ~/.zshrc
- Verify:
which pdflatex
- Install full TeXLive distribution for best compatibility
- Verify LaTeX installation:
pdflatex --version
- For Ubuntu/Debian:
sudo apt-get install texlive-latex-extra texlive-fonts-recommended
If you encounter permission errors:
# Fix Homebrew permissions
sudo chown -R $(whoami) $(brew --prefix)/*
# Or reinstall Homebrew (if issues persist)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
If rxiv
command is not found:
# Check if Homebrew bin is in PATH
echo $PATH | grep $(brew --prefix)/bin
# Add to PATH if missing (zsh)
echo 'export PATH="/opt/homebrew/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
# Add to PATH if missing (bash)
echo 'export PATH="/opt/homebrew/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile
This tap automatically tracks releases from the official rxiv-maker PyPI package.
To manually update the formula:
- Check the latest version on PyPI
- Update
Formula/rxiv-maker.rb
- Calculate new SHA256:
brew fetch --build-from-source rxiv-maker
- Test the formula:
brew install --build-from-source rxiv-maker
# Test formula syntax
brew audit --strict rxiv-maker
# Test installation
brew install --verbose --debug rxiv-maker
# Test functionality
rxiv --help
- rxiv-maker Issues: GitHub Issues
- Tap Issues: GitHub Issues
- Documentation: rxiv-maker README
- Homebrew Docs: Formula Cookbook
This tap is licensed under the MIT License. See LICENSE for details.
The rxiv-maker software is separately licensed. See the rxiv-maker repository for its license terms.