[TxMt] Reformatting paragraphs with Textmate's LaTeX bundle
Charilaos Skiadas
skiadas at hanover.edu
Fri Jun 29 20:22:07 UTC 2007
On Jun 16, 2007, at 9:43 AM, Plessl Christian wrote:
> Thanks to Peter and Jacob for your reply.
>
> As far as I understand, I will need two things a) a command line
> command that reformats a given block of LaTeX code the way I like,
> and b) I need to modify the LaTeX grammar, such that reformat can
> be restricted to the desired scope (a paragraph).
>
> I will start with looking into solutions for a
The correct version of what you want in (b) can be easily achieved,
(a) is the difficult one, so if that is done, we can easily add the
command part.
PS: Sorry for not responding earlier to your offline email, been away
from email contact for a month.
> Best regards,
> Christian
>
> On 15.06.2007, at 22:09 Uhr, Peter Cowan wrote:
>> You might try using the Tidy command in the Latex bundle. It
>> appears however that the command eats line endings, thus ruining
>> your hard wraps. This command calls a well commented perl script
>> which perhaps you can adjust to your needs.
>>
>> In general it seems that language specific functionality is
>> implemented in bundle items rather than default TM behaviors.
>
> --
> Christian Plessl christian at plesslweb.ch http://plesslweb.ch
Haris Skiadas
Department of Mathematics and Computer Science
Hanover College
More information about the textmate
mailing list