I've got an idea that this is probably related to a change in how the current document is saved before latex is run.<div><br></div><div>Alex/Allan....  Does TextMate.save_current_document ignore the TM preference for what encoding to use when saving a file?  I can't find any evidence in the source that it is checking for a specific encoding preference but I'm not too familiar with that code.</div>
<div><br></div><div>Brad<br><br><div class="gmail_quote">On Mon, Dec 8, 2008 at 11:26 AM, <a href="mailto:macvuk@gmail.com">macvuk@gmail.com</a> <span dir="ltr"><<a href="mailto:macvuk@googlemail.com">macvuk@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word">I'm facing compiling problems after the TM update to 1.5.8 (bleeding edge).<div>
I save my tex-files in my project in Latin1. As soon as i open a new file in the project and want to compile it, i get the following error message.</div><div>"<span style="color:rgb(255, 0, 0);font-family:'Trebuchet MS';font-size:13px">LaTeX Error: Command \textcurrency unavailable in encoding T1"</span></div>
<div><font color="#FF0000" face="'Trebuchet MS'" size="3"><span style="font-size:13px"><span style="color:rgb(0, 0, 0);font-family:Helvetica;font-size:12px">When i save the file with "save as" and make sure TM saves it in latin1, and i close the file, then the compile process suceeds. I'm sure I haven't faced this problem with <a href="http://1.5.7." target="_blank">1.5.7.</a> When i downgrade to this version, everything works fine. as soon as i upgrade, i have this problem.</span></span></font></div>
<div>I think TM wants to save everything in utf8. At least i realised that former latin1 docs were saved as utf8. In the prefs pane > advanced> saving there is "latin1" listed under "file encoding".</div>
<div><br></div><div>Hope somebody can help me </div></div><br><br>
_______________________________________________<br>
textmate mailing list<br>
<a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>
<a href="http://lists.macromates.com/listinfo/textmate" target="_blank">http://lists.macromates.com/listinfo/textmate</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Brad Miller<br>Assistant Professor, Computer Science<br>Luther College<br>
</div>