<\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> (plugin-configure world \ \ (:require #t)) \; (when (supports-world?) \ \ (display* "Using world plug-in!\\n")) 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. Assuming that the configuration succeeds, the predicate will evaluate to . In our example, the body of the statement corresponds to some further initialization code, which just sends a message to the standard output that we are using our plug-in. In general, this kind of initialization code 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>