Skip to content

Commit

Permalink
Do not add \inputencoding when installing LaTeX help and
Browse files Browse the repository at this point in the history
using default UTF-8 encoding.
Fixes issue for R CMD check --install-args="--latex" reported on the
R-devel mailing list.
Thanks to Peter Ruckdeschel and Ivan Krylov.

git-svn-id: https://svn.r-project.org/R/trunk@87598 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
hornik committed Jan 19, 2025
1 parent 15aab98 commit 365f032
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/library/tools/R/install.R
Original file line number Diff line number Diff line change
Expand Up @@ -3132,7 +3132,8 @@ if(FALSE) {
if (!file_test("-f", ff) || file_test("-nt", f, ff)) {
showtype(type)
.convert(Rd2latex(Rd, ff, defines = NULL,
outputEncoding = outenc))
outputEncoding = outenc,
writeEncoding = (outenc != "UTF-8")))
}
}
if ("example" %in% types) {
Expand Down

0 comments on commit 365f032

Please sign in to comment.