A new version of our pinp package arrived on CRAN two days ago, roughly one year after the previous release. The pinp package allows for snazzier one or two column Markdown-based pdf vignettes, and is now used by a few packages. A screenshot of the package vignette can be seen below. Additional screenshots are at the pinp page.
This release adds another option for a customized date YAML variable suitable for e.g. a published at date thanks to Ilya Kashnitsky, has some tweaks to the README.md as well as support for pandoc columns mode (as a small extension of code from the nice repo by Grant McDermott).
The NEWS entry for this release follows.
Changes in pinp version 0.0.10 (2020-10-01)
Courtesy of my CRANberries, there is a comparison to the previous release. More information is on the tint page. For questions or comments use the issue tracker off the GitHub repo.
If you like this or other open-source work I do, you can now sponsor me at GitHub. For the first year, GitHub will match your contributions.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
Another pinp package release! pinp allows for snazzier one or two column Markdown-based pdf vignettes, and is now used by a few packages. A screenshot of the package vignette can be seen below. Additional screenshots are at the pinp page.
This release comes exactly one week (i.e. the minimal time to not earn a NOTE
) after the hot-fix release 0.0.8 which addressed breakage on CRAN tickled by changed in TeX Live. After updating the PNAS style LaTeX macros, and avoiding the issue with an (older) custom copy of titlesec, we now have the real fix, thanks to the eagle-eyed attention of Javier Bezos. The error, as so often, was simple and ours: we had left a stray \makeatother
in pinp.cls
where it may have been in hiding for a while. A very big Thank You! to Javier for spotting it, to Norbert for all his help and to James for double-checking on PNAS.
The good news in all of this is that the package is now in better shape than ever. The newer PNAS style works really well, and I went over a few of our extensions (such as papersize
support for a4 as well as letter), direct on/off off a Draft watermark
, a custom subtitle and more—and they all work consistently. So happy vignette or paper writing!
The NEWS entry for this release follows.
Changes in pinp version 0.0.9 (2019-09-15)
The processing error first addressed in release 0.0.8 is now fixed by removing one stray command; many thanks to Javier Bezos.
The hotfix of also installing titlesec.sty has been reverted.
Processing of the 'papersize' and 'watermark' options was updated.
Courtesy of CRANberries, there is a comparison to the previous release. More information is on the tint page. For questions or comments use the issue tracker off the GitHub repo.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
A new release of our pinp package is now on CRAN. pinp allows for snazzier one or two column Markdown-based pdf vignettes, and is now used by a few packages. A screenshot of the package vignette can be seen below. Additional screenshots are at the pinp page.
This release was spurned by one of those "CRAN package xyz"
emails I received yesterday: processing of pinp
-using vignettes was breaking at CRAN under the newest TeX Live release present on Debian testing as well as recent Fedora. The rticles package (which uses the PNAS style directly) apparently has a similar issue with PNAS.
Kurt was a usual extremely helpful in debugging, and we narrowed this down to an interaction with the newer versions of titlesec latex package. So for now we did two things: upgrade our code reusing the PNAS class to their newest verson of the PNAS class (as suggested by Norbert whom I also roped in), but also copying in an older version of titlesec.sty
(plus a support file). In the meantime, we are also looking into titlesec directly as Javier offered help—all this was a really decent example of open source firing on all cylinders. It is refreshing.
Because of the move to a newer PNAS version (which seems to clearly help with the occassionally odd formatting of floating blocks near the document end) I may have trampled on earlier extension pull requests. I will reach out to the authors of the PRs to work towards a better process with cleaner diffs, a process I should probably have set up earlier.
The NEWS entry for this release follows.
Changes in pinp version 0.0.8 (2019-09-08)
Two erroraneous 'Provides' were removed from the pinp class.
The upquote package is now use to use actual (non-fancy) quotes in verbatim mode (Dirk fixing #75)
The underlying PNAS style was updated to the most recent v1.44 version of 2018-05-06 to avoid issues with newer TeXLive (Dirk in #79 fixing #77 and #78)
The new PNAS code brings some changes eg watermark is longer an option but typesetting paragraphs seems greatly improved. We may have stomped on an existing behavior, if see please file an issue.
However, it also conflicts with the current texlive version of titlesec so for now we copy
titlesec.sty
(and a support file) in using a prior version, just like we do for pinp.cls and jss.bst.
Courtesy of CRANberries, there is a comparison to the previous release. More information is on the tint page. For questions or comments use the issue tracker off the GitHub repo.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
A good six months after the previous release, another small feature release of our pinp package for snazzier one or two column Markdown-based pdf vignettes got onto CRAN minutes ago as another [CRAN-pretest-publish]
release indicating a fully automated process (as can be done for packages free of NOTES, WARNING, ERRORS, and without ‘changes to worse’ in their reverse dependency checks).
One new option was suggested (and implemented) by Ilya Kashnitsky: the bold and small subtitle carrying a default of ‘this version built on …’ with the date is now customisable; motivation was for example stating a post-publication DOI which is indeed useful. In working with DOI I also finally realized that I was blocking displays of DOIs in the references: the PNAS style use \doi{}
for a footer display (which we use e.g. for vignette info) shadowing the use via the JSS.cls
borrowed from the Journal of Statistical Software setup. So we renamed the YAML header option to doi_footer
for clarity, still support the old entries for backwards compatibility (yes, we care), renamed the macro for this use — and with an assist from LaTeX wizard Achim Zeileis added a new \doi{}
now displaying DOIs in the references as they should! We also improved some internals as e.g. the Travis CI checks but I should blog about that another time, and documented yet more YAML header options in the vignette.
A screenshot of the package vignette can be seen below. Additional screenshots of are at the pinp page.
The NEWS entry for this release follows.
Changes in pinp version 0.0.7 (2019-01-11)
Added some more documentation for different YAML header fields.
A new option has been added for a 'date_subtitle' (Ilya Kashnitsky in #64 fixing #63).
'doi' YAML option renamed to 'doi_footer' to permit DOIs in refs, 'doi' header still usable (Dirk in #66 fixing #65).
The 'doi' macro was redefined to create a hyperlink.
Courtesy of CRANberries, there is a comparison to the previous release. More information is on the tint page. For questions or comments use the issue tracker off the GitHub repo.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
A small feature release of our pinp package for snazzier one or two column vignettes get onto CRAN a little earlier.
It offers two new options. Saghir Bashir addressed a longer-standing help needed! issue and contributed code to select papersize options via the YAML header. And I added support for the collapse
option of knitr, also via YAML header selection.
A screenshot of the package vignette can be seen below. Additional screenshots of are at the pinp page.
The NEWS entry for this release follows.
Changes in pinp version 0.0.6 (2018-07-16)
Courtesy of CRANberries, there is a comparison to the previous release. More information is on the tint page. For questions or comments use the issue tracker off the GitHub repo.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
Another maintenance release of our pinp package for snazzier one or two column vignettes is getting onto CRAN right now.
Everybody's favourite Swiss Army Knife of text processing and document conversion, pandoc, decided in all its wisdow for version 2.* to no longer allow an idiom of embedding full LaTeX chunks in the Markdown YAML header. We had used this in our own package vignette to include the processed references (i.e., what BibTeX generates given input and style file). So this has been moved to a file that will be included. As most users probably just referenced a .bib
file, this likely affected nobody --- apart from the autobuilders at CRAN. So to make Kurt and the CRAN team happy, a change was made (and will be made in a few Rcpp* packages that use the same bibliography trick).
A screenshot of the package vignette can be seen below. Additional screenshots of are at the pinp page.
The NEWS entry for this release follows.
Changes in pinp version 0.0.5 (2018-06-08)
pandoc
version 2 or later, in its wisdom, no longer lets us embed a bibliography in the header, so the vignette was altered by a CRAN request
Courtesy of CRANberries, there is (or will be when the cron job runs next) a comparison to the previous release. More information is on the tint page. For questions or comments use the issue tracker off the GitHub repo.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
A maintenance release of our pinp package for snazzier one or two column vignettes is now on CRAN as of yesterday.
In version 0.0.3, we disabled the default \pnasbreak
command we inherit from the PNAS LaTeX style. That change turns out to have been too drastic. So we reverted yet added a new YAML front-matter option skip_final_break
which, if set to TRUE
, will skip this break. With a default value of FALSE
we maintain prior behaviour.
A screenshot of the package vignette can be seen below. Additional screenshots of are at the pinp page.
The NEWS entry for this release follows.
Changes in pinp version 0.0.4 (2017-11-04)
Courtesy of CRANberries, there is a comparison to the previous release. More information is on the tint page. For questions or comments use the issue tracker off the GitHub repo.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
Our pinp package for snazzier one or two column vignette received it second update. Now at version 0.0.3, it arrived on CRAN on Saturday with minimal fuzz as an 'CRAN-pretest-publish' transition.
We added more frontmatter options, documented more, and streamlined some internals of the LaTeX class borrowed from PNAS. A screenshot of the (updated) vignette can be seen below. Additional screenshots of are at the pinp page.
The NEWS entry for this release follows.
Changes in tint version 0.0.3 (2017-10-28)
Section 'Acknowledgements' now conditional on a frontmatter setting, section 'Matmethods' has been removed,
pnasbreak
no longer used which stabilizes LaTeX float formatting. References are now shown in the column just like other content (Dirk in #36).Vignette now uses new numbered sections frontmatter switch which improves the pdf outline.
New front-matter options for title/section header colors, and link colors (Dirk in #39).
YAML frontmater options are now documented in the help page for
pinp
as well (Dirk in #41).
Courtesy of CRANberries, there is a comparison to the previous release. More information is on the tint page. For questions or comments use the issue tracker off the GitHub repo.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
A first update 0.0.2 of the pinp package arrived on CRAN just a few days after the initial release.
We added a new vignette for the package (see below), extended a few nice features, and smoothed a few corners.
The NEWS entry for this release follows.
Changes in tint version 0.0.2 (2017-09-20)
The YAML segment can be used to select font size, one-or-two column mode, one-or-two side mode, linenumbering and watermarks (#21 and #26 addressing #25)
If
pinp.cls
orjss.bst
are not present, they are copied in ((#27 addressing #23)Output is now in shaded framed boxen too (#29 addressing #28)
Endmatter material is placed in
template.tex
(#31 addressing #30)Expanded documentation of YAML options in
skeleton.Rmd
and clarified available one-column option (#32).Section numbering can now be turned on and off (#34)
The default bibliography style was changed to
jss.bst
.A short explanatory vignette was added.
Courtesy of CRANberries, there is a comparison to the previous release. More information is on the tint page. For questions or comments use the issue tracker off the GitHub repo.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
A brandnew and very exciting (to us, at least) package called pinp
just arrived on CRAN, following a somewhat unnecessarily long passage out of incoming. It is based on the PNAS LaTeX Style offered by the Proceeding of the National Academy of Sciences of the United States of America, or PNAS for short. And there is already a Markdown version in the wonderful rticles packages.
But James Balamuta and I thought we could do one better when we were looking to typeset our recent PeerJ Prepint as an attractive looking vignette for use within the Rcpp package.
And so we did by changing a few things (font, color, use of natbib and Chicago.bst
for references, removal of a bunch of extra PNAS-specific formalities from the frontpage) and customized a number of other things for easier use by vignettes directly from the YAML header (draft mode watermark, doi or url for packages, easier author naming in footer, bibtex file and more).
We are quite pleased with the result which seems ready for the next Rcpp release---see e.g., these two teasers:
and
and the pinp package page or the GitHub repo have the full (four double-)pages of what turned a more dull looking 27 page manuscript into eight crisp two-column pages.
We have few more things planned (i.e., switching to single column mode, turning on linenumbers at least in one-column mode).
For questions or comments use the issue tracker off the GitHub repo.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.