Footnote oddity

2013-05-18 Thread Jean-Charles Malahieude

Hi all,

Here is something very odd when the text of a footnote is spread over 
more than one line: there are as many marks as the number of lines.


Using auto-footnote, each line get numbered.
attachment: oops.manual.png\version 2.17.16
#(set-default-paper-size a6)

FootA = \markuplist { \justified-lines {
% \super *) 
Lorem ipsum dolor sit amet, consectetur adipisicing
elit, sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua.  Ut enim ad minim veniam, quis nostrud exercitation ullamco
laboris nisi ut aliquip ex ea commodo consequat.
}}

\markuplist { \justified-lines {
Lorem ipsum dolor sit amet, consectetur adipisicing
elit, sed do eiusmod tempor incididunt ut labore et dolore magna
\auto-footnote aliqua. \FootA
%aliqua.\footnote \super *)  \FootA
Ut enim ad minim veniam, quis nostrud exercitation ullamco
laboris nisi ut aliquip ex ea commodo consequat.
}}___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Footnote oddity

2013-05-18 Thread Jean-Charles Malahieude

Hi all,

Here is something very odd when the text of a footnote is spread over 
more than one line: there are as many marks as the number of lines.


Using auto-footnote, each line get numbered.

Hit the wrong button...


Cheers,
Jean-Charles
attachment: oops.manual.png\version 2.17.16
#(set-default-paper-size a6)

FootA = \markuplist { \justified-lines {
% \super *) 
Lorem ipsum dolor sit amet, consectetur adipisicing
elit, sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua.  Ut enim ad minim veniam, quis nostrud exercitation ullamco
laboris nisi ut aliquip ex ea commodo consequat.
}}

\markuplist { \justified-lines {
Lorem ipsum dolor sit amet, consectetur adipisicing
elit, sed do eiusmod tempor incididunt ut labore et dolore magna
\auto-footnote aliqua. \FootA
%aliqua.\footnote \super *)  \FootA
Ut enim ad minim veniam, quis nostrud exercitation ullamco
laboris nisi ut aliquip ex ea commodo consequat.
}}

Oops-footnote.pdf
Description: Adobe PDF document
___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: Footnote oddity

2013-05-18 Thread David Kastrup
Jean-Charles Malahieude lily...@orange.fr writes:

 Here is something very odd when the text of a footnote is spread over
 more than one line:

That description is quite misleading.  You are not spreading the text
of a footnote over more than one line but are rather creating a markup
_list_ containing multiple markups.  Then you call \footnote with this
markup list as last argument, and since \footnote expects a single
markup, LilyPond creates one \footnote call for every element in the
markup list.

That's quite the same mechanism as the one used for things like
\color #red \justified-lines ...
and totally business as usual.

 there are as many marks as the number of lines.

 Using auto-footnote, each line get numbered.

Yes, that's exactly like it should be.

-- 
David Kastrup


___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: Footnote oddity

2013-05-18 Thread Jean-Charles Malahieude

Le 18/05/2013 18:29, David Kastrup disait :


Jean-Charles Malahieude address@hidden writes:


Here is something very odd when the text of a footnote is spread over
more than one line:


That description is quite misleading.  You are not spreading the text
of a footnote over more than one line but are rather creating a markup
_list_ containing multiple markups.  Then you call \footnote with this
markup list as last argument, and since \footnote expects a single
markup, LilyPond creates one \footnote call for every element in the
markup list.



Thanks. It is now very clear.

Here is how I succeed (it might be worth a snippet):

FootA = \markup { \justify {
Lorem ipsum dolor sit amet, consectetur adipisicing
elit, sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua.  Ut enim ad minim veniam, quis nostrud exercitation ullamco
laboris nisi ut aliquip ex ea commodo consequat.
\hspace #30 % for ragged-righting
\fill-line {
   
  \score {
\new Staff \relative c'' { c1 }
\layout { ragged-right = ##t indent = 0 }
  }
   
}
Victor jagt zwölf Boxkämpfer quer über den groߟen Sylter Deich.
}}

Cheers,
Jean-Charles

ps: forgot the list


___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond