On Tue, 12 Sep 2006, Taco Hoekwater wrote:
Hans Hagen wrote:
Aditya Mahajan wrote:
Unless I misunderstood noligature, this does not work.
\pdfnoligatures\tentt \tt a = 'string' ; \bye
Still gives me rightquote.
we need to ask taco ... he has to run your snippet in his mind/memory
The single straight quote in 'Typewriter Text' encoding is \char 13, the directional one is in the ' slot (no, i do not know why)
Something rude like
\catcode`'=\active \def'{\char13 } \tt a = 'string' ;
works in this example, but may not be usable in practise.
Thanks. I tried to modify this example to work with context, and the simplest solution is \catcode`'=\active \def'{\raise.6em\hbox{\char13}} \starttext \tt a = 'string' ; \stoptext One probably also needs \catcode``=\active \def`{\char0} I will experiment and see if this definition can be activated on every teletype font switch. Aditya