[Geany-Users] Configuration files

Lex Trotman elextr at gmail.com
Thu Nov 15 20:45:37 UTC 2012


On 16 November 2012 06:13, Sergio Spina <sergio.am.spina at gmail.com> 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
> Users at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/users/attachments/20121116/06595473/attachment.html>


More information about the Users mailing list