Skip to content
Prev 47758 / 63424 Next

Problems building package vignette: Sweave requires multiple passes to build document.

On 14/03/2014 12:28 PM, Skye Bender-deMoll wrote:
I think the problem isn't Sweave:  it ignores LaTeX code.  The problem 
is the following step that converts the .tex output into a .pdf, which 
is handled by tools::texi2pdf (which runs tools::texi2dvi).  That 
function makes an effort to determine how many LaTeX passes are 
required, but it appears you are fooling it somehow.

Take a look at the source to tools::texi2dvi, and see if you can spot 
what's going wrong in your case.  There are a number of different paths 
through that code that depend on your particular setup, so we can't do 
that.  If you don't succeed in this, then post a simplified sample 
package and someone else will be able to see if they have the same 
problem as you, and perhaps fix it.

Duncan Murdoch