-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/12/15 20:03, Werner LEMBERG wrote: > >> When I create an SVG file with LilyPond and upload it to >> Wikimedia Commons, it renders as a blank image (try uploading >> Tristan.preview.svg at https://tools.wmflabs.org/svgcheck/). >> Can anyone help me figure out how to fix this? > > For me it worked without problems uploading to German wikipedia, > cf. > > https://de.wikipedia.org/wiki/Datei:Tubular-bells.svg > > which also shows the used source code. > > > Werner > I had problems a few months back with a file that I wanted to be available as a thumbnail, but also capable of being printed out. I ended up having to use PNG. See https://en.wikipedia.org/wiki/File:Yigdal_by_Leoni.png
The Lilypond source is below. The odd paper setting was to stop the music being a couple of lines lost at the top of a sheet of A4. - ----------------%<--------------------- \version "2.18.2" \language "english" \header { title = "Yigdal" tagline = "" } \paper { #(set-paper-size "a6" 'landscape) indent=0\mm line-width=120\mm oddFooterMarkup=##f oddHeaderMarkup=##f bookTitleMarkup=##f scoreTitleMarkup=##f } melody = \relative c' { \partial 4 d4^"Andante" | g4. a8 bf4 c | d2. bf4 | c4( d) ef( f) | d2. f,4 | bf4. c8 d4 ef | \break f2( bf,4) ef | d2 c | bf2. \bar "||" bf4 | d4. d8 d4 d | c2. a4 | bf4( d) c( bf) | a2. d,4 | g4. a8 bf4 c | d2( ef4) c | bf2 a | g2. \bar "|." } text = \lyricmode { \markup{ \tiny \smallCaps Hazzan: \normal-text Yig } -- | dal E -- lo -- him | hay. we -- | yish -- tab -- | bab. Nim -- | za we -- en 'et | el __ me -- | zi -- 'u -- | to. \markup{ \tiny \smallCaps Congregation: \normal-text L' } -- | had, we -- en ya -- | hid ke -- | yi -- hu -- | do. Ne' -- | lam, we -- gam en | sof __ le -- | ah' -- du -- | to. } \score { << \new Voice \relative c' { \numericTimeSignature \time 2/2 \key g \minor \melody } \addlyrics { \text } >> \layout {} \midi { \tempo 2 = 80 } - ------------------%<--------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJWaejUAAoJEAF3yXsqtyBluL0P/RHDNTncKxh1d0P8SYsmfgA7 7zbWQ6FJ6Az7AqkuicdCTM/417XIUNSFqGQEhKTuJqx/ZHs0mEExCJ2MlI7xrfsh voszS3p5Xw/M6Nap4CH3/AL+gTUERXyqJc5nPETLGtmRbsKmYbt6SlgFwmBgPba1 jvwwPkxDPPVLZwZFuyW8OxZQhcwSzeQ/yWZcxozgF3hmhLWUCnJm8dcGGmfHW5Wr DgPchBmlmHsHYnUldMMGdZKBryESXas2MLZhCYtrzudr3bROgA6eAR2690VmQekf N1MBc7GBg7TDnywOYC6C2C7lUY8aKAnX19BfWZWWz7vwQwynKBSv5oWJY3e1iYbc 0MoVtJ7nbPxG3i32FlHnxHdibcKjObavAfseBgU/uEI5utRtpt5bZ1ZkRISc2nsn lN/uGDWxNz6j1Xn/SQGilfqBegtglU8CfTbIT3QY6js0dPPMBBgBUHpOv57+AlK9 N6zuJjJNtSIrTbp5bgWKEHI1NCd8xr2QFNPdyke3QmwyIqLSZQ3OhJwmJr+uWAcO GnCnnd6s5N758xIqV44eXTGaYeVvD2S0f9XUYGzsDP9o0dNF4F0rwnw8nuwYqO3o ogahvOCDD7QY6AHbEj6f3pIWqaSu9rDR+PRuD1kAVlHUMRx0K9fXUcc0GxuKE/vb 30VBZMznol5RmvpUol1A =AKB4 -----END PGP SIGNATURE----- _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user