<\body> code> plug-in> Consider the plug-in in the directory <\verbatim> \ \ \ \ $TEXMACS_PATH/examples/plugins This plug-in shows how to extend with some additional code in the file <\verbatim> \ \ \ \ In order to test the plug-in, you should recursively copy the directory <\verbatim> \ \ \ \ $TEXMACS_PATH/examples/plugins/world to or . When relaunching , the plug-in should now be automatically recognized (a menu should appear in the menu bar). The file essentially contains the following code: <\scm-code> (define (world-initialize) \ \ (display* "Using world plug-in!\\n")) \; (plugin-configure world \ \ (:require #t) \ \ (:initialize (world-initialize))) The configuration option specifies a condition which needs to be satisfied for the plug-in to be detected by (later on, this will for instance allow us to check whether certain programs exist on the system). The configuration is aborted if the requirement is not fulfilled. The option specifies an instruction which will be executed during the initialization (modulo the fulfillment of the requirement). In our example, we just send a message to the standard output that we are using our plug-in. In general, the initialization routine should be very short and rather load a module which takes care of the real initialization. Indeed, keeping the .scm> files simple will reduce the startup time of . <\initial> <\collection>