Dear R People: I'm building a packages on an Ubuntu Karmic Koala 9.10 system and am getting the following errors: * checking PDF version of manual ... WARNING LaTeX errors when creating PDF version. This typically indicates Rd problems. LaTeX errors found: ! Font T1/ptm/m/n/10=ptmr8t at 10.0pt not loadable: Metric (TFM) file not found . <to be read again> relax l.7 \begin{document} ! Font T1/ptm/m/n/24.88=ptmr8t at 24.88pt not loadable: Metric (TFM) file not f ound. <to be read again> relax l.8 \chapter*{} ! Font T1/ptm/bx/n/24.88=ptmb8t at 24.88pt not loadable: Metric (TFM) file not found. <to be read again> relax l.8 \chapter*{} ! Font \T1/ptm/b/n/24.88=nullfont not loadable: Metric (TFM) file not found. <to be read again> \relax l.8 \chapter*{} ! Font T1/ptm/bx/n/10=ptmb8t at 10.0pt not loadable: Metric (TFM) file not foun d. <to be read again> relax l.10 {\textbf{\huge Package `RcmdrPlugin.epack'} ! Font \T1/ptm/b/n/10=nullfont not loadable: Metric (TFM) file not found. <to be read again> \relax l.10 {\textbf{\huge Package `RcmdrPlugin.epack'} } ! Font T1/ptm/bx/n/20.74=ptmb8t at 20.74pt not loadable: Metric (TFM) file not found. <to be read again> relax l.10 {\textbf{\huge Package `RcmdrPlugin.epack'} ! Font \T1/ptm/b/n/20.74=nullfont not loadable: Metric (TFM) file not found. <to be read again> \relax l.10 {\textbf{\huge Package `RcmdrPlugin.epack'} } ! Font T1/ptm/m/n/12=ptmr8t at 12.0pt not loadable: Metric (TFM) file not found . <to be read again> relax l.11 \par\bigskip{\large ! Font T1/pcr/m/n/10=pcrr8t at 10.0pt not loadable: Metric (TFM) file not found . <to be read again> relax l.19 ...AsIs{Erin Hodgess\email{hodgesse at uhd.edu}} ! Font T1/ptm/m/n/14.4=ptmr8t at 14.4pt not loadable: Metric (TFM) file not fou nd. <to be read again> relax l.33 ...r Plug-In}{RcmdrepackPlugin.Rdash.package} ! Font T1/ptm/bx/n/14.4=ptmb8t at 14.4pt not loadable: Metric (TFM) file not fo und. <to be read again> relax l.33 ...r Plug-In}{RcmdrepackPlugin.Rdash.package} ! Font \T1/ptm/b/n/14.4=nullfont not loadable: Metric (TFM) file not found. <to be read again> \relax l.33 ...r Plug-In}{RcmdrepackPlugin.Rdash.package} ! Font T1/phv/m/n/14.4=phvr8t at 14.4pt not loadable: Metric (TFM) file not fou nd. <to be read again> relax l.33 ...r Plug-In}{RcmdrepackPlugin.Rdash.package} ! Font T1/ptm/m/it/10=ptmri8t at 10.0pt not loadable: Metric (TFM) file not fou nd. <to be read again> relax l.33 ...r Plug-In}{RcmdrepackPlugin.Rdash.package} ! Font T1/ptm/m/sl/10=ptmro8t at 10.0pt not loadable: Metric (TFM) file not fou nd. <to be read again> relax l.62 \end{document} ! Font T1/phv/m/n/10=phvr8t at 10.0pt not loadable: Metric (TFM) file not found . <to be read again> relax l.62 \end{document} * checking PDF version of manual without index ... ERROR erin at ubuntu:~$ When I run on another system, it runs fine. Has anyone run into this lately, please? I got the pdflatex via sudo apt-get install pdflatex. Thanks, Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: erinm.hodgess at gmail.com
Barry Rowlingson
2010-Apr-02 23:13 UTC
[R] Problems with PDF/Latex when building a package
On Fri, Apr 2, 2010 at 11:43 PM, Erin Hodgess <erinm.hodgess at gmail.com> wrote:> Dear R People: > > I'm building a packages on an Ubuntu Karmic Koala 9.10 system and am > getting the following errors: > > > * checking PDF version of manual ... WARNING > LaTeX errors when creating PDF version. > This typically indicates Rd problems. > LaTeX errors found: > ! Font T1/ptm/m/n/10=ptmr8t at 10.0pt not loadable: Metric (TFM) file not found...> When I run on another system, it runs fine. ?Has anyone run into this > lately, please? > > I got the pdflatex via sudo apt-get install pdflatex.I can't see a pdflatex package on my Karmic Koala: # apt-get install pdflatex Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package pdflatex so unless you're getting it from another repository... I suspect you did something else, probably got it from the texlive-latex-base package... # dpkg-query -S `which pdflatex` texlive-latex-base: /usr/bin/pdflatex Hmmm. Anyway, there's a bunch of font-related packages in there and maybe you missed one or two. Here's the packages that match 'texlive' and those that match 'tex' and 'font' on my system: # dpkg-query -W | grep texlive texlive 2007.dfsg.2-4ubuntu1 texlive-base 2007.dfsg.2-4ubuntu1 texlive-base-bin 2007.dfsg.2-7ubuntu1 texlive-common 2007.dfsg.2-4ubuntu1 texlive-doc-base 2007.dfsg.2-2 texlive-extra-utils 2007.dfsg.2-7ubuntu1 texlive-font-utils 2007.dfsg.2-7ubuntu1 texlive-fonts-recommended 2007.dfsg.2-4ubuntu1 texlive-generic-recommended 2007.dfsg.2-4ubuntu1 texlive-latex-base 2007.dfsg.2-4ubuntu1 texlive-latex-extra 2007.dfsg.17-2ubuntu1 texlive-latex-recommended 2007.dfsg.2-4ubuntu1 texlive-math-extra 2007.dfsg.17-2ubuntu1 texlive-pictures 2007.dfsg.2-4ubuntu1 texlive-pstricks 2007.dfsg.17-2ubuntu1 texlive-science 2007.dfsg.17-2ubuntu1 # dpkg-query -W | grep tex| grep font latex-xft-fonts 0.1-8 texlive-font-utils 2007.dfsg.2-7ubuntu1 texlive-fonts-recommended 2007.dfsg.2-4ubuntu1 I've not seen any problems with PDF creation on the packages I've built, but maybe I'd have the same trouble. Anyway, above should help you see if your latex installation is comparable to mine or to any other install! Barry