[TxMt] Re: Auto replace on load&save?

Hans-Jörg Bibiko bibiko at eva.mpg.de
Tue Jul 15 16:38:27 UTC 2008


On 15.07.2008, at 00:03, Jonas Zimmermann wrote:

> Hi everyone (this is a debut),
> so far I've been using TeXShop for my LaTeX writing. I've written an
> extension to it that allows me type all kinds of  Unicode symbols
> (such as greek letters, relation symbols and whatnot) in TeXShop which
> get converted to LaTeX code (so "≤" becomes "\leq" etc) on saving  
> (or
> loading) based on a 1-1 mapping list. Thus, the text is readable on
> screen while the code remains portable.
>
> Now, I'd like to switch to Textmate because of its better project
> management (and because I've paid for it...). I wonder whether I can
> keep this functionality on which I heavily depend. Are there auto
> replace on save/load solutions available? Sorry if this has been
> discussed before (although I haven't found it) or it's obvious (though
> I hae used TextMate for a while, I didn't do much customizing).
>

Well, this would be doable by using two scripts.
But first I have some humble questions.

What kind of typesetting engine do you are using?
E.g. I can type '≤' and I'll get '≤' without any conversion.

Do you want to typeset larger Greek texts or 'only' Greek letters in  
mathematical equations?

How do yo input these Greek letters?
Do you switch to a Greek keyboard?

If I understood you correctly, your point is that you want to see e.g.
α = β + γ
instead of
\alpha = \beta + \gamma

Cheers,

--Hans


More information about the textmate mailing list