From renaud at mancala.cbio.uct.ac.za  Thu Nov  3 15:51:53 2011
From: renaud at mancala.cbio.uct.ac.za (Renaud Gaujoux)
Date: Thu, 03 Nov 2011 16:51:53 +0200
Subject: [Rd] R CMD check and error in an \Sexpr in an Rd file
In-Reply-To: <438D2EC9EAFE5946B2D5864670EA468E0899A8@MBXP01.ds.man.ac.uk>
References: <4EB281F4.3060109@cbio.uct.ac.za>, <4EB286E0.7070504@gmail.com>
	<438D2EC9EAFE5946B2D5864670EA468E08896B@MBXP01.ds.man.ac.uk>,
	<4EB2A381.60403@cbio.uct.ac.za>
	<438D2EC9EAFE5946B2D5864670EA468E0899A8@MBXP01.ds.man.ac.uk>
Message-ID: <4EB2AA89.7020607@cbio.uct.ac.za>


On 03/11/2011 16:33, Georgi Boshnakov wrote:
> Dear Renalud,,
>
>> Would a 'results=tex' (html, text) be possible? or 'results=source' that
>> could be combined with \if{format}{text}?
> This may well be a clean approach.
>
> After my previous email, I looked again at the definition of thr \AsIs macro.
> Its purpose seems to be to typeset text containing special characters in normal text mode
> and thus its purpose is different from \verb and ``verbatm'  macros/environments in LaTeX.
>
Maybe using an environment such as Verbatim defined in fancyvrb would 
solve the problem?
I think you can control the font, etc... still keeping the "no 
formatting" of plain verbatim.



[Rd] R CMD check and error in an \Sexpr in an Rd file
Renaud Gaujoux