diff --git a/chant.php b/chant.php
index af78219..361231e 100644
--- a/chant.php
+++ b/chant.php
@@ -240,6 +240,33 @@ if($c['gabc_verses'] || $c['tex_verses']){
}
echo "\n";
}
+
+echo "
Open with external tool
\n\n";
+$gabc = (($c['office-part'] && $txt['usage_s'][$c['office-part']] > '')?'annotation: '.$txt['usage_s'][$c['office-part']]."\n":'');
+$mode_r = False;
+if($c['mode'] > '') {
+ if($c['mode'] == 'p') {
+ $mode = "T. pereg.";
+ } elseif(in_array($c['mode'], array('c','d','e'))) {
+ $mode = strtoupper($c['mode']).($c['mode_var']?' '.$c['mode_var']:'');
+ } else {
+ $mode = $c['mode'].($c['mode_var']?' '.$c['mode_var']:'');
+ }
+}
+if($mode) $gabc .= "annotation: $mode\n";
+$gabc .= "%%\n";
+if(is_string($content)) {
+ $gabc .= $content."\n";
+} elseif(is_array($content)) {
+ foreach($content as $e) {
+ if($e[0] == 'gabc') $gabc .= $e[1]."\n";
+ }
+}
+echo '- Illuminare Score editor
+- Source & Summit Editor
+';
+echo "
\n";
+
if($c['remarks'] > '') {
echo "Remarks
\n\n";
}