lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: syntax highlighting in the doc, call for testers


From: Thomas Morley
Subject: Re: syntax highlighting in the doc, call for testers
Date: Thu, 2 Feb 2012 22:22:16 +0100

Hi Federico,

2012/2/2 Federico Bruni <address@hidden>:
> Il 02/01/2012 15:58, Thomas Morley ha scritto:
>>
>> I tested a file with a large scheme-definition.
>>
>> In the attached file you may notice some inconsequences:
>
>
> Hi Thomas,
>
> I have fixed the error in the scheme definition, so your file is highlighted
> correctly now.
> I've done also some other improvements.
>
> Anyone wishing to test it again is welcomed to do so, see files attached.
>
> Tip for quick testing:
>
> 1) copy all the .ly files you want to test in a directory along with the
> attached files
> 2) create the html subdirectory
> 3) run ./srchilite.sh
> 4) open all the .html files at once and check tab by tab
>
> I think that I'll submit the files "upstream" within saturday/sunday.
> We'll fix next bugs when we find them :-) (I'm aware of some minor bugs in
> markup blocks)
>
> Thanks,
> Federico

1. Am I right you resigned of every highlighting within scheme?
2. I noticed that the number "1" in R1 is in a different color than in
R1*8 (see the attached small file)

I found nothing more to worry about, but I hope there will be more
testers, I'm not the best to do this sort of work.

HTH,
  Harm
\version "2.14.2"

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Vertical space skip!
%
% Usage: \vspace #2
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

#(define-markup-command (vspace layout props amount) (number?)
  "This produces a invisible object taking vertical space."
  (let ((amount (* amount 3.0)))
    (if (> amount 0)
        (ly:make-stencil "" (cons -1 1) (cons 0 amount))
        (ly:make-stencil "" (cons -1 1) (cons amount amount)))))
      
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
%############### Melody ########################################################
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>{
	R1*8
    }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%########## 2. Stimme ##########################################################
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Two = {
		R1
		R1
		R1
		R1
		R1
		R1
		R1
		R1
	\bar "|."
    }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%################## Akkorde ####################################################
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

akkorde = 
\chords { c2. g4 | c2 g2 | c4 g4 d4:m d4 | g2 r2 | 
	c2 f4 c4 | f1 | c2 d4:m g4 | c2. r4 | }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]