In order to have a Calibre menu choice appear in Virtuoso Layout, normally adding the following line is all that’s needed:
;; Integrate Calibre menu load( strcat( getShellEnvVar("CALIBRE_HOME") "/shared/pkgs/icv/tools/queryskl/calibre.skl" ))
We use CALIBRE_HOME for our calibre home. If you use MGC_HOME, change the above line to MGC_HOME and you’re all set.
Since we use CALIBRE_HOME, we also needed to change some other files to use CALIBRE_HOME instead of MGC_HOME. A search and replace was all that was necessary to achieve this. The files that needed to change were:
in CALIBRE_HOME,
shared/pkgs/icv/tools/queryskl/calibre.skl
shared/pkgs/icv/tools/queryskl/mgc_calibre_menu.skl
shared/pkgs/icv/tools/queryskl/mgc_rve.skl