Hi again everyone!

I have a weird question. I sort of want to use ConTeXt to solve some
of my typing laziness. :-) I explain.

When typing a document, I use the normal single-quote style apostrophe
'  (UTF U+0027) - the "straight" apostrophe.

When typesetting the document, I want the apostrophe to appear like a
comma instead. The character is the single comma quotation mark (UTF
U+2019). (As both characters exist with different UTF definition ,
this is not a font issue.)

On my computer (it's a laptop), with my keyboard language settings and
all (under Ubuntu), the only apostrophe I can manage to type is the
first one. From what I can understand, my French Canadian keyboard
layout actually replaces the single quote key with something else more
important to us -- the acute accent (no, we don't use the French
azerty layout).

So right now all I can do is copy-paste the right character from the
Character Map... it's a bit impractical and unwieldy in the long run,
so this is not a good solution.

Furthermore, typing an apostrophe is second nature anyway when you've
been typing since childhood -- changing such typing habit is very
offputting AND it can create many mistakes. I don't want to think
about it. :-)

Therefore, I was wondering if there was a way to automatically replace
one character with another through some TeX magic! Changing all my
apostrophes in the input for single comma quotation mark when the
document is compiled.

Is this possible?

Thanks!
Jeff
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to