# [NTG-context] apostrophe in a verbatim enviroment

Alan Bowen acbowen at princeton.edu
Fri Nov 7 14:33:28 CET 2008

Thanks, Aditya. This is a good start. The problem is that I need this
to work with \starttyping...\stoptyping because there are spacing and
line-breaking issues as well.

Right now:

\starttext
\catcode'=\active
\def'{\raise.6em\hbox{\char13}}

\starttyping
202'906
202'096
\stoptyping

\tt
202'906
202'096
\stoptext

gives me the layout I want or the apostrophe (char13) I need, but not
both at the same time.

On Nov 6, 2008, at 18;14,51 , Aditya Mahajan wrote:

> On Thu, 6 Nov 2008, Alan Bowen wrote:
>
>> Is it possible to get an apostrophe to typeset as a vertical mark
>> ( ' ) rather than a curved mark ( ’ ) when using \starttyping and
>> MKII? I am trying to get the old “typewriter” look for a brief
>> stretch
>> of text.
>
> See http://archive.contextgarden.net/message/20060913.020414.752ac0bd.en.html
>
> for a possible solution. See Taco's and Hans's mails in the thread
> for other options.
>
`