Skip to content
Prev 17639 / 63424 Next

Rd and guillemots

On 9/15/2005 7:51 PM, Mark.Bravington at csiro.au wrote:
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