-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lyluatex runs slowly on mac #303
Comments
Thank you for the report; and about you English, don’t worry: mine isn’t really good either! Unfortunately, I don’t have a m2 at hand to test… But it should be feasible to test some points. First of all, when using Another question: is the second compilation so slow? Normally, the "pre-compiled" scores in |
Thank you very much for your reply! You got to the crux of the matter at once! lualatexI tried as you suggested, and after I generated the tex file from lytex using lilypond, then compiled it using lalatex or pdflatex or xelatex respectively. When using pdflatex or xelatex, the information on the console is too fast to see. But when using lualatex, the information appears very slowly one by one.
The above is part of the information I chose, and the rest is pretty much the same. About "Another question"I may not have understood too well which time you mean by the ''second compilation''. If you are referring to the use of lilypond-book, after the test above, it is fast as long as you don't use lualatex. If you are referring to the case of using lyluatex, the overall speed is slow. Finally
PS:Finally, thanks again for your reply! |
What I mean by "second compilation" is when using According to what you say, it seems the problem is specific to |
If it is indeed slow, I think it really comes from the |
about test.zipI unpacked the files and tested them. Since there is only one \includegraphics command in it, using xelatex or lualatex is instant. about tmp-lyI did observe that with lyluatex, the file is generated and placed in tmp-ly on the first run.
But this generation process takes a very long time.
The "gs couldn't be launched", which I seem to have seen before under other issues, was said to have no effect on the generated results, so I didn't pay special attention to it. The whole process of the above took about 12 minutes. Next I did a second compilation, as expected, lyluatex doesn't need to re-compile scores, and finally it took a little over 2 minutes to finish. Summary
Finally, thank you for your reply, it helped me a lot. |
I hadn’t thought about it, but the |
Still compiling your .tex… but the time spent evidently comes from About possible optimizations, "if I were you" (which is always easy to say), I’d ensure that the binaries (from MacTeX and from LilyPond) are compiled natively for m2, not "universal" binaries. Otherwise, the only thing I see is avoiding to many changes on scores, so that the |
Thank you so much for your patience, I think I've got a good idea and figured out a lot of things ~! By the way, lylatex is really a very good program for music majors who are using latex! |
Hi author, I've been using lyluatex to get lilypond to work perfectly with latex, but I recently switched to an Apple silicon computer and have some new problems.
Background
Computer: apple m2 max 32g
Lilypond: 2.24.1
lyluatex and mactex versions are the latest
Tests have been performed at the command line as well as under various editors
Do a comparison of windows computers: cpu-AMD 5700G
Specific questions
First, my latex minimal code case is:
It works fine on Apple computers, but it takes about 16 minutes to run. But on windows it only takes almost half the time. This was very surprising to me because the Apple computer was just bought and I had very high expectations for its performance, while the windows hardware was already 2 years old.
In fact, in other cases, the performance of the Apple computer does far exceed that of my windows.
lilypond-book
So next I tested using lilypond-book to test if lilypond is not very suitable for use on Apple computers.
I have made a small change to the code example I just used, in order to make the lilypond-book better recognizable.
Then I changed the file suffix to lytex and started lilypond-book to convert the file.
Finally run the resulting tex file.
The process is very, very fast, taking only about 1 minute in total.
However, as you can see from the image above the generated results are indeed far inferior to lylatex and the typography is very confusing.
Finally
So I would like to ask for help on.
ps: My English is not good, so a lot of the help of translation software, I hope I described the problem clearly.
The text was updated successfully, but these errors were encountered: