There are two instances of this. If I add 'go' to both it works for me. I guess you only had the first one (the second is used here).
On Fri, 16 Sep 2005, Duncan Murdoch wrote: > On 9/15/2005 7:51 PM, [EMAIL PROTECTED] wrote: >> First of all, thanks to those who've set up R to work so smoothly with >> Miktex-- even a total Latex bunny like me got it to work instantly, so >> that for the first time I'm able to run my Rd files through the Latex >> side of RCMD CHECK. >> >> Now the question/buglet. One of my Rd files contains the following: >> >> \code{mlazy( <<objname1>>, <<objname2>>, <<etc>>)} >> >> When I run the file through RCMD (either RCMD CHECK or Rcmd Rd2dvi >> --pdf) the first << and >> are left alone, but the second and third >> pairs are converted to single guillemot characters (i.e. European >> quotation marks). This inconsistency seems a bit odd. > > Yes, this is the tex that gets output: > > \code{mlazy( <{}<objname1>{}>, <<objname2>>, <<etc>>)} > > This seems to happen in Rdconv.pm, around here: > > ## avoid conversion to guillemots > $c =~ s/<</<\{\}</; > $c =~ s/>>/>\{\}>/; > > > But I don't know enough Perl syntax to tell it to replace all << by > <{}<, instead of just the first. (I would have guessed appending a g > would work, but didn't in a quick test, i.e. $c =~ s/<</<\{\}</g; didn't > work.) > > Duncan Murdoch > >> >> Also, is there any way of getting RCMD to leave << and >> alone-- i.e. >> not to guillemotize them? They cause unrecognized characters on my >> (Windows XP, newly-installed Miktex, R-alpha of 10/9/2005) system when I >> run the dvi files through dvips. >> >> Thanks >> >> Mark Bravington >> CSIRO Mathematical & Information Sciences >> Marine Laboratory >> Castray Esplanade >> Hobart 7001 >> TAS >> >> ph (+61) 3 6232 5118 >> fax (+61) 3 6232 5012 >> mob (+61) 438 315 623 >> >> ______________________________________________ >> R-devel@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-devel > > ______________________________________________ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > > -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel