![](https://secure.gravatar.com/avatar/d963aa4f8dbd7b3b1ebb578af020b641.jpg?s=120&d=mm&r=g)
Dear all, Inserting LilyPond scores or snippets into a ConTeXt file gives very nice results, better than inserting LilyPond pdf's as floats. So far however, using floats has the advantage that they can be given a caption, that ConTeXt gives them a number, that one gets a list of floats in the ToC, that they can be indexed etc. etc., things that, as far as I can see, are missing when entering LilyPond code directly into the TeX-file and use the filter. Does any of you know how this handicap can be overcome? Or else, would it be possible either to add these facilities to the filter or create some other means for providing the LilyPond examples with a caption and a number? Best regards, Robert Blackstone
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Thu, 30 Jun 2016, Robert Blackstone wrote:
Dear all,
Inserting LilyPond scores or snippets into a ConTeXt file gives very nice results, better than inserting LilyPond pdf's as floats. So far however, using floats has the advantage that they can be given a caption, that ConTeXt gives them a number, that one gets a list of floats in the ToC, that they can be indexed etc. etc., things that, as far as I can see, are missing when entering LilyPond code directly into the TeX-file and use the filter.
Does any of you know how this handicap can be overcome? Or else, would it be possible either to add these facilities to the filter or create some other means for providing the LilyPond examples with a caption and a number?
Filters should work inside floats. Can you post a minimal example showing what you are doing? Aditya
participants (2)
-
Aditya Mahajan
-
Robert Blackstone