Hi.
An update to my problem.
It seems that exporting to LaTeX (pdflatex) gives me a .tex file that includes
the reference to the a.tex file, that seems to be successfully created from the
a.sql file when exporting.
The only thing that remains is to get the export to work when I try to export
Hello.
I'm trying to follow this guide
https://wiki.lyx.org/Examples/IncludeExternalProgramListing
But a few things have changed it seems in the last 15 years
So I've followed the guide, changed a few options to the highlight command (
highlight -O latex -t 2 -I -S sql -f -r -q $$i -o