Skip to content

Releases: rstudio/bookdown

bookdown 0.33

06 Mar 23:47
Compare
Choose a tag to compare
  • extra_dependencies in gitbook() is now correctly working (thanks, @ThierryO, #1408).

bookdown 0.32

17 Jan 21:27
Compare
Choose a tag to compare
  • The defunct kindlegen() has been removed from this package.

  • Theorem and Proof environments are now supported again in HTML slide format slidy_presentation2() (thanks, @urx449, #1398).

bookdown 0.31

14 Dec 03:38
Compare
Choose a tag to compare
  • This package requires R >= 3.5.0 now.

bookdown 0.30

09 Nov 16:58
Compare
Choose a tag to compare
  • Support specific markdown content like list or code chunk inside Theorem and Proof special environments (#1371).

  • Fix regression about special usage of bookdown project not using index.Rmd as main file. It is recommended to use index.Rmd in all projects, but workflow has been improved for other cases (thanks, @otoomet, #1349).

bookdown 0.29

12 Sep 21:54
Compare
Choose a tag to compare
  • The argument code_folding works for the gitbook() output format now (thanks, @atusy, #1368).

  • Setting toc_depth or toc_float in bs4_book() will now throw an error like toc to make it clear that TOC is not an opt-out choice and can't be customize (thanks, @karlmay88, #1377).

bookdown 0.28

10 Aug 03:33
Compare
Choose a tag to compare
  • Fix fontawesome 4.7 CSS that is included with gitbook() format styling. Now new icons (like fa-usb) are correctly available as expected (thanks, @snipfoo, #1353).

  • Fix an issue with clipboard button in gitbook() (thanks, @chadyuu, #1358).

bookdown 0.27

14 Jun 14:46
Compare
Choose a tag to compare
  • Fix fence_theorems() so that output is not ignored anymore. With previous version, when output was different than NULL, the result was written to input, ignoring output value. From now on, set input and output to the same file if you want to overwrite (thanks, @Scinawa, #1342).

  • Tweak bs4_book() default CSS for better support of python chunk highlighting (thanks, @briandk, #1333).

  • Fix an issue with guessing output format when no output_format is provided in render_book() for files in a rmd_subdir folder (thanks, @shivam7898, #1331).

  • Fix the issue of the invisible gitbook toolbar on iPad (thanks, @mpereira-dev, #60).

bookdown 0.26

15 Apr 14:21
Compare
Choose a tag to compare
  • Fix issues with TOC in gitbook() and Pandoc 2.18 (thanks, @avraam-inside, #1326, #1329).

  • Fix an issue with per-format rmd_files config when no output_format was provided in render_book() (thanks, @ellessenne, #1323).

  • Added support for theorem/proof environments back for Word/EPUB/ODT output (thanks, @N0rbert, #1313).

  • kindlegen() is defunct now.

bookdown 0.25

16 Mar 13:32
Compare
Choose a tag to compare

NEW FEATURES

  • Set option bookdown.theorem.enabled = FALSE to opt-out bookdown special Theorem and Proof environment syntax. options(bookdown.theorem.enabled = FALSE) must be called before the function to render the book, e.g in a project's .Rprofile. This can be useful for advanced users who only want PDF output and needs to handle themselves the environment using LaTeX directly, or Custom Blocks syntax without bookdown interfering (thanks, @finkelshtein, #1285).

  • bs4_book() gains a footnotes_inline argument. Set to FALSE to opt-out the default behavior of moving footnotes inline to show on hover (thanks, @Pindar777, #1253).

BUG FIXES

  • Fix styling of bibliography for bs4_book() (thanks, @Selbosh, #1277).

  • Fix an issue with Pandoc 2.17 and internationalization of Proof-like environment (#1302).

  • Fix an issue with Pandoc 2.17 and cross referencing sections in non HTML format (thanks, @N0rbert, #1301).

  • Fix an issue with Pandoc 2.15 and footnote relocation in each chapter (#1275).

  • Fix an issue with html_book() and toc.css not working correctly with recent pandoc (thanks, @florisvdh, #1268).

  • Fix an issue with unneeded header-attr.js inserted by rmarkdown while bookdown already cleans attributes (thanks, @salim-b, #865).

MAJOR CHANGES

  • The theorem and proof knitr engines no longer use the block2 knitr engine to create theorem/proof environments, but write out fenced Divs instead, which is the new syntax for these environments. Note that this means these environments are no longer supported in EPUB output (they work only in HTML and PDF), but hopefully the support will be back in the future (thanks, @deleeuw, #1178).

  • The tag <meta property="og:url"> has been removed from the default HTML template and the gitbook template (thanks, @jtbayly, #970).

bookdown 0.24

03 Sep 05:42
Compare
Choose a tag to compare

MAJOR CHANGES

  • The default search engine for gitbook has been changed from lunr to fuse. If you want to switch back to lunr, you may set:

    output:
      bookdown::gitbook:
        config:
          search:
            engine: lunr

MINOR CHANGES

  • Reverted the fix for #1223 since it only affects a specific version of Pandoc (2.14.1). If this issue affects you, please see #1223 for workarounds.

  • bs4_book() now has the template argument like gitbook() (thanks, @shinneuro, #1247).

BUG FIXES

  • extra_dependencies in gitbook() will now be appended after Gitbook's dependencies so that it does not get overridden (thanks, @ThierryO, @linogaliana, #1101, #1248).

  • Fix an issue with Fenced Divs for Theorem & Proof environments in the Lua filter (thanks, @tchevri, #1233).

  • gitbook(self_contained = TRUE) was slow when the output contains base64-encoded images (thanks, @king2bob, #1236).

  • The search config search: true or search: false for gitbook throws a misleading error (thanks, @GegznaV, #1238).