Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building on macOS Mojave #153

Open
corasaurus-hex opened this issue Jul 2, 2019 · 2 comments
Open

Building on macOS Mojave #153

corasaurus-hex opened this issue Jul 2, 2019 · 2 comments

Comments

@corasaurus-hex
Copy link

corasaurus-hex commented Jul 2, 2019

Just wanted to share how I got the HTML to build on macOS Mojave 10.4.5.

Dependencies:

Then use make html. To get the HTML to look right I had to move dist/index.html to the root of the git checkout and then open it (so ./assets/* and ./images/* could be found by the browser).

(NOTE: It might pay for the Makefile to copy ./assets and ./images into ./dist for the html target.)

@corasaurus-hex
Copy link
Author

corasaurus-hex commented Jul 2, 2019

To build the PDF I needed:

  • xquartz 2.7.11 (brew install Caskroom/cask/xquartz)
  • Java 8 (1.8.0_141) (I used asdf-java to install oracle-8.141 then set the asdf java version locally)
  • ghostscript 9.27 (brew install gs) (NOTE: ghostscript makes the pdf look nicer but it removes all links, so, leave this uninstalled if you prefer to have links from the ToC and stuff, although building will succeed and yet print an error at the end without this installed)

I did these steps from the root of the git clone:

  • rm -rf asciidoctor-fopub
  • git clone https://github.com/asciidoctor/asciidoctor-fopub (current commit is 15933455befd14434c3a144b29530f996844d302)
  • make pdf
  • open dist/clojurescript-unraveled.pdf

This was referenced Jul 2, 2019
@corasaurus-hex
Copy link
Author

corasaurus-hex commented Jul 2, 2019

To get mobi and epub to build I needed:

  • docbook-xsl 1.79.1 (brew install docbook-xsl)
  • calibre 3.44.0 (brew cask install calibre)

Then I just ran:

  • make mobi
  • make epub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant