1

In reports generated using bookdown, when clicking the cross-reference hyperlinks pointing toward figures, it brings me below the figure so I end up only having the caption of the Figure at the top of my screen and I need to scroll up to see the Figure.

This problem only occurs when using a web browser to view the generated output. It does not occur with RStudio integrated viewer for which the whole Figure is correctly displayed on my screen.

This happens with any bookdown html generated output, even with the unmodified bookdown demo files.

Any clue about what may cause this behavior ?

Edit : The problem seems to be browser-related. It occurs with both Chrome and Edge, but not with Firefox, Safari (thanks jtbayly) or Internet Explorer.

2

1 Answer 1

0

This has been reported on Github also https://github.com/rstudio/bookdown/issues/1155 and this is fixed in next version of bookdown (0.23)

For now only a dev version

remotes::install_github("rstudio/bookdown")

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.