Topic on Extension talk:Score

Roomsixhu (talkcontribs)
MarkAHershberger (talkcontribs)

It looks like you aren't setting it correctly. I copied your page here and modified it slightly

using the proper page size setting commands and got this error:

That, at least, looks like something is happening.

Roomsixhu (talkcontribs)

With frescobaldi it works fine with a4 landscape in your manner. But in wikpedia a # creates error messages. My version is being ignored, and defaults to A4.

Maybe we have to escape the # somehow. But which escape sign? \ is already used.

Or an wiki escape sign?

The error even write: No variable named $defaultpaper in #<module 7f7a95562b80>

or

Converting to PNG...Unbound variable: set-paper-size

MarkAHershberger (talkcontribs)

I tried the same syntax on my local wiki and got the same result.

I tried using lilypond from the command line and got similar results. Although it looks like I have a bit more information:

file.ly:18:2: error: GUILE signaled an error for the expression beginning here
#
 (set-default-paper-size = "a3 'landscape")
Wrong type argument in position 2 (expecting string): #<primitive-generic =>

I forgot to remove the = from your example.

Doing that and it works on the command line. From the available sizes, I liked "ansi d" best for this piece.

Now, to figure out why it doesn't work in MW.

MarkAHershberger (talkcontribs)

ok, so it looks like the Score extension adds "-dsafe=#t" which tells lilypond to disable some stuff -- like paper sizes.

The way around this (maybe) is to file a task in phabricator asking WMF to set up a jail for lilypond.

Roomsixhu (talkcontribs)

Thanks for your insight. They fear everbody compiles a Tschaikowski Piano concerto no. 1. But either they open a Kerker, (dungeon, jail), or implement a reasonable paper choice tag, like four pages output a4 landscape, that would be one side of a partitura.

Where can I ask for it?

MarkAHershberger (talkcontribs)

Phabricator is where requests like this are filed. Let me know when file a request so I can watch it.

Roomsixhu (talkcontribs)
Roomsixhu (talkcontribs)

Who opens the thread there and makes triage? Nobody? Me?

MarkAHershberger (talkcontribs)

I've asked the Bugwrangler to help out. Also, the bug was assigned to you and it shouldn't have been.

Reply to "paper format"