Re: Frescobaldi issue 16: .ly is missing by saving

2023-05-30 Thread Federico Bruni
You are the only one so far reporting that .ly is not automatically 
added.

Maybe it's because you are using an older version of KDE Plasma.

Il giorno lun 29 mag 2023 alle 17:06:17 -0500, jimmyg...@gmail.com ha 
scritto:

Federico,

Just tested with my system, FB 3.3.0 (Flatpak install) did NOT add 
the .ly extension.


I'm running MXLinux 21.3, based on Debian 11.7, KDE Plasma 5.20.5.


On Mon, May 29, 2023 at 22:47, Federico Bruni  
wrote:

Hi all

I'm wondering if we can close this old Frescobaldi issue:
<https://github.com/frescobaldi/frescobaldi/issues/16>

In some desktops (like GNOME) Frescobaldi used to save a new file 
without the .ly file extension. This is no longer the case today, at 
least on Windows 10 and GNOME Linux.
Can you please report what happens in other OSes and desktop 
environments?


We are missing feedback from MacOS and KDE Linux in particular, but 
any comment is helpful.


Thanks
Federico







Frescobaldi issue 16: .ly is missing by saving

2023-05-29 Thread Federico Bruni

Hi all

I'm wondering if we can close this old Frescobaldi issue:
https://github.com/frescobaldi/frescobaldi/issues/16

In some desktops (like GNOME) Frescobaldi used to save a new file 
without the .ly file extension. This is no longer the case today, at 
least on Windows 10 and GNOME Linux.
Can you please report what happens in other OSes and desktop 
environments?


We are missing feedback from MacOS and KDE Linux in particular, but any 
comment is helpful.


Thanks
Federico





Re: Point and click with gvim under Fedora 38

2023-05-02 Thread Federico Bruni
Il giorno mar 2 mag 2023 alle 19:30:46 +1000, Andrew Bernard 
 ha scritto:
Trying to use gvim, due to the problem that Frescobaldi becomes 
unreasonably sluggish with my very large scores, no matter what 
clever tricks I use to chop them up.


This is:


Wilbert suggested a workaround:

"""
the freeze happens because Frescobaldi looks in all the included 
documents for things like set output-suffix etc. You can avoid this by 
setting the output document variable.

"""

I don't have a large score to do a test.




Re: Point and click with gvim under Fedora 38

2023-05-02 Thread Federico Bruni



Il giorno mar 2 mag 2023 alle 17:44:04 +1000, Andrew Bernard 
 ha scritto:
A few years ago I penned a guide to getting lilypond PDF point and 
click going with gvim under Ubuntu.


Time has moved on and that guide is no longer right for Fedora 38.

Does anybody have gvim going with Fedora and if so, could they 
outline some pointers?


It sort of works but shows unwanted junk at the bottom of the window, 
worse than it used to in Ubuntu.




IIRC Evince (GNOME) doesn't allow point and click anymore. Maybe 
there's a way to unlock it, but I'm not motivated to investigate.


Which desktop environment and PDF viewer are you using?




Re: frescobaldi themes

2023-04-30 Thread Federico Bruni

Ok, I see now.
Themes are usually desktop themes. In this case we are talking about 
the color schemes of the Frescobaldi editor.


No way to install them at once, according to:
https://github.com/frescobaldi/frescobaldi/issues/1157

I think that Frescobaldi should include at least one dark scheme 
besides the default light one.




Il giorno ven 28 apr 2023 alle 11:17:13 +0200, Gianmaria Lari 
 ha scritto:

Ciao Federico,

I'm using windows 11.

I downloaded frescobaldi themes here 
https://github.com/frescobaldi/frescobaldi-themes  (I don't need a 
prettier environment but I cannot use a pc without a dark mode).



On Fri, 28 Apr 2023 at 10:52, Federico Bruni  
wrote:



Il giorno ven 28 apr 2023 alle 09:40:57 +0200, Gianmaria Lari 
 ha scritto:
Hope this is not off topic. Is there any way in Frescobaldi to 
install a bunch of themes all at once (instead of passing trough 
Edit -> Preferences -> Fonts & Colors etc.) ?





Which themes are you talking about? I don't see anything in Fonts & 
Colors...


Frescobaldi themes are available in General preferences>Style, where 
you see some themes included in Qt plus the themes available in your 
system.
The themes can be installed using a software center (in Linux). I 
can't remember what's your OS.. maybe Mac?








Re: How can I print only some parts of a score (staves, but no chords)?

2023-04-30 Thread Federico Bruni
Il giorno dom 30 apr 2023 alle 13:19:42 +0200, Alessandro Bertulli 
 ha scritto:

However, the singers do not need the chords,
so I would like to omit them and simply print a version of the 
document
with only the staves. Is it possible to do this using the SAME 
lilypond

source file?

I have read something about using tags, but I don't know how should I
use them in my file, which by the way is this:


Don't use tags.

Just use one variable name (say, music) for the \relative block and 
another variable name (say, chords) for the \chords block.
Then call only music in the score block for the singers; and music + 
chords in the score block for the guitar player.


You can find many examples in the documentation about using variables.






Re: frescobaldi themes

2023-04-28 Thread Federico Bruni



Il giorno ven 28 apr 2023 alle 09:40:57 +0200, Gianmaria Lari 
 ha scritto:
Hope this is not off topic. Is there any way in Frescobaldi to 
install a bunch of themes all at once (instead of passing trough Edit 
-> Preferences -> Fonts & Colors etc.) ?





Which themes are you talking about? I don't see anything in Fonts & 
Colors...


Frescobaldi themes are available in General preferences>Style, where 
you see some themes included in Qt plus the themes available in your 
system.
The themes can be installed using a software center (in Linux). I can't 
remember what's your OS.. maybe Mac?





Re: Tuning description at beginning of TabStaff

2023-01-29 Thread Federico Bruni
Il giorno dom 29 gen 2023 alle 22:20:14 +0100, Stefan E. Mueller 
 ha scritto:

What I would like to know is whether it is possible to give the tuning
notes right before the first Tabstaff, vertically aligned to the 
tablature

lines. I tried accomplish this using "instrumentName", but it does not
align nicely:


Here's my saved list of alternative tunings:

% Dropped D
tuningDropD = \markup {
 \fontsize #-4
 \override #'(baseline-skip . 1.5)
 \column \override #'(font-name . "Arial Bold") {
   E B G D A D
 }
}

% Open G
tuningOpenG = \markup {
 \fontsize #-4
 \override #'(baseline-skip . 1.5)
 \column \override #'(font-name . "Arial Bold") {
   D B G D G D
 }
}

% Open D
tuningOpenD = \markup {
 \fontsize #-4
 \override #'(baseline-skip . 1.5)
 \column \override #'(font-name . "Arial Bold") {
   D A \concat { F \override #'(font-name . "Emmentaler-16") \small 
♯ } D A D

 }
}

% Open E
guitar-open-e-tuning = \stringTuning 
tuningOpenE = \markup {
 \fontsize #-4
 \override #'(baseline-skip . 1.5)
 \column \override #'(font-name . "Arial Bold") {
   E B E E B E
 }
}

% Open A add4
guitar-open-a-add-four = \stringTuning 
tuningOpenAaddFour = \markup {
 \fontsize #-4
 \override #'(baseline-skip . 1.5)
 \column \override #'(font-name . "Arial Bold") {
   \concat { C \override #'(font-name . "Emmentaler-16") \small ♯ } 
A E D A E

 }



And a simple example:

\new TabStaff \with {
 stringTunings = \guitar-open-g-tuning
 instrumentName = \markup { " " \tuningOpenG }
}
{
 d, g, d g b d'
}





Re: Documentation viewer in Frescobaldi

2023-01-20 Thread Federico Bruni




Il giorno ven 20 gen 2023 alle 15:41:02 +1100, Andrew Bernard 
 ha scritto:
The strange thing is that this used to work fine in the past, and now 
coming back to  it after six months it does not. It is very strange 
that on two distinct Linux distros it shows the same behaviour. It's 
weird that the fill chooser dialog won't show .html files (and no, 
they are not hidden files). Strange. And I'd still like to know how F 
mysteriously display the 2.22 documentation page, with no settings 
indicating that. Stupid to even try, but reinstalling F made no 
difference.


Where is actually the best place to post about Frescobaldi support 
nowadays?




The Frescobaldi mailing list is the best place. And I would avoid 
crossposting.


The short answer is: as David wrote, the default url is 
http://lilypond.org/doc/stable
This is currently redirecting to the old stable, because LilyPond 
.htaccess file was not updated. There's an open MR here:

https://gitlab.com/lilypond/lilypond/-/merge_requests/1815

As soon as it's merged and uploaded to lilypond.org, Frescobaldi should 
show 2.24 manuals.


The answer to the other questions is more complex. We are working on 
it... I will reply to your question in the Frescobaldi mailing list.







Re: Frescobaldi & edition engraver

2023-01-06 Thread Federico Bruni
Il giorno ven 6 gen 2023 alle 01:01:46 +0100, Michael Dietz 
 ha scritto:
I still hope for a native apt installation, but until then with this 
solution, I can use custom fonts, any lilypond version I want, call 
git from Scheme and the "real files on disk" are opened when clicking 
inside Frescobaldi.


For your information, only git is not available on Frescobaldi flatpak 
(it may be added if Frescobaldi will add a proper git support... 
something was done in the past but never finished IIRC).


You can open any file and add custom fonts in the lilypond.org binary 
>=2.24, as long as you grant the right permissions using Flatseal.


https://github.com/flathub/org.frescobaldi.Frescobaldi/






Re: Single EPS file trimmed output

2022-12-29 Thread Federico Bruni




Il giorno gio 29 dic 2022 alle 11:14:03 +0100, Mauro 
 ha scritto:

Dear all,

I have a large repository of scores which are currently being built 
as eps documents using the following command:


lilypond -E -dno-gs-load-fonts -dinclude-eps-fonts file.ly

This command, up to version 2.22, generates a single eps file 
(file.eps) trimmed down to just the size of the score.


I recently upgraded from lilypond 2.22.2 to 2.24.0 and the same 
command now produces a full-page output. After searching the lists 
and the documentation, I understand that I have to set 
'use-paper-size-for-page' to false in order to get a trimmed down 
output, but I do not understand how to get a single eps file.


I have tried different combinations of command line args. I am only 
able to generate two output files (file.eps and file-1.eps), both of 
them identical and trimmed down, with the following command:


lilypond -E -dno-gs-load-fonts -dinclude-eps-fonts 
-dno-use-paper-size-for-page demo.ly


Is this how it is supposed to work? Why is lilypond generating a 
second identical file with -1 suffix?


I could easily remove the second file (file-1.eps) in my build chain, 
but I wonder if I am missing something.






There was a similar discussions last month:
https://lists.gnu.org/archive/html/lilypond-user/2022-11/msg00047.html

In your example I would add a \pageBreak to get a better understanding 
of what lilypond does.
I cannot open EPS files currently, but as far as I can see from the 
file manager thumbnails the first file is the two page file, while 
-1.eps and -2.eps are the single pages. They are different:


$ ls -lh *.eps
-rw-r--r--. 1 fede fede 157K 29 dic 14.40 demo-1.eps
-rw-r--r--. 1 fede fede 156K 29 dic 14.40 demo-2.eps
-rw-r--r--. 1 fede fede 158K 29 dic 14.40 demo.eps










Re: question for MacOS users: qmake path in Homebrew installations

2022-12-26 Thread Federico Bruni

Thanks, it seems to work.
Now the build is failing on Windows. I'll continue tomorrow.

Il giorno lun 26 dic 2022 alle 22:41:50 +, Jonathan Armitage 
 ha scritto:

This one?

/usr/local/Cellar/poppler-qt5/22.12.0/lib/pkgconfig/poppler-qt5.pc

I got a lot of messages about conflicts when I installed poppler-qt5: 
it may well be that some symlinks were not created.


Cheers,

Jon

On 26/12/2022 22:26, Federico Bruni wrote:

Hi Jon

 Thanks, it's exactly what I need!

 Now I have another question. Can you search poppler-qt5.pc file 
(homebrew installation)?




 Il giorno lun 26 dic 2022 alle 22:10:40 +, Jonathan Armitage 
 ha scritto:

Hi Federico,

 It would seem to be:

 $ find /usr/local/opt/qt@5/ -name qmake
  /usr/local/opt/qt@5//bin/qmake

 "brew info qt@5" warns you (or at least me) that it is not 
symlinked into /usr/local/bin, so you may need to set the PATH 
explicitly.


 Apologies if I have not understood your question correctly.

 HTH,

 Jon

 On 26/12/2022 15:52, Federico Bruni wrote:

Hi all

  I'm working on a Github action to build wheels of 
python-poppler-qt5 (Frescobaldi dependency) on all platforms 
(Linux, Mac and Windows).


  On Mac I've installed qt@5 via Homebrew and I need to know in 
which directory qmake is installed. For example, in Linux it's 
normally installed in /usr/lib64/qt5/bin, but I think homebrew's 
formula installs it in a different directory. I don't see the list 
of installed files here:


https://formulae.brew.sh/formula/qt@5#default

  Thanks in advance for your help
  Federico













Re: question for MacOS users: qmake path in Homebrew installations

2022-12-26 Thread Federico Bruni

Hi Jon

Thanks, it's exactly what I need!

Now I have another question. Can you search poppler-qt5.pc file 
(homebrew installation)?




Il giorno lun 26 dic 2022 alle 22:10:40 +, Jonathan Armitage 
 ha scritto:

Hi Federico,

It would seem to be:

$ find /usr/local/opt/qt@5/ -name qmake
 /usr/local/opt/qt@5//bin/qmake

"brew info qt@5" warns you (or at least me) that it is not symlinked 
into /usr/local/bin, so you may need to set the PATH explicitly.


Apologies if I have not understood your question correctly.

HTH,

Jon

On 26/12/2022 15:52, Federico Bruni wrote:

Hi all

 I'm working on a Github action to build wheels of 
python-poppler-qt5 (Frescobaldi dependency) on all platforms (Linux, 
Mac and Windows).


 On Mac I've installed qt@5 via Homebrew and I need to know in which 
directory qmake is installed. For example, in Linux it's normally 
installed in /usr/lib64/qt5/bin, but I think homebrew's formula 
installs it in a different directory. I don't see the list of 
installed files here:


https://formulae.brew.sh/formula/qt@5#default

 Thanks in advance for your help
 Federico










question for MacOS users: qmake path in Homebrew installations

2022-12-26 Thread Federico Bruni

Hi all

I'm working on a Github action to build wheels of python-poppler-qt5 
(Frescobaldi dependency) on all platforms (Linux, Mac and Windows).


On Mac I've installed qt@5 via Homebrew and I need to know in which 
directory qmake is installed. For example, in Linux it's normally 
installed in /usr/lib64/qt5/bin, but I think homebrew's formula 
installs it in a different directory. I don't see the list of installed 
files here:


https://formulae.brew.sh/formula/qt@5#default

Thanks in advance for your help
Federico






Re: Future of OpenLilyLib

2022-11-23 Thread Federico Bruni
In order to run lyluatex with recent versions of lilypond (2.23.x), you 
must install the most recent version of lyluatex. In other words, you 
should install Texlive standalone and not the texlive packaged by 
distros.


See this discussion:
https://github.com/jperon/lyluatex/issues/287


Il giorno mer 23 nov 2022 alle 17:55:34 +0100, Jean Abou Samra 
 ha scritto:

Le 23/11/2022 à 16:31, Graham King a écrit :
I've tried to get Scholarly working in the past, but failed.  I'm 
currently failing to get lyluatex working.


There are some really promising tools in OpenLilyLib, but they seem 
to require someone with Urs' level of focus and intellect to use 
them.  This thread is raising my hopes once more.





I'd suggest you open a new thread about lyLuaTeX, with details
of your problems getting it to run.

(Note that lyLuaTeX isn't part of openLilyLib.)

Best,
Jean







\textMark and text duplications when using multiple staves

2022-11-13 Thread Federico Bruni

Hi folks

I've started using the new \textMark command and I see that text is 
duplicated when using a StaffGroup including Staff and TabStaff.
Although I've found in the doc how to override the behaviour, I wonder 
if LilyPond could do better automatically.



\version "2.23.80"

upper = \relative {
 \textMark "Hello"
 c'1
}

lower = \relative {
 c1
}

\score {
 \new StaffGroup <<
   \new Staff { \clef "treble_8" << \upper \\ \lower >> }
   \new TabStaff <<
 \new TabVoice { \voiceOne \upper }
 \new TabVoice { \voiceTwo \lower }
   >>
 >>
 % Setting to avoid duplication
 %{
 \layout {
   \context {
 \Score
 \remove Mark_engraver
 \remove Text_mark_engraver
 \remove Staff_collecting_engraver
   }
   \context {
 \Staff
 \consists Mark_engraver
 \consists Text_mark_engraver
 \consists Staff_collecting_engraver
   }
 }
 %}
}






Re: Unexpected file name in EPS output

2022-11-12 Thread Federico Bruni




Il giorno lun 7 nov 2022 alle 23:47:29 +0100, bernhard kleine 
 ha scritto:

Am 07.11.2022 um 23:04 schrieb Federico Bruni:

Ooops, the EPS backend creates the whole file plus one file per page.



$ lilypond --eps myfile.ly


Would one not expect this since eps creates single pages?




I think you are right and we should probably open a new issue.
The Usage manual says:

-E, --eps

   Generate EPS files.

   This option is equivalent to specifying -dseparate-page-formats=ps.

However, -dseparate-page-formats=ps creates only one file per page and 
no single full file:


$ lilypond -dseparate-page-formats=ps myfile.ly
GNU LilyPond 2.23.80 (running Guile 2.2)
Processing `myfile.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 or 2 pages...
Drawing systems...
Layout output to `myfile-1.eps'...
Layout output to `myfile-2.eps'...
Success: compilation successfully completed

$ ls *.eps
myfile-1.eps  myfile-2.eps

This option should be probably fixed as well:

separate-page-formats symbol

   Comma-separated list of formats (svg, pdf, png, or eps) to use for 
the separate page images in lilypond-book.


It seems that svg should be removed from the list:

$ lilypond -dseparate-page-formats=svg myfile.ly
GNU LilyPond 2.23.80 (running Guile 2.2)
Processing `myfile.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 or 2 pages...
Drawing systems...
warning: PS backend does not support SVG format
Layout output to `myfile-1.eps'...
warning: PS backend does not support SVG format
Layout output to `myfile-2.eps'...
Success: compilation successfully completed












Re: Unexpected file name in EPS output

2022-11-07 Thread Federico Bruni
Il giorno dom 6 nov 2022 alle 21:17:38 +0100, Federico Bruni 
 ha scritto:

$ diff myfile-1.eps myfile.eps

I don't know why two files are created, but it seems they are 
identical.


Ooops, the EPS backend creates the whole file plus one file per page.

$ cat myfile.ly
\version "2.22.2"

\relative c'' {
 c d e c
 \pageBreak
 b c b e
}

$ lilypond --eps myfile.ly
GNU LilyPond 2.23.80 (running Guile 2.2)
Processing `myfile.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 or 2 pages...
Drawing systems...
Layout output to `myfile.eps'...
Layout output to `myfile-1.eps'...
Layout output to `myfile-2.eps'...
Success: compilation successfully completed





Re: Unexpected file name in EPS output

2022-11-06 Thread Federico Bruni
Il giorno dom 6 nov 2022 alle 18:54:00 +0100, Carlo Stemberger 
 ha scritto:
Is this a bug? Do the next versions have the same behaviour? In this 
case I have to modify my script.


I don't have 2.22.x installed, but here's what happens with 2.23.80:

$ lilypond --eps myfile.ly
GNU LilyPond 2.23.80 (running Guile 2.2)
Processing `myfile.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `myfile.eps'...
Layout output to `myfile-1.eps'...
Success: compilation successfully completed

$ diff myfile-1.eps myfile.eps

I don't know why two files are created, but it seems they are identical.






Re: Omitting the destination on a call to format is deprecated. Pass #f as the destination, before the format string.

2022-10-29 Thread Federico Bruni
Il giorno sab 29 ott 2022 alle 00:42:11 +0200, Valentin Petzel 
 ha scritto:
If we omit this destination argument format will handle it as #f but 
pass this

warning.

Now these messages you get should either come from
A) The score itself using format
B) The score using a function that uses format

I’ve grepped through the current git master sources and all 
occurances of
format do specify a port. This means that most likely you are using 
some
custom scheme functions or libraries that use format. To fix these 
warnings
replace all occurrances of (format string ...) by (format #f string 
...) in

such files.


Thanks for the detailed explanation!
Here's the culprit:

diff --git a/ly/myStyle.ly b/ly/myStyle.ly
index af18062..2defb00 100644
--- a/ly/myStyle.ly
+++ b/ly/myStyle.ly
@@ -14,7 +14,7 @@ A=\rightHandFinger #4
tenutoFingeringMark = \markup { \text \fontsize #2 \bold "t" }

t = #(define-event-function (n) (index?)
- #{ \finger \markup \concat { #(format "~d" n) \tenutoFingeringMark } 
#})
+ #{ \finger \markup \concat { #(format #f "~d" n) \tenutoFingeringMark 
} #})







Omitting the destination on a call to format is deprecated. Pass #f as the destination, before the format string.

2022-10-28 Thread Federico Bruni

Sorry for the long subject.

I see some of my scores return this message:

 Omitting the destination on a call to format is deprecated.
 Pass #f as the destination, before the format string.

I have no idea of what could trigger it and I was not able to make a 
minimal example.
I can share privately a score to anybody interested in debugging this 
message.


I found a discussion about this message between Harm and David K six 
years ago:

https://lists.gnu.org/archive/html/lilypond-user/2016-11/msg00966.html

I'm running LilyPond 2.23.80 (Guile 2), official binaries.






Re: warning: no glyph for character ... in font ...

2022-10-27 Thread Federico Bruni
Il giorno gio 27 ott 2022 alle 15:28:15 +0200, Jean Abou Samra 
 ha scritto:

Well, it means what it says -- the font C059 (New
Century SchoolBook), which is LilyPond's default text
font, does not have this glyph. If I compile

\version "2.23.80"

\markup \char ##x279B

\header {
  tagline = ##f
}


and run 'pdffonts' on the resulting PDF file, I get

name type encoding emb sub 
uni object ID
 - 
 --- --- --- -
ZEHBZK+FreeSerif TrueType WinAnsi  yes 
yes yes  7  0



Since C059 does not have a glyph for this character, Fontconfig
automatically substitutes some font from the system that does have
this character, according to LilyPond's font configuration file
and the system-wide configuration file.

If you run LilyPond in an isolated environment, it needs to contain
some font with this character, visible by Fontconfig.


I used your minimal example to test it and I found out that I was 
missing the font everywhere, not just in the container. I guess the 
character was not printed at all.. but I didn't check the PDF file.


I've now installed in my home a FreeSerif font and everything works 
fine.


Thanks
Federico






warning: no glyph for character ... in font ...

2022-10-27 Thread Federico Bruni

Can anybody explain what this warning is about?

Parsing...
Interpreting music...[8][16][24][32]
Preprocessing graphical objects...
warning: no glyph for character U+279B in font 
`/usr/share/fonts/urw-base35/C059-Roman.otf'


The character is the one defined in this snippet:
https://lsr.di.unimi.it/LSR/Snippet?id=879

I get these warnings only when building a score within a toolbox 
container; it doesn't happen in a regular terminal. It's annoying 
because it's printed several times. I'm trying to reduce "false" errors 
in order to easily spot the real issues.


I guess it's something related to Fontconfig settings in the container.

Thanks in advance
Federico





programming error: cyclic dependency: calculation-in-progress encountered for Slur.control-points

2022-10-25 Thread Federico Bruni

Hi all

I'm testing 2.23.80 on my private sheets and I'm looking for errors... 
I don't know if this occurred with previous versions. Probably it did 
but I didn't notice it as I use a build system to compile multiple 
files and usually I don't look at the huge output (colored warnings and 
programming errors would help BTW).


What is this cyclic dependency? Any idea?
The file is copyrighted but I'm happy to send it privately to anyone 
interested in debugging it.


Interpreting music...[8][16]
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 2 or 3 pages...
Drawing systems...
/var/home/fede/Documenti/spartiti/ly/../Unterberger/Percfest.ily:103:25: 
programming error: cyclic dependency: calculation-in-progress 
encountered for Slur.control-points

   
   ( \glissando  ) ~ \mBreak 
\set doubleSlurs = ##f |
/var/home/fede/Documenti/spartiti/ly/../Unterberger/Percfest.ily:103:25: 
continuing, cross fingers
/var/home/fede/Documenti/spartiti/ly/../Unterberger/Percfest.ily:107:25: 
programming error: cyclic dependency: calculation-in-progress 
encountered for Slur.control-points

   
   ( \glissando \stopTextSpan \unset 
minimumFret ) ~ \mBreak \set doubleSlurs = ##f |
/var/home/fede/Documenti/spartiti/ly/../Unterberger/Percfest.ily:107:25: 
continuing, cross fingers

Converting to `Percfest.pdf'...
Success: compilation successfully completed





Re: LilyPond 2.23.8 released

2022-04-26 Thread Federico Bruni




On Tue, Apr 26 2022 at 08:04:40 +0100, J Martin Rushton 
 wrote:

On Tue, 2022-04-26 at 00:03 +0200, Jean Abou Samra wrote:

 I seem to recall that the Frescobaldi Flatpak package actually
 bundles LilyPond. Maybe Federico can tell more?


Frescobaldi hasn't run on some flavours of Linux properly for two or
three years.  I think it stopped working around CentOS 7.9 and doesn't
work correctly under AlmaLinux.  The flatpack version won't run
correctly either, so beware!



I guess that the flatpak version is not working as you expect because 
you're missing some knowledge about flatpak.

If you think something is not working, please open an issue here:
https://github.com/flathub/org.frescobaldi.Frescobaldi/issues







Re: LilyPond 2.23.8 released

2022-04-26 Thread Federico Bruni
On Tue, Apr 26 2022 at 00:03:17 +0200, Jean Abou Samra 
 wrote:

  (Apparently no PPA or Flatpak version.)





https://flathub.org/apps/details/org.frescobaldi.Frescobaldi



I seem to recall that the Frescobaldi Flatpak package actually bundles
LilyPond. Maybe Federico can tell more?


Yes, it currently bundles 2.22.2 and 2.23.7.
There's currently an issue in one of the build (flatpak) dependencies 
which blocks any update.







Re: LilyPond 2.23.7 released

2022-03-28 Thread Federico Bruni
On Sat, Mar 26 2022 at 22:36:05 +0100, Jonas Hahnfeld via Discussions 
on LilyPond development  wrote:

Starting with this release, LilyPond requires Guile 2.2


Can anybody remind me how to build guile2 alongside guile1.8? And which 
precautions should I take?


I use to build the latest lilypond dev version alongside the stable 
version in Frescobaldi flatpak package.

Until 2.24 is released, I must build both versions of guile.






Re: Attempting to build Lilypond 2.23.6 from source using Fedora 35 Linux with Docker

2022-03-10 Thread Federico Bruni
On Thu, Mar 10 2022 at 15:04:15 -0800, Kenneth Wolcott 
 wrote:

sudo dnf builddep lilypond --nogpgcheck

  This does not work since I am using Fedora 35 and the docs state
that this works with Fedora 22 and 23.

The error is that "builddep" apparently is no longer a supported
subcommand to dnf.

Does anyone know how to obtain the equivalent functionality of "dnf
builddep lilypond" using Fedora 35?


This is still a valid command.
dnf should have told you that you may miss a dnf plugin. The builddep 
is in dnf-plugins-core package.







Re: Tablature - Parenthesizing Tied Notes

2022-02-09 Thread Federico Bruni
Il giorno dom 6 feb 2022 alle 22:55:36 +0100, Stefan E. Mueller 
 ha scritto:
Ties over a line break are parenthesized by default in tablature - I 
was
wondering if one could also have parenthesized tablature notes for 
ties

over a bar line.


I cannot really help you, but just offer a tip and maybe someone who 
know the internals will help you.


Perhaps this function in property-init.ly can be adapted to work over a 
bar line?


showSplitTiedTabNotes = {
 \override 
TabVoice.TabNoteHead.details.tied-properties.break-visibility = 
#begin-of-line-visible
 \override TabVoice.TabNoteHead.details.tied-properties.parenthesize = 
##t
 \override 
TabVoice.TabNoteHead.details.repeat-tied-properties.note-head-visible = 
##t
 \override 
TabVoice.TabNoteHead.details.repeat-tied-properties.parenthesize = ##t

}

Minimal example:

mus = \relative c' {
 \repeat unfold 3 { c4 d e f~ | f2 g~ | g1 | f4 e d c~ \break | }
}

\score {
 \new StaffGroup <<
   \new Staff { \clef "treble_8" \mus }
   \new TabStaff \with {
 stringTunings = #guitar-tuning
   } \mus
 >>
 \layout { }
}






Re: point-and-click default

2022-01-04 Thread Federico Bruni



For the records, I've added an issue on Frescobaldi tracker:
https://github.com/frescobaldi/frescobaldi/issues/1412






Re: top/bottom margins?

2021-12-29 Thread Federico Bruni

On Wed, Dec 29 2021 at 12:09:12 -0700, jh  wrote:

thanks- not sure what to do next the printer settings are as expected.
will have to think some more about it I guess.


I remember that Frescobaldi had an issue with printing; can't remember 
if it was fixed.

I see some reports in the tracker:
https://github.com/frescobaldi/frescobaldi/issues/1365
https://github.com/frescobaldi/frescobaldi/issues/293

Read this:
https://github.com/frescobaldi/frescobaldi/issues/1198






Re: Frescobaldi fails with Fedora 35 / Python 3.10

2021-11-10 Thread Federico Bruni
Il giorno mer 10 nov 2021 alle 16:14:19 +0100, Valentin Petzel 
 ha scritto:

As far as I have read this is solved by this patch:
https://github.com/frescobaldi/frescobaldi/pull/1401/files
which is simply adding int(...) twice. As python is an interpreted 
language

you can apply this patch to an existing Frescobaldi installation.

So you simply have to open this file on your local Frescobaldi 
installation
(which should be a path like 
/usr/share/frescobaldi/frescobaldi_app/widgets/
progressbar.py) with root access, go to the affected lines (74,75) 
and add

these int(...) parts.


Not enough. This is also needed, I think:
https://github.com/frescobaldi/frescobaldi/commit/73cd53e7e089537aa853eea7d43f212145bd5ef5

Anyway, I would not suggest patching files belonging to a distro 
package.

Running Frescobaldi from source on Linux is pretty easy:
https://github.com/frescobaldi/frescobaldi/wiki/Run-Frescobaldi-3-on-Linux






Re: Frescobaldi fails with Fedora 35 / Python 3.10

2021-11-10 Thread Federico Bruni
On Tue, Nov 9 2021 at 10:14:48 +0100, Martin Tarenskeen 
 wrote:
I have reported the problem upstream, I think the problem is/was 
already known. Just wanted to warn Fedora+Lilypond/Frescobaldi users 
who plan to upgrade from Fedora 34 to 35. If you very much need 
Frescobaldi it might be a good idea to wait until this problem is 
fixed before upgrading.


Hope the problem (wherever it is) will be fixed soon. The problem did 
not happen with previous Python version(s) on Fedora 34.


Yes, I saw bug reports on Fedora tracker as well as Frescobaldi.
Wilbert pushed some fixes already but I guess it won't be available 
until next release.

Maybe Fedora maintainer will include a patch.

Meanwhile, do you know there's a flatpak version of Frescobaldi? 
Flatpak runtime is currently using python 3.8 so it's not affected by 
this bug.
I've just pushed a commit to bundle the unstable version of LilyPond 
along with the stable version. It should be available in a few hours.





Re: Urs Liska Scheme book not accessible

2021-10-22 Thread Federico Bruni
On Fri, Oct 22 2021 at 10:50:10 -0700, Knute Snortum 
 wrote:

I'd build the book
for you, but I'm not sure how.


I haven't tested it but this should work:

pip install --user mkdocs

cd lilyponds-scheme
./build.sh

https://github.com/uliska/lilyponds-scheme/blob/master/build.sh






Re: Broken link in German documentation

2021-08-12 Thread Federico Bruni
Thanks for the report, but it's a known problem of the translation 
infrastructure.
The name in the URL of the snippet manual is translated but it 
shouldn't:

http://lilypond.org/doc/v2.22/Documentation/notation/expressive-marks-attached-to-notes.de.html
http://lilypond.org/doc/v2.22/Documentation/snippets/ausdrucksbezeichnungen




On Thu, Aug 12 2021 at 16:38:10 +0200, Frank Steinmetzger 
 wrote:

Dear list,

I was reading up on stuff in the documentation and found a broken 
link.


If you go to
http://lilypond.org/doc/v2.18/Documentation/notation/expressive-marks-attached-to-notes.de.html
and click on the link in “Schnipsel: Expressive marks”, you get a 
404.


Cheers.

--
Grüße | Greetings | Qapla’
Please do not share anything from, with or about me on any social 
network.


What doesn’t kill you mutates and tries again.






Re: Book structure

2021-07-13 Thread Federico Bruni




On Tue, Jul 13 2021 at 19:50:20 +0200, John McWilliam 
 wrote:
I have been working on a Collection of Scottish bagpipe music. Each 
tune (PIECE) consists of:




Ground (basic melody)Variations (usually up to maximum four).


My strategy has been to create each individual section (ground & 
variations) within its own score and with its own header. This has 
worked well for me and given me a satisfactory result.




My problem is when I try to gather these tunes into a book. Here the 
result is scrambled and I suspect it may have something to do with my 
basic structure. I enclose a simplified (I hope!) rendering of 
“A” the structure of each tune, and “B” my book module 
structure.




If anyone would like to comment on thisI would be most grateful.



John McWilliam





Hard to tell by looking at your attachment.
I suggest you write a minimal example to show the problem.

My guess is that in this situation you should:

- place the music/variables in some .ily files (to be included) with no 
\score or \header blocks
- use .ly files to create a single file and another .ly file to create 
the book. Each of them will include the needed .ily files and use 
\score and \header blocks.







Re: where (if anywhere) does lilypond look for locally shared files?

2021-04-12 Thread Federico Bruni



On Mon, Apr 12 2021 at 15:45:26 -0500, stefano franchi 
 wrote:

Where am I supposed to store my templates, functions, snippets, etc?

Otherwise put, in  (La)TeX terms is there a lilypond equivalent of 
~/texmf ?




There's no standard directory. Just use what you want and then use 
--include=/PATH/TO/DIR to let lilypond find your files.



On linux, there seems to be no equivalents, at least as far as I can 
tell. It thought
~/.local/share/lilypond would be it, but it is not created at 
installation time. Is there an environment variable that could be 
set? The docs make reference to LILYPOND_DATADIR, but that seems to 
indicate the global location, as far as I can tell from the following 
description:


LILYPOND_DATADIR
This specifies a directory where locale messages and data files are 
looked up by default, overriding locations defined either at 
compile-time or computed dynamically at run-time (see Relocation 
). 
The directory should contain subdirectories called ‘ly’, 
‘ps’, ‘tex’, etc.


Or is "locale" a typo for "local"?

I'm confused

 <>


Locale refers to localization, i.e. translation files (PO files).

On my current 2.23.0 installation from lilypond.org package, I see this:

$ ls .local/lilypond/usr/share/lilypond/current/
fonts  ly  ps  python  scm  vim

Locale files are in another directory:

$ ls .local/lilypond/usr/share/
bash-completion  emacs  fontconfig  gdb  ghostscript  glib-2.0  guile  
lilypond  locale  xml


$ ls .local/lilypond/usr/share/locale/
af   azbs   de   en@quot  fa  he  is  ko   mk  
nds  or ro  sqte  ug  zh_CN
am   beca   dz   en@shaw  fi  hi  it  ku   ml  
ne   pa ru  srtg  uk  zh_HK
an   be@latin  ca@valencia  el   eo   fr  hr  ja  lt   mn  
nl   pl rw  sr@ijeth  vi  zh_TW
ar   bgcs   en@boldquot  es   ga  hu  ka  lv   mr  
nn   ps si  sr@latin  tl  wa
as   bncy   en_CAet   gl  hy  kk  mai  ms  
no   pt sk  svtr  xh
ast  bn_IN da   en_GBeu   gu  id  kn  mg   nb  
oc   pt_BR  sl  tatt  yi





Re: What usb keyboard to enter voices into lilypond? What other hardware and/or Software is indispensable?

2021-03-24 Thread Federico Bruni
Il giorno lun, mar 22 2021 at 18:59:58 +0100, Bernhard Kleine 
 ha scritto:

This has not been asked for a while. Which equipment (low cost) do you
favor? Do I need more than an usb keyboard?

As I am / we all are working with opensource software, there isn't any
need for fancy hardware. It only has to work.

Thanks for sharing your situation.


I have the Akai LPK25 Usb Midi Keyboard.
Cheap and easy. I bought it just to experiment with MIDI input and 
Frescobaldi in particular.


I wrote some notes last year on Frescobaldi wiki:
https://github.com/frescobaldi/frescobaldi/wiki/MIDI-input-on-Linux






Re: Guitar Tab / Bends

2021-03-11 Thread Federico Bruni

This is a great news!

Yes, the development is still active. I guess you'd better subscribe to 
lilypond-devel for questions about development.


Can I suggest something to work on? :-)
You may remember that Marc Hohl bend.ly file had bending notation for 
both Staff and TabStaff.


Harm's implementation is more powerful.. see this commit:
https://gitlab.com/lilypond/lilypond/-/commit/376a8c362fea5b754ff383dd62f2664f8dea13bb

but it lacks the bending notation on Staff.




On Thu, Mar 11 2021 at 01:58:50 PM -0500, David Stocker 
 wrote:

Now I know that I will definitely fool around with 2.23!

I ask because I've been away for a while because I've had a change of 
scenery from full-time transcription and publishing to full-time 
software developer (with some other stuff in between). I'm starting 
to think now about contributing to a project and I may want to dive 
into LilyPond if there are areas that need work that no one is 
working on currently. Naturally, I thought of Guitar capabilities 
since that was the area I worked in for publishers.


So glad this community is still active and development continues.

On 3/11/2021 11:26 AM, Federico Bruni wrote:



On Thu, Mar 11 2021 at 08:20:35 AM -0500, David Stocker 
 wrote:

Hello group,

Some years ago, someone developed a capability for LilyPond to 
notate bending notes on Guitar Tab.


Is anyone currently using this capability?




Hi David

We haven't seen you for a while. IIRC I started using LilyPond 12 
years ago thanks to a post from you in a Tuxguitar forum :-)


Do you know that guitar bending has been included in LilyPond 2.23.0?

I'm not using LilyPond much these days, but I do have several scores 
using this new bending feature and it's working pretty good.










Re: Guitar Tab / Bends

2021-03-11 Thread Federico Bruni




On Thu, Mar 11 2021 at 08:20:35 AM -0500, David Stocker 
 wrote:

Hello group,

Some years ago, someone developed a capability for LilyPond to notate 
bending notes on Guitar Tab.


Is anyone currently using this capability?




Hi David

We haven't seen you for a while. IIRC I started using LilyPond 12 years 
ago thanks to a post from you in a Tuxguitar forum :-)


Do you know that guitar bending has been included in LilyPond 2.23.0?

I'm not using LilyPond much these days, but I do have several scores 
using this new bending feature and it's working pretty good.







Re: Solution "Midi Through Port-0"?

2021-01-27 Thread Federico Bruni

Sorry, I hit reply before finishing...


On Wed, Jan 27 2021 at 11:33:58 PM +0100, Federico Bruni 
 wrote:
On Wed, Jan 27 2021 at 08:24:50 PM +0100, Silvain Dupertuis 
 wrote:

I am on Ubuntu (18.04 on my main machine) and use Frescobaldi
 Midi output works fine for me.
I did not play with settings so far...
For midi ports, I have
Output reader = TiMidity port 0
Entry port = Midi Through Port-0



You did not have to play with the settings probably because you 
already had timidity installed and running as a service in background.


More information on MIDI playback is in the wiki:


https://github.com/frescobaldi/frescobaldi/wiki/MIDI-playback-on-Linux




The only thing : If I just press the  button
 (whatever it is called in English, in French, it says "graver")
 it does not save ouput. I have to save the Lilypond file also to 
get PDF and midi output.


This is a common misunderstanding.
There's an option in the Preferences to autosave the file when you 
click on Engrave button.


Perhaps the default should be the opposite of what it is now.
I think I made this suggestion on some Github issue.






Re: Solution "Midi Through Port-0"?

2021-01-27 Thread Federico Bruni
On Wed, Jan 27 2021 at 08:24:50 PM +0100, Silvain Dupertuis 
 wrote:

I am on Ubuntu (18.04 on my main machine) and use Frescobaldi
 Midi output works fine for me.
I did not play with settings so far...
For midi ports, I have
Output reader = TiMidity port 0
Entry port = Midi Through Port-0



You did not have to play with the settings probably because you already 
had timidity installed and running as a service in background.


More information on MIDI playback is in the wiki:



The only thing : If I just press the  button
 (whatever it is called in English, in French, it says "graver")
 it does not save ouput. I have to save the Lilypond file also to get 
PDF and midi output.








Re: convert-ly error

2021-01-12 Thread Federico Bruni
On Tue, Jan 12 2021 at 10:39:40 PM +, Michael Hendry 
 wrote:
Could the problem be the “>” sign in the path reported in the 
error message?



 C:\LilyPond220\usr\bin>convert-ly -e alice2.ly


I think it's the command line prompt symbol. In other words, he entered 
that directory and launched the command in that directory as it was in 
the PATH instead of calling that file. I don't know Windows, but in 
Linux you would have used ./convert-ly in that directory.


Anyway, the best suggestion is adding the binary path to the system 
PATH.







Re: convert-ly error

2021-01-12 Thread Federico Bruni




On Tue, Jan 12 2021 at 10:12:04 AM -1000, keith Luke 
 wrote:
I just installed lilypond 2.20.0 and tried running convert-ly to 
update old versions of scores.


I get the following error messages:

C:\LilyPond220\usr\bin>convert-ly -e alice2.ly
'convert-ly' is not recognized as an internal or external command,
operable program or batch file.

How do I get convert-ly to run?




I guess you did not add that path - C:\LilyPond220\usr\bin - to the 
PATH variable, as described here:

http://lilypond.org/doc/v2.22/Documentation/web/windows






Re: Clear musi view button

2021-01-12 Thread Federico Bruni




Il giorno lun, gen 11 2021 at 21:35:31 -0500, Freeman Gilmore 
 ha scritto:

Is there a hotkey for the 'Clear musi view button'?
Thank you ƒg


In Frescobaldi?

There's no default shortcut, but you can set your own. Go to 
Edit>Preferences, click on Keyboard Shortcuts and search "clear" to 
find the command.







Re: [Frescobaldi] ANN: Frescobaldi 3.1.3

2020-12-30 Thread Federico Bruni




Il giorno sab, dic 26 2020 at 14:07:37 +0100, Wilbert Berendsen 
 ha scritto:

Dear friends,

I'm happy to announce the availability of Frescobaldi 3.1.3, a bugfix
release, with bugfixes, updated translations and a small new feature: 
a

Clear button to empty the Music View.



I've just pushed the update for the Linux flatpak package:
https://flathub.org/apps/details/org.frescobaldi.Frescobaldi

Should be available in a few hours.

Documentation browser is now working fine, as I fixed a wrong 
environment variable needed by PyQtWebengine.







Re: Wikipedia scores

2020-11-29 Thread Federico Bruni

Hi Martin

It was discussed on lilypond-devel last month:
https://lists.gnu.org/archive/html/lilypond-devel/2020-10/msg00086.html



Il giorno dom, nov 29 2020 at 22:06:58 +, J Martin Rushton 
 ha scritto:
I don't know if all members of this newsgroup are aware but for many 
years Wikipedia has supported the ... extension to 
produce scores and midi in displayed pages from Lily source.  However 
since summer this year scores have been disabled for undisclosed 
security concerns.


See https://en.wikipedia.org/wiki/The_Water_of_Tyne for an example of 
a disabled score.


See https://en.wikipedia.org/wiki/Help_talk:Score and 
https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#Musical_scores_not_working

for discussions of this problem.

Does anyone here have any input? Is there a known problem within LP 
that is causing WP problems?  Can we help WP at all?


Regards,
Martin


--
J Martin Rushton MBCS







Re: Frescobaldi+LilyPond flatpak package now available

2020-11-06 Thread Federico Bruni
Il giorno ven 6 nov 2020 alle 16:29, J Martin Rushton 
 ha scritto:

Now running as myself:

$ flatpak remote-add --if-not-exists flathub 
https://flathub.org/repo/flathub.flatpakrepo

$ flatpak remotes
NameOptions
flathub system
$ flatpak install flathub org.frescobaldi.Frescobaldi
Required runtime for org.frescobaldi.Frescobaldi/x86_64/stable 
(runtime/org.kde.Platform/x86_64/5.15) found in remote flathub

Do you want to install it? [y/n]: y
Installing in system:
org.kde.Platform/x86_64/5.15  flathub 61f67bf3e852
org.freedesktop.Platform.GL.default/x86_64/20.08  flathub 82a8e234463f
org.freedesktop.Platform.VAAPI.Intel/x86_64/20.08 flathub 842257eb3e76
org.freedesktop.Platform.openh264/x86_64/2.0  flathub 73f998362a6f
org.kde.KStyle.Adwaita/x86_64/5.15flathub 2f6e4ae8bc10
org.kde.Platform.Locale/x86_64/5.15   flathub 01ece85ac288
org.frescobaldi.Frescobaldi/x86_64/stable flathub 54532dddeb5d
  permissions: ipc, network, pulseaudio, x11, devices
  file access: home, xdg-config/kdeglobals:ro
  dbus access: com.canonical.AppMenu.Registrar
org.frescobaldi.Frescobaldi.Locale/x86_64/stable  flathub cc17a220dabb
Is this ok [y/n]: y
Installing: org.kde.Platform/x86_64/5.15 from flathub
error: Failed to install org.kde.Platform/x86_64/5.15: 
openat(refs/remotes/flathub/runtime/org.kde.Platform/x86_64/5.15): 
Permission denied




You likely have wrong permissions in some directory in /var.
The error occurs when trying to install the first dependency.

Check /var/tmp.  I have:

$ ls -lhd /var/tmp
drwxrwxrwt. 1 root root 3,4K 6 nov 21.50 /var/tmp

Another possibility is that you don't have enough disk space in /var. 
But this is just a guess, as it implies a wrong error message from 
flatpak.







Re: Frescobaldi+LilyPond flatpak package now available

2020-11-06 Thread Federico Bruni
Il giorno ven 6 nov 2020 alle 12:02, J Martin Rushton 
 ha scritto:

I just followed links:
https://flathub.org/apps/details/org.frescobaldi.Frescobaldi
-> https://flatpak.org/setup/
-> https://flatpak.org/setup/CentOS/


Following up to my "wipe all" suggestion.

I read on Fedora setup here:
https://flatpak.org/setup/Fedora/

"""
The above links should work on the default GNOME and KDE Fedora 
installations, but if they fail for some reason you can manually add 
the Flathub remote by running:


flatpak remote-add --if-not-exists flathub 
https://flathub.org/repo/flathub.flatpakrepo

"""

So uninstall all flatpak apps, delete all remotes (flatpak 
remote-delete) and then add it back again _as user_ using above command.







Re: Frescobaldi+LilyPond flatpak package now available

2020-11-06 Thread Federico Bruni
Il giorno ven 6 nov 2020 alle 15:13, J Martin Rushton 
 ha scritto:

Hi Federico,

Update 2.  I noticed that there is a /root/.var directory so created 
$HOME/.var, still no luck.


Yes, this was created when you launched Frescobaldi as root.
~/.var (or /root/.var in case of root) is where configuration and app 
files are stored.



 I then tried flatpack list as myself and had errors for the following 
directories.  The permissions were 750, I changed them to 755:




I have 755 by default on Fedora:

$ ls -ld /var/lib/flatpak
drwxr-xr-x. 9 root root 4096  6 nov 09.53 /var/lib/flatpak



/var/lib/flatpak/app
/var/lib/flatpak/app/org.frescobaldi.Frescobaldi
/var/lib/flatpak/app/org.frescobaldi.Frescobaldi/x86_64
/var/lib/flatpak/runtime
/var/lib/flatpak/runtime/*
/var/lib/flatpak/runtime/org.kde.Platform/x86_64

I could then run flatpak list, but the only output was a blank line. 
When I tried to run Frescibaldi I then saw "error: 
app/org.frescobaldi.Frescobaldi/x86_64/stable not installed" which of 
course was not tue.  I set the permissions to 755 and then got 
"error: Error opening file 
/var/lib/flatpak/app/org.frescobaldi.Frescobaldi/x86_64/stable/54532dddeb5db92fc66c20b9ca4147e9d76b366587e8d5d573ea2d8dd74fa8f5/metadata: 
Permission denied"


The long hex directory must be a temporary and doesn't exist.

Following the Troubleshooting section of the flatpak docs link you 
gave me, I ran:


# flatpak repair
Verifying flathub:runtime/org.kde.Platform.Locale/x86_64/5.15...
Verifying 
flathub:runtime/org.freedesktop.Platform.GL.default/x86_64/20.08...

Verifying flathub:runtime/org.kde.KStyle.Adwaita/x86_64/5.15...
Verifying 
flathub:runtime/org.frescobaldi.Frescobaldi.Locale/x86_64/stable...

Verifying flathub:appstream2/x86_64...
Verifying flathub:runtime/org.kde.Platform/x86_64/5.15...
Verifying flathub:app/org.frescobaldi.Frescobaldi/x86_64/stable...
Verifying 
flathub:runtime/org.freedesktop.Platform.openh264/x86_64/2.0...
Verifying 
flathub:runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/20.08...

Pruning objects
# flatpak permission-reset org.frescobaldi.Frescobaldi

but I'm still getting a repeat of the last error message.



I would try wiping everything and start again from scratch being sure 
to run every command as normal user and not root.









Re: Frescobaldi+LilyPond flatpak package now available

2020-11-05 Thread Federico Bruni

Hi Martin

Perhaps you added the flathub repository as root using the --user 
switch? (wrong)


Can you paste the output of this command both as root and as normal 
user?


 flatpak remotes

I have this as normal user:

$ flatpak remotes
Name Options
flathub system
flathub-beta user

Did you read this page?
https://docs.flatpak.org/en/latest/using-flatpak.html#system-versus-user

You shouldn't be root to install any flatpak application. I can't 
remember if adding the repository at system level requires root 
privileges.
In a nutshell, if you add a repository using the --user switch, any 
application installed from that repository will be installed at user 
level and available only to that user; otherwise the default is system 
level.




Il giorno gio 5 nov 2020 alle 21:47, J Martin Rushton 
 ha scritto:

Hi Federico,

I welcome this since I've been having problems with Frescobaldi under 
both CentOS 7 and 8 for a while.


I followed the setup guide on the host CentOS8 machine and downloaded 
the flathub repository file.  First problem: I had to be root to 
install it - I thought flatpak was meant to be at user level?


I then installed Frescobaldi (using cut-and-paste).  If I tried to 
run it as a user I got the message: "error: 
app/org.frescobaldi.Frescobaldi/x86_64/master not installed".  As a 
test I tried running it as root (I know, bad practice) and the window 
opened, but then hung and would not die.


Any suggestions?

Regards,
Martin

On 05/11/2020 20:48, Federico Bruni wrote:

Hi folks

I'm happy to announce that Frescobaldi is now available for Linux 
users also as flatpak on Flathub:

https://flathub.org/apps/details/org.frescobaldi.Frescobaldi

Advantages:
- LilyPond is bundled, so it's a very simple installation.
- All runtime dependencies are included.
- Sandbox.

Bugs:
- Doumentation browser is not working.
There's something wrong in the way I built PyQtWebEngine...


Current stable installed size is 287 MB. (not including the KDE 
runtime)
Current beta release shipping lilypond 2.21.80 is 245 MB (no need to 
include python2).


Installing the stable version should be straightforward.
If you want to install the beta version (which currently has only 
the "stable RC" of lilypond), run these commands:


flatpak remote-add --user flathub-beta 
https://flathub.org/beta-repo/flathub-beta.flatpakrepo

flatpak install --user flathub-beta org.frescobaldi.Frescobaldi


Cheers
Federico



--
J Martin Rushton MBCS







Frescobaldi+LilyPond flatpak package now available

2020-11-05 Thread Federico Bruni

Hi folks

I'm happy to announce that Frescobaldi is now available for Linux users 
also as flatpak on Flathub:



Advantages:
- LilyPond is bundled, so it's a very simple installation.
- All runtime dependencies are included.
- Sandbox.

Bugs:
- Doumentation browser is not working.
There's something wrong in the way I built PyQtWebEngine...


Current stable installed size is 287 MB. (not including the KDE runtime)
Current beta release shipping lilypond 2.21.80 is 245 MB (no need to 
include python2).


Installing the stable version should be straightforward.
If you want to install the beta version (which currently has only the 
"stable RC" of lilypond), run these commands:


flatpak remote-add --user flathub-beta 


flatpak install --user flathub-beta org.frescobaldi.Frescobaldi


Cheers
Federico




Re: Point & Click with Atom

2020-11-01 Thread Federico Bruni
Il giorno dom 1 nov 2020 alle 11:36, Martín Rincón Botero 
 ha scritto:

@Federico: I hope, you don’t take my criticism personally!
I see Andrew has written upon what you wrote. That’s great! I’ll 
have to check how I installed Atom. If it’s in Ubuntu’s software 
center, I probably installed it from there (so it’s a snap, I 
suppose). Does it make any difference in the steps? And yes, Lilypond 
2.20.


Of course I didn't take it personally :-)
I did not write that page, I just made a small edit.

I don't use Ubuntu and never used snap.
But I see that if /snap/bin is in the PATH variable, it will work.






Re: Lilypond and Python

2020-11-01 Thread Federico Bruni
Il giorno dom 1 nov 2020 alle 17:07, Stefan Thomas 
 ha scritto:
many thanks to Your fast reply. But unfortunately it didn't work. It 
seems to be a python problem:

pip install setuptools
Collecting setuptools

Using cached 
https://files.pythonhosted.org/packages/e1/b7/182161210a13158cd3ccc41ee19aadef54496b74f2817cc147006

ec932b4/setuptools-44.1.1-py2.py3-none-any.whl
Installing collected packages: setuptools
Exception:
Traceback (most recent call last):
 File 
"/home/stefan/.local/lib/python2.7/site-packages/pip/basecommand.py", 
line 215, in main

   status = self.run(options, args)
 File 
"/home/stefan/.local/lib/python2.7/site-packages/pip/commands/install.py", 
line 342, in run

   prefix=options.prefix_path,
 File 
"/home/stefan/.local/lib/python2.7/site-packages/pip/req/req_set.py", 
line 784, in install

   **kwargs
 File 
"/home/stefan/.local/lib/python2.7/site-packages/pip/req/req_install.py", 
line 851, in install

   self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
 File 
"/home/stefan/.local/lib/python2.7/site-packages/pip/req/req_install.py", 
line 1064, in move_wheel_files

   isolated=self.isolated,
 File "/home/stefan/.local/lib/python2.7/site-packages/pip/wheel.py", 
line 345, in move_wheel_files

   clobber(source, lib_dir, True)
 File "/home/stefan/.local/lib/python2.7/site-packages/pip/wheel.py", 
line 323, in clobber

   shutil.copyfile(srcfile, destfile)
 File "/usr/lib/python2.7/shutil.py", line 97, in copyfile
   with open(dst, 'wb') as fdst:
IOError: [Errno 13] Permission denied: 
'/usr/local/lib/python2.7/dist-packages/easy_install.py'




You are using pip2 (python2) installed in ~/.local, but you're trying 
to install a py3 wheel.
pip2 install seems to try to install under /usr/local by default¹, but 
it won't work unless you use sudo.



I would try:

pip3 install --user setuptools


¹ pip3 is smarter and doesn't need the --user switch if called as 
regular user, see below:


$ pip -V
pip 20.2.2 from /usr/lib/python3.9/site-packages/pip (python 3.9)
$ pip install setuptools
Defaulting to user installation because normal site-packages is not 
writeable
Requirement already satisfied: setuptools in 
/usr/lib/python3.9/site-packages (49.1.3)








Re: Point & Click with Atom

2020-10-31 Thread Federico Bruni




Il giorno sab 31 ott 2020 alle 18:48, Martín Rincón Botero 
 ha scritto:

Did you try to do what the docs say?


 Because the very beginning of the documentation is not clear as to 
what to do with the export line, I didn’t follow the steps for 
Gnome3. I’ll try adding that line to .bashrc and follow the Gnome3 
steps parallelly. If I succeed, I’ll try writing a small guide for 
Ubuntu. The documentation is so poor, I’m surprised anyone can make 
Point & Click work on any OS just by reading that. Perhaps I’m just 
dumb.




Hi Martin

I improved that doc page two years ago, but reading it again now I see 
that it would need a general rewrite.


First of all, how did you install Atom? It's a regular distro package 
(like .deb or .rpm)? Or maybe a flatpak or similar? Did you check if 
the atom binary can be found? Type this in a terminal:


 which -a atom

Are you running lilypond version 2.20? If so, it's Ok.

The environment variables are usually defined in ~/.profile, ~/.bashrc 
or ~/.bash_profile.

Check which files you have already with:

  ls -a ~

I'm on Fedora 33 and I see .bashrc and .bash_profile.
I'll use .bash_profile and add this line:

export LYEDITOR=gedit

(I don't have Atom installed)

Then reload the file and check that the environment variable is 
detected:


$ source ~/.bash_profile
$ echo $LYEDITOR
gedit
$ env | grep LYEDITOR
LYEDITOR=gedit

Add the lilypond-invoke-editor.desktop file as described in the docs.
Now point-and-click should be working. If it doesn't, close the desktop 
session and start a new one, then try again.







Re: good practices regarding page breaks -- full score and parts

2020-10-15 Thread Federico Bruni

Then your use of tags seems the best solution.



Il giorno gio 15 ott 2020 alle 14:40, Leszek Wroński 
 ha scritto:
Thank you very much! I'm already doing that :-) Still, it's a 70+ 
pages single-movement work where I'd like to control page-breaking in 
a precise way in a few locations...


Best regards,

Leszek.

On Thu, 15 Oct 2020 at 14:29, Federico Bruni  
wrote:

Il giorno gio 15 ott 2020 alle 14:19, Leszek Wroński
  ha scritto:
 > I don't really like this solution; it's just not tidy... and I 
have

 > to remember which part I put the page breaks in. Are there any
 > established Lilypond practices for doing this? Is it e.g. 
possible to

 > introduce some sort of 'invisible part' on top of the rest which
 > would just be used for editorial stuff like this?

 Instead of using \pageBreak (within the music input), you may 
control

 the line and page breaking with two different \paper blocks, one for
 the part and one for the score (using \include).









Re: good practices regarding page breaks -- full score and parts

2020-10-15 Thread Federico Bruni
Il giorno gio 15 ott 2020 alle 14:19, Leszek Wroński 
 ha scritto:
I don't really like this solution; it's just not tidy... and I have 
to remember which part I put the page breaks in. Are there any 
established Lilypond practices for doing this? Is it e.g. possible to 
introduce some sort of 'invisible part' on top of the rest which 
would just be used for editorial stuff like this?


Instead of using \pageBreak (within the music input), you may control 
the line and page breaking with two different \paper blocks, one for 
the part and one for the score (using \include).







Re: Piano sustain pedal

2020-10-13 Thread Federico Bruni




Il giorno mar 13 ott 2020 alle 11:21, Michael Käppler 
 ha scritto:

Am 13.10.2020 um 10:56 schrieb Federico Bruni:

I would have tried removing the engraver.
Does this affect the MIDI too?

AFAIK performers are responsible for MIDI output, not engravers.
Piano_pedal_performer exists, so maybe

\score {
 \new Staff \with {
   \remove "Piano_pedal_performer"
 }
[...]




Read again the first email.
Martin is trying to achieve the opposite: maintain the sostenuto in 
MIDI but remove the symbols in the graphical output.







Re: Piano sustain pedal

2020-10-13 Thread Federico Bruni

I would have tried removing the engraver.
Does this affect the MIDI too?

Honestly I can't hear any difference in the MIDI between sustained and 
not sustained notes. Is sostenuto supported in MIDI?



\version "2.20.0"
%\include "articulate.ly"

\score {
 \new Staff \with {
   \remove "Piano_pedal_engraver"
 }
 \relative {
   c''4 d e g
   1

   c4\sustainOn d e g
   1\sustainOff
 }

 \layout {}
 \midi {}
}





Il giorno mar 13 ott 2020 alle 09:57, Martin Tarenskeen 
 ha scritto:


Thanks Hwaen,
works perfectly for my purpose.

I now also found I can use this \tag command to show chordsymbols in 
my score without playing them automatically with those horrible 
automatic voicings in Midi playback :-)


MT

On Tue, 13 Oct 2020, Hwaen Ch'uqi wrote:


Greetings Martin,

You could use the \tag command in a separate voice or staff block and
so generate midi output but not visual output.

HTH,

Hwaen Ch'uqi


On 10/13/20, Martin Tarenskeen  wrote:


Hi,

I am typesetting a Piano solo score.
I want to add \sustainOn and \sustainOff stuff in my lilypond 
source only

for more realistic MIDI output, but I don't want to print the
pedalmarkings in my score. How to do this? If possible without the 
need to
have separate midi and layout versions of the same lilypond code 
for the

notes.

--

MT













Re: Future of openLilyLib

2020-10-07 Thread Federico Bruni
Il giorno mer 7 ott 2020 alle 16:24, Jean Abou Samra 
 ha scritto:
PPS: I see you shut down openlilylib.org. Is the source archived 
somewhere

 so I can better understand openLilyLib?


I think it's here:
https://github.com/openlilylib-documentation/main-site/






Re: Tremolo in MIDI

2020-10-07 Thread Federico Bruni




Il giorno mer 7 ott 2020 alle 13:12, Werner LEMBERG  ha 
scritto:



 Ah.  It's described in A.19 Available Music Functions.  Hard to find
 because not indexed.


Really?  In my locally generated PDF of the NR the entry in the
appendix *is* indexed.



He probably searched at the U:
http://lilypond.org/doc/v2.21/Documentation/notation/lilypond-index.html#lilypond-index_cp_letter-U

but the correct place is "MIDI, using repeats" scrolling down from here:
http://lilypond.org/doc/v2.21/Documentation/notation/lilypond-index.html#lilypond-index_cp_letter-M






Re: compressing full-bar rests

2020-09-28 Thread Federico Bruni




Il giorno lun 28 set 2020 alle 12:02, N. Andrew Walsh 
 ha scritto:

Hi Aaron,

On Mon, Sep 28, 2020 at 11:34 AM Aaron Hill 
 wrote:


 See [1] and [2].  It's \compressEmptyMeasures now.


That was it! Thank you. I wonder why that doesn't show up in the 
auto-complete popup.





In Frescobaldi?
Because Frescobaldi so far supports only the syntax of the latest 
stable release. But the quickly module, replacing the ly module, will 
support multiple versions. See the discussion here:

https://github.com/frescobaldi/frescobaldi/issues/1292






Re: Unable to attach a bend to an \afterGrace note with the bend spanner

2020-09-23 Thread Federico Bruni

Dear Andrew

You are welcome to put it for OLL.
I won't do it. And I won't reply to related questions on Github tracker.
Lack of time and interest.



Il giorno mer 23 set 2020 alle 11:20, Andrew Bernard 
 ha scritto:
Re OLL, why not, actually? Putting into OLL is a simple matter of 
creating a directory and placing the unmodified code in a file names 
module.ily. It's nice to provide an example file to go along with it 
as well. That's very little 'adaptation'.


Urs and I are trying to promote OLL by explaining how easy it is to 
use, and how useful. Fragmenting there world into core, LSR, OLL, GIT 
of various flavors make it harder for the poor end user I would say. 
That's four sources for code for end users all with different usages. 
I am not fond of fragmentation. I cannot imagine Harm would object to 
being in OLL. The pedal code I worked on with him is there already, 
and he has never objected.


Happy to help putting it in OLL. It may not happen for a decade, or 
it may never happen, but as far as getting new things into core, I 
would like to think that OLL modules are a prime candidate, not 
isolated git repos here and there.


If it works great and people are using, then it's perfectly suitable 
for OLL.


Andrew


On 23/09/2020 7:51 am, Federico Bruni wrote:



I'm against the idea of putting it in OLL.
As it's still a work in progress, Harm so far worked on his own 
files (no git) and post them on the mailing list. The snippets on 
OLL should follow some guidelines and I'm not willing to adapt 
Harm's code to OLL in first place (or if/when a new version is 
available).


But the code, even if not perfect, is working great already and some 
people are using it. That's why I think it should be hosted on 
gitlab.

I will open a thread on lilypond-devel.












Re: Unable to attach a bend to an \afterGrace note with the bend spanner

2020-09-22 Thread Federico Bruni




Il giorno dom 20 set 2020 alle 12:33, Jonas Hahnfeld  
ha scritto:

Am Donnerstag, den 17.09.2020, 12:27 +0200 schrieb Federico Bruni:

 Il giorno gio 17 set 2020 alle 11:11, Thomas Morley
  ha scritto:
 > the bend-engraver-thingies are not part of core LilyPond.
 > Please post at least the link where you got it, otherwise you'll 
not

 > get a lot of help ...

 Harm, the code is currently hosted on pagure.io:
 https://pagure.io/lilypond-bend-spanner

 We may move it to gitlab.com, where I'm sure you have an account (to
 contribute to LilyPond).
 Can we put it under LilyPond group? What do you think?

 Jonas, lilypond-bend-spanner is a work in progress by Harm, not 
ready

 yet for inclusion in LilyPond core.
 I think it deserves some more visibility and should be included in a
 proper subproject on Gitlab.


Not making a decision here, but it looks like you're the only author
(not Harm) and the last commit is from three years ago. Isn't this
something that fits more into openLilyLib?



I'm just the maintainer of the repository. The author of the code is 
Harm.
I think I'll edit the author of some commits in order to avoid 
confusion.


An older and limited version of the bend spanner is in openLilyLib. 
Actually this thread was started from a person who was using this old 
code and opened an issue in the tracker:

https://github.com/openlilylib/snippets/issues/175
https://github.com/openlilylib/snippets/tree/master/notation-snippets/guitar-string-bending

I'm against the idea of putting it in OLL.
As it's still a work in progress, Harm so far worked on his own files 
(no git) and post them on the mailing list. The snippets on OLL should 
follow some guidelines and I'm not willing to adapt Harm's code to OLL 
in first place (or if/when a new version is available).


But the code, even if not perfect, is working great already and some 
people are using it. That's why I think it should be hosted on gitlab.

I will open a thread on lilypond-devel.






Re: Unable to attach a bend to an \afterGrace note with the bend spanner

2020-09-17 Thread Federico Bruni
Il giorno gio 17 set 2020 alle 11:11, Thomas Morley 
 ha scritto:

the bend-engraver-thingies are not part of core LilyPond.
Please post at least the link where you got it, otherwise you'll not
get a lot of help ...


Harm, the code is currently hosted on pagure.io:
https://pagure.io/lilypond-bend-spanner

We may move it to gitlab.com, where I'm sure you have an account (to 
contribute to LilyPond).

Can we put it under LilyPond group? What do you think?


Jonas, lilypond-bend-spanner is a work in progress by Harm, not ready 
yet for inclusion in LilyPond core.
I think it deserves some more visibility and should be included in a 
proper subproject on Gitlab.







Re: Lilypond PDF links in TexShop (Mac OS)

2020-08-04 Thread Federico Bruni
On Mon, 3 Aug, 2020 at 13:50, Michael Seifert  
wrote:
Also inside that LilyPond engines directory is a README.txt file, 
which actually has instructions on how to enable point-and-click!  
(Federico, take note.)  I’ll just copy and paste the instructions 
here:


1. Install the SwiftDefaultApps pref pane from 
https://github.com/Lord-Kamina/SwiftDefaultApps
2. Open GotoTeXShop.applescript in Script Editor. [also included in 
the LilyPond engines directory]

3. Go to File > Export…
4. Choose Application as the File Format.
5. Save GotoTeXShop.app.
6. Go to the SwiftDefaultApps pref pane and choose GotoTeXShop.app as 
the

   handler for textedit URI Schemes.


I tried SwiftDefaultApps but I had some problem I don't remember.
I guess the notes I took are in my father's Mac. Can't check them.






Re: Lilypond PDF links in TexShop (Mac OS)

2020-08-02 Thread Federico Bruni




On Sun, 2 Aug, 2020 at 11:24, Michael Seifert  
wrote:
	This is more of a LilyPond-adjacent question, but I figured I’d 
see if anyone had any ideas:


	I’m currently using TeXShop 4.44 under Mac OS Catalina to edit & 
compile my LilyPond code.  The resulting PDFs contain links of the 
form “textedit:///Users/...” which direct back to the appropriate 
spots in the source code.  However, clicking on these links opens the 
source code in the stand-alone LilyPond app, rather than staying in 
TeXShop.


	Is there a way to get these links to open within TeXShop, rather 
than in the LilyPond editor app?


Mike Seifert
Quaker Hill, CT, USA



Hi Mike

Last year (or maybe even before) I started writing a post for 
lilypondblog.org, but I never completed it as I was not happy about it. 
IIRC Windows worked fine, but I never found a way to register the 
textedit protocol in Mac.
Eventually I lost interest in this post, as I'm a Linux user and 
honestly I don't care too much about Windows and Mac users anymore :P


I've just created a public preview of the post:
http://lilypondblog.org/?p=5046=1&_ppp=04a9ff891e

NOTE: it will expire in 2 days!

I hope it will give some hints to carry on your research.

Cheers
Federico






Re: Problem installing docs

2020-07-11 Thread Federico Bruni




On Fri, 10 Jul, 2020 at 17:23, David Sumbler  wrote:
I downloaded Lilypond version 2.21.2 today.  When I ran the script 
with

the --doc option, Lilypond installs but the docs can't be downloaded.

I also tried with version 2.20.1, with the same result.

I get the following output:

No ./Downloads/lilypond-2.21.2-1.documentation.tar.bz2 found, 
downloading.
--2020-07-10 17:15:04--  
http://lilypond.org/downloads/binaries/documentation/Downloads/lilypond-2.21.2-1.documentation.tar.bz2

Resolving lilypond.org (lilypond.org)... 35.206.114.173
Connecting to lilypond.org (lilypond.org)|35.206.114.173|:80... 
connected.

HTTP request sent, awaiting response... 404 Not Found
2020-07-10 17:15:04 ERROR 404: Not Found.

Is this a temporary problem with the server, or is there something 
else I should know or do?




Hi David

I've just tried and it works.
Perhaps it was a temporary server error.

Do you know that you can use the --doc switch only when your working 
directory is the same as the directory where the install script is 
saved?

https://gitlab.com/lilypond/lilypond/-/issues/3768

Well, at least 6 years ago.. I haven't tried it recently.






Re: Notes with two stems

2020-07-08 Thread Federico Bruni




On Wed, 8 Jul, 2020 at 17:29, Simone Capretti 
 wrote:

Hello to all,

I've searched in the documentation but I haven't found a command for 
setting


arbitrary double stems for a note, as in the notes with the red arrow 
below:


Any idea?

Thank in advance.

Simone



Ciao Simone

You can use manual beams:

\version "2.20.0"

\relative {
 \key g \major
 \time 2/4
 \voiceTwo
 b16[ e g] b,[ e8.]
}


or automatic settings described here:
http://lilypond.org/doc/v2.20/Documentation/notation/beams

I suggest you try to reproduce a minimal example and then write here 
what's not working for you.







Re: png export resolution

2020-07-07 Thread Federico Bruni




On Tue, 14 Apr, 2020 at 08:35, Martin Tarenskeen 
 wrote:


Hi,

If I type "lilypond -dhelp" I see "resolution (101)". Do I understand 
correctly that when using the --png option the default export 
resolution is 101 dpi? I am sure there is a good reason to have 
chosen 101 and not 100, or 110?


Don't worry, I know I can change this with the -dresolution option. I 
was just wondering about that strange value.





Hi Martin

I'm cleaning my inbox and I think nobody replied to your question.

It's not only in -dhelp, this is documented also in the Usage manual.

I've tried looking at git history.
That number changed from 116 to 90 and then 101.

There was a comment explaining that number:

;; at 101.178, a staff space is exactly 7 pixels.
  (resolution 101.178 "resolution for generating bitmaps")

So the purpose would seem to have a "pixel perfect" staff space.






Re: italian list or forum

2020-07-07 Thread Federico Bruni




On Fri, 29 May, 2020 at 23:42, Valentin Villenave 
 wrote:

On 5/29/20, Federico Bruni  wrote:

 Next week I'll send a patch to update the website.


Great!  This should also appear in news-headlines, methinks.

Looking forward to seeing your patch!



The patch has been merged, but I forgot to announce it in this thread.
If you haven't already, you can subscribe here:
https://lists.gnu.org/mailman/listinfo/lilypond-it






Re: PDF not shown in Frescobaldi

2020-06-16 Thread Federico Bruni




On Tue, 16 Jun, 2020 at 14:54, Noeck  wrote:



Am 16.06.20 um 14:13 schrieb Federico Bruni:

 IMO Frescobaldi package should not have lilypond as dependency


To be more precise: frescobaldi "recommends" and "enhances" lilypond.
But with default apt settings that means, installing frescobaldi will
install lilypond, too.


"recommends" makes sense, absolutely.

In Fedora there's the concept of weak dependency, but I think it was 
introduced a few years ago.

Currently in Fedora lilypond is a hard dependency of frescobaldi:
https://src.fedoraproject.org/rpms/frescobaldi/blob/master/f/frescobaldi.spec#_23

I think I opened an issue in Fedora/Red Hat tracker some time ago, but 
I cannot find it anymore.







Re: PDF not shown in Frescobaldi

2020-06-16 Thread Federico Bruni

On Tue, 16 Jun, 2020 at 13:02, Noeck  wrote:

By the way, one of several reasons to my own Frescobaldi was that the
version from the package repository depends on lilypond which depends 
on
python2 as the only application on my system. (I know, I could 
instruct

apt to ignore it and the lilypond installer also ships with python2).


IMO Frescobaldi package should not have lilypond as dependency, given 
that a) you can have your own "self-contained" installations from 
lilypond.org; b) lilypond package throws in a lot of dependencies 
(TexLive is the biggest one).


Maybe packagers are worried that a new user might complain that 
Frescobaldi can't do anything.
Perhaps Frescobaldi might check on startup if lilypond is installed and 
warn the user if it's not. Looks like a viable solution on Linux and 
Mac, but maybe not on Windows?

Ah, I found an old discussion on this topic:
https://github.com/frescobaldi/frescobaldi/issues/313






Re: italian list or forum

2020-05-29 Thread Federico Bruni
On Sat, 23 May, 2020 at 09:39, Valentin Villenave 
 wrote:

My advice would be to name your list lilypond-it


Here is it:
https://lists.gnu.org/mailman/listinfo/lilypond-it

Next week I'll send a patch to update the website.






Re: italian list or forum

2020-05-22 Thread Federico Bruni




Il giorno ven 22 mag 2020 alle 20:48, Valentin Villenave 
 ha scritto:


Hey Federico,
in case you end up opening a GNU mailing list, may I offer you some of
my CSS overrides?



Thanks, I will!

Do you know how can I ask GNU to create a new mailing list?






Re: Is it possible to specify a temporary directory instead of /tmp?

2020-05-22 Thread Federico Bruni




Il giorno ven 22 mag 2020 alle 11:11, Frédéric  
ha scritto:

Hi,
I'm trying to generate scores from a web page but my http server
(apache) is not allowed to write in /tmp (SELinux). I am allowed to
write in a specific directory where I save the .ly and .pdf but
lilypond generates the postscript file /tmp which fails when ran from
the web site.
Can I specify a specific temporary directory?
Regards,
F



You may set the TMPDIR environment variable when calling lilypond:

TMPDIR=~/tmp lilypond --verbose file.ly







italian list or forum

2020-05-21 Thread Federico Bruni

This is a message for the italian users subscribed to this mailing list.
Some years ago I asked if anybody were interested in creating an 
italian mailing list. We were just three :-( so I gave up:

https://lists.gnu.org/archive/html/lilypond-user/2011-12/msg00653.html

As I'm seeing more and more italians here (and also on Frescobaldi 
mailing list), I think it's the moment to create a new italian 
"community place".

Please let me know if you are interested.

What would you suggest to use?
Some options:

1. Mailing list on gnu.org (as this one)
Pro: supported by GNU project. We are confident the archive of messages 
will remain.

Con: no web interface; "old-fashioned" archive with poor usability.

2. Google group
Pro: can be used as a normal mailing list as well as a forum on the 
browser.
Con: Google might dismiss it one day; I'm not fond of being logged in 
with a google account with my browser, so I would use it as a mailing 
list.


Other options?

I'm for 1.

Let me know your thoughts.

Ciao
Federico






Re: registering a composition

2020-05-21 Thread Federico Bruni
Il giorno gio 21 mag 2020 alle 10:33, Valentin Villenave 
 ha scritto:

All you
need to have is a way of proving your anteriority if anyone were to
come and claim they’ve written it instead of you.


A modern alternative to sending a sealed package is digital 
watermarking.


Francesco, as you are italian, you may want to try this "almost free" 
service:

https://www.costozero.org/wai/copyzero.html
https://www.costozero.org/wai/u2.html

or buy a smart card to do it yourself






Re: LilyPond release announcements

2020-05-08 Thread Federico Bruni
Il giorno ven 8 mag 2020 alle 13:00, Ash Holland  ha 
scritto:
Is there a list I can subscribe to to get announcements for new 
LilyPond releases? info-lilypond looks like what I want, but it's not 
seen any new mail for nearly 6 years.


This is more a note to developers than an answer to above question.

Gitlab¹ allows to be notified by email when a new release is made:
https://gitlab.com/help/user/project/releases/index#notification-for-releases


¹ For those who are not subscribed to lilypond-devel, read here:
https://lists.gnu.org/archive/html/lilypond-devel/2020-05/msg00149.html






Re: Combining roughly 70 separate files into a single book

2020-05-04 Thread Federico Bruni
Il giorno lun 4 mag 2020 alle 14:39, Brent Annable 
 ha scritto:
Your strategy seems like good advice, and I've changed the files 
around so I can do it. But the master file is getting very long and 
complicated with all the \score blocks, so I have a question: can you 
put a \score block into a variable, to avoid all the extra code in 
the master file? Whenever I try to do that I get an error message, 
using the syntax below:




This is exactly what I do: I save each score block in a variable so I 
can use it wherever I want to.



myScore = { \score { \new Staff [etc.] } }

\myScore

Is there some special way of putting the \score block into a variable 
so it doesn't produce an error?


David has already given the solution: you should not wrap it using {}






Re: Combining roughly 70 separate files into a single book

2020-04-28 Thread Federico Bruni
Il giorno mer 29 apr 2020 alle 02:36, Brent Annable 
 ha scritto:
Does that do page numbers as well?  I'd really like to eliminate any 
extra steps if possible; my goal is to have a master file that I can 
adjust as necessary, and then just press a button to spit the whole 
thing out every time I need a new version.


Based on Jerry's suggestion I've done a little experimenting. Using a 
structure like this:


\book {
\bookpart {\include "O-Welt-ich-muss-dich.ly"}
\bookpart {\include "O-Welt-ich-muss-dich.ly"}
}

does produce scores in sequence with headings, etc. in place, but the 
music processing is full of errors and the output is nonsensical (see 
attachment). Can someone explain to me why this approach doesn't 
work? I thought that anything in a \bookpart block should be 
independent of everything around it, is that not the case? I even 
tried it with multiple \book blocks, but that produced nothing at all.


IIRC the reason is that you cannot include, within a bookpart, a file 
which contains top level expressions.
This means that, even if you remove the top level expressions (such as 
\score), in any case you'll need an extra file to produce the PDF of 
the single piece.


I usually follow this strategy:

- Piece-Name.ily: file containing only music variables (doesn't produce 
any output), including a variable for the \score block. You'd better 
use variable names which are unique within your project.
- Piece-Name.ly: here I include above file and call the \score 
variable, to print a single PDF.
- If the piece is part of a collection, the collection.ly file will 
include only the .ily file and call the \score variable.


HTH
Federico





Re: AW: Frescobaldi Sessions

2020-04-12 Thread Federico Bruni




Il giorno sab 11 apr 2020 alle 22:45, sir.teddy.the.fi...@gmail.com ha 
scritto:

Hi,

thanks for the response, I’m on Windows.

I found 
“HKEY_CURRENT_USER/Software/frescobaldi/frescobaldi/sessions”.


Is that all I have to copy or is anything from “sessiondata” 
needed as well?





I'm not a Windows user, but IIRC you can "export" a key and all its 
"nodes" and then reimport it in another machine.

So I would export HKEY_CURRENT_USER/Software/frescobaldi






Re: Using Frescobaldi compile functionality - first test failed

2020-03-19 Thread Federico Bruni




Il giorno gio 19 mar 2020 alle 21:36, Martin Tarenskeen 
 ha scritto:



On Thu, 19 Mar 2020, Pablo Cordal wrote:


Hi folks,
I just copied the file in C:\Users\ana and lilypond found the file, 
started to compile it... and returned an error. I attach image and 
the a.ly file. I compile the

a.ly inside Frescobaldi with no problems.


What happens if you compile a minimal example with only

\version "2.18.2"
{ c' }

in it?

What happens if you use Lilypond 2.19.84



Why you don't suggest 2.20 (new stable)?
http://lilypond.org/windows.html






Re: Frescobaldi on Fedora 31

2020-03-14 Thread Federico Bruni




Il giorno dom 15 mar 2020 alle 12:33, Andrew Bernard 
 ha scritto:

A new install of Fedora 31, Frescobaldi installs but the documentation
reader is missed up. Moving the cursor over the page seeming drop down
windows appear half filled with images of parts of the page and you
cant read the docs.

Everything is pristine, with the exception that I have added GNOME 
themes.


Does anybody else have this problem?

Andrew



I'm not sure I understood your issue.. but it seems something related 
to general graphic issue?

A screenshot would be better.

I noticed some problems when running Frescobaldi under Wayland (see the 
recent issues I opened on github).

I have to run it this way:
QT_QPA_PLATFORM=xcb frescobaldi

Anyway, the documentation browser works fine here on Fedora 31 and 
Frescobaldi installed from master. Except that it's supposed to read 
lilypond.org documentation and displays version 2.18.2 instead of 2.20.







Re: 2.20.0 doc tarball location

2020-03-12 Thread Federico Bruni

It's here:
http://lilypond.org/all.html


Il giorno gio 12 mar 2020 alle 23:20, Andrew Bernard 
 ha scritto:

I am accustomed to downloading the complete doc tarball for releases.
I am unable to see where this has gone to with the 2.20.0 release on
the lilypond website.

Can anybody help me out? It's eluding my vision.

Andrew







Re: Lily 2.19.83 crashed

2020-02-10 Thread Federico Bruni




Il giorno lun 10 feb 2020 alle 15:52, David Kastrup  ha 
scritto:

Jacques Menu  writes:


 Hello folks,

 The attached file caused a crash:

 menu@macbookprojm: ~/libmusicxml-git/files/samples/musicxml > 
lilypond HelloWorld.ly

 GNU LilyPond 2.19.83
 Processing `HelloWorld.ly'
 Parsing...
 Interpreting music...
 warning: no music found in score
 Preprocessing graphical objects...
 Interpreting music...
 warning: no music found in score
 MIDI output to `HelloWorld.midi'...Segmentation fault: 11 (core 
dumped)


 due to:

   \new Staff = "Part_POne_Staff_One"
   \with {
   }
   <<
   >>

 My wrong, I confess…


The given example does not generate Midi.  An example showing probably
the same kind of crash would be


Might be worth reporting to the bug list so that it gets tracked.




No need to write to the bug list. It's already in the tracker (even if 
summary should be corrected, I will do it now):


https://sourceforge.net/p/testlilyissues/issues/5234/







Re: New release

2020-02-06 Thread Federico Bruni

I'm installing on Windows 7 after cleaning a previous very old version.
The default path is C:\Program Files (x86)\LilyPond

Gianmaria, can you test this issue?


Il giorno gio 6 feb 2020 alle 15:02, Gianmaria Lari 
 ha scritto:

Hello Phil,

I downloaded and I'm trying to install the windows version.

Is it normal that 2.19.84 version tries to install itself it in the 
old folder "LilyPond2.19.83"?


Have a look to the attached screenshot.
Regards Gianmaria

On Thu, 6 Feb 2020 at 14:40, Phil Holmes > wrote:
We have just released LilyPond version 2.19.84.  We hope this will 
quickly
 be followed by a new stable release, version 2.20.0.  Please 
download
 2.19.84 and test it, to ensure it is stable enough to form the new 
stable

 release.

 Thank you.

 --
 Phil Holmes







Re: Syntax highlighting

2020-01-14 Thread Federico Bruni
Il giorno mar 14 gen 2020 alle 12:34, Urs Liska  
ha scritto:

Pygments is also what Pandoc uses for its syntax highlighting, so that
would also make sense for that (e.g. generating PDF documentation from
Markdown).


Are you sure?
I think that pygments is the name of the default style in Pandoc, but 
the highlight library is a Haskell library called skylighting:

https://pandoc.org/MANUAL.html#syntax-highlighting
https://github.com/jgm/skylighting

It seems Wilbert contributed the definitions for lilypond syntax:
https://github.com/KDE/syntax-highlighting/blob/master/data/syntax/lilypond.xml

About 10 days ago I wanted to share this in the open issue in 
Frescobaldi tracker but I forgot to do it.

I remember I found the lilypond file definition somewhere else...






Re: Syntax highlighting

2020-01-14 Thread Federico Bruni




Il giorno mar 14 gen 2020 alle 09:13, Craig Dabelstein 
 ha scritto:

Hi all,

I'd like to add LilyPond syntax highlighting to highlight.js ( 
https://highlightjs.readthedocs.io/en/latest/ ) so that I can 
experiment with documentation tools such as mkDocs/readthedocs. Does 
anyone have any experience with this? Would it just be a matter of 
getting one of the current syntax packages (such as 
https://github.com/yrammos/SubLilyPond or 
https://github.com/yrammos/AtLilyPond , and trying to modify them?





I don't have any experience with highlight.js.
Some years ago I started writing a Pygments definition for LilyPond but 
then I gave up or simply forgot about it.


The Sublimetext and Atom packages might be useful as a reference, but I 
guess that highlight.js will need its own syntax so you'd better start 
from scratch.


The problem with syntax highlighting is maintainance. LilyPond syntax 
changes and a manually compiled list must be updated manually for every 
new stable release.


See also python-ly:
https://github.com/frescobaldi/python-ly/blob/master/ly/words.py


Personally I'd be more interested in adding lilypond to Pygments.
Pygments can be easily exported to chroma¹ (for Hugo² static site 
generator).

And it seems Pygments may be used also in Mkdocs, see this discussion:
https://github.com/mkdocs/mkdocs/issues/1588

¹ https://github.com/alecthomas/chroma
² https://gohugo.io/content-management/syntax-highlighting/






Re: Getting Frescobaldi to use my poppler

2020-01-03 Thread Federico Bruni




Il giorno ven 3 gen 2020 alle 09:28, Knute Snortum  
ha scritto:

I noticed that the minimum version for poppler was 0.82 for
Frescobaldi 3.1 and I didn't have a package that high, so I built
poppler from source.  It's installed in /usr/local/.

But when I run Frescobaldi and look in the versions tab of the About
window, it is still using the old poppler.  So I thought I would
rebuild python-poppler-qt5.  But when I try to build it I get this
error:

$ python setup.py build
Traceback (most recent call last):
  File "setup.py", line 42, in 
import sipdistutils
ImportError: No module named sipdistutils
$ apt list sip*
Listing... Done
sip-dev/eoan,now 4.19.18+dfsg-1 amd64 [installed,automatic]

Should I continue to try to build python-poppler-qt5?  How do I get
Frescobaldi to use the newer poppler?

I'm running Ubuntu 19.10.




See this issue:
https://github.com/frescobaldi/python-poppler-qt5/issues/14#issuecomment-506735413

Try this:
wget 
https://www.riverbankcomputing.com/hg/sip/raw-file/79f89221765d/sipdistutils.py

mv sipdistutils.py path/to/lib/python3.X/site-packages/






Re: Frescobaldi doesn’t recognise python-ly

2019-12-30 Thread Federico Bruni




Il giorno lun 30 dic 2019 alle 18:56, Simon Albrecht 
 ha scritto:

On 30.12.19 18:11, Ralf Mattes wrote:

The most sensible explanation for that would be an error in the bash
file, so I attach it in case someone else can see one…

Where did you get this shell script from?
I tried to assemble it from the ‘echo’ calls in 
…

Shouldn' that read:

export  PYTHONPATH=~/python-ly:$PYTHONPATH

???



Obviously, yes. Thanks, that fixes it. I never read up on sh basics…



There's also a new option:

$ frescobaldi --help | grep '^\s*--python-ly'
 --python-ly STR   Path to python-ly






Re: embed-source-code

2019-12-14 Thread Federico Bruni
Il giorno ven 13 dic 2019 alle 23:48, Thomas Morley 
 ha scritto:

 The feature embeds the source as an *attachment* within the PDF.  I
 would assume both evince and Foxit know how to handle attachments.


If so, then they refuse to tell me how to participate.
And I will not spending hours to research, thus I gave up on this


Harm, Evince has an attachment icon on the left sidebar: if you click 
on it you'll see the attachments and you'll be able to save them or 
open them (opening the files didn't work on a system where I have 
Evince as flatpak, but I guess it's a flatpak issue).







Re: bar numbers at top of score

2019-12-07 Thread Federico Bruni




Il giorno mer 27 nov 2019 alle 12:06, Craig Dabelstein 
 ha scritto:

Hi everyone,

I remember a thread where someone had posted a score and along the 
top on its own line was every bar numbered in a large size. Does 
anyone remember this? I can't locate it.


Craig



Did you search the LSR?
I found this:
http://lsr.di.unimi.it/LSR/Item?id=651






Re: Fedora 31, Python3, Frescobaldi

2019-11-03 Thread Federico Bruni




Il giorno ven 1 nov 2019 alle 10:22, Martin Tarenskeen 
 ha scritto:


Just upgraded to Fedora 31. Maybe this is not the right place to 
report this, but I'm seeing this in my terminal when updating my 
packages:



 Problem 1: package frescobaldi-3.0.0-10.fc31.noarch requires 
python3-sip, but none of the providers can be installed
  - package sip-4.19.19-1.fc31.x86_64 obsoletes python3-sip < 
4.19.19-1.fc31 provided by python3-sip-4.19.18-6.fc31.x86_64
  - cannot install the best update candidate for package 
python2-sip-4.19.18-6.fc31.x86_64
  - cannot install the best update candidate for package 
frescobaldi-3.0.0-10.fc31.noarch
 Problem 2: problem with installed package 
frescobaldi-3.0.0-10.fc31.noarch
  - package frescobaldi-3.0.0-10.fc31.noarch requires python3-sip, 
but none of the providers can be installed
  - package sip-4.19.19-1.fc31.x86_64 obsoletes python3-sip < 
4.19.19-1.fc31 provided by python3-sip-4.19.18-6.fc31.x86_64
  - cannot install the best update candidate for package 
python3-sip-4.19.18-6.fc31.x86_64


--



See 
https://src.fedoraproject.org/rpms/frescobaldi/c/f7fd91a956649f3015eb7332922fcf2f861a730e?branch=master


Those commits are in master but may be merged also in f31 branch?
Contact the maintainer if you want to know more.







Re: Using rumor with Docker container on MacOS

2019-10-30 Thread Federico Bruni
Il giorno mer 30 ott 2019 alle 01:15, Carl Sorensen 
 ha scritto:

Frescobaldi 3 (without Rumor) also supports MIDI input.

Yes, but it only gets the notes.  Rumor will also capture durations.  
From reading the Frescobaldi docs, there used to be a Rumor plugin.  
Now it appears we no longer have a Rumor plugin, but the base MIDI 
input ignores durations.


Is there a way to get durations off a MIDI keyboard in Frescobaldi?


No.

If you use current master, you can type the durations first, e.g.:

s2 s4. s8

and then replace the spacer rests with the notes played on keyboard.
This feature has been merged last month. This was the original PR:
https://github.com/frescobaldi/frescobaldi/pull/1039

See also these discussions:
https://github.com/frescobaldi/frescobaldi/issues/865
https://github.com/frescobaldi/frescobaldi/issues/839






Re: Using rumor with Docker container on MacOS

2019-10-28 Thread Federico Bruni




Il giorno lun 28 ott 2019 alle 01:34, Carl Sorensen 
 ha scritto:
I have a friend who has seen my lilypond work and would like to get 
involved with lilypond.


He would like to use a MIDI keyboard, rather than the keyboard, to be 
able to input music.


Frescobaldi with rumor appears to meet his needs, except for the fact 
that rumor is only supported on Linux systems, and he uses MacOS




Frescobaldi 3 (without Rumor) also supports MIDI input.


I have seen no MacPorts or Homebrew solutions for using rumor.  So I 
was hoping to set up rumor to use with one of the Docker containers 
for LilyDev (preferably the lilypond container, rather than the 
lilydev container).


I have never used Docker before, but I was able to get it set up with 
a few false starts (thanks, Federico!).


Could somebody (maybe Federico) give me some pointers on how I might 
add rumor to a Docker container?  Or maybe set up a new Docker 
container?  Since rumor doesn't add the music into Lilypond files, as 
I understand it, but instead creates music to be pasted into a 
lilypond source file, I think I could use rumor in a Docker 
container, and paste the results of a rumor run into a Frescobaldi 
window.




You should thank Dan Eble for all the work on the Docker container.
I think you can just add the rumor package in the Dockerfile and build 
the image.







Re: Frescobaldi, improve support for audio export

2019-10-20 Thread Federico Bruni
Il giorno ven 18 ott 2019 alle 23:14, J Martin Rushton via 
lilypond-user  ha scritto:

There is a VLC available through flatpack, but I've not used it (so
therefore cannot comment), but have seen warnings that it will pull in
up to 1.2 GiB of other packages including the complete KDE 
implementation.


$ flatpak info org.videolan.VLC | grep 'Installed'
  Installed: 77,7 MB

$ flatpak info org.kde.Platform//5.13 | grep Installed
  Installed: 910,3 MB

The KDE runtime may be used by other Qt applications installed in your 
system.


You may want to read this post by the author of Flatpak:
https://blogs.gnome.org/alexl/2017/10/02/on-application-sizes-and-bloat-in-flatpak/

In a nutshell: Flatpak is a bundling system and as such it requires 
more disk space, but the benefits (of shipping a self-contained and 
independent application) may offset the cost for some people, 
especially today (as large disks are smaller and cheaper). The article 
explains how ostree helps in reducing the duplication between similar 
runtimes.




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


Re: Creating MP3 files

2019-10-14 Thread Federico Bruni
Il giorno lun 14 ott 2019 alle 17:47, msk...@ansuz.sooke.bc.ca ha 
scritto:

Creating MP3, or any digital-audio format, requires synthesizing the
actual sounds of the notes.  It's far outside the scope of what a 
music

notation program does and no surprise Lilypond doesn't do it;


I think nobody in this thread wrote that Frescobaldi supports exporting 
to WAV file.
It's kind of a hidden feature currently, as it's in the experimental 
features (disabled by default).


Steps to enable it:

1. Install Timidity (in Fedora the package is timidity++)
2. In Frescobaldi preferences enable the experimental features
3. Restart Frescobaldi
4. You'll see a new menu item: File>Import/Export>Export Audio

I've just tested it and it works fine using Frescobaldi from git master.




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


Re: How to search all Lilypond Archives in same search

2019-10-10 Thread Federico Bruni



Il giorno gio 10 ott 2019 alle 08:28, Michael Abrams 
 ha scritto:
Hi, no wish to be a burden to any Lilypond user, but I am a new to 
Lilypond, and would like to find out if there is a way to search 'the 
Archives' at the same time rather than each entry in the [All List]?


Michael




Hi Michael

Try this:
http://lilypond.1069038.n5.nabble.com/




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


Re: Frescobaldi feature testing (Document font dialog)

2019-09-09 Thread Federico Bruni
Il giorno lun 9 set 2019 alle 11:59, Urs Liska  
ha scritto:
I've finally managed to do some work on Frescobaldi again, picking up 
on a completely new "Document Fonts" dialog I had started some time 
ago. I think it is approaching a point where it can be merged, and 
therefore I'd be glad about people testing it


Hi Urs

When I open "Document Fonts", it hangs forever until I close 
Frescobaldi.

My python is version 3.7.4.

$ frescobaldi
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use 
QT_QPA_PLATFORM=wayland to run on Wayland anyway.

Traceback (most recent call last):
 File "/home/fede/src/frescobaldi/frescobaldi_app/fonts/__init__.py", 
line 69, in document_fonts

   dlg = dialog.FontsDialog(info, mainwin)
 File "/home/fede/src/frescobaldi/frescobaldi_app/fonts/dialog.py", 
line 107, in __init__

   self.createTabs()
 File "/home/fede/src/frescobaldi/frescobaldi_app/fonts/dialog.py", 
line 144, in createTabs

   musicfonts.MusicFontsWidget(self.available_fonts, self)
 File 
"/home/fede/src/frescobaldi/frescobaldi_app/fonts/musicfonts.py", line 
77, in __init__

   bai.setEnabled(self._font_repo and not self._auto_install)
TypeError: setEnabled(self, bool): argument 1 has unexpected type 'str'
Error in sys.excepthook:
Traceback (most recent call last):
 File "/home/fede/src/frescobaldi/frescobaldi_app/app.py", line 224, 
in excepthook

   exception.ExceptionDialog(exctype, excvalue, exctb)
 File "/home/fede/src/frescobaldi/frescobaldi_app/exception.py", line 
46, in __init__
   self._ext_maintainer = 
app.extensions().is_extension_exception(tbfull)
 File 
"/home/fede/src/frescobaldi/frescobaldi_app/extensions/__init__.py", 
line 811, in is_extension_exception

   return (infos['extension-name'],
TypeError: 'NoneType' object is not subscriptable

Original exception was:
Traceback (most recent call last):
 File "/home/fede/src/frescobaldi/frescobaldi_app/fonts/__init__.py", 
line 69, in document_fonts

   dlg = dialog.FontsDialog(info, mainwin)
 File "/home/fede/src/frescobaldi/frescobaldi_app/fonts/dialog.py", 
line 107, in __init__

   self.createTabs()
 File "/home/fede/src/frescobaldi/frescobaldi_app/fonts/dialog.py", 
line 144, in createTabs

   musicfonts.MusicFontsWidget(self.available_fonts, self)
 File 
"/home/fede/src/frescobaldi/frescobaldi_app/fonts/musicfonts.py", line 
77, in __init__

   bai.setEnabled(self._font_repo and not self._auto_install)
TypeError: setEnabled(self, bool): argument 1 has unexpected type 'str'
Traceback (most recent call last):
 File "/home/fede/src/frescobaldi/frescobaldi", line 32, in 
   sys.exit(app.run())
 File "/home/fede/src/frescobaldi/frescobaldi_app/app.py", line 141, 
in run

   aboutToQuit()
 File "/home/fede/src/frescobaldi/frescobaldi_app/signals.py", line 
191, in emit

   l.call(args, kwargs)
 File "/home/fede/src/frescobaldi/frescobaldi_app/signals.py", line 
308, in call

   return self.func(obj, *args[self.argslice], **kwargs)
 File "/home/fede/src/frescobaldi/frescobaldi_app/musicpreview.py", 
line 171, in cleanup

   self._top.hide()
RuntimeError: wrapped C/C++ object of type QWidget has been deleted
Error in sys.excepthook:
Traceback (most recent call last):
 File "/home/fede/src/frescobaldi/frescobaldi_app/app.py", line 224, 
in excepthook

   exception.ExceptionDialog(exctype, excvalue, exctb)
 File "/home/fede/src/frescobaldi/frescobaldi_app/exception.py", line 
46, in __init__
   self._ext_maintainer = 
app.extensions().is_extension_exception(tbfull)
 File 
"/home/fede/src/frescobaldi/frescobaldi_app/extensions/__init__.py", 
line 811, in is_extension_exception

   return (infos['extension-name'],
TypeError: 'NoneType' object is not subscriptable

Original exception was:
Traceback (most recent call last):
 File "/home/fede/src/frescobaldi/frescobaldi", line 32, in 
   sys.exit(app.run())
 File "/home/fede/src/frescobaldi/frescobaldi_app/app.py", line 141, 
in run

   aboutToQuit()
 File "/home/fede/src/frescobaldi/frescobaldi_app/signals.py", line 
191, in emit

   l.call(args, kwargs)
 File "/home/fede/src/frescobaldi/frescobaldi_app/signals.py", line 
308, in call

   return self.func(obj, *args[self.argslice], **kwargs)
 File "/home/fede/src/frescobaldi/frescobaldi_app/musicpreview.py", 
line 171, in cleanup

   self._top.hide()
RuntimeError: wrapped C/C++ object of type QWidget has been deleted




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


  1   2   3   4   5   6   7   8   9   10   >