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 $$o )


When trying to produce pdf output, I get the error

"LyX: Cannot connvert file
No information for converting sql format files to latex.
Define a converter in the preferences."

But to me, it seems I have defined a converter in Preferences

I have the file  /tmp/a.sql that I want to include and this is the result I get



! LaTeX Error: File `./0_tmp_a.tex' not found.


Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: tex)

Enter file name:
! Emergency stop.
<read *>
l.25 {\small \input{./0_tmp_a.tex}
                                   }^^M
*** (cannot \read from terminal in nonstop modes)




I also see in the terminal window

Execution of "convert" failed.
support/Systemcall.cpp (276): Systemcall: 'python3 -tt "/usr/share/lyx/scripts/convertDefault.py" 
sql "/tmp/lyx_tmpdir.EgnpkfDjxiRq/lyx_tmpbuf0/0_tmp_a.sql" tex 
"/tmp/lyx_tmpdir.EgnpkfDjxiRq/lyx_tmpbuf0/0_tmp_a.sql.tex"' finished with exit code 1
Error: Cannot convert file
----------------------------------------
No information for converting sql format files to latex.
Define a converter in the preferences.


Can you help me find the error?

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to