Re: [Rd] \Sexpr[results=hide] produces \verb{ newlines }

2021-07-31 Thread Martin Maechler
> Ivan Krylov > on Thu, 29 Jul 2021 17:48:38 +0200 writes: > Hello R-devel! > > Here's an Rd file that produces a large empty area when converted to > HTML: > > \name{repro} > \title{title} > \description{description} > \details{ > Hello > \Sexpr[stage=build,results=hide]{ >

[Rd] Rd2txt: frmt() overestimates width of multi-line arguments

2021-07-31 Thread Ivan Krylov
Hi! I wanted to use the second argument of \figure{}{} to provide a pseudo-graphic rendition of the image and noticed that it's not centered despite the intent to do so is visible in the code. I traced it to a line in the frmt() function. It seems to me that frmt() doesn't expect its input to con