On Feb 10, 2010, at 10:15 PM, Michael J. O'Donnell wrote:
My proposed solution behaves as though you had written
{ \include "MyFile.ly" }
rather than the desired
\include "MyFile.ly"
Lots of simple debugging code works fine, but in the usual case where
MyFile.ly is full of variabl
My proposed solution behaves as though you had written
{ \include "MyFile.ly" }
rather than the desired
\include "MyFile.ly"
Lots of simple debugging code works fine, but in the usual case where
MyFile.ly is full of variable definitions, those definitions are not
parsed in the outermo
I *think* that I have the essential solution to include a file exactly
once, no matter how many times it is mentioned. That is, with the
following definition,
\includeIfAbsent "MyFile.ly"
should copy in MyFile.ly, just as though you had written
\include "MyFile.ly"
unless an inclusion (