bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: latex error message


From: Fairchild
Subject: RE: latex error message
Date: Tue, 2 Aug 2005 11:04:38 -0500

Mats -

You state: "The initialization of LilyPond is done in a number of files that
are included as soon as you start the program. Nothing that you have to
bother about."

I would like to know what files are included.  They contain default settings
-- often useful and more reliably correct that the reference document.
Certainly in correct form.

Is there a place I can stuff stuff so that it is included by default
independent of the current working directory?
_________________

Graham -

Are you listening?  Mats' information on \include should find a place in the
documentation.
_________________

Thanks both.

                             - Bruce

-----Original Message-----
From: Mats Bengtsson [mailto:address@hidden 
Sent: Tuesday, August 02, 2005 9:44 AM
To: Fairchild
Cc: address@hidden
Subject: Re: latex error message

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

Exactly, that's the only situation where the path of the file is included in
the LaTeX code.

> I can't find any documentation of \include other than simple use 
> examples. It seems some files are included by default,
The initialization of LilyPond is done in a number of files that are
included as soon as you start the program. Nothing that you have to bother
about.

 > 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?

By default, the files are only searched in the current working directory.
You can add search directories with the flag -I to the lilypond command.

> What is the invocation order of included files?

The line
\include "file.ly"
is completely equivalent to pasting the contents of file.ly into the current
file at the line where you have the \include.

 > When is the ordinary slash,
> aka forward slash, aka reverse backslash, required?  Etc.

Since you run the Cygwin version, you should always use the UNIX convention,
see the Cygwin documentation or any UNIX introduction.

If you install version 2.6, which doesn't require Cygwin, my guess is that
it's still best to use UNIX style, but you'd better try it out yourself.

   /Mats







reply via email to

[Prev in Thread] Current Thread [Next in Thread]