]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/general-scheme.cc
Reduce size of PDF files when inc. in *TeX docs
[lilypond.git] / lily / general-scheme.cc
index 2ab34a086f58dffe1d098c1addfb388ab2237528..068fb27aad255427f4c6239bfa8c370242985a19 100644 (file)
@@ -302,6 +302,14 @@ LY_DEFINE (ly_output_formats, "ly:output-formats",
   return lst;
 }
 
+LY_DEFINE (ly_bigpdfs, "ly:bigpdfs",
+           0, 0, 0, (),
+           "Return true if the command line includes the @option{--bigpdf} parameter."
+)
+{
+  return bigpdfs ? SCM_BOOL_T : SCM_BOOL_F;
+}
+
 LY_DEFINE (ly_wide_char_2_utf_8, "ly:wide-char->utf-8",
            1, 0, 0, (SCM wc),
            "Encode the Unicode codepoint @var{wc}, an integer, as UTF-8.")