Skip to main content

Section 9.8 mbx Capabilities

Again, the command mbx -h will remind you of the various options for the script. The followinng is a brief summary, in general terms, of what is possible.

Graphics

has a variety of languages for specifying images, such as xypic, pgfplots, and TikZ. By including the necessary pacakges or setup commands in docinfo/latex-preamble, these can all be generated at once, in the manner of the example earlier.

Asymptote

Images described by the Asymptote language can be processed in a manner entirely similar to that for images described with graphics languages. This requires having the asy executable on your system and locatable via the mbx configuration file.

Sage Plot

If you have a version of Sage installed on your system, you can specify the path to the executable and obtain images described by Sage code. See the sample article for more information.

All Formats

If you desire images in a wide variety of formats, the option -f all will oblige.

YouTube Thumbnails

For each YouTube video (or itemized playlist) you specify, the script will go the YouTube site and grab a thumbnail image for that video (or first video from the itemized playlist). These get used in static formats, such as PDF.

WeBWorK

Various conversions of WeBWorK problems are facilitated through communication with a WeBWorK server. This server is specified as an argument to the -s option. See Chapter 10 for the details of this procedure.