Skip to content
Prev 36587 / 63421 Next

Rd2dvi pagination of index in pdf manual

Hmm, the construction of the PDF is done by pdlatex/hyperref, not by 
R.  What latex setup is this, and (guessing it is some version of 
MiKTeX) does it have a texi2dvi.exe?  If so, the conversion from our 
.tex file to PDF is managed entirely by texi2dvi.exe, and my guess is 
that it has done too few passes.  You should be able to verify that by 
using Rd2pdf --no-clean and running texi2dvi yourself on the saved 
.tex file.  Most likely running pdflatex on the .tex one more time 
will resolve this, so if you want to check texi2dvi.exe you would need 
to copy the .tex elsewhere.

(The less likely alternative is that this is managed by 
tools::texi2dvi and it is doing too few passes.)

If you have not already done so it would be worth checking that your 
latex setup is fully updated: latex package hyperref is involved and 
that is updated very frequently (more than weekly).
On Thu, 29 Apr 2010, Murray Efford wrote: