Skip to content

Instantly share code, notes, and snippets.

@phracker
Forked from dustinschultz/dblatex.rb
Last active January 27, 2022 15:05
Show Gist options
  • Save phracker/70c29891f38494675170 to your computer and use it in GitHub Desktop.
Save phracker/70c29891f38494675170 to your computer and use it in GitHub Desktop.
Updated dblatex install formula for Homebrew
require 'formula'
# BEFORE INSTALLING THIS FORMULA:
# 1.) Install MacTex or BasicTex from https://www.tug.org/mactex/
# 2.) Make yourself the owner of the tex installation directory:
# $ sudo chown -R "$(id -un):$(id -gn)" /usr/local/texlive
# 3.) Update tlmgr and install required packages
# $ tlmgr update --self
# $ tlmgr install appendix changebar footmisc multirow overpic stmaryrd subfigure titlesec wasysym
class Dblatex < Formula
env :userpaths
url 'http://downloads.sourceforge.net/project/dblatex/dblatex/dblatex-0.3.7/dblatex-0.3.7.tar.bz2'
homepage 'http://dblatex.sourceforge.net'
sha256 '59ce3fdfd4d6cf44beb8705d9267b7be7cb32d4f826834c861c5b7016c7e722e'
def install
system "python", "setup.py", "install", "--prefix=#{prefix}", "--install-scripts=#{bin}"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment