Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3826)

Issue 13612043: Make user-generated tab-clefs possible

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by thomasmorley651
Modified:
10 years, 7 months ago
Reviewers:
Ian Hulin (gmail), dak
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Make user-generated tab-clefs possible Accumulates user-defined tab-clef-settings in 'clefs-settings-list' via 'make-clef-settings'. Possible are settings for font-family, font-name and, optional, a new markup. Makes the markup-command 'custom-tab-clef' more generic to use this list with the modified 'clef::print-modern-tab-if-set'. The new clefs can be used as \clef <name> They are stored per session in 'supported-clefs' and 'c0-pitch-alist'

Patch Set 1 #

Patch Set 2 : Remove tabs #

Patch Set 3 : Remove tabs #

Total comments: 3

Patch Set 4 : Addressing Ian's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -26 lines) Patch
A input/regression/alternative-tab-clefs.ly View 1 chunk +92 lines, -0 lines 0 comments Download
M scm/parser-clef.scm View 2 chunks +2 lines, -2 lines 0 comments Download
M scm/tablature.scm View 1 2 3 1 chunk +63 lines, -24 lines 0 comments Download

Messages

Total messages: 6
thomasmorley651
Remove tabs
10 years, 7 months ago (2013-09-07 22:39:16 UTC) #1
thomasmorley651
Remove tabs
10 years, 7 months ago (2013-09-07 22:39:59 UTC) #2
thomasmorley651
Hi, please review.
10 years, 7 months ago (2013-09-07 22:45:00 UTC) #3
Ian Hulin (gmail)
Nit-pick re comment wording. "is valuated by" isn't really clear, is it a 'sounds-like' error ...
10 years, 7 months ago (2013-09-08 00:08:46 UTC) #4
thomasmorley651
Addressing Ian's comment
10 years, 7 months ago (2013-09-08 21:00:18 UTC) #5
dak
10 years, 7 months ago (2013-09-08 21:05:25 UTC) #6
https://codereview.appspot.com/13612043/diff/6001/scm/parser-clef.scm
File scm/parser-clef.scm (right):

https://codereview.appspot.com/13612043/diff/6001/scm/parser-clef.scm#newcode23
scm/parser-clef.scm:23: (define-session-public supported-clefs
Huh.  I though we had that already.

https://codereview.appspot.com/13612043/diff/6001/scm/tablature.scm
File scm/tablature.scm (right):

https://codereview.appspot.com/13612043/diff/6001/scm/tablature.scm#newcode46
scm/tablature.scm:46: (define*-public (make-clef-settings name font-family
font-name #:optional text)
Nobody will remember the order and meaning of the options.  One could use named
arguments, but since you are providing a "text" anyway, I'd make that
non-optional and leave everything else away.  As text can be a markup, it can
call upon font-family and/or font-name itself as required.

Depending on how much preformatting you want to provide, you can accept a markup
list instead of a single markup and create a center-column (or whatever else)
from it.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b