uliska / musicexamples

LaTeX package to manage music examples
GNU General Public License v3.0
7 stars 0 forks source link

Upgrade scrpage2 to scrlayer-scrpage #13

Closed Pinimo closed 5 years ago

Pinimo commented 5 years ago

Hi Urs,

Many thanks for the great work done over this and lyluatex lately.

Using musicexamples in a classicthesis context (I will share the code soon), I got the following error, which this PR fixes:

(/home/pn/texmf/tex/latex/musicexamples/musicexamples.sty
(/usr/local/texlive/2019/texmf-dist/tex/latex/caption/newfloat.sty)
(/usr/local/texlive/2019/texmf-dist/tex/latex/koma-script/scrpage2.sty

Package scrpage2 Warning: usage of obsolete package!
(scrpage2)                Package `scrpage2' is obsolete.
(scrpage2)                You should not longer use package `scrpage2'.
(scrpage2)                You should replace usage of package `scrpage2'
(scrpage2)                by `scrlayer-scrpage' on input line 52.

! LaTeX Error: Command \scr@fnt@headtopline already defined.
               Or name \end... illegal, see p.192 of the manual.

I also replaced occurrences of the package name here and there.

uliska commented 5 years ago

Thank you for the contribution. But please note that I've by now deliberately stopped working on this package. All work will go into the replacement package lyluatexmp which will reimplement the whole functionality of musicexamples in a hopefully cleaner and more extensible way. It is designed as a wrapper around lyluatex but should also accomodate examples inserted as image files.

The downside is that the new package will require lualatex, but this is a step I've decided to generally take since having Lua built in is such a substantial improvement for my way of thinking.

That means that I'll keep musicexamples around on Github but I have no plans to bring it to a state to release it on CTAN. lyluatexmp is currently in a state that it works basically, there are floating and non-floating environments defined, and there's one command to create a music examples from a LilyPond file.

Contributions are welcome ;-)

Pinimo commented 5 years ago

Thank you for the information and the development of the new wrapper, I had missed that. I will use lyluatexmp then. I feel it to be acceptable to depend on lualatex, since it is already a requirement of lyluatex.

No problem to send contributions when I come across any possible improvements ;-). I've been (distantly) following with great interest what you and @jperon have been coding these past two years at least...