[R] CM Fonts in PDF output

2009-11-17 Thread Markus Jochmann
Hi! On Linux I try to produce pdf graphs with computer modern fonts so that they look nice in LaTeX documents. I run for example: -- CM - Type1Font( CM, c(/usr/share/texmf-texlive/fonts/afm/public/cm-lgc/fcmr8a.afm, /usr/share/texmf-texlive/fonts/afm/public/cm-lgc/fcmb8a.afm,

Re: [R] CM Fonts in PDF output

2009-11-17 Thread baptiste auguie
Hi, Not answering your question, but the tikzDevice package is another option if you want to match LaTeX fonts seamlessly. HTH, baptiste 2009/11/17 Markus Jochmann markus.jochm...@strath.ac.uk: Hi! On Linux I try to produce pdf graphs with computer modern fonts so that they look nice in

Re: [R] CM Fonts in PDF output

2009-11-17 Thread Prof Brian Ripley
Since 0x2d = 45, it looks like those fonts are missing 'minus'. See ?postscript for more details on encodings (and 'minus' vs 'hyphen'). 'Linux' is too imprecise here. but I looked at my TeXLive 2009 installation (in a different place) and fcmr8a.afm did not contain 'minus'. On Tue, 17 Nov

Re: [R] CM Fonts in PDF output

2009-11-17 Thread Markus Jochmann
Thanks Baptiste for your hint, I will try this at some point. I solved the issue thanks to Brian Ripley. I followed the instructions by Paul Murrell (http://www.stat.auckland.ac.nz/~paul/R/CM/CMR.html) but not exactly enough. Instead of downloading the font files from