[OS X TeX] TeXShop and Lilypond

David Watson dewatson at mac.com
Sat Apr 21 22:20:03 EDT 2007


You beat me to the punch!

On Apr 21, 2007, at 9:11 PM, Herbert Schulz wrote:

>
> On Apr 21, 2007, at 9:00 PM, Michael Millett wrote:
>
>> I have completed the immediate project using Word, unfortunately,  
>> and now again have some time to attempt getting TeXShop and  
>> Lilypond working together on my system. I kindly request any ideas  
>> for solutions that you have.
>>
>> My only guesses for why this isn't working are:
>>
>> 1. There is something wrong with one of the paths.
>> 2.  There is something wrong with the engine as I have it.
>> 3. Lilypond - Book is for some reason not being found. I am  
>> running LP version 2.8.4. I am only guessing that Lilypond - Book  
>> is somehow a part of this equation.
>>
>> My engine now reads:
>>
>> set LILYPONDFOLDER = /Desktop
>> set path = ($path $LILYPONDFOLDER/LilyPond.app/Contents/Resources/ 
>> bin/)
>>
>> This is because I have Lilypond located on my Desktop.
>>
>> I don't quite understand the "set path" part. Is this pointing to  
>> parts of the LP app? Files that are invisible?
>>
>> According to the Terminal, here is the contents of my Desktop (in  
>> part):
>>
>> [Michael-Milletts-Computer:~/Desktop] michaelm% ls
>> LilyPond.app
>> LilyPond.chl
>> LilyPondFolder
>>
>> According to the Terminal, here is the contents of the TeXShop  
>> engines folder:
>>
>> [Michael-Milletts-Computer:~/Library/TeXShop/Engines] michaelm% ls
>> Lilypond-LaTeX.engine   XeLaTeX.engine          XeTeX.engine
>>
>> My source file reads as follows:
>>
>> %%!TEX TS-program = Lilypond-LaTeX
>>
>> \documentclass [12pt] {report}
>>
>> \usepackage {times}
>> \usepackage [dvips] {graphicx}
>>
>>
>> \begin {document}
>>
>> \begin {flushright}
>> Michael J Millett
>> \end {flushright}
>>
>> \begin {center}
>>
>> Brahms: Intermezzo In A Major\\
>> \emph {Op. 118, No. 2}
>> \end {center}
>>
>> \begin {lilypond}
>>
>> { c'4 d' e' f' g'2 g'}
>>
>> \end{lilypond}
>>
>> \end {document}
>>
>> And returns the following error message:
>>
>> 2007-04-21 20:53:13.272 TeXShop[449] *** NSTask: Task create for  
>> path /Users/michaelm/Library/TeXShop/Engines/Lilypond-LaTeX.engine  
>> failed: 8, "Exec format error".
>>
>> I would ask: Is there any way to run a trace on the TeXShop  
>> progress to see exactly where it is hanging up?
>>
>> Thank you all again for your help. You have been already been most  
>> generous.
>>
>> Michael
>>
>
> Howdy,
>
> You may have done this before but... can you give us the complete  
> contents of the Lilypond-LaTeX.engine file. Are you sure you made  
> it executable? (i.e., in Terminal
>
> cd ~/Library/TeXShop/Engines/
> chmod 755 Lilypond-LaTeX.engine
>
> should do the job. I assume the .engine file is in ~/Library/ 
> TexShop/Engines/; if it's not put it there.
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest.com)
>
>
>
> ------------------------- Helpful Info -------------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Archive: http://tug.org/pipermail/macostex-archives/
> List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
>
>


------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the MacOSX-TeX mailing list