summaryrefslogtreecommitdiff
path: root/scm
Commit message (Collapse)AuthorAgeFilesLines
* Add scheme engraver for StaffTab notationRicardo Wurmus2016-10-112-0/+345
| | | | | | The StaffTab notation is a system combining graphic elements of tablature with standard music notation and Emmett Chapman's finger symbols for notating tapping on a Chapman Stick.
* Issue 4974/1: Add output-attributes grob propertyPaul Morris2016-10-044-16/+23
| | | | | | It is used for setting multiple attributes on <g> nodes in SVG output, specified as an alist. The id grob property is no longer used for this.
* Issue 4972: Make music-filter more conservativeDavid Kastrup2016-09-281-9/+11
| | | | | | Deleting music when its 'elements field becomes null? led to repeat chords disappearing when articulations were removed.
* Issue 4968/3: Let stencil-whiteout-outline use degreesDavid Kastrup2016-09-191-7/+4
|
* Issue 4968/2: Replace coord-rotate with coord-rotatedDavid Kastrup2016-09-191-12/+23
| | | | Also fixes the look/definition of the high f# saxophone key.
* Issue 4968/1: Add coord-rotated functionDavid Kastrup2016-09-191-23/+9
| | | | Uses it for implementing coord-rotate.
* Keep a staff alive with multiple layersMark Knoop2016-09-081-6/+10
| | | | | | | | | | | | | | | | This allows the `VerticalAxisGroup.remove-layer' property to accept a list of values. The layer will stay alive with any other member of the Keep_alive_together_engrave group with a remove-layer value in that list. The principal reason for this patch was to allow the use of MarkLine contexts in a Frenched score, where the context should stay alive with any single staff in a StaffGroup. This implementation should also allow additional flexibility with ossia and divisi staves.
* Issue 4961/4: Simplify polar->rectangularDavid Kastrup2016-09-051-8/+2
|
* Issue 4960 Fix micro-tones assigned to strings in TabStaffThomas Morley2016-09-021-7/+15
| | | | | This is an oversight from issue 4643 Also extending input/regression/tablature-micro-tone.ly to cover this case.
* Issue 4959: output-ps.scm: remove unused helper functionsDavid Kastrup2016-08-241-19/+0
| | | | Their presence makes debugging harder by laying false trails.
* Issue 4956/2: Improve retrograde-music functionDavid Kastrup2016-08-211-22/+100
| | | | | This allows to work with ties and glissandi, makes somewhat useful changes for overrides, changes crescendi to descrescendi and vice versa.
* Issue 4954/1: Change spanner-id to be a key instead of a stringNathan Chou2016-08-134-6/+2
| | | | | | Also changes argument \= to be a key. Backport-by: David Kastrup <dak@gnu.org>
* Issue 4924: Fix the warning message for OTC fontsMasamichi Hosoda2016-07-181-1/+1
| | | | This commit fixes the warning message for OTC fonts.
* Issue 4923/2: Add closing a file in `scale-down-image`Masamichi Hosoda2016-07-141-0/+2
| | | | | This commit adds `close-port` for closing a file in `scale-down-image`.
* Issue 4923/1: Add closing a file in `is-collection-fonts?`Masamichi Hosoda2016-07-141-10/+13
| | | | | This commit adds `close-port` for closing a file in `is-collection-fonts?`.
* Issue 4918: Fix CFF flavored font embedding for multiple outputMasamichi Hosoda2016-07-111-21/+28
| | | | | | | | For multiple output (e.g. `-dbackend=eps`), conflict checking needs to be done within each output. Otherwise, the font which is embedded in the prior output is not embedded in the subsequent output.
* Issue 4909/2: Add checking conflicts between CFF flavored fontsMasamichi Hosoda2016-07-041-1/+26
| | | | | | This commit adds checking conflicts between fonts which have same name in 'CFF' table but different name in 'name' table.
* Issue 4902/2: Improve `-dgs-load-fonts` option for TTFMasamichi Hosoda2016-06-271-1/+6
| | | | | | | | | | `-dgs-load-fonts` loads fonts via Ghostscript. However, if a TrueType font (TTF) that does not have glyph names is loaded via Ghostscript, all characters are shown in TOFU. This commit lets `-dgs-load-fonts` loads those fonts in a way that is not via Ghostscript.
* Issue 4901: Improve `-dgs-load-fonts` option for OTC fontsMasamichi Hosoda2016-06-271-1/+18
| | | | | | | | | | `-dgs-load-fonts` loads fonts via Ghostscript. However, Ghostscript could not load OpenType/CFF Collection (OTC) fonts by this way. http://bugs.ghostscript.com/show_bug.cgi?id=696808 This commit lets `-dgs-load-fonts` loads the OTC fonts in a way that is not via Ghostscript.
* Issue 4900: Improve `-dgs-load-fonts` option for non-zero font-indexMasamichi Hosoda2016-06-271-12/+22
| | | | | | | `-dgs-load-fonts` loads fonts via Ghostscript. However, it could not load the font that has non-zero font-index. This commit lets it loads the font in a way that is not via Ghostscript.
* Issue 4895 Give SystemStartSquare a default of 5.0 for collapse-heightThomas Morley2016-06-221-0/+1
| | | | | | This ensures same behaviour of SystemStartSquare while using RemoveEmptyStaves as SystemStartBar, SystemStartBrace and SystemStartBracket. The latter ones already have this default.
* Issue 4883 Implement public definition of bar-line::draw-filled-boxThomas Morley2016-06-191-18/+30
| | | | | | | | | | | | bar-line::draw-filled-box calls the hereby renamed procedure bar-line::calc-blot to determine the blot diameter. It will be used in: make-simple-bar-line make-thick-bar-line make-tick-bar-line This simplifies user-customized bar-lines, which are build with ly:round-filled-box. No need to copy/paste the blot-calculating procedure anymore.
* Add halfopenvertical to script.scmCarl Sorensen2016-06-181-0/+7
|
* Issue 4866/1: Improve OTC fonts supportMasamichi Hosoda2016-06-181-16/+9
| | | | | | | | | This commit adds to distinguish font type without filename extension, and to switch font embedding method by font type. OpenType/CFF Collection (OTC) fonts which have filename extension `*.ttc' can be used.
* Issue 4889/2: Integrate Type1 font embedding proceduresMasamichi Hosoda2016-06-161-2/+2
| | | | | For embedding both PFA and PFB fonts are used the same procedure `ly:type1->pfa'.
* Add the non-default property to the KeySignature grobSteven Weber2016-06-121-1/+1
|
* Issue 4879: Display \time beat structure as listDavid Kastrup2016-06-091-1/+5
| | | | Example: \displayLilyMusic \time 1,2 3/4
* Issue 4875: Make define-session{,-public} privateDavid Kastrup2016-06-091-2/+2
| | | | | At the current point of time, their execution only makes sense in the lily module anyway.
* Issue 4874/2: Turn pitch-related settings into session variablesDavid Kastrup2016-06-093-6/+12
| | | | | This concerns pitchnames, default-language, previous-pitchnames, drumPitchNames, and chordmodifiers.
* Issue 4874/1: Don't overwrite pre-bound session variablesDavid Kastrup2016-06-091-11/+21
| | | | | This is necessary in order to use session variables in lily-imports.cc
* Issue 4868/2: Add limited embedding support for OTC fontsMasamichi Hosoda2016-06-061-1/+7
| | | | | | | | | | | | | | | | | This commit adds limited embedding support for OpenType/CFF Collection (OTC) fonts which have `*.otc' filename extension. Essentially, the extension of OTC font files should be `*.otc'. However, most of the OTC fonts have the extension `*.ttc' for backward compatibility. https://www.microsoft.com/typography/otspec/recom.htm So this is limited support because most of the OTC fonts cannot be used. TODO: distinguish files which have extension `*.ttc' whether TrueType Collection (TTC) fonts or OTC fonts.
* #4877: Revert #4747: (Remove (all) uses of is-absolute?)Urs Liska2016-06-032-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit f30a8189adbbeefa2103e2c2e194040f66bc2291 Author: Urs Liska <ul@openlilylib.org> Date: Tue Jan 19 10:52:33 2016 +0100 #4747: Remove (all) uses of is-absolute? ==================== As discussion revealed the commit message is not true and indicates a misconception. (car ly:input-file-line-char-column a-location) does *not* always return an absolute path, instead this depends on how the file path has been passed to LilyPond. As this commit changed the behaviour of point-and-click in a somewhat unintentional and unmaintainable way it is better to revert the commit. Especially as the original behaviour was not harmful. ======================== The check for absolute paths in in output-ps.scm and -svg.scm is unnecessary because (car ly:input-file-line-char-column a-location) always returns an absolute, slashified path Now is-absolute? is not used anymore by LilyPond itself. (reverted from commit f30a8189adbbeefa2103e2c2e194040f66bc2291)
* Function (_ ...) takes only one argumentDavid Kastrup2016-06-022-2/+2
|
* Issue 4858: Let define-session-public place variables natively into parserDavid Kastrup2016-05-311-4/+18
| | | | | | | | Putting them as native variables in the parser module (rather than using export/import) makes `set!' and `define' equivalent rather than having `define' create a shadowing definition of the session variable. That is important in order to avoid the values of the variable diverging between parser module and `lily'.
* Issue 4828/2: Add StaffSymbol.ledger-positions-functionPaul Morris2016-05-011-0/+3
| | | | | | Lets the user provide a (quoted) function that is used to determine the list of ledger positions for a given note head position.
* Issue 4828/1: Allow override of NoteHead.ledger-positionsPaul Morris2016-05-011-2/+4
| | | | | | Typical use case is: \once \override NoteHead.ledger-positions = #'(...) where the user specifies a list of ledger positions.
* 'embed-source-code should disregard Scheme-generated inputValentin Villenave2016-04-281-2/+5
| | | | | | | | (... for now at least). This fixes the include-string.ly regtest, and a few others, that previously could not be compiled when enabling the -dembed-source-code switch.
* Issue 4808 Make chord-naming robust against unsetting majorSevenSymbolThomas Morley2016-03-281-4/+6
| | | | | | | | This will likely be changed anyway as soon as rewriting chord-names is seriously tackled. At least it might be a reminder to take care of the possibility a user wants to unset majorSevenSymbol. Regtest amended.
* Issue 4798/3: Define key?, key-list?, key-list-or-music?, key-list-or-symbol?David Kastrup2016-03-192-0/+20
| | | | | | | | | | | | | | A key (previously a symbol) can be either a non-negative integer (obeying the predicate index?) or a symbol. When used for overrides/reverts, the first elements of a path may not actually be numbers but they are flagged as an error by other means: since a full override path can be the concatenation of several key lists, the leading elements are not treated differently by the list predicates. Strictly speaking this should not be the case for key-list-or-music? or key-list-or-symbol? predicates, but making them behave differently seems unwarranted. Arguably key-list-or-symbol? should possibly be key-list-or-key? instead.
* (Optionally) embed ly source files inside generated PDFValentin Villenave2016-03-072-16/+42
| | | | | | | | | | | | | | By using the new -dembed-source-code command line switch, users may now include their LilyPond source code in the generated PDF (using the pdfmark EMBED feature); although the PDF is not modified in any visible way, embedded .ly files should appear in viewers that support this feature (other viewers should degrade gracefully). This patch adds a new ly:source-files function (with an optional parser arg) that allows to retrieve the list of (non distribution-provided) ly files involved in making the current score.
* Define French as a separate input languageValentin Villenave2016-03-071-2/+109
| | | | | | | French users now have the ability to enter the D pitch as "ré" instead of Italian-like "re". In addition, the French input language accepts double sharps entered using the -x suffix.
* Issue 4776/1 font.scm: better svg defaults for font-familyPaul Morris2016-02-281-8/+11
| | | | | | if the user has not set the font, use a meaningful svg default ('serif' 'sans-serif' or 'monospace') for the font-family property
* Add \with-dimensions-from markup commandSimon Albrecht2016-02-161-0/+10
| | | | | | | | | | | | Issue 4766 This command acts as a front-end to \with-dimensions, taking the new dimensions from a markup object instead of having them explicitly given. Also provides a Changes.tely entry.
* Issue 4768 Support additional bass strings in TabStaffThomas Morley2016-02-162-13/+43
| | | | | | | | | | | - new context-property: additionalBassStrings - new regtest - new entries in NR, Changes Pitches on those additional bass strings will be printed as: a, /a, //a, ///a, 4, 5 ... as common for baroque lute, depending on settings for fretLabel and additionalBassStrings.
* Issue 4757 Introduce markup-list-command tableThomas Morley2016-02-091-0/+146
|
* make select-head-glyph and note-head::calc-glyph-name more robustThomas Morley2016-01-301-47/+55
| | | | | | Issue 4753 In case style is not a symbol.
* #4747: Remove (all) uses of is-absolute?Urs Liska2016-01-242-13/+5
| | | | | | | | | The check for absolute paths in in output-ps.scm and -svg.scm is unnecessary because (car ly:input-file-line-char-column a-location) always returns an absolute, slashified path Now is-absolute? is not used anymore by LilyPond itself.
* #4746: Fix is-absolute? on WindowsUrs Liska2016-01-241-1/+2
| | | | | | is-absolute? only looked for "?:/" and not for "?:\" to determine the drive letter on Windows. Therefore #(display (is-absolute? (ly-getcwd))) erroneously returned #f on Windows.
* Issue 4722 Introduce new markup-command draw-squiggle-line.Thomas Morley2016-01-191-0/+81
| | | | Change regtest /input/regression/markup-line-styles.ly accordingly
* Issue 4725 apply sign on orientation in make-bow-stencilThomas Morley2016-01-151-4/+2
| | | | This avoids ambiguity with bow-height and thickness