From f6de00c5c9a0f1a46d83638b10b0450778d17b23 Mon Sep 17 00:00:00 2001 From: hanwen Date: Sun, 3 Apr 2005 20:29:46 +0000 Subject: [PATCH] document ly:set-option. --- ChangeLog | 10 ++++++++++ Documentation/user/point-and-click.itely | 18 +++++++++++++----- lily/main.cc | 3 +++ 3 files changed, 26 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8850cce452..baf8e289df 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2005-04-03 Han-Wen Nienhuys + + * Documentation/user/point-and-click.itely: document ly:set-option. + + * lily/grob.cc (get_uncached_stencil): only ste grob-cause if + point_and_click_global is set. + + * lily/scm-option.cc (LY_DEFINE): add point-and-click + ly:set-option argument. + 2005-04-03 Jan Nieuwenhuizen * GNUmakefile.in: Include symlinks in webball. diff --git a/Documentation/user/point-and-click.itely b/Documentation/user/point-and-click.itely index 0e81969711..5db84e7c7c 100644 --- a/Documentation/user/point-and-click.itely +++ b/Documentation/user/point-and-click.itely @@ -3,11 +3,6 @@ @cindex point and click - - -@cindex source specials -@cindex specials, source - Point and click lets you find notes in the input by clicking on them in the PDF viewer. This makes it easier to find input that causes some error in the sheet music. @@ -83,3 +78,16 @@ emacsclient --no-wait +%(line)s:%(column)s %(file)s for @code{LYEDITOR} is equivalent to the standard emacsclient invocation. + +@cindex file size, output + +The point and click links enlarge the output files significantly. For +reducing the size of PDF and PS files, point and click may be switched +off by issuing + +@example + #(ly:set-option 'point-and-click #f) +@end example + +@noindent +in a @file{.ly} file. diff --git a/lily/main.cc b/lily/main.cc index 351adc8ed3..80095fa9af 100644 --- a/lily/main.cc +++ b/lily/main.cc @@ -61,6 +61,9 @@ String output_name_global; /* Run in safe mode? */ bool be_safe_global = false; +/* Provide URI links to the original file */ +bool point_and_click_global = true; + /* Verbose progress indication? */ bool be_verbose_global = false; -- 2.39.5