Skip to content
Prev 36589 / 63424 Next

Rd2dvi pagination of index in pdf manual

On Apr 28, 2010, at 2:29 PM, Prof Brian Ripley wrote:

            
I'm seeing the same issue with ISwR. It looks like a generic LaTeX issue where we need to wait with the makeindex step until the TOC is in place. An easy fix would be to hand-edit the Rd2dvi script to make an extra pass. E.g. replace

if test "${out_ext}" = pdf; then
  ${R_PDFLATEXCMD} ${R_TEXOPTS} Rd2 || status=1

with 

if test "${out_ext}" = pdf; then
  ${R_PDFLATEXCMD} ${R_TEXOPTS} Rd2 &&
  ${R_PDFLATEXCMD} ${R_TEXOPTS} Rd2 || status=1

and similarly for the non-pdf case, if you care.