> The reason that I didn't include any files was that I couldn't find
> any documentation on how to include Scheme files.

What makes you believe that your code is a Scheme file?  The given
example uses

```
\override foo.bar = #(...some Scheme code...)
```

This is standard LilyPond syntax, which wraps Scheme code into a
`#(...)` construction.  Consequently, you can use `\include` in the
normal way.

There also exists a `#{...#}` contruction, which allows to wrap
LilyPond code within Scheme code, for example

```
\override foo.bar = #(
  ... some Scheme code ...
  #{ ... some LilyPond code ... #}
  ... some Scheme code ...
)
```

This often makes it very simple to write Scheme extensions.

BTW, LilyPond actually contains real Scheme files, having the file
name extension `.scm` (such files can be found in the `scm`
subdirectory of LilyPond's data directory tree).  They are loaded at
start-up with a different mechanism, and 'normal' users don't need to
know the exact details how it is done.


    Werner

Reply via email to