cameronbracken / pgfSweave

Quality graphics and speedy compilation with Sweave
http://r-forge.r-project.org/projects/pgfsweave/
29 stars 6 forks source link

render multiple-lines strings #4

Closed yihui closed 13 years ago

yihui commented 13 years ago

highlight can render multiple-line strings without the characters \n now, but it seems I cannot reproduce Romain's example: http://romainfrancois.blog.free.fr/index.php?post/2010/12/07/highlight-0.2-5 (I still got \n)

cameronbracken commented 13 years ago

I may be wrong, but I'm pretty sure that this is because the change to render lines like this correctly was made in the Highlight driver and not in highlight(). See:

http://dirk.eddelbuettel.com/cranberries/2010/12/07#highlight_0.2-5

If this is indeed the case then the change would also have to be made in the pgfSweave driver.

yihui commented 13 years ago

OK. Thanks!