Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

html output error with echo=FALSE option #1444

Open
sumin5784 opened this issue Oct 11, 2023 · 1 comment
Open

html output error with echo=FALSE option #1444

sumin5784 opened this issue Oct 11, 2023 · 1 comment

Comments

@sumin5784
Copy link

Hi,

I'm having the same issue addressed in one of the closed issue [Margin/div bug when rendering gitbook #733]
I re-installed bookdown as addressed in that previous issue but still have the same issue.

Below is code-chunk set-up
knitr::opts_chunk$set(eval = TRUE, echo = FALSE, warning = FALSE, message = FALSE, fig.align = "center", dev = c("png", "pdf"), dpi = 1200, cache = TRUE)

And this is what I have in my output
image

Another issue is the search button is not working. Even if I click search button, search box is not appearing on top of TOC. My old books, which I rendered about couple of years ago is working properly, not any html book I recently rendered is not working.

Thank you for the help in advance!

Here's session info in case you need it
attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] flextable_0.9.2 gridExtra_2.3 magrittr_2.0.3 formattable_0.2.1
[5] kableExtra_1.3.4 knitr_1.44 dplyr_1.1.2 survival_3.4-0
[9] gtsummary_1.7.0

loaded via a namespace (and not attached):
[1] httr_1.4.5 sass_0.4.5 tidyr_1.3.0
[4] jsonlite_1.8.4 viridisLite_0.4.1 splines_4.1.3
[7] bslib_0.5.1 shiny_1.7.4 askpass_1.1
[10] fontLiberation_0.1.0 yaml_2.3.7 gdtools_0.3.3
[13] pillar_1.9.0 lattice_0.20-45 glue_1.6.2
[16] uuid_1.1-0 digest_0.6.31 promises_1.2.0.1
[19] rvest_1.0.3 colorspace_2.1-0 htmltools_0.5.5
[22] httpuv_1.6.9 Matrix_1.5-4 gfonts_0.2.0
[25] fontBitstreamVera_0.1.1 pkgconfig_2.0.3 httpcode_0.3.0
[28] bookdown_0.35.2 purrr_1.0.1 xtable_1.8-4
[31] scales_1.2.1 webshot_0.5.4 svglite_2.1.1
[34] later_1.3.0 officer_0.6.2 fontquiver_0.2.1
[37] tibble_3.2.1 openssl_2.0.6 generics_0.1.3
[40] ellipsis_0.3.2 withr_2.5.0 cachem_1.0.7
[43] cli_3.6.1 crayon_1.5.2 mime_0.12
[46] evaluate_0.22 fansi_1.0.4 broom.helpers_1.13.0
[49] xml2_1.3.3 textshaping_0.3.6 tools_4.1.3
[52] data.table_1.14.8 lifecycle_1.0.3 stringr_1.5.0
[55] munsell_0.5.0 zip_2.3.0 compiler_4.1.3
[58] jquerylib_0.1.4 systemfonts_1.0.4 rlang_1.1.0
[61] grid_4.1.3 gt_0.9.0 rstudioapi_0.14
[64] htmlwidgets_1.6.2 rmarkdown_2.25 gtable_0.3.3
[67] codetools_0.2-18 curl_5.0.0 R6_2.5.1
[70] fastmap_1.1.1 utf8_1.2.3 ragg_1.2.5
[73] stringi_1.7.12 crul_1.4.0 Rcpp_1.0.10
[76] vctrs_0.6.1 tidyselect_1.2.0 xfun_0.39

@cderv
Copy link
Collaborator

cderv commented Oct 12, 2023

Below is code-chunk set-up
knitr::opts_chunk$set(eval = TRUE, echo = FALSE, warning = FALSE, message = FALSE, fig.align = "center", dev = c("png", "pdf"), dpi = 1200, cache = TRUE)

And this is what I have in my output

Where is the setup chunk define ?

What is the source content for your "About this Book" chapter ?

Which rendering approach are you using ? https://bookdown.org/yihui/bookdown/new-session.html

Another issue is the search button is not working. Even if I click search button, search box is not appearing on top of TOC. My old books, which I rendered about couple of years ago is working properly, not any html book I recently rendered is not working.

This is another topic, and this means another issue please. Thank you. You can share link of online books not working for you. thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants