Am 05.02.2018 um 10:07 schrieb Blöchl Bernhard:
Am 04.02.2018 23:56, schrieb Simon Albrecht:
On 04.02.2018 14:19, bb wrote:
It is not really endless but the tab does not have any line break.
If I try to insert \break this will be ignored? There must be
something wrong with my code I cannot figure out?
Thanks for help
\version "2.19.80"
\new TabStaff {
\set TabStaff.tablatureFormat =
#fret-number-tablature-format-banjo
\set TabStaff.stringTunings = #banjo-open-g-tuning
%\set TabStaff.stringTunings = #(four-string-banjo
banjo-c-tuning)
\tabFullNotation
\stemDown
cis'''16\1 c'''16.\1 b''8\1 ais''8.\1 a''4\1 gis''4.\1 g''2\1
fis''2.\1 f''1\1 e''1.\1 dis''\1 d''\1 cis''\1 c''\1 b'\1 ais'\1
a'\1 gis'\1 g'\1 fis'\1 f'\1 e'\1 dis'\1 d'\1 g'\3 ais''\2 a''\2
e'\3 g''\2 fis''\2 f''\2 e''\2 dis''\2 d''\2 cis''\2 c''\2 b'\2
ais'\2 a'\2 gis'\2 g'\2 fis'\2 f'\2 e'\2 dis'\2 d'\2 cis'\2 c'\2 b\2
g'\3 fis'\3 f'\3 e'\3 dis'\3 d'\3 cis'\3 c'\3 b\3 ais\3 a\3 gis\3
g\3 d'\4 cis'\4 c'\4 b\4 ais\4 a\4 gis\4 g\4 fis\4 f\4 e\4 dis\4 d\4
d\4 dis\4 e\4 f\4 fis\4 g\4 gis\4 a\4 ais\4 b8\4 < c'\4 cis'\4 d'\4
>4 < g''\5 gis''\5 a''\5 ais''\5 >8 }
First, that’s gruesome code formatting. Use line breaks to make your
code readable by splitting it into chunks that one may sensibly grasp.
Second, use bar checks in order to find rhythmic typos/errors.
Third, if you want breaks mid-note, use \remove
"Forbid_line_break_engraver".
Best, Simon
This code is generated automaticly, nice isn't it?
No, it isn't.
If it *is* generated then nothing should stop you from generating it in
a way that people you want to comment can actually read it.
The editor preset of frescobaldi is NOT to wrap long text. Change it
if you are annoyed.
That doesn't really help. if the code is as unstructure as this. OK, it
is not the only way to happiness, but there are many good reasons to
format one's code so that it wraps reasonably by itself, that is usually
by not exceeding ~80 characters per line.
Or of course less if there's useful sectioning available.
The question of lilypond setting barlines or not automaticly is still
open in my opinion. Lilypond is a nice program but does not use its
intelligence perfectly for the good of the user.
Programs that use their "intelligence" in a way you suggest they should
tend to know better than their users, which is not always the best choice.
Beside: There is spread a rumour on the list that I want lilypond to
override my settings if wrong or not. But indeed I like to get
informed by a warning etc.
If you want a warning then simply use the tools LilyPond provides for
that: barchecks (and bar number checks). They are a great way of making
your code better to understand, BTW.
I would appreciate the code David Kastrup sent me referred to this
"gruesome code" (thanks) becoming part of lilypond standard to get
such a message to help dummy users as myself.
Regards
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user