On 13.10.22 19:46, Willi Egger wrote:
Good evening!

I am new to this list…

Hi and welcome Willy,

I have copied the file filetypes.latex to the ./config/geany/filetypes directory. I renamed the file to filetypes.ConTeXt.conf and edited it by replacing the keywords by those for ConTeXt and

This is correct.

rebuilding the build-menu. Further I copied the file_extensions.conf to the ./config/geany/filetypes directory and edited it. I commented all lines and added ConTeXt=*.tex;*.mkiv;*.mkvi. — After

This is correct.
Maybe it is necessary to explicitly uncomment the line
LaTeX=*.tex;*.sty;*.idx;*.ltx;*.latex;*.aux;
and remove any file extensions you want to be handled by the custom ConTeXt filetype.

restarting the editor it appears, that it still loads the filetype.latex file resulting in the fact, that also the build-menue is that one from LaTeX. Further I tried to rename the LaTeX related

Geany remembers the filetype for open files, also across restarts.
Try closing the files and open them again, then the auto detection should work.

Do you have a ConTeXt menu item in the Document->Set filetype menu?

Regards,
Enrico

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org

Reply via email to