Releases: rstudio/pagedown
pagedown 0.23
- Using non ASCII characters in headers, like french
## Présence d'une DAACT, no longer causes an error inhtml_paged()for TOC processing (thanks, @sylvaine31, #339).
However, this is recommended to always use ascii only id when possible to avoid issues or side effects. This can be done by specifying ID e.g. doing## Présence d'une DAACT {#presence-daact}
pagedown 0.22
- No longer use
xfun::attr()(which will be removed from xfun).
pagedown 0.21
html_paged()and other formats usingpaged.jsnow informs knitr that its JS and CSS dependencies will be loaded by setting theis.paged.jsglobal knit option. UseisTRUE(knitr::opts_knit$get("is.paged.js"))to detect it (thanks, @sylvaine31, @davidgohel, #332).
pagedown 0.20
- This package requires R >= 3.5.0 now.
pagedown 0.19
- Set
overflow-x: clipindefault.cssto fix an issue with paged.js rendering in recent browser (thanks, @jimjam-slam, #292, pagedjs/pagedjs#84).
pagedown 0.18
-
Figure inserted using markdown syntax and having a caption with
(#fig:lab)are now correctly listed in the LOF (thanks, @adamvi, #283). -
Fix an issue in
jss_paged()with Pandoc 2.17 and above. -
Fix an issue in
html_paged()with LOT and LOF not showing anymore with Pandoc 2.17 and above (thanks, @adamvi, #280).
pagedown 0.17
pagedown 0.16
NEW FEATURES
- Added support for long tables, i.e., repeat the table header when a page breaks the table (thanks, @felipecrp and @jdbarillas, #250 and #162).
MINOR CHANGES
-
Document that the
html_letter()output format modifies the default value of thefig_captionparameter and allow the user to change it (thanks, @NewGraphEnvironment, #234). -
Created an option
pagedown.chrome.logto easechrome_print()debugging: when set toTRUE, the logs of Chrome are saved in the working directory. -
Added support for Sass files with
.scssand.sassextension (thanks, @felipecrp, #244).
BUG FIXES
- Fix an issue with
loft.luafilter following changes in Pandoc 2.16 (#249).
pagedown 0.15
NEW FEATURES
find_chrome()now searches for Microsoft Edge on Windows. That allowschrome_print()to work seamlessly with Microsoft Edge (thanks, @cderv, #160 and #225).
MAJOR CHANGES
- In
chrome_print(), when printing a document to PDF, the default transfer mode between Chrome and R now uses a stream when this option is available in Chrome. This change ensures that PDF files of any size can be generated (#206 and #224).
MINOR CHANGES
- Multiple
knitr::kables()are now vertically aligned by default inhtml_paged(),thesis_paged()andjss_paged()output formats (thanks, @cderv and @andrew-fuller, #214).
BUG FIXES
v0.14
NEW FEATURES
- In
html_paged(), added two new optionslot-unlistedandlof-unlisted. Iflot-unlisted(resp.lof-unlisted) is set toTRUEin the YAML options, the list of tables (resp. figures) will not be included in a table of contents (thanks, @beatrizmilz, #221).
MAJOR CHANGES
- Paged.js is upgraded from version 0.1.32 to 0.1.43. This update speeds up the rendering time and fixes several bugs (see also https://www.pagedjs.org/posts/2020-02-25-weekly/, https://www.pagedjs.org/posts/2020-03-03-update-pagedjs-0-1-39/, https://www.pagedjs.org/posts/2020-04-01-pagedjs-0-1-40/ and https://www.pagedjs.org/posts/2020-06-22-pagedjs-0-1-42/) (#202).
MINOR CHANGES
-
In
html_paged(), links are now sanitized to avoid impossible line breaking of long URLs in a justified text (thanks, @julientaq). -
In order to be compatible with the flextable package,
pagedown::html_paged()sets the value of theft.shadowchunk option toFALSEby default (thanks, @tvroylandt and @davidgohel, #216). -
The
fig_captionargument is no longer hard-coded toFALSEinhtml_resume()(thanks, @nplatonov, #208).
BUG FIXES
-
The multiple use of an abbreviation no longer ends up with duplicated entries in the list of abbreviations (thanks, @linogaliana, #218).
-
The default value of the
counter-resetCSS property is correctly set to 0 instead of 1 (see https://developer.mozilla.org/en-US/docs/Web/CSS/counter-reset). To reset apageCSS counter to 1, the following declaration must be used:counter-reset: page 1(#202). -
Numbered example lists (https://pandoc.org/MANUAL.html#numbered-example-lists) are correctly numbered (thanks, @atusy, #122 and #202).
-
Periods are now supported in titles (thanks, @yves-amevoin and @martinschmelzer, #84, #185 and #202).
-
Parts titles in the table of contents no longer crash
chrome_print(). -
chrome_print()is now compatible with the stream transfer mode which can be used to generate large PDF files (#205). -
chrome_print()no longer ignores runtime exceptions in Chrome. An R warning is now raised when Chrome encounters a runtime exception (#203).