Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # git clone solidity
- # see http://solidity.readthedocs.io/en/develop/installing-solidity.html#clone-the-repository
- git clone --recursive https://github.com/ethereum/solidity.git
- cd solidity
- # install packages z3 (theorem prover) and c++ boost lib to compile solidity as these are needed in archlinux
- # and probably other distros
- sudo pacman -S z3 boost
- # install haskell packages, cabal must have been installed beforehand
- cabal install haddock
- cabal install pandoc
- in file: scripts/docs.sh add line:
- set -e
- cd docs
- sphinx-build -nW -b html -d _build/doctrees . _build/html
- sphinx-build -nW -b latex -d _build/doctrees . _build/pdf
- cd ..
- # run docs.sh script
- ./scripts/docs.sh
- # does not work as latex does not preprocess svg. latex speaks of inputenc. Don't know how to configure
- # workaround: run inkspace and convert to png inside the _build/doctrees/pdf folder
- # edit solidity.latex and change the text from logo.svg to logo.png
- # do the same for solidity.fts (generated file?)
- # todo: find a better workaround
- # run pandoc from the sphinx generated _build/html folder. index.html is the starter page.
- pandoc -f html -t latex -o solidity.pdf index.html
- # there is one error, keep going by pushing enter until the dblatex command completes
- # display the PDF document, looks good
- evince solidity.pdf
- # hosted at
Add Comment
Please, Sign In to add comment