Skip to content

Instantly share code, notes, and snippets.

@dustinschultz
Created September 13, 2013 18:09
Show Gist options
  • Save dustinschultz/6554087 to your computer and use it in GitHub Desktop.
Save dustinschultz/6554087 to your computer and use it in GitHub Desktop.
Install AsciiDoc on Mac OS X
Install Homebrew - ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
Install MacTex - http://tug.org/mactex/
brew install asciidoc
brew edit dblatex
copy and paste content here https://gist.github.com/dustinschultz/6544364
brew install dblatex
@akosma
Copy link

akosma commented Sep 15, 2013

Thanks for this, it works perfect! I've used it for https://github.com/akosmasoftware/eBook-Template

@gnperdue
Copy link

Hi, thanks for positing this. I run into a problem with step 4 though:

~$ brew edit dblatex
Error: No available formula for dblatex

Any hints?

@dustinschultz
Copy link
Author

Create a new file here: /usr/local/Library/Formula/dblatex.rb and copy and paste the formula or

curl -o /usr/local/Library/Formula/dblatex.rb https://gist.github.com/dustinschultz/6544364/raw/5bbe233fbe953b8070c5453fdf09cd65eb515e9e/dblatex.rb

@mcandre
Copy link

mcandre commented Jan 30, 2015

Could we please publish this formula to the official Homebrew repository?

Update

Homebrew defers to pip for Python packages.

I'm able to successfully install dblatex with pip install dblatex!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment