Hi, I cannot make a document hook work. According to the doc such a hook can be a script, but I have the following configuration error "unknown extension: bsh" (if I use a script with .bsh suffix). I've tried other extensions without any success.
Besides, I wonder how to write such a script so that an action is performed when opening and antother action is done on closing. BTW what are the expected arguments of the script? Is the first parameter is expected to be the file to parse? Shall the script write the result to the standard output? Any help on the subject is welcome. Thanks, BG

