Betriebssystemabhängig > Mac OS X

MAC OS X TexShop

(1/4) > >>

hasbergerm:
Hallo,
ich habe ein Problem mit Lilypond und dem TexShop.
Ich habe die Engines installiert und wenn ich ein einzelnes Dokument mit Lilypond texe, dann funktioniert es.
Wenn ich aber ein gemischtes Dokument mit Lilypond-Latex texe, kommt folgende Fehlermeldung:

lilypond-book (GNU LilyPond) 2.10.33
Traceback (most recent call last):
  File "/Applications/Latex/LilyPond.app/Contents/Resources/bin//lilypond-book", line 1879, in ?
    main ()
  File "/Applications/Latex/LilyPond.app/Contents/Resources/bin//lilypond-book", line 1845, in main
    chunks = do_file (file)
  File "/Applications/Latex/LilyPond.app/Contents/Resources/bin//lilypond-book", line 1754, in do_file
    chunks))
  File "/Applications/Latex/LilyPond.app/Contents/Resources/bin//lilypond-book", line 1749, in process_include
    return do_file (name)
  File "/Applications/Latex/LilyPond.app/Contents/Resources/bin//lilypond-book", line 1675, in do_file
    in_handle = open (input_fullname)
IOError: [Errno 21] Is a directory

Kann mir da jemand helfen?

derHindemith:
Ich bin mir nicht ganz sicher, aber vielleicht ist es dies bekannte Problem:
http://lists.gnu.org/archive/html/lilypond-user/2008-07/msg00187.html

Wenn es das ist, dann folgendes wirkt bei mir:
LilyPond.app/Contents/Resources/bin/lilypond-book
mit irgendeine text-editor, die erste (oder zweite vielleicht) Zeile von
#!/usr/bin/python
zu
#!/usr/bin/env python
ändern.

Python 2.4 (oder neuer) muss auch installiert werden.
Dies gilt auch für convert-ly.

hasbergerm:
Danke für die Antwort.
Das hat leider nichts geholfen. Ich habe Python 2.4.4 installiert und auch das File entsprechend von #!/usr/bin/python
nach #!/usr/bin/env python umgeändert. Es kommt immer noch dieselbe Fehlermeldung...
 :'(

derHindemith:
Komisch. Kompiliert die Datei mit einem einfachen lilypond-book Datei.lytex in terminal?

hasbergerm:
Ich kenne mich leider mit dem Terminal nicht aus...
Wenn ich nur einen Lilypond-Text nehme, wie z.B.

 \new Staff \relative c' {
       c16 d e f
       <<
         { g4 f e | d2 e2 } \\
         { r8 e4 d c8 ~ | c b16 a b8 g ~ g2 } \\
         { s2. | s4 b4 c2 }
       >>
     }

und nur mit %!TEX TS-program = Lilypond kompiliere, passt alles.
Aber wenn ich %!TEX TS-program = Lilypond-LaTex verwende, kommt die Fehlermeldung.

Noch eine Frage: muss die Datei die Endung .lytex haben oder geht auch mit der normalen .tex?

Navigation

[0] Themen-Index

[#] Nächste Seite

Zur normalen Ansicht wechseln