I would like to do the following:
- Link to external source code file (for example a SQL script in ASCII format)
- Automatically apply syntax highlighting to the imported text
- Place the highlighted text inside a frame
- Add a caption to the frame
- Frame contents must always contain the contents of the external source
Is this possible? If so, how? I could not find any examples.