Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#70 \include stop sidekick

open
nobody
None
5
2011-11-19
2011-11-19
Gilles
No

version : lilypondTools 2.14
If a file has a \include instruction, sidekick refuse to parse.
example :
\include "myfile.ly"
{ c }
gives in sideKick
"Not parsed"

NB
A great thank for all your work Bertalan.

Discussion

  • Bertalan Fodor
    Bertalan Fodor
    2011-11-19

    I cannot reproduce this, inclusion works for me, actually it parses included files as well.
    Please use Utilities > Troubleshooting > Activity log and copy it for me. That might have a clue why inclusion doesn't work for you.

     
  • Gilles
    Gilles
    2011-11-21

    I can be now more accurate :
    It doesn't work if "myfile.ly" is in the directory specified in the command line, by the
    "include" parameter
    ( lilypond --include="mydir" ).
    There is no bug if "myfile" is in the buffer directory.
    So perhaps sidekick parser should check if the user has set this command line option in the lilypondTool settings, and include, if found, this directory in his search path.

    Gilles

     
  • Bertalan Fodor
    Bertalan Fodor
    2011-11-21

    Great idea :) And I should take that into account as well when the instant preview is generated. Thank you for you feedback.