On 11/3/23 9:31 AM, Jean Abou Samra wrote:
Le vendredi 03 novembre 2023 à 09:13 -0700, Paul Scott a écrit :
Thank you! I thought it was a type problem. The solution would have
been clear in C or Fortran or Pascal or Forth that I have programmed in.
Except that it doesn't work /blush/...
On 11/3/23 2:43 AM, Jean Abou Samra wrote:
Le 3 nov. 2023 à 09:35, Paul Scott a écrit :
\markup\fill-line{ \firstPage }
59 is a number, but you're trying to use it as a string, so try
\markup \fill-line { #(markup->string firstPage) }
I tried:
\version "2.25.9"
firstPage = #59
\book{
Le vendredi 03 novembre 2023 à 09:13 -0700, Paul Scott a écrit :
> Thank you! I thought it was a type problem. The solution would have
> been clear in C or Fortran or Pascal or Forth that I have programmed in.
Except that it doesn't work *blush*...
I wanted to write "number->string" and some
Thank you! I thought it was a type problem. The solution would have
been clear in C or Fortran or Pascal or Forth that I have programmed in.
Paul
On 11/3/23 2:43 AM, Jean Abou Samra wrote:
Le 3 nov. 2023 à 09:35, Paul Scott a écrit :
\markup\fill-line{ \firstPage }
59 is a number, but
> Le 3 nov. 2023 à 09:35, Paul Scott a écrit :
>
> \markup\fill-line{ \firstPage }
59 is a number, but you're trying to use it as a string, so try
\markup \fill-line { #(markup->string firstPage) }
On 11/3/23 12:42 AM, Jean Abou Samra wrote:
Le 3 nov. 2023 à 07:56, Paul Scott a écrit :
I know how to use fromproperty to put the page number in a header or
footer. Can I get the page number in a variable so I can use it in
another text string?
It depends on what kind of variable you ar
> On 3 Nov 2023, at 08:43, Jean Abou Samra wrote:
>
>>> Le 3 nov. 2023 à 07:56, Paul Scott a écrit :
>>>
>> I know how to use fromproperty to put the page number in a header or footer.
>> Can I get the page number in a variable so I can use it in another text
>> string?
>
>
> It depends
> Le 3 nov. 2023 à 07:56, Paul Scott a écrit :
> I know how to use fromproperty to put the page number in a header or footer.
> Can I get the page number in a variable so I can use it in another text
> string?
It depends on what kind of variable you are talking about and what you want to
2.25.9
I know how to use fromproperty to put the page number in a header or
footer. Can I get the page number in a variable so I can use it in
another text string?
TIA,
Paul