[TxMt] Re: "Reformat paragraph" customising
Christoph Wockel
christoph.wockel at gmx.net
Wed Sep 24 13:09:33 UTC 2008
I wrote such a function last weekend, it is part of my personalised
LaTeX extensions (trying to mimic some functionality of the ultratex
package for emacs). I put it on
http://xwww.uni-math.gwdg.de/cwockel/data/
feel free to give it a try (note that it overrides some default key
bindings). It does not respect \item and \caption, but environments
and inline equations. If you have any additional wishes, I shall try
to incorporate them. Comments and bugs would also be appreciated!
Best, Christoph
On 24.09.2008, at 14:50, Charilaos Skiadas wrote:
> On Sep 24, 2008, at 6:56 AM, Will Robertson wrote:
>
>> Hello,
>>
>> When using the LaTeX bundle, "Reformat paragraph" isn't very clever
>> about respecting things like environments that aren't separated by a
>> blank line and commands like \item and \caption that might take
>> paragraph text. Is it possible to customise this?
>>
>> Thinking more about it, it's certainly not an easy problem. But if
>> there are hooks, then I'd like to start looking at taking advantage
>> of
>> them...
>
> I think it's more a question of someone just writing a "reformat
> paragraph" script for LaTeX files. Then you can bind it to the same
> keystroke. But I don't know of any such "latex beautifier". If we can
> formalize precisely what such a script should be doing, it will
> probably be not too hard to write one.
>
>> Cheers,
>> Will
>>
>
> Haris Skiadas
> Department of Mathematics and Computer Science
> Hanover College
>
>
>
>
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
More information about the textmate
mailing list