Manual for the Morpho language
This is a version of the Morpho manual converted from the original LyX/TeX to an mdBook format.
To build the book, you need to have mdbook
installed. You can install it with cargo
:
cargo install mdbook
Then, you need to generate the figures and the reference section by running the build.py
script:
python build.py
(Make sure to change the libmorphofolder
path to your local libmorpho folder in the build.py
script. In the future, we will auto-download the help from GitHub.)
Finally, you can build the book by running mdbook
:
mdbook build
This will generate the HTML files in the book
directory. You can view the book by opening the index.html
file in your browser.
To preview the book, you can run the following command:
mdbook serve --open
Contributions are absolutely welcome! If you find any errors or have any suggestions, please open an issue or a pull request.
This manual is now available in Spanish as well, thanks to the wonderful contribution of Emmanuel Flores! The translation can be accessed on any page of the manual by clicking on the Globe icon in the top right and toggling between the languages.
Please get in touch with me if you want to suggest edits, or add in a a new translation!
I have documented more general instructions for setting up, adding and testing translation in the mdBook environment in a separate repository here.