From tdhock5 @end|ng |rom gm@||@com  Sat Jan 11 06:22:11 2020
From: tdhock5 @end|ng |rom gm@||@com (Toby Hocking)
Date: Fri, 10 Jan 2020 19:22:11 -1000
Subject: [Rd] add jsslogo.jpg to R sources?
In-Reply-To: <alpine.DEB.2.21.2001082009310.4109@paninaro>
References: <CALK03d0h7P2TB8L8Xj8mKttuAfvWas7zWndm7Hr+EyDQAPodLg@mail.gmail.com>
 <CALEXWq3Ze7PMO2CZ+4LXpejeKVW4gq+0SAiebsoR28373NCJqw@mail.gmail.com>
 <alpine.DEB.2.21.2001082009310.4109@paninaro>
Message-ID: <CALK03d1B9K+Xi71qn3xwvOckgofTtW_99586X0kTKBhS4-aygw@mail.gmail.com>

hi there, thanks for the feedback, sorry about the cross-posting, and that
makes sense given the nojss option, which I was not aware of.

On Wed, Jan 8, 2020 at 9:16 AM Achim Zeileis <Achim.Zeileis at uibk.ac.at>
wrote:

> 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.

	[[alternative HTML version deleted]]



[Rd] add jsslogo.jpg to R sources?
Toby Hocking