ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan Bowen <acbowen@princeton.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: apostrophe in a verbatim enviroment
Date: Fri, 07 Nov 2008 11:16:38 -0500	[thread overview]
Message-ID: <C6A17793-442B-447B-A1ED-DA23F1CD56A8@princeton.edu> (raw)
In-Reply-To: <491462AA.3070704@elvenkind.com>

Many thanks, Taco, that works perfectly. I have been typesetting this  
book for my brother and that was the last knot to be untied before  
sending it off.

Very best, Alan

PS Your tact in phrasing your hint is also much appreciated! 8-)

On Nov 7, 2008, at 10;45,46 , Taco Hoekwater wrote:

>
>
> Alan Bowen wrote:
>> 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}}
>
> You can add this line to make \starttyping work:
>
>   \appendtoks \catcode`'=\active \to\everysetupverbatim
>
> And a (perhaps unneeded) hint: if you don't want a perpetually
> active ', the two lines above can be written as:
>
>   \begingroup
>   \catcode`'=\active
>   \gdef'{\raise.6em\hbox{\char13}}
>   \endgroup
>
>
> Best wishes,
> Taco
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an  
> entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / 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
> ___________________________________________________________________________________

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

maillist : ntg-context@ntg.nl / 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	other threads:[~2008-11-07 16:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-06 19:46 Alan Bowen
2008-11-06 23:14 ` Aditya Mahajan
2008-11-07 13:33   ` Alan Bowen
2008-11-07 15:45     ` Taco Hoekwater
2008-11-07 16:16       ` Alan Bowen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C6A17793-442B-447B-A1ED-DA23F1CD56A8@princeton.edu \
    --to=acbowen@princeton.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).