# [texhax] How I do This ?

Wed Apr 18 10:41:27 CEST 2007

I think this is more likely something to be done by your editor than
your typesetting package. Emacs could be configured to do it I guess, but
again, why? Surely you want to proof read documents, you might have put
the wrong word somewhere rather than joining two together.

--
High Performance Assembly Group   email: aws at sanger.ac.uk
Wellcome Trust Sanger Institute   Tel: +44 (0)1223 834244 x7728
Hinxton, Cambridge CB10 1SA       Fax: +44 (0)1223 494919

On Tue, 17 Apr 2007, John R. Culleton wrote:

> On Monday 13 November 2006 18:12, wa2n wrote:
>> Hi All
>> I have a few Question,
>> When I type for example. "TypeSomethingHere" can I have the result
>> is "Type Something Here"
>>
>> The point here is can I use Latex to autocorrect ?
>> Adding space after have character following with Caps ?
>> or doing something that similiar with that ?
>>
>>
> And how would you want TeX to respond to an ancronym such as UN or
> CTAN?
>
> It would not be difficult to set up a series of macros such as
> \def\A{ A}
> \def\B{ B}
> etc.
> ...which would insert a (possibly superfluous) space in front of every
> cap, but sensing whether the next letter was also a cap would be more
> challenging.
>
> A Vim macro might be able to handle the acronym problem but the
> prospect of writing it makes my head hurt. Or while using vim one
> could enter:
> :%s/[A-Z]/ &/gc
> and hit y or n depending on the nature of the occurrence found.
> I just tested this and it works but is tedious.
>
> I suggest just proofreading, unless you have a document where such
> mistakes occur often.
>
> --
> John Culleton
> Able Indexing and Typesetting
> Precision typesetting (tm) at reasonable cost.
> Satisfaction guaranteed.
> http://wexfordpress.com
>
>
>
> _________________________________________________________________
> Need personalized email and website? Look no further. It's easy