Dear Prof Ripley,
The problem is this:
I create a package with a vignette which also includes some of the help
files from the package. These are \input'ed into the vignette (after
generating them with Rdconv -t=latex. After running sweave, I get the
package-manual.tex file which runs succesfully through my tex application
(texshop is a mac os x tex gui that uses tetex), albeit with \batchmode on
to catch the error described below.
The package successfully passes R CMD check. However, when I subsequently R
CMD build the package I get the following message:
* creating vignettes ... ERROR
/Library/Frameworks/R.framework/Resources/bin/texi2dvi: pdflatex exited with
bad status, quitting.
/Library/Frameworks/R.framework/Resources/bin/texi2dvi: see
depmix-manual.log for errors.
Error in texi2dvi(file = bft, pdf = TRUE, clean = FALSE, quiet = quiet) :
running texi2dvi on depmix-manual.tex failed
Execution halted
> version
_
platform powerpc-apple-darwin6.8
arch powerpc
os darwin6.8
system powerpc, darwin6.8
status
major2
minor0.1
year 2004
month11
day 15
language R
The error I described earlier appears after this line:
/usr/local/teTeX/share/texmf.tetex/tex/latex/url/url.sty
This error does not occur when I comment out \usepackage{Rd}, although then
of course many other errors occur such as \code and \pkg being undefined.
Any hints as to where to go from here are very welcome!
best, ingmar
The depmix-manual.log reads as follows:
This is pdfeTeX, Version 3.141592-1.20a-2.2 (Web2C 7.5.3) (format=pdflatex
2004.11.26) 3 MAY 2005 17:17
entering extended mode
**\nonstopmode \input
/Users/ivisser/Documents/Projects/HMM/depmixprog/depmix/i
nst/doc/depmix-manual.tex
(/Users/ivisser/Documents/Projects/HMM/depmixprog/depmix/inst/doc/depmix-man
ual
.tex (/usr/local/teTeX/share/texmf.tetex/tex/latex/base/report.cls
Document Class: report 2004/02/16 v1.4f Standard LaTeX document class
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/size10.clo
File: size10.clo 2004/02/16 v1.4f Standard LaTeX file (size option)
)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/amsmath/amsmath.sty
Package: amsmath 2000/07/18 v2.13 AMS math features
[EMAIL PROTECTED]
For additional information on amsmath, use the `?' option.
(/usr/local/teTeX/share/texmf.tetex/tex/latex/amsmath/amstext.sty
Package: amstext 2000/06/29 v2.01
(/usr/local/teTeX/share/texmf.tetex/tex/latex/amsmath/amsgen.sty
File: amsgen.sty 1999/11/30 v2.0
[EMAIL PROTECTED]
[EMAIL PROTECTED]
))
(/usr/local/teTeX/share/texmf.tetex/tex/latex/amsmath/amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d
[EMAIL PROTECTED]
)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/amsmath/amsopn.sty
Package: amsopn 1999/12/14 v2.01 operator names
)
[EMAIL PROTECTED]
LaTeX Info: Redefining \frac on input line 211.
[EMAIL PROTECTED]
[EMAIL PROTECTED]
LaTeX Info: Redefining \overline on input line 307.
[EMAIL PROTECTED]
[EMAIL PROTECTED]
LaTeX Info: Redefining \ldots on input line 379.
LaTeX Info: Redefining \dots on input line 382.
LaTeX Info: Redefining \cdots on input line 467.
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
LaTeX Font Info:Redeclaring font encoding OML on input line 567.
LaTeX Font Info:Redeclaring font encoding OMS on input line 568.
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\multlinegap=\skip44
\multlinetaggap=\skip45
[EMAIL PROTECTED]
LaTeX Info: Redefining \[ on input line 2666.
LaTeX Info: Redefining \] on input line 2667.
)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/amsfonts/amsfonts.sty
Package: amsfonts 2001/10/25 v2.2f
\symAMSa=\mathgroup4
\symAMSb=\mathgroup5
LaTeX Font Info:Overwriting math alphabet `\mathfrak' in version `bold'
(Font) U/euf/m/n --> U/euf/b/n on input line 132.
)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/amscls/amsthm.sty
Package: amsthm 2004/08/06 v2.20
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
)
(/Library/Frameworks/R.framework/Resources/share/texmf/Sweave.sty
(/usr/local/t
eTeX/share/texmf.tetex/tex/latex/base/fontenc.sty
Package: fontenc 2004/02/22 v1.99f Standard LaTeX package
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/t1enc.def
File: t1enc.def 2004/02/22 v1.99f Standard LaTeX file
LaTeX Font Info:Redeclaring font encoding T1 on input line 43.
)) (/usr/local/teTeX/