<br><br><div class="gmail_quote">On 16 November 2012 06:13, Sergio Spina <span dir="ltr"><<a href="mailto:sergio.am.spina@gmail.com" target="_blank">sergio.am.spina@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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.<br>1) I've copied usr/share/geany/filetypes.<div>latex as ~/home/.config/geany/filedefs/filetypes.tex.conf<br>
</div></blockquote><div><br></div><div>Everything is case sensitive, you have to be consistent throughout, tex or TeX otherwise the conf file isn't opened</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>

2) i've commented out in the file filetype.extensions,.conf the line<br>  LaTeX=*.tex;*.sty;*.idx;*.ltx;*.latex;<br>and I've adde the line<br>  TeX=*.tex;*.aux;<br>3) I've added in the file ~/home/.config/geany/filedefs/filetypes.tex.conf<br>


the line<br>  lexer_filetype=latex<br></div></blockquote><div><br></div><div>Its case sensitive, use the stupid capitalisation LaTeX.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>in the [settings] section<br>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.<br></div></blockquote><div><br></div><div>You should probably also replace the whole styling section with [styling=LaTeX]</div><div><br></div><div>Cheers</div><div>Lex</div><div><br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<br>Were is my fault?<br><br>Many thanks.</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.geany.org">Users@lists.geany.org</a><br>
<a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br>