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).