diff --git a/ChangeLog b/ChangeLog index 3005040..159d119 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2024-07-06 Dirk Eddelbuettel + + * DESCRIPTION (Version, Date): Release 0.0.7 + + * inst/rmarkdown/templates/metropolis/resources/template.tex: + Define `pandocunbounded` now needed by pandoc (>= 3.2.1) + + * DESCRIPTION (Imports): Add `codetools` now needed too + * NAMESPACE: Also import `codetools` + + * README.md: Update several URLs + 2024-06-14 Dirk Eddelbuettel * .github/workflows/ci.yaml (jobs): Update to r-ci-setup action diff --git a/DESCRIPTION b/DESCRIPTION index c375bde..55b34ba 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Package: binb Type: Package Title: 'binb' is not 'Beamer' -Version: 0.0.6 -Date: 2020-06-10 +Version: 0.0.7 +Date: 2024-07-06 Author: Dirk Eddelbuettel, Ista Zahn and Rob Hyndman Maintainer: Dirk Eddelbuettel Description: A collection of 'LaTeX' styles using 'Beamer' customization for @@ -14,7 +14,7 @@ Description: A collection of 'LaTeX' styles using 'Beamer' customization for 'Fira', and 'IQSS' requires 'Libertinus'. URL: https://github.com/eddelbuettel/binb, https://dirk.eddelbuettel.com/code/binb.html BugReports: https://github.com/eddelbuettel/binb/issues -Imports: rmarkdown, knitr +Imports: rmarkdown, knitr, codetools VignetteBuilder: knitr License: GPL (>= 2) Encoding: UTF-8 diff --git a/NAMESPACE b/NAMESPACE index 94e9aa3..c0f80a7 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -1,3 +1,4 @@ export("metropolis", "iqss", "presento", "monash") import("knitr") import("rmarkdown") +import("codetools") diff --git a/README.md b/README.md index 1f27dd8..345eacf 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Package-License](http://img.shields.io/badge/license-GPL--2-brightgreen.svg?style=flat)](http://www.gnu.org/licenses/gpl-2.0.html) [![CRAN](http://www.r-pkg.org/badges/version/binb)](https://cran.r-project.org/package=binb) [![Dependencies](https://tinyverse.netlify.app/badge/binb)](https://cran.r-project.org/package=binb) -[![Downloads](http://cranlogs.r-pkg.org/badges/binb?color=brightgreen)](http://www.r-pkg.org/pkg/binb) +[![Downloads](http://cranlogs.r-pkg.org/badges/binb?color=brightgreen)](https://www.r-pkg.org:443/pkg/binb) [![Last Commit](https://img.shields.io/github/last-commit/eddelbuettel/binb)](https://github.com/eddelbuettel/binb) ### Motivation @@ -212,19 +212,19 @@ These themes use additional (free) fonts you may need to install: - [Metropolis](https://github.com/matze/mtheme) wants [Fira Sans](https://github.com/mozilla/Fira) but can proceed with alternate fonts; - [IQSS Beamer Theme](https://github.com/IQSS/iqss-beamer-theme) wants - [Libertinus](https://github.com/libertinus-fonts/libertinus), see the + [Libertinus](https://github.com/alerque/libertinus), see the [IQSS Beamer Theme](https://github.com/IQSS/iqss-beamer-theme) page for details. - [Presento Theme](https://github.com/RatulSaha/presento) wants [Montserrat](https://github.com/JulietaUla/Montserrat), [Lato Light](http://www.latofonts.com/) (also [here](https://github.com/google/fonts/tree/master/ofl/lato)), - [Noto Sans](https://www.google.com/get/noto), + [Noto Sans](https://fonts.google.com/noto), [Algreya Sans](https://github.com/huertatipografica/Alegreya-Sans) as the small caps font and [Inconsolata](https://github.com/google/fonts/tree/master/ofl/inconsolata) as a monospaced font. - [Monash](https://github.com/robjhyndman/MonashEBSTemplates) wants [Carlito](https://fontlibrary.org/en/font/carlito) which some systems (such as Ubuntu) provide. -If you use [Debian](https://www.debian.org) or [Ubuntu](https://www.ubuntu.com), you can +If you use [Debian](https://www.debian.org) or [Ubuntu](https://ubuntu.com/), you can use the informal font packages I created for [Fira and Fira Sans](https://github.com/eddelbuettel/pkg-fonts-fira), [Libertinus](https://github.com/eddelbuettel/pkg-fonts-libertinus), diff --git a/inst/NEWS.Rd b/inst/NEWS.Rd index 9ae9a48..8b9e35e 100644 --- a/inst/NEWS.Rd +++ b/inst/NEWS.Rd @@ -3,6 +3,14 @@ \newcommand{\ghpr}{\href{https://github.com/eddelbuettel/binb/pull/#1}{##1}} \newcommand{\ghit}{\href{https://github.com/eddelbuettel/binb/issues/#1}{##1}} +\section{Changes in binb version 0.0.7 (2024-07-06)}{ + \itemize{ + \item Several rounds of small updates to ge continuous integration setup. + \item An additional LaTeX command needed by \pkg{pandoc} (>= 3.2.1) has + been added. + } +} + \section{Changes in binb version 0.0.6 (2020-06-10)}{ \itemize{ \item Support for YAML option \code{titlegraphic} was added in diff --git a/inst/rmarkdown/templates/metropolis/resources/template.tex b/inst/rmarkdown/templates/metropolis/resources/template.tex index fd29f76..0f7f672 100644 --- a/inst/rmarkdown/templates/metropolis/resources/template.tex +++ b/inst/rmarkdown/templates/metropolis/resources/template.tex @@ -307,6 +307,8 @@ $if(titlegraphic)$ \titlegraphic{\hfill\includegraphics[height=1cm]{$titlegraphic$}} $endif$ +\providecommand{\pandocbounded}[1]{#1} + \begin{document} % Hide progress bar and footline on titlepage diff --git a/vignettes/metropolisDemo.Rmd b/vignettes/metropolisDemo.Rmd index e6a2809..d845f5e 100644 --- a/vignettes/metropolisDemo.Rmd +++ b/vignettes/metropolisDemo.Rmd @@ -29,7 +29,7 @@ knitr::opts_chunk$set(cache=TRUE) ## Metropolis The \themename theme is a Beamer theme with minimal visual noise inspired -by the [hsrm](https://github.com/hsrmbeamertheme/hsrmbeamertheme) Beamer +by the [hsrm](https://github.com/benjamin-weiss/hsrmbeamertheme) Beamer Theme by Benjamin Weiss. Enable the theme (in \LaTeX) by loading