From Ach|m@Ze||e|@ @end|ng |rom u|bk@@c@@t  Wed Jan  8 20:16:45 2020
From: Ach|m@Ze||e|@ @end|ng |rom u|bk@@c@@t (Achim Zeileis)
Date: Wed, 8 Jan 2020 20:16:45 +0100 (CET)
Subject: [Rd] add jsslogo.jpg to R sources?
In-Reply-To: <CALEXWq3Ze7PMO2CZ+4LXpejeKVW4gq+0SAiebsoR28373NCJqw@mail.gmail.com>
References: <CALK03d0h7P2TB8L8Xj8mKttuAfvWas7zWndm7Hr+EyDQAPodLg@mail.gmail.com>
 <CALEXWq3Ze7PMO2CZ+4LXpejeKVW4gq+0SAiebsoR28373NCJqw@mail.gmail.com>
Message-ID: <alpine.DEB.2.21.2001082009310.4109@paninaro>

On Wed, 8 Jan 2020, I?aki Ucar wrote:

> On Wed, 8 Jan 2020 at 19:21, Toby Hocking <tdhock5 at gmail.com> wrote:
>>
>> Hi R-core, I was wondering if somebody could please add jsslogo.jpg to the
>> R sources? (as I reported yesterday in this bug)
>>
>> https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17687
>>
>> R already includes jss.cls which is the document class file for Journal of
>> Statistical Software. Actually, for the jss.cls file to be useful, it also
>> requires jsslogo.jpg in order to compile JSS articles without error.
>>
>> This is an issue for me because I am writing a JSS paper that includes
>> figures created using tikzDevice, which I am telling to use the jss class
>> for computing metrics. On debian/ubuntu the R-src/share/texmf directory is
>> copied to /usr/share/texmf/tex/latex/R, so tikzDevice is finding jss.cls in
>> /usr/share/texmf/tex/latex/R/tex/latex/jss.cls but it is failing with a
>> 'jsslogo not found' error -- the fix is to also include jsslogo.jpg in the
>> R sources (in the same directory as jss.cls).
>
> Why don't you just include jsslogo.jpg in your working directory?
> jss.cls is included in the R sources because there are many vignettes
> with the JSS style, but always *without* the logo. The logo should
> only be used for actual JSS publication, so I think that the R sources
> are no place for it.

Thanks, I?aki, you are right. The motivation for including jss.cls and 
jss.bst in the R sources was to facilitate turning JSS papers into 
vignettes (see the FAQ at https://www.jstatsoft.org/pages/view/style) with 
\documentclass[nojss]{jss}. Before jss.cls/bst were shipped along with 
base R many packages shipped with their own copy which seemed like a waste 
of resources and source of confusion.

When preparing new papers for submission in JSS you can also use the 
"nojss" option, this is also accepted by the journal.

Hope that helps,
Achim

P.S.: Toby, if you plan on discussing an such an issue anyway, I would 
recommend to wait with the bug report. Cross-posting on different channels 
is always a bit of a nuisance.


[Rd] add jsslogo.jpg to R sources?
Achim Zeileis