openlilylib / snippets

A place to store useful pieces of LilyPond code - custom functions, engravers, hacks, templates, examples etc.
Other
119 stars 39 forks source link

specific-tools/xelatex-markup-list seems broken #165

Open uliska opened 7 years ago

uliska commented 7 years ago

On my PC the example fails on the XeLaTeX part, but I can't see whether it is related to the snippet or to my installation.

The log is:

This is XeTeX, Version 3.14159265-2.6-0.99996 (TeX Live 2016/Debian) (preloaded format=xelatex)
 restricted \write18 enabled.
entering extended mode
pdftops: /home/uliska/software/lilypond/releases/2.19.60/usr/lib/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by pdftops)
pdftops: /home/uliska/software/lilypond/releases/2.19.60/usr/lib/libjpeg.so.62: no version information available (required by /lib/x86_64-linux-gnu/libpoppler.so.64)
pdftops: /home/uliska/software/lilypond/releases/2.19.60/usr/lib/libtiff.so.5: no version information available (required by /lib/x86_64-linux-gnu/libpoppler.so.64)
pdftops: /home/uliska/software/lilypond/releases/2.19.60/usr/lib/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /lib/x86_64-linux-gnu/libpoppler.so.64)
pdftops: /home/uliska/software/lilypond/releases/2.19.60/usr/lib/libz.so.1: no version information available (required by /lib/x86_64-linux-gnu/libpng16.so.16)

fatal error: cannot find file: `xelatex-20170710145823-1.eps' (load path: `/home/uliska/software/lilypond/releases/2.19.60/usr/share/lilypond/current/fonts/svg/:/home/uliska/software/lilypond/releases/2.19.60/usr/share/lilypond/current/fonts/type1/:/home/uliska/software/lilypond/releases/2.19.60/usr/share/lilypond/current/fonts/otf/:/home/uliska/software/lilypond/releases/2.19.60/usr/share/lilypond/current/scm:/home/uliska/software/lilypond/releases/2.19.60/usr/share/lilypond/current/ps:/home/uliska/software/lilypond/releases/2.19.60/usr/share/lilypond/current/ly:/home/uliska/git/bfsc/projects/fried/das-trunkne-lied:/home/uliska/git/bfsc/projects/fried/das-trunkne-lied/library/ly:/home/uliska/git/bfsc/projects/fried/das-trunkne-lied/library/ly/empty-segments:/home/uliska/git/oll-lib/snippets:/home/uliska/git/oll-lib/snippets/ly:/home/uliska/git/oll-lib:')

The last message is from LilyPond again, but obviously a consequence of the previous fail.

jpvoigt commented 7 years ago

Seems related to your installation - the example compiles fine here. Maybe the LaTeX error is misleading and it is the font missing? You might try commenting out this line: \override-lines #'(font-name . "Century Schoolbook L")

jpvoigt commented 7 years ago

We should display the error in the markup and not let the compilation fail.

uliska commented 7 years ago

No, it's not related to the font. But anyway I added a comment in e0893f853318df036d57fb2dca6c475d9bfac8f1.

The culprit seems to be pdftops: /home/uliska/lilypond/usr/lib/libstdc++.so.6: versionCXXABI_1.3.9' not found (required by pdftops)` with everything later being follow-up problems. https://stackoverflow.com/questions/20357033/how-to-fix-program-name-usr-lib-x86-64-linux-gnu-libstdc-so-6-version-cxx looked like the problem but the proposed solution didn't help either.