## Reprex

First install some softwares.

```bash
brew install --cask homebrew/cask/docker
docker pull rocker/geospatial
docker run -itd -p 8282:8787 --rm --name=demo \
  --privileged=true -v "/${PWD}:/home/rstudio" \
  -e USER=YourName -e PASSWORD=YourPWD rocker/geospatial:latest
```

Then visit <http://localhost:8282/>, and follow guides to create a demo  quarto book project, and render book.

<img width="1771" alt="quarto" src="https://user-images.githubusercontent.com/12031874/161735919-324f6d1d-c3e1-4d1c-a46b-bd13d69c0d70.png">


## Session Info

```r
xfun::session_info(c('tinytex','quarto','rmarkdown'))
```
```
R version 4.1.3 (2022-03-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 20.04.4 LTS, RStudio 2022.2.1.461

Locale:
  LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
  LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
  LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
  LC_PAPER=en_US.UTF-8       LC_NAME=C                 
  LC_ADDRESS=C               LC_TELEPHONE=C            
  LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

Package version:
  base64enc_0.1.3 bslib_0.3.1     digest_0.6.29   evaluate_0.15  
  fastmap_1.1.0   fs_1.5.2        glue_1.6.2      graphics_4.1.3 
  grDevices_4.1.3 highr_0.9       htmltools_0.5.2 jquerylib_0.1.4
  jsonlite_1.8.0  knitr_1.38      later_1.3.0     magrittr_2.0.3 
  methods_4.1.3   processx_3.5.3  ps_1.6.0        quarto_1.1     
  R6_2.5.1        rappdirs_0.3.3  Rcpp_1.0.8.3    rlang_1.0.2    
  rmarkdown_2.13  rstudioapi_0.13 sass_0.4.1      stats_4.1.3    
  stringi_1.7.6   stringr_1.4.0   tinytex_0.38    tools_4.1.3    
  utils_4.1.3     xfun_0.30       yaml_2.3.5     

LaTeX version used: 
  TeX Live 2022 with tlmgr 2022-02-28

Pandoc version: 2.17.1.1
```




2022-04-05T10:43:28Z
XiangyunHuang
closed
Fail to Preview Quarto Book in RStudio Server's View Window
https://github.com/quarto-dev/quarto-cli/issues/531