how to avoid barre and fingerboard shift in fret-diagram?
I'm using fret-diagram to print scales and finger patterns.
I'm having the following issues as shown in the picture.
#1 A capo is printed when I add an open string
=> I've added " (barre-type . none)" but it did not have any effect
=> I've tried to use the open string notation (3 o) instead of (3 0) but I get an error
(x86)/LilyPond/usr/share/lilypond/current/scm/fret-diagrams.scm:260:19: In procedure > in expression (> fretval maxfret):
C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/scm/fret-diagrams.scm:260:19: Wrong type argument in position 1: o
#2 In the second fret diagram when using an open string a capo is not printed but the fingerboard is shifted. If I replace "3-o" by "3-1-1"
% to allow to use other syntax of the fret-diagram syntax.
% the function accepts (string fret) pairs and i added a test to check if the first element of a
% (string fret) pair is a number append '(place-fret) otherwise just return the list