Releases: rstudio/bookdown
bookdown 0.16
NEW FEATURES
-
You can also add a "view" button on the GitBook toolbar, similar to the "edit" and "history" buttons, which shows the page's
.Rmdsource file on GitHub. Unlike "edit", "view" does not require the reader to login to GitHub and fork the repo (thanks, @jtr13, #806). -
For
gitbookoutput, the font setting button can be removed viafontsettings: falsein theconfigoption. Similarly, the info button can be removed byinfo: falseinconfig(thanks, @mnazarov, #788). -
It is possible to customize the prefixes of appendix titles in
gitbookoutput now (the default is stillA,B,C, ..., and now you can change them to something likeAppendix A,Appendix B, ...); see the documentation at https://bookdown.org/yihui/bookdown/internationalization.html (thanks, @WerthPADOH, #783). -
Added
html_fragment2,html_notebook2,html_vignette2,ioslides_presentation2,slidy_presentation2, andbeamer_presentation2for cross-referencing capabilities on top of rmarkdown output formats (thanks, @jooyoungseo, #789 #823).
BUG FIXES
-
For the
gitbookoutput format, disabling thesharingmenu or buttons works again (thanks, @lwjohnst86, #812). -
For the
gitbookoutput format, toc collapsed by section now works with accents in chapter titles (thanks, @glimmerphoenix, @cderv, #819) -
For output formats
word_document2,powerpoint_presentation2, andodt_document2,$$is no longer added to equation environments when they are inside fenced code blocks (thanks, @N0rbert, #814).
bookdown 0.15
BUG FIXES
-
Sharing to Facebook and Twitter is possible again. Google+ sharing has been disabled (with a warning) as this service no longer exists (thanks, @cderv, #802).
-
When using Pandoc 2.7.3 or later, footnotes are now placed again at the end of each chapter (#798, #801, thanks @cderv).
-
gitbook toolbar is not missing any more when rendering books with Pandoc 2.x and using
self_contained = TRUE(thanks, @Pindar777, @RLesur, @cderv, #739).
bookdown 0.14
NEW FEATURES
-
Added
rtf_document2(thanks, @jooyoungseo, #768). -
Added copy to clipboard buttons to code blocks in the
gitbookoutput format (thanks, @behrman #775, @RLesur #776).
BUG FIXES
- Images specified in
toc: before:of thegitbookformat are not copied to the output directory (thanks, @dcossyleon, #763).
bookdown 0.13
bookdown 0.12
bookdown 0.11
BUG FIXES
- The fix for https://stackoverflow.com/q/56061122/559676 in the previous version was incorrect, causing
rmd_filesto fail when it is a character vector of Rmd filenames (thanks, Joyce Robbins and Hadley Wickham, https://stackoverflow.com/q/56118663/559676).
bookdown 0.10
NEW FEATURES
-
Added an argument
clean_highlight_tagstohtml_document2()(thanks, @atusy, #706). -
For HTML output formats such as
gitbook, the abstract title (if the abstract is provided) can be customized via the fieldabstract-titlein the YAML frontmatter (thanks, @XiangyunHuang, #715).
BUG FIXES
-
Split reference sections in
gitbookignored the sorting definition of the citation style (thanks @GegznaV #661, @crsh #674). -
For the
gitbookoutput format, the content doesn't get the focus when the page is loaded, which makes it fail to respond to keystrokes such as PageUp/PageDown/Up/Down (thanks, @darshanbaral #691, @aronatkins #699). -
For the
gitbookoutput format, when searching for keywords in code blocks, the automatic scroll to keywords doesn't work (thanks, @colearendt, #700). -
The search keyword no longer persists across page loads for different books in the
gitbookformat (thanks, @aronatkins, #695). -
The keybindings
UpandDown(orEnter) in the search input of thegitbookoutput format work across all pages now; previously they only work on the current page (thanks, @dsblank, #657). -
When performing searching, the
gitbooksidebar will only display relevant TOC items that actually take users to the HTML pages containing the search keyword. Previously, some TOC items do not really take users to the search destination but an anchor on a page instead, which can be confusing (thanks, @aronatkins, #696). -
Hyphenated words will be correctly highlighted in the search results now if spaces are used in the search keyword instead of dashes, e.g., you can search for
hand-offusing the keywordhand off(thanks, @aronatkins, #701). -
When
rmd_filesis configured in_bookdown.yml,render_book()will fail if the output format is not HTML or LaTeX (thanks, Ladislas Nalborczyk, https://stackoverflow.com/q/56061122/559676). -
The colon after figure/table numbers is missing in Word and EPUB output (thanks, @upton9265, #618).
-
Multiple labels on the same line are allowed for Word output (thanks, @mdlincoln @h-k-kan @brooksambrose, #538).
MINOR CHANGES
-
Added alt/hover text to icons on the
gitbooktoolbar (thanks, @aronatkins, #698). -
Added an Information button to the
gitbooktoolbar to show the keybindings that are otherwise difficult for users to discover without reading the bookdown book (thanks, @aronatkins, #697). -
Added information about the keybindings Enter/Up/Down to the placeholder text and tooltip of the search input in
gitbookoutput (thanks, @pyltime, #660).
bookdown 0.9
BUG FIXES
- The tags for OpenGraph titles in HTML output were not properly closed.
bookdown 0.8
NEW FEATURE
-
Added Conjecture to the list of theorem environments.
-
In addition to
rmd_subdir: true, which searches all subdirectories, you can now provide a list of subdirectories to be recursively searched (#242). -
Added an argument
templatetogitbook()andepub_book()(thanks, @ThierryO, #570). -
Added an argument
table_csstogitbook()to allow customized css for tables. (thanks, @haozhu233, #642) -
You can also add a "history" button on the Gitbook toolbar, which is similar to the "edit" button, but shows the GIT history of a source file instead (thanks, @maelle #638, @noamross, #639).
-
Added a
quietargument toserve_book(), so that users can suppress stdout withbookdown::serve_book(quiet = TRUE)(thanks, @hammer, #633). -
For HTML output, the title of the current chapter or section will be added to the page title (in the
<title>tag). This will give readers more information when reading the results from search engines or Twitter cards. Previously, all pages would have identical titles (thanks, @benwhalley and @batpigandme, #544).
BUG FIXES
-
HTML output formats such as
gitbookandhtml_document2won't work when only unnumbered parts (i.e.,# (PART\*)) are used (thanks, @tjmahr, #575). -
Previously the
rmd_filesparameter in_bookdown.ymlwould overridermd_subdir, but now both parameters can be used simultaneously (thanks, @ellisvalentiner, #600). -
Resources with URL encoded special characters are now correctly copied to the output directory (thanks, @AshesITR, #622).
-
serve_book()can now be used without error when rstudioapi is installed but RStudio is not being used (thanks, @jimhester, #637). -
Text references via
(ref:label)forbookdown::pdf_document()doesn't always work (thanks, @brendanf, #616).
bookdown 0.7
MINOR CHANGES
-
Added a new dependency tinytex to build PDF, and xfun for some utility functions.
-
Added the ability to share documents on LinkedIn with the
gitbookoutput format (thanks, @WeeBeasties, #523, https://stackoverflow.com/q/48494097/559676).