Mats -

Thanks for the insight.  Pretty #$&@ subtle, especially for a DOS\Windows
guy.

Note that without the #(ly:set-point-and-click 'line-column), the \include
"..\stuff.ly" works fine.

As presented below it also works, just gives the error message:
Error invoking `latex \\nonstopmode \\input test.tex > /dev/null 2>&1 '.
Return value 256

I can't find any documentation of \include other than simple use examples.
It seems some files are included by default, and others are found by
\include without specifying the path.  It would be helpful to have this
explained.  What files are included by default?  What is the search path?
What is the invocation order of included files?  When is the ordinary slash,
aka forward slash, aka reverse backslash, required?  Etc.

                                 - Bruce



-----Original Message-----
From: Mats Bengtsson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 02, 2005 7:02 AM
To: Fairchild
Cc: bug-lilypond@gnu.org
Subject: Re: latex error message


Did you expect me to remember your initial message of this thread? It's over
a week since I read it! ;-)

Seriously, it turns out that the cause of your problem was that you used a
Windows style path instead of Cygwin/Unix style. Just replace the backslash
in \include "..\stuff.ly" with an ordinary slash: \include "../stuff.ly"

For some reason, LilyPond itself understands both of them, but LaTeX
apparently is more critical (probably since backslashes have a very special
meaning in TeX and LaTeX).

    /Mats

Fairchild wrote:
> -----Original Message-----
> From: Mats Bengtsson [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 01, 2005 4:38 AM
> To: Fairchild
> Cc: bug-lilypond@gnu.org
> Subject: Re: latex error message
> 
> .  .  .  What's in your test.ly file?
> 
>     /Mats
> ==============================
> 
> Mats -
> 
> Not sure I understand what information you are asking for.
> 
> Repeating content of the message that started this thread:
> 
> 
>>>This test.ly code
>>>
>>>%%%%%%%%%%%%%%%%%%%
>>>
>>>\version "2.4.6"
>>>#(ly:set-point-and-click 'line-column)
>>>\include "..\stuff.ly"
>>>{{ \foo }}
>>>
>>>%%%%%%%%%%%%%%%%%%%
>>>
>>>with this stuff.ly located up one in the tree
>>>
>>>%%%%%%%%%%%%%%%%%%%
>>>
>>>\version "2.4.6"
>>>foo = { c c c c }
>>>
>>>%%%%%%%%%%%%%%%%%%%
>>>
>>>produces a latex error
>>>
>>>%%%%%%%%%%%%%%%%%%%
>>>
>>>LilyPond ready.
>>>"lilypond"  /cygdrive/C/cygwin/ly/AAAA/BBBB/test.ly
>>>GNU LilyPond 2.4.6
>>>Processing `/cygdrive/C/cygwin/ly/AAAA/BBBB/test.ly'
>>>Parsing...
>>>Interpreting music... [2]
>>>Preprocessing graphical objects...
>>>Calculating line breaks... [2]
>>>Layout output to `test.tex'...
>>>Converting to `test.dvi'...
>>>Error invoking `latex \\nonstopmode \\input test.tex > /dev/null 2>&1
>>>'. Return value 256 Converting to `test.ps'...
>>>Converting to `test.pdf'...
>>>Processing time: 4 seconds
>>>LilyPond ready.
>>>
>>>%%%%%%%%%%%%%%%%%%%
>>>
>>>which causes no discernable harm.  Just annoying?
>>>
>>>                        - Bruce
>>>
> 
> 
> 
> 
> 
> 
> _______________________________________________
> bug-lilypond mailing list
> bug-lilypond@gnu.org 
> http://lists.gnu.org/mailman/listinfo/bug-lilypond

-- 
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
         Fax:   (+46) 8 790 7260
        Email: [EMAIL PROTECTED]
        WWW: http://www.s3.kth.se/~mabe
=============================================





_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to