Re: Can \markuplist prduce uneven width columns?

2019-11-27 Thread Peter Toye
Phil,

Good idea. But in terms of the extra work involved it's about the same, and 
IMHO less transparent, so I'll stick with altering the property for each 
wordwrap. I can probably put it into a function if I get bored.

Best regards,

Peter
mailto:lilyp...@ptoye.com
www.ptoye.com

-
Wednesday, November 27, 2019, 4:02:24 PM, Phil Holmes wrote:


If you don't want to alter baseline-skip, you could use combine and vspace:
 
\version "2.19.52"
 
\language "english"
 
\markuplist {
   \override #'(line-width . 80)
   \override #'(padding . 5)
   \override #'(baseline-skip .  2.5)
   \table #'(-1 -1)
   {
 \wordwrap {Bar 27}
 \wordwrap {This text is hopelessly garbled in the sources, which are also 
mutually inconsistent.
The editor has produced what he hopes is a performable 
version.} 
 \wordwrap {Bar 29}
 \combine \wordwrap { "in tempo" aligned but probably best on 6/16 (in 
neither of the primary sources).
 On experiment this has been found to work best} \vspace #1
   }
 }
 

--
Phil Holmes
 
 

- Original Message -
From: Peter Toye
To: Phil Holmes; lilypond-user@gnu.org
Sent: Wednesday, November 27, 2019 3:31 PM
Subject: Re: Can \markuplist prduce uneven width columns?

Phil,

Thanks - I've just found that out. There's an unwelcome interaction between 
\table and \wordwrap in that the same property - baseline-skip - is used to 
control both the distance between the lines of wordwrapped text and the 
distance between the table rows. The defaults give horrible results. So I have 
to keep on adjusting the value of the property which is a pain :(

\version "2.19.52"

\language "english"

\markuplist {
  \override #'(line-width . 80)
  \override #'(padding . 5)
  \override #'(baseline-skip .  5)
  \table #'(-1 -1)
  {
\wordwrap {Bar 27}
\override #'(baseline-skip . 2)
\wordwrap {This text is hopelessly garbled in the sources, which are also 
mutually inconsistent.
   The editor has produced what he hopes is a performable version.}
\wordwrap {Bar 29}
\override #'(baseline-skip . 2)
\wordwrap { "in tempo" aligned but probably best on 6/16 (in neither of the 
primary sources).
On experiment this has been found to work best}
  }
}

Best regards,

Peter
mailto:lilyp...@ptoye.com
www.ptoye.com

-
Wednesday, November 27, 2019, 3:14:27 PM, Phil Holmes wrote:


According to the NR, \wordwrap does what you have described: 
http://lilypond.org/doc/v2.19/Documentation/notation/formatting-text#text-alignment

--
Phil Holmes
 

Re: Can \markuplist prduce uneven width columns?

2019-11-27 Thread Phil Holmes
Re: Can \markuplist prduce uneven width columns? 
If you don't want to alter baseline-skip, you could use combine and vspace:



\version "2.19.52"
 
\language "english"
 
\markuplist {
   \override #'(line-width . 80)
   \override #'(padding . 5)
   \override #'(baseline-skip .  2.5)
   \table #'(-1 -1)
   {
 \wordwrap {Bar 27}
 \wordwrap {This text is hopelessly garbled in the sources, which are also 
mutually inconsistent.
The editor has produced what he hopes is a performable 
version.} 
 \wordwrap {Bar 29}
 \combine \wordwrap { "in tempo" aligned but probably best on 6/16 (in 
neither of the primary sources).
 On experiment this has been found to work best} \vspace #1
   }
 }
 


--
Phil Holmes




 - Original Message - 

From: Peter Toye 



To: Phil Holmes ; lilypond-user@gnu.org 



Sent: Wednesday, November 27, 2019 3:31 PM

 Subject: Re: Can \markuplist prduce uneven width columns?
 


Phil,
 
Thanks - I've just found that out. There's an unwelcome interaction between 
\table and \wordwrap in that the same property - baseline-skip - is used to 
control both the distance between the lines of wordwrapped text and the 
distance between the table rows. The defaults give horrible results. So I have 
to keep on adjusting the value of the property which is a pain :(
 
\version "2.19.52"
 
\language "english"
 
\markuplist {
   \override #'(line-width . 80)
   \override #'(padding . 5)
   \override #'(baseline-skip .  5)
   \table #'(-1 -1)
   {
 \wordwrap {Bar 27}
 \override #'(baseline-skip . 2)
 \wordwrap {This text is hopelessly garbled in the sources, which are also 
mutually inconsistent.
The editor has produced what he hopes is a performable version.}
 \wordwrap {Bar 29}
 \override #'(baseline-skip . 2)
 \wordwrap { "in tempo" aligned but probably best on 6/16 (in neither of 
the primary sources).
 On experiment this has been found to work best}
   }
 }
 
Best regards,
 
Peter
 mailto:lilyp...@ptoye.com
 www.ptoye.com
 
-
 Wednesday, November 27, 2019, 3:14:27 PM, Phil Holmes wrote:
 


  

  
  
  According to the NR, \wordwrap does what you have described: 
http://lilypond.org/doc/v2.19/Documentation/notation/formatting-text#text-alignment
   
  --
   Phil Holmes

   


Re: Can \markuplist prduce uneven width columns?

2019-11-27 Thread Peter Toye
Phil,

Thanks - I've just found that out. There's an unwelcome interaction between 
\table and \wordwrap in that the same property - baseline-skip - is used to 
control both the distance between the lines of wordwrapped text and the 
distance between the table rows. The defaults give horrible results. So I have 
to keep on adjusting the value of the property which is a pain :(

\version "2.19.52"

\language "english"

\markuplist {
  \override #'(line-width . 80)
  \override #'(padding . 5)
  \override #'(baseline-skip .  5)
  \table #'(-1 -1)
  {
\wordwrap {Bar 27}
\override #'(baseline-skip . 2)
\wordwrap {This text is hopelessly garbled in the sources, which are also 
mutually inconsistent.
   The editor has produced what he hopes is a performable version.}
\wordwrap {Bar 29}
\override #'(baseline-skip . 2)
\wordwrap { "in tempo" aligned but probably best on 6/16 (in neither of the 
primary sources). 
On experiment this has been found to work best}
  }
}

Best regards,

Peter
mailto:lilyp...@ptoye.com
www.ptoye.com

-
Wednesday, November 27, 2019, 3:14:27 PM, Phil Holmes wrote:


According to the NR, \wordwrap does what you have described: 
http://lilypond.org/doc/v2.19/Documentation/notation/formatting-text#text-alignment

--
Phil Holmes
 

Re: Can \markuplist prduce uneven width columns?

2019-11-27 Thread Phil Holmes
Can \markuplist prduce uneven width columns? 

According to the NR, \wordwrap does what you have described: 
http://lilypond.org/doc/v2.19/Documentation/notation/formatting-text#text-alignment


--
Phil Holmes




 - Original Message - 

From: Peter Toye 



To: lilypond-user@gnu.org 



Sent: Wednesday, November 27, 2019 12:08 PM

 Subject: Can \markuplist prduce uneven width columns?
 


I'm trying to write some editorial notes for a score, and would like to have 
the references in uneven-width word-wrapped columns. The effect I want is 
something like:
 
Bar 27This text is hopelessly garbled in the sources, which are also 
mutually
inconsistent. The editor has produced what he hopes is a performable
version.
 
Bar 28"in tempo" aligned but probably best on 6/16 (in neither  of the 
primary
sources
 
As fas as I can see, neither \markup nor \markuptext have this facility.
  
 Regards,
 
Peter
 mailto:lilyp...@ptoye.com
 www.ptoye.com

Re: Can \markuplist prduce uneven width columns?

2019-11-27 Thread Peter Toye
Marc,

Sorry, I was wrong - it seems that the column widths are adjusted to fit the 
text. Maybe a documentation issue.

Best regards,

Peter
mailto:lilyp...@ptoye.com
www.ptoye.com

-
Wednesday, November 27, 2019, 1:50:01 PM, Marc Mouries wrote:


you can obtain something close with the new \table markup-list command
http://lilypond.org/doc/v2.19/Documentation/notation/text-markup-list-commands
 
-- Marc

Re: Can \markuplist prduce uneven width columns?

2019-11-27 Thread Peter Toye
Thanks. I'd already found that, but there's no information on how to vary the 
width of the columns. It looks as if they're equally spaced, which is not 
useful here.

Best regards,

Peter
mailto:lilyp...@ptoye.com
www.ptoye.com

-
Wednesday, November 27, 2019, 1:50:01 PM, Marc Mouries wrote:


you can obtain something close with the new \table markup-list command
http://lilypond.org/doc/v2.19/Documentation/notation/text-markup-list-commands

On Wed, Nov 27, 2019 at 7:10 AM Peter Toye  wrote:

I'm trying to write some editorial notes for a score, and would like to have 
the references in uneven-width word-wrapped columns. The effect I want is 
something like:

Bar 27This text is hopelessly garbled in the sources, which are also 
mutually
   inconsistent. The editor has produced what he hopes is a performable
   version.

Bar 28"in tempo" aligned but probably best on 6/16 (in neither  of the 
primary
   sources

As fas as I can see, neither \markup nor \markuptext have this facility.
 
Regards,

Peter
mailto:lilyp...@ptoye.com
www.ptoye.com


-- 
-- Marc

Re: Can \markuplist prduce uneven width columns?

2019-11-27 Thread Marc Mouries
you can obtain something close with the new \table markup-list command
http://lilypond.org/doc/v2.19/Documentation/notation/text-markup-list-commands

On Wed, Nov 27, 2019 at 7:10 AM Peter Toye  wrote:

> I'm trying to write some editorial notes for a score, and would like to
> have the references in uneven-width word-wrapped columns. The effect I want
> is something like:
>
> Bar 27This text is hopelessly garbled in the sources, which are
> also mutually
>inconsistent. The editor has produced what he hopes is a performable
>version.
>
> Bar 28"in tempo" aligned but probably best on 6/16 (in neither  of
> the primary
>sources
>
> As fas as I can see, neither \markup nor \markuptext have this facility.
>
> Regards,
>
> Peter
> mailto:lilyp...@ptoye.com 
> www.ptoye.com
>


-- 
-- Marc


Can \markuplist prduce uneven width columns?

2019-11-27 Thread Peter Toye
I'm trying to write some editorial notes for a score, and would like to have 
the references in uneven-width word-wrapped columns. The effect I want is 
something like:

Bar 27  This text is hopelessly garbled in the sources, which are also mutually
inconsistent. The editor has produced what he hopes is a performable
version.

Bar 28  "in tempo" aligned but probably best on 6/16 (in neither  of the primary
sources

As fas as I can see, neither \markup nor \markuptext have this facility.
 
Regards,

Peter
mailto:lilyp...@ptoye.com
www.ptoye.com