Skip to content

xfun 0.59

Latest

Choose a tag to compare

@yihui yihui released this 19 Jun 16:07
· 2 commits to main since this release
  • protect_math() now correctly handles nested LaTeX environments (e.g., \begin{cases} inside \begin{equation}). Previously, inner environments were individually wrapped in backticks, which broke MathJax rendering (thanks, @N0rbert, #57).

  • Match favicon.ico request by basename in resolve_path() (thanks, @remlapmot, #120).

  • Added a new function post_release() to perform post-CRAN-release routine tasks (e.g., tag the release, bump the version, push to the remote repository, and create a GitHub release).

  • system3() now errors on non-zero exit codes.

  • Removed the outdated note about Chrome's 2MB file size limit from the embed_file() documentation, since modern browsers (Chrome, Firefox, Safari) all support data URIs well over 100MB now (thanks, @grst, #23).

  • Fixed a regex bug in the internal yaml_bool() function where the pattern '^true|false|na$' was incorrectly parsed as (^true)|(false)|(na$), causing values like 'extrafalse' or 'trueblue' to be treated as booleans in taml_load().