Skip to contents

zueridown (development version)

  • The visual snapshot tests render hand-written German sample reports, with column wrapping and a page break in two columns, full-width tables, and the photo cover on its own page.

  • zueridown requires R >= 4.0.

  • In two-column reports, the rules around a figure caption span the column instead of the page width.

  • New RStudio template “zueridown two-column document with graphics”, a two-column report with figures and captions.

  • cd_format_date() writes German dates by default, as documented, such as 1. Januar 2024, and no longer needs a German locale. Language codes with an underscore, such as "de_CH", count as German.

  • cd_knit_chunk_opts() passes its arguments fig.pos, cache, message, echo and tidy on to knitr, instead of ignoring them.

  • Inline R code in header-includes is evaluated again, instead of reaching LaTeX verbatim.

  • A font folder whose path LaTeX cannot handle, such as OneDrive - Acme, Inc with its ,, now stops the render with an error that names the folder. ?zueridown lists the characters, which also apply to the folder where the package is installed.

  • The message about a missing preferred font names the missing font files if only some of its faces are found. If the option zueridown.font_path names several folders, the message about a missing font lists them all instead of failing.

  • With LuaLaTeX, a font named in the document is also found in the TeX installation. A face in mainfontoptions given as a font file with its folder, such as BoldFont=fonts/Bold.otf, no longer counts as missing. A font file named in mainfont is not looked up in the zueridown.font_path folder: give its folder as Path= in mainfontoptions.

  • The licensed font is now also found when it is installed for the current user on Windows, and it is then loaded from its files. The files must be named after the font’s faces, such as HelveticaNeueLTPro-Md.ttf and HelveticaNeueLTPro-Hv.ttf. The new option zueridown.font_path names another folder that holds files named this way. Otherwise, the font is used if fc-list lists it, which covers the installed fonts on Linux and macOS. A mainfont in the document or the zueridown.mainfont option is looked up the same way. If it is not found, the default font is used instead, and a message names the missing font.

  • The main font is now the licensed Helvetica Neue LT Pro, 65 Medium with 85 Heavy as bold, if all of these faces are installed. Otherwise the bundled TeX Gyre Heros is used, and a message names the fallback and explains how to install fonts. The message appears at the start of the render and again at its end, once the PDF is written. A mainfont in the document or the zueridown.mainfont option still takes precedence.

  • The code shared with other indiedown template packages now comes from indiedown as the standalone file R/import-standalone-indiedown.R. Update it with usethis::use_standalone("cynkra/indiedown", "indiedown").

  • A skipped visual test no longer deletes the stored snapshots. The toolchain record lists the bundled font files with checksums. A GitHub Actions workflow runs R CMD check with the snapshot tests and fails if any test is skipped.

  • twocolumn: true no longer breaks classoption. Every class option from the document is now kept next to twocolumn, where classoption: landscape used to reach LaTeX as the unknown option landscapetwocolumn.

  • Documents with twocolumn: true no longer warn “Package multicol Warning: May not work with the twocolumn option”. multicols is still available in two-column documents.

  • The help pages use Markdown, so backticks and links render properly.

  • New visual snapshot tests render sample documents to PDF and compare each page byte for byte with stored images. The system fonts are hidden during the tests, and the toolchain is recorded next to the snapshots.

  • TeX Gyre Heros, the fallback main font, now ships with the package and is loaded by file name. Rendering no longer fails with “The font”TeX Gyre Heros” cannot be found” on a fresh TinyTeX installation. The font keeps its own license, the GUST Font License, see inst/COPYRIGHTS.

zueridown 1.0.0

  • no functional changes
  • run checks in pipeline
  • create pkgdown site and make pkgdown ready for deployment on CMP

zueridown 0.0.3.1

  • fix missing dependencies
  • fix logo

zueridown 0.0.3

  • improve documentation

before0.0.3: development versions