File: prefs_lilypond_autoversion.md

package info (click to toggle)
frescobaldi 3.0.0~git20161001.0.eec60717%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 19,792 kB
  • ctags: 5,843
  • sloc: python: 37,853; sh: 180; makefile: 69
file content (27 lines) | stat: -rw-r--r-- 664 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
=== Automatically choose LilyPond version from document ===
    
If this setting is enabled, the document is searched for a
LilyPond `\version` command or a `version` document variable.

The LilyPond version command looks like:

```lilypond
\version "2.14.0"
```

The document variable looks like:

```
-*- version: 2.14.0;
```

somewhere (in a comments section) in the first or last 5 lines of the document.
This way the LilyPond version to use can also be specified in non-LilyPond
documents like HTML, LaTeX, etc.

If the document specifies a version, the oldest suitable LilyPond version
is chosen. Otherwise, the default version is chosen.


#SEEALSO
docvars