Re: spurious 'begin verbatim' in snippet

2010-10-21 Thread Francisco Vila
2010/10/21 Graham Percival gra...@percival-music.ca:
 On Wed, Oct 20, 2010 at 10:30:17AM -0600, Carl Sorensen wrote:
 On 10/20/10 9:59 AM, Francisco Vila paconet@gmail.com wrote:

  doctitle = Customizing fretboard fret diagrams
  } % begin verbatim
 
  \include predefined-guitar-fretboards.ly
  \storePredefinedDiagram #default-fret-table \chordmode { c' } % begin 
  verbatim
 
  it's OK to remove the second comment? I didn't know that the string
  did trigger the verbatim mode.

 Yes, please do.  It's probably my mistake.

 I suspect it comes from makelsr.py, though.  Is the version in
 Documentation/snippets/new/ ok?  If so, then it's the weird
 re.compile() regex in scripts/auxiliar/makelsr.py that's the
 problem.

There is no Documentation/snippets/new/customizing-*
Carl introduced the string (manually?) in d9d72186ca

-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com

___
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: spurious 'begin verbatim' in snippet

2010-10-20 Thread Carl Sorensen
Yes, please do.  It's probably my mistake.

Thanks,

Carl


On 10/20/10 9:59 AM, Francisco Vila paconet@gmail.com wrote:

 Hello.
 
 see
 Customizing fretboard fret diagrams
 Documentation/snippets/customizing-fretboard-fret-diagrams.ly
 lines 74 -- 81:
 
 doctitle = Customizing fretboard fret diagrams
 } % begin verbatim
 
 \include predefined-guitar-fretboards.ly
 \storePredefinedDiagram #default-fret-table \chordmode { c' } % begin verbatim
 
 #guitar-tuning
 #x;1-1-(;3-2;3-3;3-4;1-1-);
 
 
 The second '% begin verbatim' makes the snippet to appear truncated in
 NR 2.1.4 (v2.13) at
 
 http://lilypond.org/doc/v2.13/Documentation/notation/common-notation-for-frett
 ed-strings.html#Selected-Snippets-37
 
 it's OK to remove the second comment? I didn't know that the string
 did trigger the verbatim mode.
 --
 Francisco Vila. Badajoz (Spain)
 www.paconet.org , www.csmbadajoz.com
 
 ___
 lilypond-devel mailing list
 lilypond-devel@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-devel


___
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: spurious 'begin verbatim' in snippet

2010-10-20 Thread Graham Percival
On Wed, Oct 20, 2010 at 10:30:17AM -0600, Carl Sorensen wrote:
 On 10/20/10 9:59 AM, Francisco Vila paconet@gmail.com wrote:
 
  doctitle = Customizing fretboard fret diagrams
  } % begin verbatim
  
  \include predefined-guitar-fretboards.ly
  \storePredefinedDiagram #default-fret-table \chordmode { c' } % begin 
  verbatim
  
  it's OK to remove the second comment? I didn't know that the string
  did trigger the verbatim mode.

 Yes, please do.  It's probably my mistake.

I suspect it comes from makelsr.py, though.  Is the version in
Documentation/snippets/new/ ok?  If so, then it's the weird
re.compile() regex in scripts/auxiliar/makelsr.py that's the
problem.

Cheers,
- Graham

___
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel