Re: [Rd] \dQuote{} in \code{} not processed

2005-11-30 Thread Gavin Simpson
On Thu, 2005-12-01 at 07:14 +, Prof Brian Ripley wrote: > On Wed, 30 Nov 2005, Gavin Simpson wrote: > > > Just wondering if this is the expected behaviour. > > Yes. The only command processed inside \code is \link (plus support for > \example and \usage which go through the same processing)

Re: [Rd] \dQuote{} in \code{} not processed

2005-11-30 Thread Prof Brian Ripley
On Wed, 30 Nov 2005, Gavin Simpson wrote: > Just wondering if this is the expected behaviour. Yes. The only command processed inside \code is \link (plus support for \example and \usage which go through the same processing). > I was wanting to produce quoted text within \code{}, without manua

[Rd] \dQuote{} in \code{} not processed

2005-11-30 Thread Gavin Simpson
Just wondering if this is the expected behaviour. I was wanting to produce quoted text within \code{}, without manually entering the '"'. \dQuote{} seems advisable after reading the Writing R Extensions manual, so I tried \code{\dQuote{mytext}} expecting it to produce "mytext" in monospace font (w