Old LyX file in new LyX version

2024-11-10 Thread Post Gresql
Hello. I run the almost latest LyX version in Ubuntu, and it works great. Now I've found an old LyX file, that uses some customized environments and stuff (I had a .inc file in the .lyx configuration directory in my old setup). The old file and setup is 17 years old, so my question is, how do

Re: Need some help with automatic syntax highlightning of code

2023-03-26 Thread Post Gresql
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

Need some help with automatic syntax highlightning of code

2023-03-25 Thread Post Gresql
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