On 9/16/2005 4:16 PM, Prof Brian Ripley wrote: > 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).
Yes, that's it. Thanks! Duncan Murdoch > > 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 >> >> > ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel