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

Example bookdown footers don't appear correctly #141

Open
David-Rattray opened this issue Aug 1, 2024 · 0 comments
Open

Example bookdown footers don't appear correctly #141

David-Rattray opened this issue Aug 1, 2024 · 0 comments

Comments

@David-Rattray
Copy link

I've been struggling to troubleshoot issues with why the custom template header and footers don't appear correctly in my output document. I went back and ran the example bookdown that comes with the package and noticed the page numbers don't always appear. In my case only page 10 is numbered.

dir <- system.file(package = "officedown", "examples", "bookdown")
file.copy(dir, getwd(), recursive = TRUE, overwrite = TRUE)
rmarkdown::render_site("bookdown")
browseURL("bookdown/_book/bookdown.docx")
sessionInfo()

image

> sessionInfo()
R version 4.3.2 (2023-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)

Matrix products: default


locale:
[1] LC_COLLATE=English_Canada.utf8 
[2] LC_CTYPE=English_Canada.utf8   
[3] LC_MONETARY=English_Canada.utf8
[4] LC_NUMERIC=C                   
[5] LC_TIME=English_Canada.utf8    

time zone: America/Vancouver
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils    
[5] datasets  methods   base     

other attached packages:
[1] flextable_0.9.4  officer_0.6.6   
[3] officedown_0.3.3 knitr_1.47      

loaded via a namespace (and not attached):
 [1] jsonlite_1.8.8          compiler_4.3.2         
 [3] crayon_1.5.2            promises_1.3.0         
 [5] Rcpp_1.0.12             zip_2.3.1              
 [7] xml2_1.3.6              later_1.3.2            
 [9] fontquiver_0.2.1        systemfonts_1.0.5      
[11] textshaping_0.3.7       uuid_1.2-0             
[13] yaml_2.3.8              fastmap_1.2.0          
[15] mime_0.12               R6_2.5.1               
[17] gfonts_0.2.0            gdtools_0.3.6          
[19] curl_5.2.0              bookdown_0.37          
[21] openssl_2.2.0           crul_1.4.0             
[23] shiny_1.8.1.1           rlang_1.1.4            
[25] rvg_0.3.3               cachem_1.1.0           
[27] httpcode_0.3.0          httpuv_1.6.15          
[29] xfun_0.44               memoise_2.0.1          
[31] cli_3.6.2               magrittr_2.0.3         
[33] grid_4.3.2              digest_0.6.35          
[35] xtable_1.8-4            rstudioapi_0.16.0      
[37] askpass_1.2.0           lifecycle_1.0.4        
[39] data.table_1.15.0       evaluate_0.23          
[41] glue_1.7.0              fontLiberation_0.1.0   
[43] ragg_1.2.7              fontBitstreamVera_0.1.1
[45] rmarkdown_2.25          tools_4.3.2            
[47] htmltools_0.5.8.1 
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

1 participant