thank you so much for your answer.
I did what you proposed and indeed after closing all tex files i have now the menu I setup in filetypes.ConTeXt.conf. yes I have an entry in the Document —> Set filetype menu: “ConTeXt file"
So far so good. There is however noe another issue, I am stumied about. — I do not get syntaxt highlighting. — I left the mime-type used by the latex environment untouched. — Might it be necessary to add/edit that file?
Kind regards Willi
On 15 Oct 2022, at 17:19, Enrico Tröger email@example.com wrote:
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?
Users mailing list -- firstname.lastname@example.org To unsubscribe send an email to email@example.com