Releases: rstudio/bookdown
bookdown 0.33
bookdown 0.32
bookdown 0.31
- This package requires R >= 3.5.0 now.
bookdown 0.30
-
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 useindex.Rmd
in all projects, but workflow has been improved for other cases (thanks, @otoomet, #1349).
bookdown 0.29
bookdown 0.28
bookdown 0.27
-
Fix
fence_theorems()
so thatoutput
is not ignored anymore. With previous version, whenoutput
was different thanNULL
, the result was written toinput
, ignoringoutput
value. From now on, setinput
andoutput
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 inrender_book()
for files in armd_subdir
folder (thanks, @shivam7898, #1331). -
Fix the issue of the invisible
gitbook
toolbar on iPad (thanks, @mpereira-dev, #60).
bookdown 0.26
-
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 nooutput_format
was provided inrender_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
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 afootnotes_inline
argument. Set toFALSE
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()
andtoc.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
andproof
knitr engines no longer use theblock2
knitr engine to create theorem/proof environments, but write out fencedDiv
s 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 thegitbook
template (thanks, @jtbayly, #970).
bookdown 0.24
MAJOR CHANGES
-
The default search engine for
gitbook
has been changed fromlunr
tofuse
. If you want to switch back tolunr
, 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 thetemplate
argument likegitbook()
(thanks, @shinneuro, #1247).
BUG FIXES
-
extra_dependencies
ingitbook()
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
orsearch: false
forgitbook
throws a misleading error (thanks, @GegznaV, #1238).