seems to be here an A4 paper default with lilypond, I cant change it here
https://de.wikipedia.org/wiki/Benutzer:Reiner_Stoppok/Tanzlied_aus_Poniky
or turn it even off, to make reasonable explicit line breaks.
Cheers
seems to be here an A4 paper default with lilypond, I cant change it here
https://de.wikipedia.org/wiki/Benutzer:Reiner_Stoppok/Tanzlied_aus_Poniky
or turn it even off, to make reasonable explicit line breaks.
Cheers
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:
error |
---|
Processing `.../file.ly' Parsing... .../file.ly:19:2: error: GUILE signaled an error for the expression beginning here # (set-default-paper-size = "a3 'landscape") .../file.ly:22:3: error: GUILE signaled an error for the expression beginning here # (set-paper-size = "a3 'landscape") % Seitengröße auf DIN A4 quer setzen. warning: systems run off the page due to improper paper settings, setting default values Interpreting music...[8][16][24] Preprocessing graphical objects... Interpreting music... MIDI output to `file.midi'... Finding the ideal number of pages... Fitting music on 2 or 3 pages... Drawing systems... Layout output to `file.ps'... Converting to PNG...No variable named $defaultpaper in #<module 7f7a95562b80> Unbound variable: set-paper-size fatal error: failed files: ".../file.ly" exited with status: 1 |
That, at least, looks like something is happening.
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
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.
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.
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?
Phabricator is where requests like this are filed. Let me know when file a request so I can watch it.
I've asked the Bugwrangler to help out. Also, the bug was assigned to you and it shouldn't have been.