Skip to main content
\( \newcommand{\lt}{<} \newcommand{\gt}{>} \newcommand{\amp}{&} \)

Section8.9mbx on Windows

At present, the mbx script assumes that your installation is similar to the one described in Appendix E. Making the mbx script Windows-compatible is an ongoing project. It is possible you may find a bug, which we would ask that you report. In addition, if you have followed the directions in Appendix E, then you will need to customize the mbx.cfg configuration file, which tells mbx where to find the helper programs it relies on. See below for the details.

The script uses a utility called pdfcrop to, well, crop PDF images generated by a engine. This utility has not been made to work in the Windows CMD shell. If you want to generate images on Windows, you should use the Git Bash shell as described in Section E.3.

  1. Copy the file

    /path/to/mathbook/script/mbx.cfg

    to

    /path/to/mathbook/user/mbx.cfg
  2. Replace the right-hand side of the entry for pdfpng with the full path name of the convert utility installed with ImageMagick (Section E.5), using forward slashes. It will be something like

    c:/ImageMagick-7.0.1-Q16/convert.exe