<div dir="ltr"><div>vi has macros. If I can refind the vi macro website I'll post a link. Like using lisp, the macros can do some pretty heavy lifting. The most I've ever used are the docbook extensions (which are pretty useful!).<br>
<br></div>I looked at lisp once and realized I would need an extra keyboard just for the parentheses I would would wear out :-)<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Oct 21, 2013 at 4:20 PM, David Raker <span dir="ltr"><<a href="mailto:dmr@naunetcorp.com" target="_blank">dmr@naunetcorp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Emacs. <br>
<br>
My aunt wrote a 500 page genealogy book which she needed typeset.
It had been written in MSWorks 3 on an ancient Macintosh (c. 1990).
Microsoft had abandoned the file format (and then Works for Mac)
nearly 20 years earlier, so no modern systems could read the file.
After some work getting the file to be readable by anything less
Jurassic, I was left with a text file full of mangled formatting,
random whitespace, broken paragraphs, etc. Since much of the book
took the form of nested descriptive lists and block quotes, nothing
could be done until this was fixed. <br>
<br>
I began doing this manually, but based on the progress I was making,
it would have taken me a few full time weeks to accomplish. I was
able to build some Lisp macros in emacs to automate most of the
work, inserting LaTex along the way, and reduced what would have
taken weeks of manual work into a few hours (including learning Lisp
for the purpose).<br>
<br>
I could also have done something similar using some other scripting
language, sed, etc, but for some tasks it is easier to record a
macro and for others to write one. Emacs provides both, and I used
both.<br>
<br>
I am sure vi can do plenty of heavy lifting as well, but I have
never tried. Most other text editors simply don't have any facility
for doing things like that.<div class="im"><br>
<br>
<blockquote type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>What's everyone preferred text editor? <br>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</div><span class="HOEnZb"><font color="#888888"><div>-- <br>
<table border="0">
<tbody>
<tr>
<td> <br>
</td>
<td> David M. Raker<br>
<br>
Director, <strong>Naunet Corporation</strong><br>
☎ <a href="tel:%28678%29%20287-0693%20x131" value="+16782870693" target="_blank">(678) 287-0693 x131</a> or (855) NAUNET-1 x131<br>
FAX: <a href="tel:%28678%29%20783-7843" value="+16787837843" target="_blank">(678) 783-7843</a><br>
<br>
</td>
</tr>
</tbody>
</table>
</div>
</font></span></div>
<br>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">-- <br>James P. Kinney III<br><i><i><i><i><br></i></i></i></i>Every time you stop a school, you will have to build a jail. What you
gain at one end you lose at the other. It's like feeding a dog on his
own tail. It won't fatten the dog.<br>
- Speech 11/23/1900 Mark Twain<br><i><i><i><i><br><a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br></i></i></i></i></div>
</div>