On 16 November 2012 06:13, Sergio Spina <[email protected]> wrote:
> I'm trying to create my own conf files for TeX and noweb, so I try to > create config files in a "step by step" fashion. > 1) I've copied usr/share/geany/filetypes. > latex as ~/home/.config/geany/filedefs/filetypes.tex.conf > Everything is case sensitive, you have to be consistent throughout, tex or TeX otherwise the conf file isn't opened > 2) i've commented out in the file filetype.extensions,.conf the line > LaTeX=*.tex;*.sty;*.idx;*.ltx;*.latex; > and I've adde the line > TeX=*.tex;*.aux; > 3) I've added in the file ~/home/.config/geany/filedefs/filetypes.tex.conf > the line > lexer_filetype=latex > Its case sensitive, use the stupid capitalisation LaTeX. > in the [settings] section > but at this point the ~/home/.config/geany/filedefs/filetypes.tex.conf is > not read. If I open a .tex file I found a menu option <document - set > filetype - tex file> but hitting that menu option the document loses his > syntax highlighting. > You should probably also replace the whole styling section with [styling=LaTeX] Cheers Lex > > Were is my fault? > > Many thanks. > > _______________________________________________ > Users mailing list > [email protected] > https://lists.geany.org/cgi-bin/mailman/listinfo/users > >
_______________________________________________ Users mailing list [email protected] https://lists.geany.org/cgi-bin/mailman/listinfo/users
