Skip to content

Install Paperback dependencies #112

Closed
croaky opened this Issue Jul 16, 2013 · 6 comments

3 participants

@croaky
thoughtbot, inc. member
croaky commented Jul 16, 2013

Should a thoughtbot laptop be ready to author e-books for http://learn.thoughtbot.com using Paperback (internal tool)? Mac version requires:

brew tap mistydemeo/homebrew-formulae
brew install pandoc
http://mirror.ctan.org/systems/mac/mactex/mactex-basic.pkg
brew install gs
brew install hub
brew install imagemagick
sudo tlmgr update --self
sudo tlmgr install upquote
sudo tlmgr install cm-super
@djcp
djcp commented Jul 19, 2013

I think this is a good idea and looks pretty easy.

The equivalent debian derivative packages are:

  • ghostscript
  • imagemagick (already installed, IIRC)
  • pandoc
  • cm-super
  • texlive
  • texlive-latex-extra

I'm happy to review a PR and add the debian equivalents if we go forward with this.

@croaky
thoughtbot, inc. member
croaky commented Jul 21, 2013

I believe TexLive is about 1.3 GB, so we don't want to download the whole thing if we can avoid it. Installing pandoc from the command line also seems to involve installing Haskell first in order to get cabal install. I'm leaning towards not adding these dependencies to Laptop for those reasons.

@croaky croaky referenced this issue in Homebrew/legacy-homebrew Jul 21, 2013
Closed

pandoc: 1.11.1 (new formula) #21373

@croaky
thoughtbot, inc. member
croaky commented Jul 22, 2013

There's a Homebrew tap to install the official binaries from pandoc's site, with no external dependencies:

brew tap mistydemeo/homebrew-formulae
brew install pandoc

https://github.com/mistydemeo/homebrew-formulae/blob/master/pandoc.rb

Might be able to follow the same pattern for MacTex.

@jferris
thoughtbot, inc. member
jferris commented Jul 26, 2013

Looks like the official Homebrew guys explicitly decided not to maintain a brew for Tex: Homebrew/legacy-homebrew#1087

This decision makes sense to me; I can't find a way to easily install Tex on OS X without using a GUI, though.

@jferris
thoughtbot, inc. member
jferris commented Jul 26, 2013

Also: for the Tex package, we've been using BasicTex: http://tug.org/mactex/morepackages.html

It has what we've needed for pandoc, and it's <100Mb to download.

@djcp
djcp commented Apr 4, 2014

This can probably be encapsulated in the new support for local overrides for those developers that want paperpack dependencies, I'm not sure enough folks work with paperback to have this in the core laptop script.

@djcp djcp closed this Apr 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.