[R] PLoS, Arial, R linux

2009-11-19 Thread Ted Harding
Greetings All.
According to the PLoS (Public Library of Science) Guidelines
for Figure preparation, if a figure is submitted as EPS rather
than TIFF then Figure text must be in Arial font -- see:

[1]
http://www.plosntds.org/static/figureGuidelines.action#text

and also other sections in that web-page

[2]
http://www.plosntds.org/static/figureGuidelines.action

Now, Arial font is not (as a rule) available in Linux, and
EPS diagrams prepared using R graphics will call for Helvetica
(by default). Of course the Helvetica family is very similar to
Arial, but the in-file font references will call for Helvetica
so a production system which is expecting calls for Arial may
be thrown off the rails by an EPS file which calls for Helvetica.

While there is a section (Enable the use of Arial in R) in the
Guidelines (URL [2]), the instructions assume the presence of
Arial .ttf files, not usually the case with Linux.

The PLoS Guidelines state:

  Figure text that requires a font family other than Arial
   (math symbols, etc.) must have the font information embedded
   in the figure file, or be converted to outlines.

(same URL as [1] above). Of course, the Helvetica fonts are
amongst the Standard Adobe set, and are assumed to be available
on any PostScript-capable rendering device/system (either in
the official Adobe font-definition form, or as a simulacrum
which can be evoked by the same name), so as a rule the issue
of embedding fiont definitions does not arise.

Therefore I am wondering whether
[A]
An EPS which simply uses Helvetica will be accepted by PLoS
(the substitution of Arial being automatic, as an alias);
or [B]
One has to take special measures when preparing a diagram for
PLoS using R in Linux when Arial is not available;
or [C]
One should proceed in quite a different way!

Note: I am not keen on the PLoS preferred alternative of
submitting a TIFF file, since this gives a bit-mapped result
whicvh could render poorly.

On the other hand, the Guidelines state (with resepct to LaTeX
files): PLoS does not accept vector EPS figures generated
using LaTeX. We only accept LaTeX generated figures in TIFF format.
which suggests that vector-graphics formats (however generated)
may not be acceptable anyway!

I would very much welcome any guidance on these questions,
especially from people with experience of publishing with PLoS
who use R with Linux.

With thanks,
Ted.


E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 19-Nov-09   Time: 11:00:15
-- XFMail --

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] PLoS, Arial, R linux

2009-11-19 Thread Liviu Andronic
Hello

On Thu, Nov 19, 2009 at 11:00 AM, Ted Harding
ted.hard...@manchester.ac.uk wrote:
 While there is a section (Enable the use of Arial in R) in the
 Guidelines (URL [2]), the instructions assume the presence of
 Arial .ttf files, not usually the case with Linux.

If you have a Windows installation, then you have the appropriate
license to use Arial, on Windows or on Linux. From what I remember, in
this case it could be relatively easy to copy the font files on the
Linux partition and install them. With some distributions it is
possible to install MS fonts from a third-party source (on Debian
ttf-mscorefonts-installer, on Gentoo some package also called
corefonts).

Regards
Liviu

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] PLoS, Arial, R linux

2009-11-19 Thread Deepayan Sarkar
On Thu, Nov 19, 2009 at 4:30 PM, Ted Harding
ted.hard...@manchester.ac.uk wrote:
 Greetings All.
 According to the PLoS (Public Library of Science) Guidelines
 for Figure preparation, if a figure is submitted as EPS rather
 than TIFF then Figure text must be in Arial font -- see:

 [1]
 http://www.plosntds.org/static/figureGuidelines.action#text

 and also other sections in that web-page

 [2]
 http://www.plosntds.org/static/figureGuidelines.action

 Now, Arial font is not (as a rule) available in Linux, and
 EPS diagrams prepared using R graphics will call for Helvetica
 (by default). Of course the Helvetica family is very similar to
 Arial, but the in-file font references will call for Helvetica
 so a production system which is expecting calls for Arial may
 be thrown off the rails by an EPS file which calls for Helvetica.

 While there is a section (Enable the use of Arial in R) in the

The fact that there is such a section suggests that they accept the
resulting files, doesn't it?

 Guidelines (URL [2]), the instructions assume the presence of
 Arial .ttf files, not usually the case with Linux.

But easy enough to fix (completely legally, thanks to a licensing
oversight by Microsoft):

http://corefonts.sourceforge.net/

In Debian (and I assume Ubuntu):

$ sudo apt-get install msttcorefonts

-Deepayan

[...]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] PLoS, Arial, R linux

2009-11-19 Thread Ted Harding
On 19-Nov-09 11:52:57, Deepayan Sarkar wrote:
 On Thu, Nov 19, 2009 at 4:30 PM, Ted Harding
 ted.hard...@manchester.ac.uk wrote:
 Greetings All.
 According to the PLoS (Public Library of Science) Guidelines
 for Figure preparation, if a figure is submitted as EPS rather
 than TIFF then Figure text must be in Arial font -- see:

 [1]
 http://www.plosntds.org/static/figureGuidelines.action#text

 and also other sections in that web-page

 [2]
 http://www.plosntds.org/static/figureGuidelines.action

 Now, Arial font is not (as a rule) available in Linux, and
 EPS diagrams prepared using R graphics will call for Helvetica
 (by default). Of course the Helvetica family is very similar to
 Arial, but the in-file font references will call for Helvetica
 so a production system which is expecting calls for Arial may
 be thrown off the rails by an EPS file which calls for Helvetica.

 While there is a section (Enable the use of Arial in R) in the
 
 The fact that there is such a section suggests that they accept the
 resulting files, doesn't it?
 
 Guidelines (URL [2]), the instructions assume the presence of
 Arial .ttf files, not usually the case with Linux.
 
 But easy enough to fix (completely legally, thanks to a licensing
 oversight by Microsoft):
 
 http://corefonts.sourceforge.net/
 
 In Debian (and I assume Ubuntu):
 
 $ sudo apt-get install msttcorefonts
 
 -Deepayan

Many thanks, Deepayan! I wasn't aware of that route.
Using synaptic on Debian (Etch), with Search: msttcorefonts
the font files were installed quite painlessly. I now have:

/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf
/usr/share/fonts/truetype/msttcorefonts/arialbi.ttf
/usr/share/fonts/truetype/msttcorefonts/ariali.ttf
/usr/share/fonts/truetype/msttcorefonts/arial.ttf

so should be able to make progress as described in the Guidelines.
Ted.


E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094 0861
Date: 19-Nov-09   Time: 12:17:51
-- XFMail --

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.