page_content
stringlengths
0
46.9k
metadata
dict
See slack discussion on this in `#quarto` channel. This is what we get currently when sharing links on Community https://community.rstudio.com/t/cannot-get-quarto-pre-render-to-work/143566/3?u=cderv and it seems we don't have what is needed to get cards using OG meta https://www.opengraph.xyz/url/https%3A%2F%2Fquarto.org%2Fdocs%2Fprojects%2Fscripts.html We encountered this issue already in other places where sharing link tries to create a card. I believe we have at least to fix the favicon links as I think: * We don't have OG meta for image it seems so it can't be used to generate an official card * Some website will try to use other information for that, like the favicon for the image. For example, for the discourse sharing above, I think it tries to use this information ```` <link href="../../favicon.png" rel="icon" type="image/png"> ```` but the link is relative so it will generate this in Discourse when used as an image ``` <img src="[https://quarto.org/docs/projects/scripts.html/../../favicon.png](https://quarto.org/docs/favicon.png)" class="site-icon"> ``` Couldn't we use an absolute link for the favicon ? ```` <link href="/favicon.png" rel="icon" type="image/png"> ```` would this break the favicon ? At first I believe that is what was done (https://github.com/quarto-dev/quarto-web/commit/c9c59624c39595e5ed5c9c0050a461b4e3712343#diff-469a07f57393912a9c17c3ea50ceebe991e32b008beb167a200b17e91fdac6d2L223) before the quarto feature was used. Is it something we should fix in Quarto-cli ? But more generally, what about adding a default OG image maybe for our website ? cc @dragonstyle
{ "assignee": null, "comments": 4, "created_at": "2022-08-20T12:46:58Z", "creator": "cderv", "is_pull_request": false, "labels": [], "locked": false, "milestone": "v1.2", "number": 2014, "state": "closed", "title": "Fix favicon link used as default image when social sharing or add an OG image ? ", "url": "https://github.com/quarto-dev/quarto-cli/issues/2014" }
### Bug description I am trying to create a quarto extension. The purpose is to generate a standard pdf format for class work for the students. The YAML head in the template.qmd is as follows: ``` --- title: "template" format: Homework-pdf: keep-tex: true Homework-html: default author: - name: Maulik Bhatt affiliations: - ref: SPJIMR orcid: XXXX-XXXX-XXXX-XXXX email: [email protected] affiliations: - id: SPJIMR name: S P Jain Institute of Management & Research Department: Fellow Program in Management Address: Bhavan's Campus, D N Nagar, Andheri (West) city: Mumbai country: India postal-code: 4000054 abstract: | This document is only a demo explaining how to use the template. keywords: - template - demo bibliography: references.bib editor: visual --- ``` Similarly, the YAML file in the _extensions folder reads as follows ``` title: Homework Submission Format author: Maulik Bhatt version: 0.1.2 contributes: formats: common: # define below YAML configuration common to all formats number-sections: true # filters: # You can include here Lua filters from your extension format shortcodes: # You can include here Lua filters defining shortcodes from your extension - shortcodes.lua knitr: opts_chunk: echo: false pdf: # define default configuration for the pdf version of your format documentclass: scrbook colorlinks: true # Content to add in header that your format is using header-includes: | \usepackage{orcidlink} template-partials: # Add here the partials your format is using - "partials/title.tex" - "partials/before-body.tex" - "partials/_authors.tex" - "partials/_affiliations.tex" format-resources: # Add here the resources required for the PDF rendering - scrbook.cls - orcidlink.sty html: # define default configuration for the html version of your format toc: true theme: custom.scss # Use a CSL file to style (https://www.zotero.org/styles/) csl: apa7.csl ``` But when I render this file (template.qmd), it gives the following error. ``` compilation failed- error LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.229 ...le.com}{\nolinkurl{[email protected]}}. } see G:\Username\Projects\MyQuartoExtension\template.log for more information. ``` The session info from xfun package is as follows: ``` R version 4.2.1 (2022-06-23 ucrt) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 19041), RStudio 2022.11.0.123 Locale: LC_COLLATE=English_India.utf8 LC_CTYPE=English_India.utf8 LC_MONETARY=English_India.utf8 LC_NUMERIC=C LC_TIME=English_India.utf8 Package version: askpass_1.1 assertthat_0.2.1 backports_1.4.1 base64enc_0.1.3 broom_1.0.0 bslib_0.4.0 cachem_1.0.6 callr_3.7.1 cli_3.3.0 colorspace_2.0-3 compiler_4.2.1 cpp11_0.4.2 curl_4.3.2 DBI_1.1.3 digest_0.6.29 dplyr_1.0.9 ellipsis_0.3.2 evaluate_0.16 fansi_1.0.3 farver_2.1.1 fastmap_1.1.0 fs_1.5.2 generics_0.1.3 ggplot2_3.3.6 glue_1.6.2 graphics_4.2.1 grDevices_4.2.1 grid_4.2.1 gtable_0.3.0 highr_0.9 htmltools_0.5.3 httr_1.4.4 isoband_0.2.5 jquerylib_0.1.4 jsonlite_1.8.0 kableExtra_1.3.4 knitr_1.39 labeling_0.4.2 later_1.3.0 lattice_0.20.45 lifecycle_1.0.1 magrittr_2.0.3 MASS_7.3.58.1 Matrix_1.4.1 memoise_2.0.1 methods_4.2.1 mgcv_1.8.40 mime_0.12 munsell_0.5.0 nlme_3.1.159 openssl_2.0.2 packrat_0.8.1 pillar_1.8.0 pkgconfig_2.0.3 processx_3.7.0 ps_1.7.1 purrr_0.3.4 quarto_1.2 R6_2.5.1 rappdirs_0.3.3 RColorBrewer_1.1.3 Rcpp_1.0.9 rlang_1.0.4 rmarkdown_2.15 rsconnect_0.8.27 rstudioapi_0.13 rvest_1.0.2 sass_0.4.2.9000 scales_1.2.0 selectr_0.4.2 splines_4.2.1 stats_4.2.1 stringi_1.7.8 stringr_1.4.0 svglite_2.1.0 sys_3.4 systemfonts_1.0.4 tibble_3.1.8 tidyr_1.2.0 tidyselect_1.1.2 tinytex_0.41 tools_4.2.1 utf8_1.2.2 utils_4.2.1 vctrs_0.4.1 viridisLite_0.4.0 webshot_0.5.3 withr_2.5.0 xfun_0.32 xml2_1.3.3 yaml_2.3.5 ``` So, I cannot render it to Homework-pdf format, but I can render it to pdf format, when I try to use ``` quarto render template.qmd --to pdf ``` How can I render it to the Homework-pdf format? ### `quarto check` Output ``` $ quarto.cmd check [>] Checking Quarto installation......OK Version: 1.0.37 Path: C:\Users\Maulik\AppData\Local\Programs\Quarto\bin\ CodePage: 1252 [>] Checking basic markdown render....OK [>] Checking Python 3 installation....(None) Unable to locate an installed version of Python 3. Install Python 3 from https://www.python.org/downloads/ [>] Checking R installation...........OK Version: 4.2.1 Path: C:/PROGRA~1/R/R-42~1.1 LibPaths: - C:/Users/Maulik/AppData/Local/R/win-library/4.2 - C:/Program Files/R/R-4.2.1/library rmarkdown: 2.15 [>] Checking Knitr engine render......OK ``` ### `quarto tools check` Output ``` [>] Inspecting tools Tool Status Installed Latest chromium Not installed --- 869685 tinytex External Installation --- v2022.08 ``` ### Checklist - [X] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read? - [X] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue. - [X] documented the quarto version you're running, by pasting the output from running `quarto check` in the "Quarto Check Output" text area? - [X] documented the version of the quarto tools you're running, by providing the output from running `quarto tools check` in the "Quarto Tools Check Output" text area? - [X] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog? - [X] documented which operating system you're running? If on Linux, please provide the specific distribution as well. - [X] upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?
{ "assignee": "dragonstyle", "comments": 4, "created_at": "2022-08-20T06:44:08Z", "creator": "bhattmaulik", "is_pull_request": false, "labels": [ "bug" ], "locked": false, "milestone": "v1.1", "number": 2012, "state": "closed", "title": "I am unable to render to a custom pdf format using a quarto extension I created", "url": "https://github.com/quarto-dev/quarto-cli/issues/2012" }
### Bug description Hi Quarto team I am trying to use Quarto with VSCode on now un-updateable MacOS 10.13 High Sierra. Quarto installs fine and I can install the Quarto extension for VSCode. However nothing can render due to: ```bash dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin ``` When I click Render I get the exact same output as from `quarto check`. Is this salvageable or is the computer too old! ### `quarto check` Output ``` bash [✓] Checking Quarto installation......OK Version: 1.0.38 Path: /Applications/quarto/bin dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin Referenced from: /Applications/quarto/bin/tools/deno (which was built for Mac OS X 10.15) Expected in: /usr/lib/libSystem.B.dylib dyld: Symbol not found: ____chkstk_darwin Referenced from: /Applications/quarto/bin/tools/deno (which was built for Mac OS X 10.15) Expected in: /usr/lib/libSystem.B.dylib /usr/local/bin/quarto: line 106: 25760 Abort trap: 6 "${SCRIPT_PATH}/tools/deno" ${QUARTO_ACTION} ${QUARTO_DENO_OPTIONS} ${QUARTO_DENO_EXTRA_OPTIONS} "${QUARTO_IMPORT_ARGMAP}" "${QUARTO_TARGET}" "$@" ``` ### `quarto tools check` Output ``` bash Tool Status Installed Latest chromium Not installed --- 869685 tinytex Not installed --- v2022.08 ``` ### Checklist - [x] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read? - [ ] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue. - [x] documented the quarto version you're running, by pasting the output from running `quarto check` in the "Quarto Check Output" text area? - [x] documented the version of the quarto tools you're running, by providing the output from running `quarto tools check` in the "Quarto Tools Check Output" text area? - [ ] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog? - [x] documented which operating system you're running? If on Linux, please provide the specific distribution as well. - [ ] upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?
{ "assignee": null, "comments": 1, "created_at": "2022-08-19T21:41:56Z", "creator": "padpadpadpad", "is_pull_request": false, "labels": [ "bug" ], "locked": false, "milestone": null, "number": 2004, "state": "closed", "title": "Installing and using Quarto with VSCode on MacOS 10.13 High Sierra.", "url": "https://github.com/quarto-dev/quarto-cli/issues/2004" }
### Bug description I can't seem to clear this error, looks like it has something to do with .ddl, the python kernel renders find by Rendering HTML preview just won't work. Below is the terminal output. I'm running the latest version, just got it today. - [ ] ________________ C:\Users\Brian Wright\Documents\R\jex_matching_algo>cmd /C"quarto preview quarto_demo.qmd --to html --no-browser --no-watch-inputs" FINDSTR: Cannot open Wright Starting python3 kernel...Traceback (most recent call last): File "C:\Users\Brian Wright\AppData\Local\Programs\Quarto\share\jupyter\jupyter.py", line 21, in <module> from notebook import notebook_execute, RestartKernel File "C:\Users\Brian Wright\AppData\Local\Programs\Quarto\share\jupyter\notebook.py", line 17, in <module> from nbclient import NotebookClient File "C:\Users\Brian Wright\anaconda3\lib\site-packages\nbclient\__init__.py", line 6, in <module> from .client import NotebookClient, execute # noqa: F401 File "C:\Users\Brian Wright\anaconda3\lib\site-packages\nbclient\client.py", line 14, in <module> from jupyter_client import KernelManager File "C:\Users\Brian Wright\anaconda3\lib\site-packages\jupyter_client\__init__.py", line 6, in <module> from .asynchronous import AsyncKernelClient # noqa File "C:\Users\Brian Wright\anaconda3\lib\site-packages\jupyter_client\asynchronous\__init__.py", line 1, in <module> from .client import AsyncKernelClient # noqa File "C:\Users\Brian Wright\anaconda3\lib\site-packages\jupyter_client\asynchronous\client.py", line 6, in <module> from jupyter_client.channels import HBChannel File "C:\Users\Brian Wright\anaconda3\lib\site-packages\jupyter_client\channels.py", line 12, in <module> import zmq.asyncio File "C:\Users\Brian Wright\anaconda3\lib\site-packages\zmq\__init__.py", line 103, in <module> from zmq import backend File "C:\Users\Brian Wright\anaconda3\lib\site-packages\zmq\backend\__init__.py", line 31, in <module> raise original_error from None File "C:\Users\Brian Wright\anaconda3\lib\site-packages\zmq\backend\__init__.py", line 26, in <module> _ns = select_backend(first) File "C:\Users\Brian Wright\anaconda3\lib\site-packages\zmq\backend\select.py", line 31, in select_backend mod = import_module(name) File "C:\Users\Brian Wright\anaconda3\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "C:\Users\Brian Wright\anaconda3\lib\site-packages\zmq\backend\cython\__init__.py", line 6, in <module> from . import ( **ImportError: DLL load failed while importing _device: The specified module could not be found.** ![quarto_issue](https://user-images.githubusercontent.com/19676476/185706499-bdeb7e8f-710e-4631-8ccf-66c6254be316.PNG) ### `quarto check` Output [>] Checking Quarto installation......OK Version: 1.0.38 Path: C:\Users\Brian Wright\AppData\Local\Programs\Quarto\bin\ CodePage: unknown [>] Checking basic markdown render....OK [>] Checking Python 3 installation....OK Version: 3.8.13 (Conda) Path: C:/Users/Brian Wright/anaconda3/python.exe Jupyter: 4.10.0 Kernels: python3 [>] Checking Jupyter engine render....OK [>] Checking R installation...........OK Version: 4.1.1 Path: C:/PROGRA~1/R/R-41~1.1 LibPaths: - C:/Users/Brian Wright/Documents/R/win-library/4.1 - C:/Program Files/R/R-4.1.1/library rmarkdown: 2.11 [>] Checking Knitr engine render......OK ### `quarto tools check` Output (base) C:\Users\Brian Wright\Documents\R\jex_matching_algo>quarto tools check FINDSTR: Cannot open Wright [>] Inspecting tools Tool Status Installed Latest chromium Not installed --- 869685 tinytex External Installation --- v2022.08 ### Checklist - [X] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read? - [X] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue. - [X] documented the quarto version you're running, by pasting the output from running `quarto check` in the "Quarto Check Output" text area? - [X] documented the version of the quarto tools you're running, by providing the output from running `quarto tools check` in the "Quarto Tools Check Output" text area? - [X] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog? - [X] documented which operating system you're running? If on Linux, please provide the specific distribution as well. - [X] upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?
{ "assignee": null, "comments": 7, "created_at": "2022-08-19T21:06:13Z", "creator": "NovaVolunteer", "is_pull_request": false, "labels": [ "bug" ], "locked": false, "milestone": "Future", "number": 2002, "state": "closed", "title": "DLL load failed while importing _device when rendering HTML in VS Code Python", "url": "https://github.com/quarto-dev/quarto-cli/issues/2002" }
### Bug description If an extension has resources in a directory which is a symlink to some other directory, then the resource files don't get copied when they are added as HTML dependencies to the document. ``` . └── _extensions └── myext ├── myext-resources <- symlink to a directory with resource files │ └── <resource files> ├── _extension.yml └── myext.lua ```
{ "assignee": "dragonstyle", "comments": 16, "created_at": "2022-08-19T20:54:58Z", "creator": "wch", "is_pull_request": false, "labels": [ "bug" ], "locked": false, "milestone": "v1.2", "number": 2001, "state": "closed", "title": "Extension resources in a symlinked dir aren't found", "url": "https://github.com/quarto-dev/quarto-cli/issues/2001" }
I am using Quarto in VSCode, and both versions are up to date. Quarto's version is 1.32.0. I am testing it with basic LaTeX things. For example, I try to apply cross-references to maths equations but always get the word "Equation" preceding the equation number. This practice is inconvenient if we have more than one equation or want to use a short name for "equation", e.g., "eq.". How can I customize this type of output? MWE: ``` $$ \max_{\left\{C_t, K_{t+1}\right\}} \ \sum_{t=0}^{\infty} \beta^t \ln C_t $$ {#eq-1} $$ K_{t+1} + C_t= AK_t^\alpha $$ {#eq-2} $$ \hat{y}_{t}=\mathbb{E}_{t} \hat{y}_{t+1}-\frac{1}{\sigma}\left(i_{t}-\mathbb{E}_{t} \pi_{t+1}-r_{t}^{n}\right) $$ {#eq-3} See @eq-1, @eq-2, and @eq-3 for further information. ``` The output is below. I would have wanted to see something like: "See eq. (1), (2), and (3) for ....". ![aa](https://user-images.githubusercontent.com/48516539/185687110-beca79ff-ea0d-470f-bcd7-eda924db3699.png) Finally, notice the expectations operator displayed above looks rather strange. How can I obtain a more conventional symbol for this operator, usually accomplished in LaTeX, by inserting into the doc's preamble the following code: ``` \usepackage{amsmath,amssymb} \DeclareMathOperator{\E}{\mathbb{E}} ``` Thank you.
{ "assignee": "cscheid", "comments": 3, "created_at": "2022-08-19T18:51:38Z", "creator": "VivaldoMendes", "is_pull_request": false, "labels": [ "documentation", "crossref" ], "locked": false, "milestone": "v1.4", "number": 2000, "state": "open", "title": "Equations cross-referencing and LaTeX \\mathbb", "url": "https://github.com/quarto-dev/quarto-cli/issues/2000" }
### Bug description I need to prepare a '.qmd' document that delivers an output in Spanish. I decided to make a test for both **docx** and **HTML** outputs before I worked on the actual document. This is the code I used in the .qmd file: ```` --- title: "Descarbonización de la Matriz Energética Colombiana" format: docx lang: es --- ```{r} library(tinytex) ``` Hola, ese niño está jugando._ ```` But the output for both MS-Word and HTML resulted in text like the one contained in the Word output file I am attaching. The RStudio IDE version I am using is 2022.07.1 Build 554. The Windows version I am using is Windows 11 Home Single Language. The processor I am using is Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz 1.80 GHz. The installed RAM is 12,0 GB. I am using the Package quarto version 1.2. I am using R version 4.0.3. ### `quarto check` Output C:\R\RStudio\Quarto\CursoUniandesJR_files>quarto check [>] Checking Quarto installation......OK Version: 1.0.38 Path: C:\Users\maria\AppData\Local\Programs\Quarto\bin\ CodePage: 1252 [>] Checking basic markdown render....OK [>] Checking Python 3 installation....(None) Unable to locate an installed version of Python 3. Install Python 3 from https://www.python.org/downloads/ [>] Checking R installation...........OK Version: 4.0.5 Path: C:/R/R-4.0.5 LibPaths: - C:/R/R-4.0.5/library rmarkdown: 2.14 [>] Checking Knitr engine render......OK ### `quarto tools check` Output C:\R\RStudio\Quarto\CursoUniandesJR_files>quarto tools check [>] Inspecting tools Tool Status Installed Latest chromium Not installed --- 869685 tinytex Not installed --- v2022.08 ### Checklist - [X] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read? - [X] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue. - [X ] documented the quarto version you're running, by pasting the output from running `quarto check` in the "Quarto Check Output" text area? - [X ] documented the version of the quarto tools you're running, by providing the output from running `quarto tools check` in the "Quarto Tools Check Output" text area? - [X] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog? - [X] documented which operating system you're running? If on Linux, please provide the specific distribution as well. - [X] upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?
{ "assignee": null, "comments": 7, "created_at": "2022-08-19T16:26:29Z", "creator": "JuanRodCif", "is_pull_request": false, "labels": [ "bug" ], "locked": false, "milestone": "Future", "number": 1999, "state": "closed", "title": "Quarto Document Language for Spanish NOT working", "url": "https://github.com/quarto-dev/quarto-cli/issues/1999" }
This took me almost 24 hours before I realized this error. RStudio does not "Render" if the file name contains a space. Surprisingly however, it works in Visual Studio Code. ![image](https://user-images.githubusercontent.com/11381582/185624000-bfe8e082-2299-4f0e-a8d2-9bad38699195.png)
{ "assignee": "jjallaire", "comments": 5, "created_at": "2022-08-19T15:47:32Z", "creator": "kwakuduahc1", "is_pull_request": false, "labels": [], "locked": false, "milestone": "v1.1", "number": 1998, "state": "closed", "title": "Strange behavior with RStudio", "url": "https://github.com/quarto-dev/quarto-cli/issues/1998" }
(EDIT by @cscheid : See the comment below for the behavior in `main`) Check out this page: https://camilogarciabotero.github.io/biocomp-book/chs-command-line/git-and-github.html Note that once the TOC sidebar collapses it never restores itself (I actually saw this on one other site as well). If you look in the JS console there are exceptions occurring in sidebar related code which is almost certainly the culprit. Targeting for v1.1 as I believe this is a regression.
{ "assignee": "dragonstyle", "comments": 5, "created_at": "2022-08-19T15:25:15Z", "creator": "jjallaire", "is_pull_request": false, "labels": [ "verify-fixed" ], "locked": false, "milestone": "v1.1", "number": 1995, "state": "closed", "title": "Smooth scrolling causes sidebar to unhide itself", "url": "https://github.com/quarto-dev/quarto-cli/issues/1995" }
Gitlab has the ability to create static sites from a template (https://gitlab.com/pages). Quarto isn’t listed. These are the steps of setting that up: https://gitlab.com/pages/pages.gitlab.io/-/blob/master/CONTRIBUTING.md
{ "assignee": "cderv", "comments": 8, "created_at": "2022-08-19T12:23:53Z", "creator": "allenmanning", "is_pull_request": false, "labels": [ "documentation", "third-party" ], "locked": false, "milestone": "Future", "number": 1994, "state": "open", "title": "Gitlab: Create Static Sites", "url": "https://github.com/quarto-dev/quarto-cli/issues/1994" }
### Bug description When using `docx` format and generating a table with multiple sub-tables, the overall caption of the tables appears at the bottom of the table instead of the top. For example, compare the two tables in this document: ````quarto --- title: "Bad caption placement" format: docx --- # Single table with caption on top ```{r} #| label: tbl-one #| tbl-cap: "Caption on top" library(knitr) kable(head(cars)) ``` # Sub-tables with overall caption on bottom ```{r} #| label: tbl-two #| tbl-cap-location: top #| tbl-cap: "Caption on bottom" #| tbl-subcap: #| - "Cars" #| - "Pressure" library(knitr) kable(head(cars)) kable(head(pressure)) ``` ```` The second table has the overall caption at the bottom. This behavior is inconsistent with other output formats (both `html` and `pdf` place the overall caption at the top) and does not appear to be controllable with `tbl-cap-location`. ### `quarto check` Output ```bash [✓] Checking Quarto installation......OK Version: 1.0.38 Path: /opt/quarto/bin [✓] Checking basic markdown render....OK [✓] Checking Python 3 installation....OK Version: 3.8.10 Path: /usr/bin/python3 Jupyter: 4.11.1 Kernels: python3 [✓] Checking Jupyter engine render....OK [✓] Checking R installation...........OK Version: 4.2.1 Path: /usr/lib/R LibPaths: - /home/dmk/R/x86_64-pc-linux-gnu-library/4.2 - /usr/local/lib/R/site-library - /usr/lib/R/site-library - /usr/lib/R/library rmarkdown: 2.14 [✓] Checking Knitr engine render......OK ``` ### `quarto tools check` Output ```bash [✓] Inspecting tools Tool Status Installed Latest chromium Not installed --- 869685 tinytex Not installed --- v2022.08 ``` ### Checklist - [X] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read? - [X] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue. - [X] documented the quarto version you're running, by pasting the output from running `quarto check` in the "Quarto Check Output" text area? - [X] documented the version of the quarto tools you're running, by providing the output from running `quarto tools check` in the "Quarto Tools Check Output" text area? - [X] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog? - [X] documented which operating system you're running? If on Linux, please provide the specific distribution as well. - [X] upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?
{ "assignee": "rich-iannone", "comments": 6, "created_at": "2022-08-19T08:38:21Z", "creator": "dmkaplan2000", "is_pull_request": false, "labels": [ "bug", "crossref", "tables" ], "locked": false, "milestone": "v1.4", "number": 1990, "state": "open", "title": "Table caption located at bottom when you have subtables in docx format", "url": "https://github.com/quarto-dev/quarto-cli/issues/1990" }
### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1980 <div type='discussions-op-text'> <sup>Originally posted by **DomDF** August 18, 2022</sup> I have an existing query in the RStudio community page, but have been recommended to ask here too. If anyone can provide a solution, I will update on this page too: https://community.rstudio.com/t/julia-output-not-displaying-in-quarto/144462 ------------ I am writing a quarto document, which includes code chunks in R, Python and Julia. The output from the Python and R chunks is displaying correctly. However, while the code for the Julia chunks is displaying, the output is not - see the below image: <img width="692" alt="image" src="https://user-images.githubusercontent.com/34099039/185512471-14dd6ed5-df8e-4782-b9c8-67e7ac07aa33.png"> My YAML header is included below: ``` format: html: theme: spacelab html-math-mathod: mathjax toc: true toc-location: right number-sections: true code-copy: true code-fold: true code-tools: true monofont: Fira Code execute: message: false warning: false bibliography: references.bib ``` Please advise on how I can see the output of my Julia code chunks in this document too. Many thanks</div>
{ "assignee": "cscheid", "comments": 4, "created_at": "2022-08-19T00:15:39Z", "creator": "jjallaire", "is_pull_request": false, "labels": [ "needs-repro" ], "locked": false, "milestone": "v1.3", "number": 1983, "state": "closed", "title": "Julia output not displaying in quarto", "url": "https://github.com/quarto-dev/quarto-cli/issues/1983" }
### Bug description Using `FileAttachment.zip()` from OJS produces an error in html output rendered by quarto: `ReferenceError: jszip is not defined`. Here is a minimal .qmd example: ~~~ --- title: zip data test execute: echo: false warning: true format: html --- ```{ojs} dat_zip = FileAttachment("data.zip").zip(); ``` ~~~ I have tried deleting and reinstalling quarto but this did not solve the problem. MacOS 12.4; VSCode ### `quarto check` Output ``` [✓] Checking Quarto installation......OK Version: 1.0.38 Path: /Applications/quarto/bin [✓] Checking basic markdown render....OK [✓] Checking Python 3 installation....OK Version: 3.10.6 Path: /opt/homebrew/opt/[email protected]/bin/python3.10 Jupyter: (None) Jupyter is not available in this Python installation. Install with python3 -m pip install jupyter [✓] Checking R installation...........OK Version: 4.2.0 Path: /Library/Frameworks/R.framework/Resources LibPaths: - /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library rmarkdown: 2.15 [✓] Checking Knitr engine render......OK ``` ### `quarto tools check` Output ``` [✓] Inspecting tools Tool Status Installed Latest chromium Not installed --- 869685 tinytex Up to date v2022.08 v2022.08 ``` ### Checklist - [X] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read? - [X] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue. - [X] documented the quarto version you're running, by pasting the output from running `quarto check` in the "Quarto Check Output" text area? - [x] documented the version of the quarto tools you're running, by providing the output from running `quarto tools check` in the "Quarto Tools Check Output" text area? - [X] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog? - [X] documented which operating system you're running? If on Linux, please provide the specific distribution as well. - [X] upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?
{ "assignee": "cscheid", "comments": 5, "created_at": "2022-08-18T23:55:06Z", "creator": "aaronschiff", "is_pull_request": false, "labels": [ "bug", "ojs-engine" ], "locked": false, "milestone": "v1.2", "number": 1981, "state": "closed", "title": "OJS error: jszip is not defined", "url": "https://github.com/quarto-dev/quarto-cli/issues/1981" }
After installing quarto through winget: ``` PS C:\Users\Dennis Bal> winget show quarto Found Quarto [RStudio.quarto] Version: 1.0.38 Publisher: Rstudio, PBC Publisher Url: https://www.rstudio.com/ Moniker: quarto Description: Main features of Quarto: Create dynamic content with Python, R, Julia, and Observable. Author documents as plain text markdown or Jupyter notebooks. Publish high-quality articles, reports, presentations, websites, blogs, and books in HTML, PDF, MS Word, ePub, and more. Author with scientific markdown, including equations, citations, crossrefs, figure panels, callouts, advanced layout, and more. Homepage: https://quarto.org/ License: GPL v2 License Url: https://quarto.org/license.html Copyright: Copyright (C) RStudio, PBC Copyright Url: https://quarto.org/trademark.html Installer: Type: wix Locale: en-US Download Url: https://github.com/quarto-dev/quarto-cli/releases/download/v1.0.38/quarto-1.0.38-win.msi SHA256: 1139e8a8c0a0e220937a4b137f330fa8b8cf6fa04af27dc52c1e73b842661ac7 ``` I am unable to determine how to launch the application: ``` PS C:\Users\Dennis Bal> quarto quarto: The term 'quarto' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. ``` VSCode is complaining that quarto is not installed. So it seems like installing through winget is not adding the right entry to the path by default, and I do not know how to make it work.
{ "assignee": "cderv", "comments": 14, "created_at": "2022-08-18T21:49:01Z", "creator": "KronosTheLate", "is_pull_request": false, "labels": [], "locked": false, "milestone": "v1.2", "number": 1977, "state": "closed", "title": "No path variable added when instaling through winget", "url": "https://github.com/quarto-dev/quarto-cli/issues/1977" }
Hi there, Quarto team! When working in a Quarto book, is it possible right now to have a "chapter" hyperlink to a different website? Specifically, I'm thinking about how Bookdown uses specific code in the [bookdown::gitbook:](https://github.com/dgrtwo/tidy-text-mining/blob/master/_output.yml) section of the `_output.yml` file (code linked) to create the "View book source" link on the [Tidy Text Mining](tidytextmining.com) site. I'm trying to convert my team's training manual from a bookdown to a quarto book, and I've been racking my brain trying to figure this out to link to our extra reference manual from the main training document. I feel like I keep just barely skirting around the solution, but I just can't seem to put things together 😅 I know I can get creative and just make the document a website rather than a book and get things to work that way, but I'm curious if there's a current way to make this work from a book, specifically. Apologies if this already been asked, I've perused all the discussions and issues, but still could have missed it! Thanks!
{ "assignee": null, "comments": 1, "created_at": "2022-08-18T20:22:17Z", "creator": "dvirlar2", "is_pull_request": false, "labels": [], "locked": false, "milestone": "Future", "number": 1973, "state": "open", "title": "Hyperlink to external website from book sidebar", "url": "https://github.com/quarto-dev/quarto-cli/issues/1973" }
### Bug description I am trying to run quarto preview and getting the following error. The numpy error occurs only within quarto CLI command. This runs fine within in VScode virtual environment Note: I am using M1 silicon and tried in arm and intel mode in terminal. Getting error in both the cases. .qmd file ``` --- title: "Quarto Basics" format: html: code-fold: true jupyter: python3 --- For a demonstration of a line plot on a polar axis, see @fig-polar. ```{python} #| label: fig-polar #| fig-cap: "A line plot on a polar axis" import numpy as np import matplotlib.pyplot as plt ``` quarto preview hello.qmd --no-browser --no-watch-inputs ``` Executing 'hello.ipynb' Cell 1/1...ERROR: An error occurred while executing the following cell: ------------------ import numpy as np import matplotlib.pyplot as plt ------------------ --------------------------------------------------------------------------- ImportError Traceback (most recent call last) File ~/Documents/projects/venv3/lib/python3.10/site-packages/numpy/core/__init__.py:23, in <module> 22 try: ---> 23 from . import multiarray 24 except ImportError as exc: File ~/Documents/projects/venv3/lib/python3.10/site-packages/numpy/core/multiarray.py:10, in <module> 9 import functools ---> 10 from . import overrides 11 from . import _multiarray_umath File ~/Documents/projects/venv3/lib/python3.10/site-packages/numpy/core/overrides.py:6, in <module> 4 import os ----> 6 from numpy.core._multiarray_umath import ( 7 add_docstring, implement_array_function, _get_implementing_args) 8 from numpy.compat._inspect import getargspec ImportError: dlopen(/Users/username/Documents/projects/venv3/lib/python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-darwin.so, 0x0002): tried: '/Users/username/Documents/projects/venv3/lib/python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/lib/_multiarray_umath.cpython-310-darwin.so' (no such file) During handling of the above exception, another exception occurred: ImportError Traceback (most recent call last) Input In [3], in <cell line: 1>() ----> 1 import numpy as np 2 import matplotlib.pyplot as plt File ~/Documents/projects/venv3/lib/python3.10/site-packages/numpy/__init__.py:140, in <module> 137 # Allow distributors to run custom init code 138 from . import _distributor_init --> 140 from . import core 141 from .core import * 142 from . import compat File ~/Documents/projects/venv3/lib/python3.10/site-packages/numpy/core/__init__.py:49, in <module> 25 import sys 26 msg = """ 27 28 IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! (...) 47 """ % (sys.version_info[0], sys.version_info[1], sys.executable, 48 __version__, exc) ---> 49 raise ImportError(msg) 50 finally: 51 for envkey in env_added: ImportError: IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! Importing the numpy C-extensions failed. This error can happen for many reasons, often due to issues with your setup or how NumPy was installed. We have compiled some common reasons and troubleshooting tips at: https://numpy.org/devdocs/user/troubleshooting-importerror.html Please note and check the following: * The Python version is: Python3.10 from "/Users/username/Documents/projects/venv3/bin/python3" * The NumPy version is: "1.23.2" and make sure that they are the versions you expect. Please carefully study the documentation linked above for further help. Original error was: dlopen(/Users/username/Documents/projects/venv3/lib/python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-darwin.so, 0x0002): tried: '/Users/username/Documents/projects/venv3/lib/python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/lib/_multiarray_umath.cpython-310-darwin.so' (no such file) ImportError: IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! Importing the numpy C-extensions failed. This error can happen for many reasons, often due to issues with your setup or how NumPy was installed. We have compiled some common reasons and troubleshooting tips at: https://numpy.org/devdocs/user/troubleshooting-importerror.html Please note and check the following: * The Python version is: Python3.10 from "/Users/username/Documents/projects/venv3/bin/python3" * The NumPy version is: "1.23.2" and make sure that they are the versions you expect. Please carefully study the documentation linked above for further help. Original error was: dlopen(/Users/username/Documents/projects/venv3/lib/python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-darwin.so, 0x0002): tried: '/Users/username/Documents/projects/venv3/lib/python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/lib/_multiarray_umath.cpython-310-darwin.so' (no such file) ``` ### `quarto check` Output ``` [✓] Checking Quarto installation......OK Version: 1.0.38 Path: /Applications/quarto/bin [✓] Checking basic markdown render....OK [✓] Checking Python 3 installation....OK Version: 3.10.6 Path: /Users/username/Documents/projects/venv3/bin/python3 Jupyter: 4.11.1 Kernels: python3 [✓] Checking Jupyter engine render....OK [✓] Checking R installation...........(None) Unable to locate an installed version of R. Install R from https://cloud.r-project.org/ ``` ### `quarto tools check` Output ``` [✓] Inspecting tools Tool Status Installed Latest chromium Not installed --- 869685 tinytex Not installed --- v2022.08 ``` ### Checklist - [X] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read? - [X] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue. - [X] documented the quarto version you're running, by pasting the output from running `quarto check` in the "Quarto Check Output" text area? - [X] documented the version of the quarto tools you're running, by providing the output from running `quarto tools check` in the "Quarto Tools Check Output" text area? - [ ] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog? - [X] documented which operating system you're running? If on Linux, please provide the specific distribution as well. - [ ] upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?
{ "assignee": "cscheid", "comments": 6, "created_at": "2022-08-18T15:49:39Z", "creator": "anaveenan", "is_pull_request": false, "labels": [ "documentation" ], "locked": false, "milestone": "v1.3", "number": 1968, "state": "closed", "title": "python numpy error quarto preview", "url": "https://github.com/quarto-dev/quarto-cli/issues/1968" }
https://github.com/quarto-dev/quarto-actions/issues/39 (@dragonstyle I assigned this to you but we can take a look at it together since I think you know the RSS subsystem better and I know the GitHub Actions work better)
{ "assignee": null, "comments": 1, "created_at": "2022-08-18T15:29:07Z", "creator": "cscheid", "is_pull_request": false, "labels": [ "bug", "duplicate" ], "locked": false, "milestone": null, "number": 1967, "state": "closed", "title": "RSS XML file is different in CI", "url": "https://github.com/quarto-dev/quarto-cli/issues/1967" }
### Bug description Related to #multiple ch The main TOC seems to use the first line starting with `#` without rendering it. A file that starts with a chunk with a comment gets the comment as title in the TOC. The example below yield a TOC containing `setup` instead of `Chapter title` ``` ```{r} # setup library(tidyverse) ``` # Chapter title ``` Inline code is displayed as-is in the TOC. The example below yields `r my_var` in the TOC instead of the content of TOC. This is something I use often in bookdown with `knitr_child()` or `knitr_expand()`. ``` # `r my_var` ``` ``` ─ Session info ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── setting value version R version 4.2.1 (2022-06-23) os Ubuntu 20.04.4 LTS system x86_64, linux-gnu ui RStudio language nl_BE:nl collate nl_BE.UTF-8 ctype nl_BE.UTF-8 tz Europe/Brussels date 2022-08-18 rstudio 2022.07.1+554 Spotted Wakerobin (desktop) pandoc 2.18 @ /usr/lib/rstudio/bin/quarto/bin/tools/ (via rmarkdown) ─ Packages ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── package * version date (UTC) lib source bookdown 0.27 2022-06-14 [1] CRAN (R 4.2.0) cli 3.3.0 2022-04-25 [1] CRAN (R 4.2.0) digest 0.6.29 2021-12-01 [1] CRAN (R 4.2.0) evaluate 0.15 2022-02-18 [1] CRAN (R 4.2.0) fastmap 1.1.0 2021-01-25 [1] CRAN (R 4.2.0) fortunes 1.5-4 2016-12-29 [1] CRAN (R 4.2.0) htmltools 0.5.2 2021-08-25 [1] CRAN (R 4.2.0) knitr 1.39 2022-04-26 [1] CRAN (R 4.2.0) lipsum 0.1.0 2022-05-04 [1] https://inbo.r-universe.dev (R 4.2.0) rlang 1.0.3 2022-06-27 [1] CRAN (R 4.2.1) rmarkdown 2.14.1 2022-05-04 [1] https://thierryo.r-universe.dev (R 4.2.0) rstudioapi 0.13 2020-11-12 [1] CRAN (R 4.2.0) sessioninfo 1.2.2 2021-12-06 [1] CRAN (R 4.2.0) xfun 0.31 2022-05-10 [1] CRAN (R 4.2.0) [1] /home/thierry/R/x86_64-pc-linux-gnu-library/4.0 [2] /usr/local/lib/R/site-library [3] /usr/lib/R/site-library [4] /usr/lib/R/library ``` ### `quarto check` Output ```bash [✓] Checking Quarto installation......OK Version: 0.9.655 Path: /opt/quarto/bin [✓] Checking basic markdown render....OK [✓] Checking Python 3 installation....OK Version: 3.8.10 Path: /usr/bin/python3 Jupyter: 4.6.3 Kernels: python3 (/) Checking Jupyter engine render....Traceback (most recent call last): File "/opt/quarto/share/jupyter/jupyter.py", line 21, in <module> from notebook import notebook_execute, RestartKernel File "/opt/quarto/share/jupyter/notebook.py", line 17, in <module> from nbclient import NotebookClient ModuleNotFoundError: No module named 'nbclient' [✓] Checking Jupyter engine render....OK ``` ### `quarto tools check` Output ```bash [✓] Inspecting tools ERROR: TypeError: Specifier not found in cache: "https://deno.land/x/[email protected]/directories.ts", --cached-only is specified. at file:///opt/quarto/bin/vendor/deno-land/x/puppeteer@9-0-2/vendor/puppeteer-core/vendor/cache.ts:1:26 ``` ### Checklist - [X] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read? - [X] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue. - [X] documented the quarto version you're running, by pasting the output from running `quarto check` in the "Quarto Check Output" text area? - [X] documented the version of the quarto tools you're running, by providing the output from running `quarto tools check` in the "Quarto Tools Check Output" text area? - [X] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog? - [X] documented which operating system you're running? If on Linux, please provide the specific distribution as well. - [X] upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?
{ "assignee": "cscheid", "comments": 1, "created_at": "2022-08-18T14:12:40Z", "creator": "ThierryO", "is_pull_request": false, "labels": [ "bug", "ast" ], "locked": false, "milestone": "v1.4", "number": 1966, "state": "open", "title": "rendering main HTML TOC for books", "url": "https://github.com/quarto-dev/quarto-cli/issues/1966" }
### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1953 <div type='discussions-op-text'> <sup>Originally posted by **andrewpbray** August 17, 2022</sup> I have a quarto website set up to publish on netlify from [github](https://github.com/stat20/website) via the [Quarto Netlify Build Plugin](https://quarto.org/docs/publishing/netlify.html#plugin-configuration). On my [most recent PR](https://github.com/stat20/website/pull/11), the [deploy preview](https://deploy-preview-11--cerulean-blancmange-29d7af.netlify.app/) worked just fine, but upon merge, the build failed on Netlify with "Failed due to plugin error". Is this the right place to post such an error? I've looked on Netlify forums and solutions to this error seem often reside in a dependency of the plugin. For reference, here's the error log from Netlify: ``` 2:59:31 PM: Build ready to start 2:59:33 PM: build-image version: d7b3dbfb0846505993c9a131894d1858074c90b4 (focal) 2:59:33 PM: build-image tag: v4.10.1 2:59:33 PM: buildbot version: 4cffa5dc84445a450e8be6f710e2498d87994fae 2:59:33 PM: Fetching cached dependencies 2:59:33 PM: Starting to download cache of 170.3MB 2:59:33 PM: Finished downloading cache in 472.330418ms 2:59:33 PM: Starting to extract cache 2:59:34 PM: Finished extracting cache in 669.245211ms 2:59:34 PM: Finished fetching cache in 1.190148942s 2:59:34 PM: Starting to prepare the repo for build 2:59:34 PM: Preparing Git Reference refs/heads/main 2:59:35 PM: Parsing package.json dependencies 2:59:36 PM: Starting build script 2:59:36 PM: Installing dependencies 2:59:36 PM: Python version set to 2.7 2:59:36 PM: Started restoring cached node version 2:59:37 PM: Finished restoring cached node version 2:59:37 PM: v16.17.0 is already installed. 2:59:37 PM: Now using node v16.17.0 (npm v8.15.0) 2:59:37 PM: Started restoring cached build plugins 2:59:37 PM: Finished restoring cached build plugins 2:59:37 PM: Attempting ruby version 2.7.2, read from environment 2:59:38 PM: Using ruby version 2.7.2 2:59:38 PM: Using PHP version 8.0 2:59:38 PM: No npm workspaces detected 2:59:38 PM: Started restoring cached node modules 2:59:38 PM: Finished restoring cached node modules 2:59:39 PM: Started restoring cached go cache 2:59:39 PM: Finished restoring cached go cache 2:59:39 PM: Installing Go version 1.17 (requested 1.17) 2:59:43 PM: unset GOOS; 2:59:43 PM: unset GOARCH; 2:59:43 PM: export GOROOT='/opt/buildhome/.gimme/versions/go1.17.linux.amd64'; 2:59:43 PM: export PATH="/opt/buildhome/.gimme/versions/go1.17.linux.amd64/bin:${PATH}"; 2:59:43 PM: go version >&2; 2:59:43 PM: export GIMME_ENV="/opt/buildhome/.gimme/env/go1.17.linux.amd64.env" 2:59:43 PM: go version go1.17 linux/amd64 2:59:43 PM: Installing missing commands 2:59:43 PM: Verify run directory 2:59:44 PM: ​ 2:59:44 PM: ──────────────────────────────────────────────────────────────── 2:59:44 PM: Netlify Build 2:59:44 PM: ──────────────────────────────────────────────────────────────── 2:59:44 PM: ​ 2:59:44 PM: ❯ Version 2:59:44 PM: @netlify/build 27.11.5 2:59:44 PM: ​ 2:59:44 PM: ❯ Flags 2:59:44 PM: baseRelDir: true 2:59:44 PM: buildId: 62fd64c32597ef0008438c7e 2:59:44 PM: deployId: 62fd64c32597ef0008438c80 2:59:44 PM: ​ 2:59:44 PM: ❯ Current directory 2:59:44 PM: /opt/build/repo 2:59:44 PM: ​ 2:59:44 PM: ❯ Config file 2:59:44 PM: /opt/build/repo/netlify.toml 2:59:44 PM: ​ 2:59:44 PM: ❯ Context 2:59:44 PM: production 2:59:44 PM: ​ 2:59:44 PM: ❯ Loading plugins 2:59:44 PM: - @quarto/[email protected] from netlify.toml and package.json 2:59:45 PM: ​ 2:59:45 PM: ──────────────────────────────────────────────────────────────── 2:59:45 PM: 1. @quarto/netlify-plugin-quarto (onPreBuild event) 2:59:45 PM: ──────────────────────────────────────────────────────────────── 2:59:45 PM: ​ 2:59:45 PM: ​ 2:59:45 PM: ──────────────────────────────────────────────────────────────── 2:59:45 PM: Plugin "@quarto/netlify-plugin-quarto" internal error 2:59:45 PM: ──────────────────────────────────────────────────────────────── 2:59:45 PM: ​ 2:59:45 PM: Error message 2:59:45 PM: Error: function () { [native code] } could not be cloned. 2:59:45 PM: ​ 2:59:45 PM: Plugin details 2:59:45 PM: Package: @quarto/netlify-plugin-quarto 2:59:45 PM: Version: 0.0.5 2:59:45 PM: Repository: git+https://github.com/quarto-dev/netlify-plugin-quarto.git 2:59:45 PM: npm link: https://www.npmjs.com/package/@quarto/netlify-plugin-quarto 2:59:45 PM: Report issues: https://github.com/quarto-dev/netlify-plugin-quarto/issues 2:59:45 PM: ​ 2:59:45 PM: Error location 2:59:45 PM: In "onPreBuild" event in "@quarto/netlify-plugin-quarto" from netlify.toml and package.json 2:59:45 PM: at writeChannelMessage (node:internal/child_process/serialization:109:9) 2:59:45 PM: at process.target._send (node:internal/child_process:840:17) 2:59:45 PM: at process.target.send (node:internal/child_process:740:19) 2:59:45 PM: at node:internal/util:361:7 2:59:45 PM: at new Promise (<anonymous>) 2:59:45 PM: at bound (node:internal/util:347:12) 2:59:45 PM: at sendEventToParent (file:///opt/buildhome/node-deps/node_modules/@netlify/build/src/plugins/ipc.js:123:46) 2:59:45 PM: at handleError (file:///opt/buildhome/node-deps/node_modules/@netlify/build/src/plugins/child/error.js:13:9) 2:59:45 PM: at handleEvent (file:///opt/buildhome/node-deps/node_modules/@netlify/build/src/plugins/child/main.js:45:11) 2:59:45 PM: at processTicksAndRejections (node:internal/process/task_queues:96:5) 2:59:45 PM: ​ 2:59:45 PM: Resolved config 2:59:45 PM: build: 2:59:45 PM: publish: /opt/build/repo/_site 2:59:45 PM: publishOrigin: ui 2:59:45 PM: plugins: 2:59:45 PM: - inputs: {} 2:59:45 PM: origin: config 2:59:45 PM: package: '@quarto/netlify-plugin-quarto' 2:59:46 PM: Caching artifacts 2:59:46 PM: Started saving node modules 2:59:46 PM: Finished saving node modules 2:59:46 PM: Started saving build plugins 2:59:46 PM: Finished saving build plugins 2:59:46 PM: Started saving pip cache 2:59:46 PM: Finished saving pip cache 2:59:46 PM: Started saving emacs cask dependencies 2:59:46 PM: Finished saving emacs cask dependencies 2:59:46 PM: Started saving maven dependencies 2:59:46 PM: Finished saving maven dependencies 2:59:46 PM: Started saving boot dependencies 2:59:46 PM: Finished saving boot dependencies 2:59:46 PM: Started saving rust rustup cache 2:59:46 PM: Finished saving rust rustup cache 2:59:46 PM: Started saving go dependencies 2:59:46 PM: Finished saving go dependencies 2:59:46 PM: Build failed due to a plugin error: Build script returned non-zero exit code: 3 2:59:46 PM: Creating deploy upload records 2:59:46 PM: Failing build: Failed to build site 2:59:46 PM: Failed during stage 'building site': Build script returned non-zero exit code: 3 (https://ntl.fyi/exit-code-3) 2:59:46 PM: Finished processing build request in 13.421019233s ```</div>
{ "assignee": null, "comments": 4, "created_at": "2022-08-18T10:42:57Z", "creator": "jjallaire", "is_pull_request": false, "labels": [], "locked": false, "milestone": null, "number": 1961, "state": "closed", "title": "Plugin \"@quarto/netlify-plugin-quarto\" internal error", "url": "https://github.com/quarto-dev/quarto-cli/issues/1961" }
Simply FYI - if I clone from GitHub and use a version later than 1.1.75, when I render it seems to be looking for a file quarto.ts that it does not find: ==> (function(input, ...) { invisible(system(paste0('quarto render "', input, '" ', '--to default'))) })('C:/Users/donbo/Documents/R_projects/MTA2022/sites/baseline/pmtbase/payroll_mobility_tax_base.qmd', encoding = 'UTF-8'); Check file:///C:/Users/donbo/quarto/QUARTO~1/src/quarto.ts ERROR: NotFound: The system cannot find the file specified. (os error 2) NotFound: The system cannot find the file specified. (os error 2) at Object.opSync (deno:core/01_core.js:172:12) at opRun (deno:runtime/js/40_process.js:28:17) at Object.run (deno:runtime/js/40_process.js:111:17) at reconfigureQuarto (file:///C:/Users/donbo/quarto/QUARTO~1/src/core/devconfig.ts:138:24) at quarto (file:///C:/Users/donbo/quarto/QUARTO~1/src/quarto.ts:55:13) at file:///C:/Users/donbo/quarto/QUARTO~1/src/quarto.ts:124:11
{ "assignee": "jjallaire", "comments": 2, "created_at": "2022-08-18T09:45:00Z", "creator": "donboyd5", "is_pull_request": false, "labels": [], "locked": false, "milestone": "v1.1", "number": 1960, "state": "closed", "title": "FYI - if I clone from GitHub and use a version later than 1.1.75, when I render it seems to be looking for a file quarto.ts that it does not find", "url": "https://github.com/quarto-dev/quarto-cli/issues/1960" }
Hi, There was a [discussion](https://github.com/quarto-dev/quarto-cli/discussions/1785) about this issue, but I figured I would file a formal feature request. [Bookdown](https://bookdown.org/) allows you to use [text references](https://bookdown.org/yihui/bookdown/markdown-extensions-by-bookdown.html#text-references) to create figure and table captions: ```` --- title: Text references output: bookdown::html_document2 --- (ref:cap) This is a long complex caption with an equation ($E=mc^2$), some calculated results (`r 5^2`), **bold text** and text in "quotes". ```{r fig.cap="(ref:cap)"} plot(1:10) ``` ```` This is a super handy feature when captions are complicated and long. To my knowledge this feature, or something equivalent to it, does not exist in Quarto. Though the same result can undoubtedly be achieved using `!expr` and `paste` statements with lots of back quoting, it is far less ergonomic. Would it be possible to implement something like that in Quarto? Basically, you need a way to pass text by reference a bit like one can insert figures and links by reference id. This seems like a feature that could potentially be more generally valuable beyond table and figure captions.
{ "assignee": "cscheid", "comments": 2, "created_at": "2022-08-18T07:37:06Z", "creator": "dmkaplan2000", "is_pull_request": false, "labels": [ "crossref" ], "locked": false, "milestone": "v1.4", "number": 1959, "state": "open", "title": "Feature request: Bookdown-style text references", "url": "https://github.com/quarto-dev/quarto-cli/issues/1959" }
We've been seeing this error consistently now, which means that our netlify plugin simply isn't working (cc @dpastoor) ### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1953 <div type='discussions-op-text'> <sup>Originally posted by **andrewpbray** August 17, 2022</sup> I have a quarto website set up to publish on netlify from [github](https://github.com/stat20/website) via the [Quarto Netlify Build Plugin](https://quarto.org/docs/publishing/netlify.html#plugin-configuration). On my [most recent PR](https://github.com/stat20/website/pull/11), the [deploy preview](https://deploy-preview-11--cerulean-blancmange-29d7af.netlify.app/) worked just fine, but upon merge, the build failed on Netlify with "Failed due to plugin error". Is this the right place to post such an error? I've looked on Netlify forums and solutions to this error seem often reside in a dependency of the plugin. For reference, here's the error log from Netlify: ``` 2:59:31 PM: Build ready to start 2:59:33 PM: build-image version: d7b3dbfb0846505993c9a131894d1858074c90b4 (focal) 2:59:33 PM: build-image tag: v4.10.1 2:59:33 PM: buildbot version: 4cffa5dc84445a450e8be6f710e2498d87994fae 2:59:33 PM: Fetching cached dependencies 2:59:33 PM: Starting to download cache of 170.3MB 2:59:33 PM: Finished downloading cache in 472.330418ms 2:59:33 PM: Starting to extract cache 2:59:34 PM: Finished extracting cache in 669.245211ms 2:59:34 PM: Finished fetching cache in 1.190148942s 2:59:34 PM: Starting to prepare the repo for build 2:59:34 PM: Preparing Git Reference refs/heads/main 2:59:35 PM: Parsing package.json dependencies 2:59:36 PM: Starting build script 2:59:36 PM: Installing dependencies 2:59:36 PM: Python version set to 2.7 2:59:36 PM: Started restoring cached node version 2:59:37 PM: Finished restoring cached node version 2:59:37 PM: v16.17.0 is already installed. 2:59:37 PM: Now using node v16.17.0 (npm v8.15.0) 2:59:37 PM: Started restoring cached build plugins 2:59:37 PM: Finished restoring cached build plugins 2:59:37 PM: Attempting ruby version 2.7.2, read from environment 2:59:38 PM: Using ruby version 2.7.2 2:59:38 PM: Using PHP version 8.0 2:59:38 PM: No npm workspaces detected 2:59:38 PM: Started restoring cached node modules 2:59:38 PM: Finished restoring cached node modules 2:59:39 PM: Started restoring cached go cache 2:59:39 PM: Finished restoring cached go cache 2:59:39 PM: Installing Go version 1.17 (requested 1.17) 2:59:43 PM: unset GOOS; 2:59:43 PM: unset GOARCH; 2:59:43 PM: export GOROOT='/opt/buildhome/.gimme/versions/go1.17.linux.amd64'; 2:59:43 PM: export PATH="/opt/buildhome/.gimme/versions/go1.17.linux.amd64/bin:${PATH}"; 2:59:43 PM: go version >&2; 2:59:43 PM: export GIMME_ENV="/opt/buildhome/.gimme/env/go1.17.linux.amd64.env" 2:59:43 PM: go version go1.17 linux/amd64 2:59:43 PM: Installing missing commands 2:59:43 PM: Verify run directory 2:59:44 PM: ​ 2:59:44 PM: ──────────────────────────────────────────────────────────────── 2:59:44 PM: Netlify Build 2:59:44 PM: ──────────────────────────────────────────────────────────────── 2:59:44 PM: ​ 2:59:44 PM: ❯ Version 2:59:44 PM: @netlify/build 27.11.5 2:59:44 PM: ​ 2:59:44 PM: ❯ Flags 2:59:44 PM: baseRelDir: true 2:59:44 PM: buildId: 62fd64c32597ef0008438c7e 2:59:44 PM: deployId: 62fd64c32597ef0008438c80 2:59:44 PM: ​ 2:59:44 PM: ❯ Current directory 2:59:44 PM: /opt/build/repo 2:59:44 PM: ​ 2:59:44 PM: ❯ Config file 2:59:44 PM: /opt/build/repo/netlify.toml 2:59:44 PM: ​ 2:59:44 PM: ❯ Context 2:59:44 PM: production 2:59:44 PM: ​ 2:59:44 PM: ❯ Loading plugins 2:59:44 PM: - @quarto/[email protected] from netlify.toml and package.json 2:59:45 PM: ​ 2:59:45 PM: ──────────────────────────────────────────────────────────────── 2:59:45 PM: 1. @quarto/netlify-plugin-quarto (onPreBuild event) 2:59:45 PM: ──────────────────────────────────────────────────────────────── 2:59:45 PM: ​ 2:59:45 PM: ​ 2:59:45 PM: ──────────────────────────────────────────────────────────────── 2:59:45 PM: Plugin "@quarto/netlify-plugin-quarto" internal error 2:59:45 PM: ──────────────────────────────────────────────────────────────── 2:59:45 PM: ​ 2:59:45 PM: Error message 2:59:45 PM: Error: function () { [native code] } could not be cloned. 2:59:45 PM: ​ 2:59:45 PM: Plugin details 2:59:45 PM: Package: @quarto/netlify-plugin-quarto 2:59:45 PM: Version: 0.0.5 2:59:45 PM: Repository: git+https://github.com/quarto-dev/netlify-plugin-quarto.git 2:59:45 PM: npm link: https://www.npmjs.com/package/@quarto/netlify-plugin-quarto 2:59:45 PM: Report issues: https://github.com/quarto-dev/netlify-plugin-quarto/issues 2:59:45 PM: ​ 2:59:45 PM: Error location 2:59:45 PM: In "onPreBuild" event in "@quarto/netlify-plugin-quarto" from netlify.toml and package.json 2:59:45 PM: at writeChannelMessage (node:internal/child_process/serialization:109:9) 2:59:45 PM: at process.target._send (node:internal/child_process:840:17) 2:59:45 PM: at process.target.send (node:internal/child_process:740:19) 2:59:45 PM: at node:internal/util:361:7 2:59:45 PM: at new Promise (<anonymous>) 2:59:45 PM: at bound (node:internal/util:347:12) 2:59:45 PM: at sendEventToParent (file:///opt/buildhome/node-deps/node_modules/@netlify/build/src/plugins/ipc.js:123:46) 2:59:45 PM: at handleError (file:///opt/buildhome/node-deps/node_modules/@netlify/build/src/plugins/child/error.js:13:9) 2:59:45 PM: at handleEvent (file:///opt/buildhome/node-deps/node_modules/@netlify/build/src/plugins/child/main.js:45:11) 2:59:45 PM: at processTicksAndRejections (node:internal/process/task_queues:96:5) 2:59:45 PM: ​ 2:59:45 PM: Resolved config 2:59:45 PM: build: 2:59:45 PM: publish: /opt/build/repo/_site 2:59:45 PM: publishOrigin: ui 2:59:45 PM: plugins: 2:59:45 PM: - inputs: {} 2:59:45 PM: origin: config 2:59:45 PM: package: '@quarto/netlify-plugin-quarto' 2:59:46 PM: Caching artifacts 2:59:46 PM: Started saving node modules 2:59:46 PM: Finished saving node modules 2:59:46 PM: Started saving build plugins 2:59:46 PM: Finished saving build plugins 2:59:46 PM: Started saving pip cache 2:59:46 PM: Finished saving pip cache 2:59:46 PM: Started saving emacs cask dependencies 2:59:46 PM: Finished saving emacs cask dependencies 2:59:46 PM: Started saving maven dependencies 2:59:46 PM: Finished saving maven dependencies 2:59:46 PM: Started saving boot dependencies 2:59:46 PM: Finished saving boot dependencies 2:59:46 PM: Started saving rust rustup cache 2:59:46 PM: Finished saving rust rustup cache 2:59:46 PM: Started saving go dependencies 2:59:46 PM: Finished saving go dependencies 2:59:46 PM: Build failed due to a plugin error: Build script returned non-zero exit code: 3 2:59:46 PM: Creating deploy upload records 2:59:46 PM: Failing build: Failed to build site 2:59:46 PM: Failed during stage 'building site': Build script returned non-zero exit code: 3 (https://ntl.fyi/exit-code-3) 2:59:46 PM: Finished processing build request in 13.421019233s ```</div>
{ "assignee": "cscheid", "comments": 2, "created_at": "2022-08-17T23:08:07Z", "creator": "cscheid", "is_pull_request": false, "labels": [ "bug" ], "locked": false, "milestone": "v1.4", "number": 1956, "state": "open", "title": "Plugin \"@quarto/netlify-plugin-quarto\" internal error", "url": "https://github.com/quarto-dev/quarto-cli/issues/1956" }
Instead, it sends [all output through `info()`](https://github.com/quarto-dev/quarto-cli/blob/main/src/core/process.ts#L167-L173), which uses stderr. Minimal repro: ``` $ cat test-filter.ts const stdin = new TextDecoder().decode(await Deno.readAll(Deno.stdin)); await Deno.stdout.write(new TextEncoder().encode(stdin)); $ (echo Foo | quarto run test-filter.ts) >/dev/null Foo $ (echo Foo | quarto run test-filter.ts) 2>/dev/null $ ```
{ "assignee": "cscheid", "comments": 3, "created_at": "2022-08-17T22:52:37Z", "creator": "cscheid", "is_pull_request": false, "labels": [ "bug" ], "locked": false, "milestone": "v1.1", "number": 1954, "state": "closed", "title": "`quarto run` doesn't respect stdout/stderr", "url": "https://github.com/quarto-dev/quarto-cli/issues/1954" }
### Bug description When exporting a two-column slide to PDF, the columns are misaligned in the output (HTML is fine). If the respective bodies contain more content, the content of the right side is pushed to the next slide. Same issue when using `decktape` 3.4.1. - macOS - Chromium 104.0.5112.81 ````r --- title: "Untitled" format: revealjs editor: visual --- ## Quarto :::: {.columns} ::: {.column width="30%"} Left column ::: ::: {.column width="50%"} Right column ::: :::: ```` ![image](https://user-images.githubusercontent.com/8430564/185238662-a0ae9c91-3288-47f7-afe8-911ef3ed111a.png) ### `quarto check` Output ```bash [✓] Checking Quarto installation......OK Version: 1.1.75 Path: /opt/homebrew/Cellar/quarto-dev/1.1.75/bin [✓] Checking basic markdown render....OK [✓] Checking Python 3 installation....OK Version: 3.10.6 Path: /opt/homebrew/opt/[email protected]/bin/python3.10 Jupyter: (None) Jupyter is not available in this Python installation. Install with python3 -m pip install jupyter [✓] Checking R installation...........OK Version: 4.2.1 Path: /Library/Frameworks/R.framework/Resources LibPaths: - /Users/pjs/Library/R/arm64/4.2/library - /opt/R/4.2.1-arm64/Resources/site-library - /opt/R/4.2.1-arm64/Resources/library rmarkdown: 2.15 [✓] Checking Knitr engine render......OK ``` ### `quarto tools check` Output ```bash [✓] Inspecting tools Tool Status Installed Latest chromium Not installed --- 869685 tinytex Not installed --- v2022.08 ``` ### Checklist - [X] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read? - [X] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue. - [X] documented the quarto version you're running, by pasting the output from running `quarto check` in the "Quarto Check Output" text area? - [X] documented the version of the quarto tools you're running, by providing the output from running `quarto tools check` in the "Quarto Tools Check Output" text area? - [ ] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog? - [X] documented which operating system you're running? If on Linux, please provide the specific distribution as well. - [X] upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?
{ "assignee": "cderv", "comments": 1, "created_at": "2022-08-17T20:45:06Z", "creator": "pat-s", "is_pull_request": false, "labels": [ "bug", "revealjs" ], "locked": false, "milestone": "v1.4", "number": 1952, "state": "open", "title": "Presentation - PDF export: columns misaligned", "url": "https://github.com/quarto-dev/quarto-cli/issues/1952" }
### Bug description *Usecase and background*: I have some external javascript modules that I would like to use/re-use in my quarto notebook's observable (ojs) block. I am using window 11 and Powershell to run `quarto preview` command *Expected outcome*: I could import the external modules as per the example in the [official docs](https://quarto.org/docs/interactive/ojs/code-reuse.html) *Actual outcome*: I get the error: ![image](https://user-images.githubusercontent.com/27828189/185203832-c4bdec93-bdae-46c9-8217-0caeb6f22ef9.png) *File for reproducing the error* [github_issue.zip](https://github.com/quarto-dev/quarto-cli/files/9364978/github_issue.zip) ### `quarto check` Output ```bash (base) C:\Users\Saket Saurabh\Projects\Misc>quarto check FINDSTR: Cannot open Saurabh [>] Checking Quarto installation......OK Version: 1.0.38 Path: C:\Users\Saket Saurabh\AppData\Local\Programs\Quarto\bin\ CodePage: 1252 [>] Checking basic markdown render....OK [>] Checking Python 3 installation....OK Version: 3.9.12 (Conda) Path: C:/Users/Saket Saurabh/miniconda3/python.exe Jupyter: 4.10.0 Kernels: python3 [>] Checking Jupyter engine render....OK [>] Checking R installation...........(None) Unable to locate an installed version of R. Install R from https://cloud.r-project.org/ ``` ### `quarto tools check` Output ```bash (base) C:\Users\Saket Saurabh\Projects\Misc>quarto tools check FINDSTR: Cannot open Saurabh [>] Inspecting tools Tool Status Installed Latest chromium Not installed --- 869685 tinytex Not installed --- v2022.08 ``` ### Checklist - [X] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read? - [X] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue. - [X] documented the quarto version you're running, by pasting the output from running `quarto check` in the "Quarto Check Output" text area? - [X] documented the version of the quarto tools you're running, by providing the output from running `quarto tools check` in the "Quarto Tools Check Output" text area? - [X] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog? - [X] documented which operating system you're running? If on Linux, please provide the specific distribution as well. - [X] upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?
{ "assignee": "cscheid", "comments": 4, "created_at": "2022-08-17T17:38:05Z", "creator": "ssaket", "is_pull_request": false, "labels": [ "bug", "duplicate" ], "locked": false, "milestone": "v1.1", "number": 1950, "state": "closed", "title": "Cannnot import external javascript modules in windows", "url": "https://github.com/quarto-dev/quarto-cli/issues/1950" }
We've had more than one bug report from users experiencing confusion over the errors arising from `!expr` in YAML. If there's a parse error in YAML in a line that has `!expr`, we should offer additional information and even point to documentation.
{ "assignee": "cscheid", "comments": 0, "created_at": "2022-08-17T16:25:12Z", "creator": "cscheid", "is_pull_request": false, "labels": [ "enhancement", "yaml-validation" ], "locked": false, "milestone": "v1.1", "number": 1949, "state": "closed", "title": "Better error message for !expr yaml parse errors", "url": "https://github.com/quarto-dev/quarto-cli/issues/1949" }
### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1946 <div type='discussions-op-text'> <sup>Originally posted by **gjungb** August 17, 2022</sup> Hi, I am trying to add a [Page Footer](https://quarto.org/docs/books/book-structure.html#page-footer) to a book which is rendered as `docx`, but the footer doesn't appear. Am I missing something? Thx</div>
{ "assignee": null, "comments": 0, "created_at": "2022-08-17T16:23:16Z", "creator": "dragonstyle", "is_pull_request": false, "labels": [], "locked": false, "milestone": "Future", "number": 1948, "state": "open", "title": "Page Footer Support for Non HTML formats", "url": "https://github.com/quarto-dev/quarto-cli/issues/1948" }
### Bug description The following document fails to render: ```` --- title: "Untitled" format: html --- ```{r} #| label: fig-sa-tmap #| fig-cap: !expr paste("The caption is: ","a caption") plot(1:10) ``` ```` The error message is: ``` ERROR: YAMLException: bad indentation of a mapping entry (test.qmd, 9:40) 8: #| label: fig-sa-tmap 9: #| fig-cap: !expr paste("The caption is: ","a caption") ~ 10: plot(1:10) ``` The document will render if one removes the space after the `:` in `fig-cap`: ```` --- title: "Untitled" format: html --- ```{r} #| label: fig-sa-tmap #| fig-cap: !expr paste("The caption is:","a caption") plot(1:10) ``` ```` ### `quarto check` Output [✓] Checking Quarto installation......OK Version: 1.0.38 Path: /opt/quarto/bin [✓] Checking basic markdown render....OK [✓] Checking Python 3 installation....OK Version: 3.8.10 Path: /usr/bin/python3 Jupyter: 4.11.1 Kernels: python3 [✓] Checking Jupyter engine render....OK [✓] Checking R installation...........OK Version: 4.2.1 Path: /usr/lib/R LibPaths: - /home/dmk/R/x86_64-pc-linux-gnu-library/4.2 - /usr/local/lib/R/site-library - /usr/lib/R/site-library - /usr/lib/R/library rmarkdown: 2.14 [✓] Checking Knitr engine render......OK ### `quarto tools check` Output [✓] Inspecting tools Tool Status Installed Latest chromium Not installed --- 869685 tinytex Not installed --- v2022.08 ### Checklist - [X] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read? - [X] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue. - [X] documented the quarto version you're running, by pasting the output from running `quarto check` in the "Quarto Check Output" text area? - [X] documented the version of the quarto tools you're running, by providing the output from running `quarto tools check` in the "Quarto Tools Check Output" text area? - [X] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog? - [X] documented which operating system you're running? If on Linux, please provide the specific distribution as well. - [X] upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?
{ "assignee": "cscheid", "comments": 5, "created_at": "2022-08-17T15:49:14Z", "creator": "dmkaplan2000", "is_pull_request": false, "labels": [ "bug", "yaml-validation", "needs-repro" ], "locked": false, "milestone": null, "number": 1947, "state": "closed", "title": "Render fails with chunk option including space after a colon", "url": "https://github.com/quarto-dev/quarto-cli/issues/1947" }
### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1942 <div type='discussions-op-text'> <sup>Originally posted by **pat-s** August 17, 2022</sup> I've realized that the max height for code containers is harcoded to 500px by RevealJS. If more space for code is used (e.g. due to a large font size or many lines of code), the overflowing part is hidden and the container must be scrolled to view it. The following CSS rule extends the height - maybe this is something which could be made available in the quarto YAML options directly? ```css .reveal pre.sourceCode code { max-height: 700px; // default 500 } ```</div>
{ "assignee": "dragonstyle", "comments": 1, "created_at": "2022-08-17T13:36:45Z", "creator": "jjallaire", "is_pull_request": false, "labels": [ "bug" ], "locked": false, "milestone": "v1.4", "number": 1943, "state": "open", "title": "Increasing max code container height", "url": "https://github.com/quarto-dev/quarto-cli/issues/1943" }
### Bug description The column width parameter seems to have stopped working. It's not working with the current [5ca1740](https://github.com/quarto-dev/quarto-cli/commit/5ca1740bc5bb503a5e8c0f375889744aabde0864)... checking back in time... it also doesn't work here de145553da303d126fcf58294e2e2c968189be11 (pandoc 2.19) but it was working in the commit before that which used pandoc 2.18 5abea1a0387e282467ae96829725ddf84a23779e ``` --- title: "Untitled" format: revealjs --- :::: {.columns} ::: {.column width="20%"} Left column (20%) ::: ::: {.column width="80%"} Right column (80%) ::: :::: ``` ### `quarto check` Output _No response_ ### `quarto tools check` Output _No response_ ### Checklist - [X] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read? - [X] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue. - [X] documented the quarto version you're running, by pasting the output from running `quarto check` in the "Quarto Check Output" text area? - [X] documented the version of the quarto tools you're running, by providing the output from running `quarto tools check` in the "Quarto Tools Check Output" text area? - [X] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog? - [X] documented which operating system you're running? If on Linux, please provide the specific distribution as well. - [X] upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?
{ "assignee": "dragonstyle", "comments": 12, "created_at": "2022-08-17T10:41:07Z", "creator": "garthtarr", "is_pull_request": false, "labels": [ "bug" ], "locked": false, "milestone": "v1.2", "number": 1940, "state": "closed", "title": "Column issue", "url": "https://github.com/quarto-dev/quarto-cli/issues/1940" }
### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1934 <div type='discussions-op-text'> <sup>Originally posted by **statzhero** August 16, 2022</sup> This is probably trivial, but how do I solve the file path issue most elegantly? In `_quarto.yml` I have the following footer ``` page-footer: left: "[Terms](pages/terms.qmd) · Powered by [Quarto](https://quarto.org/)" ``` This works well for the home page, but for any other page I would have to specify the root for `pages/terms.qmd` first? </div>
{ "assignee": null, "comments": 3, "created_at": "2022-08-16T21:10:57Z", "creator": "jjallaire", "is_pull_request": false, "labels": [], "locked": false, "milestone": "Future", "number": 1935, "state": "open", "title": "Relative path in website page footer", "url": "https://github.com/quarto-dev/quarto-cli/issues/1935" }
Apologies if this currently exists, but I've been trying to figure out whether you can execute `bash` chunks in quarto. It doesn't seem to be in the documentation anywhere, though I do see on the [about page](https://quarto.org/about.html#pull-requests) of the quarto project, a bash chunk (though I'm not sure if it actually runs or not). If this feature is documented somewhere, could someone kindly point me that way? If it is not, could the documentation be added? In general, the only thing I've missed in my transition from bookdown to quarto for authoring books is bash chunks. Thank you!
{ "assignee": "jjallaire", "comments": 2, "created_at": "2022-08-16T19:50:23Z", "creator": "jeanetteclark", "is_pull_request": false, "labels": [ "documentation" ], "locked": false, "milestone": "Future", "number": 1932, "state": "open", "title": "Add documentation for `bash` chunks", "url": "https://github.com/quarto-dev/quarto-cli/issues/1932" }
### Bug description When I use format `gfm` or `commonmrk` and use `quarto render README.qmd` I see the `.md` file popup but then go away. When I call `quarto::quarto_render("README.qmd", output_format = "all")` I see the following steps: * `README.rmarkdown` added * `README.rmarkdown` deleted * `README.md` added * `README.rmarkdown` added * `README.rmarkdown` deleted * `README.md` deleted -- 👀 not expecting this step If I use `docx` instead of `gfm` both formats come back as expected ```r --- title: "quarto" format: # commonmark: default gfm: default revealjs: default --- ## Quarto ``` Using ``` RStudio 2022.07.1 Build 554 Windows 10 Build 19042 ``` ### `quarto check` Output ```bash quarto check [>] Checking Quarto installation......OK Version: 99.9.9 Path: C:\Users\rileyj3\github\quarto-cli\package\dist\bin\ CodePage: 1252 [>] Checking basic markdown render....OK [>] Checking Python 3 installation....OK Version: 3.9.12 Path: C:/Users/rileyj3/AppData/Local/Programs/Python/Python39/python.exe Jupyter: 4.11.1 Kernels: python3 [>] Checking Jupyter engine render....OK [>] Checking R installation...........OK Version: 4.2.0 Path: C:/Users/rileyj3/R/R-4.2.0 LibPaths: - C://Users/rileyj3/R/win-library/4.2/library rmarkdown: 2.14 [>] Checking Knitr engine render......OK ``` ### `quarto tools check` Output ```bash [>] Inspecting tools Tool Status Installed Latest chromium Not installed --- 869685 tinytex Not installed --- v2022.08 ``` ### Checklist - [X] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read? - [X] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue. - [X] documented the quarto version you're running, by pasting the output from running `quarto check` in the "Quarto Check Output" text area? - [X] documented the version of the quarto tools you're running, by providing the output from running `quarto tools check` in the "Quarto Tools Check Output" text area? - [X] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog? - [X] documented which operating system you're running? If on Linux, please provide the specific distribution as well. - [X] upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?
{ "assignee": null, "comments": 3, "created_at": "2022-08-16T16:51:23Z", "creator": "rjake", "is_pull_request": false, "labels": [ "bug" ], "locked": false, "milestone": "Future", "number": 1929, "state": "open", "title": "Rendering multiple formats not working with markdown variants", "url": "https://github.com/quarto-dev/quarto-cli/issues/1929" }
e.g see this <img width="1261" alt="Screen Shot 2022-08-16 at 12 18 56 PM" src="https://user-images.githubusercontent.com/104391/184929477-e68b93df-a7e6-4241-931e-3e2ca0637c2a.png"> Maybe play with up to `1em` of space?
{ "assignee": "dragonstyle", "comments": 1, "created_at": "2022-08-16T16:21:51Z", "creator": "jjallaire", "is_pull_request": false, "labels": [], "locked": false, "milestone": "v1.1", "number": 1927, "state": "closed", "title": "provide a bit more vertical space above category boxes in blog title block", "url": "https://github.com/quarto-dev/quarto-cli/issues/1927" }
### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1925 <div type='discussions-op-text'> <sup>Originally posted by **zeileis** August 16, 2022</sup> When using one of the [theorem divs](https://quarto.org/docs/authoring/cross-references.html#theorems-and-proofs), then in the HTML output the corresponding "theorem-title" is sometimes in its own paragraph and sometimes not. Specifically, if the div just consists of a single paragraph, then the title is in a separate paragraph. Otherwise it is merged into the first paragraph. As a concrete example consider: ``` ::: {#exr-1} Compute: 25 + 17. ::: ::: {#exr-2} Let a = 25 and b = 17. Compute: a + b. ::: ``` I have simply inserted the snippet above into the `intro.qmd` from the `mybook` demo (`quarto create-project mybook --type book`). This yields the following HTML output using quarto 1.0.38 with pandoc 2.17.1.1 on Debian GNU/Linux. ``` <div id="exr-1" class="theorem exercise"> <p><span class="theorem-title"><strong>Exercise 1.1 </strong></span></p> <p>Compute: 25 + 17.</p> </div> <div id="exr-2" class="theorem exercise"> <p><span class="theorem-title"><strong>Exercise 1.2 </strong></span>Let a = 25 and b = 17.</p> <p>Compute: a + b.</p> </div> ``` Rendered in a browser it looks like this: ![browser screenshot](https://i.imgur.com/GJWj8k8.png) Note that the text of the first exercise starts in a new paragraph while the second exercise starts in the same paragraph as the title. Is this difference by design? Can I somehow switch between these layouts? I would like a consistent layout, preferably with the theorem-title in its own paragraph.</div>
{ "assignee": "cscheid", "comments": 7, "created_at": "2022-08-16T16:13:43Z", "creator": "jjallaire", "is_pull_request": false, "labels": [ "bug" ], "locked": false, "milestone": "v1.1", "number": 1926, "state": "closed", "title": "theorem-title not in its own HTML paragraph", "url": "https://github.com/quarto-dev/quarto-cli/issues/1926" }
### Bug description _First of all I want to clarify that this is my first post here, I apologize if it's not completely clear._ Once I got to know Quarto I wanted to start experimenting with it working with Python, however, I have not been able to because the **nbformat package is not installed**. However, when I check the list of installed packages this package appears there in both the conda and pip package lists. Can anyone tell me what the problem is? I have tried RStudio and VS code but I have the same issue with both. OS: Ubuntu 20.04.4 LTS RStudio Version: 2022.07.1 VS code Version: 1.70.1 **Console output when I want to Render the document:** (base) ..$ quarto preview quarto_test.qmd --to html --no-browser --no-watch-inputs Starting python3 kernel...Traceback (most recent call last): File "/opt/quarto/share/jupyter/jupyter.py", line 21, in <module> from notebook import notebook_execute, RestartKernel File "/opt/quarto/share/jupyter/notebook.py", line 16, in <module> import nbformat ModuleNotFoundError: No module named 'nbformat' **nbformat package in pip list:** - nbformat 5.4.0 **nbformat package in conda list:** - nbformat 5.4.0 pypi_0 pypi **qmd file content:** --- title: "Quarto test" author: "Andrés Silva" format: html jupyter: python3 --- ## Quarto Quarto enables you to weave together content and executable code into a finished docquartoument. To learn more about Quarto see <https://quarto.org>. ## Running Code When you click the **Render** button a document will be generated that includes both content and the output of embedded code. You can embed code like this: ```{python} 1 + 1 ``` You can add options to executable code like this ```{python} #| echo: false 2 * 2 ``` The `echo: false` option disables the printing of code (only output is displayed). ### `quarto check` Output [✓] Checking Quarto installation......OK Version: 1.0.38 Path: /opt/quarto/bin [✓] Checking basic markdown render....OK [✓] Checking Python 3 installation....OK Version: 3.9.5 (Conda) Path: /home/afsilvad/miniconda3/bin/python Jupyter: 4.10.0 Kernels: python3 [✓] Checking Jupyter engine render....OK [✓] Checking R installation...........OK Version: 4.2.1 Path: /usr/lib/R LibPaths: - /home/afsilvad/R/x86_64-pc-linux-gnu-library/4.2 - /usr/local/lib/R/site-library - /usr/lib/R/site-library - /usr/lib/R/library rmarkdown: 2.14 [✓] Checking Knitr engine render......OK ### `quarto tools check` Output Tool Status Installed Latest chromium Not installed --- 869685 tinytex Not installed --- v2022.08
{ "assignee": "jjallaire", "comments": 4, "created_at": "2022-08-16T15:22:05Z", "creator": "afsilvad", "is_pull_request": false, "labels": [ "bug" ], "locked": false, "milestone": "Future", "number": 1923, "state": "open", "title": "No module named 'nbformat'", "url": "https://github.com/quarto-dev/quarto-cli/issues/1923" }
### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1833 <div type='discussions-op-text'> <sup>Originally posted by **hardin47** August 11, 2022</sup> Is there any way to connect the logo in the navbar with a url? I'm thinking something like this: ``` website: navbar: title: "Website Title" logo: images/mylogo.png logo-href: some-url-to-go-to-when-clicking-on-logo ```</div>
{ "assignee": "dragonstyle", "comments": 2, "created_at": "2022-08-16T13:39:05Z", "creator": "jjallaire", "is_pull_request": false, "labels": [], "locked": false, "milestone": "v1.1", "number": 1922, "state": "closed", "title": "url associated with a logo in the navbar", "url": "https://github.com/quarto-dev/quarto-cli/issues/1922" }
This is more of help wanted. I have combed through the documentation but I cannot find the exact YAML syntax to generate an HTML without the headers. I want to generate standalone content that can be embedded into a parent HTML file which is not necessarily generated with quarto. Currently, I can generate and the file manipulates it into another file but I am looking at automation. Say I have a website in which I want to embed a quarto output. Thanks.
{ "assignee": "dragonstyle", "comments": 2, "created_at": "2022-08-16T13:16:56Z", "creator": "kwakuduahc1", "is_pull_request": false, "labels": [ "bug" ], "locked": false, "milestone": "v1.4", "number": 1921, "state": "open", "title": "Generate an HTML fragment (without headers) ", "url": "https://github.com/quarto-dev/quarto-cli/issues/1921" }
With big changes to Deno coming including node compatiblity and a new http server I'd like us to not fall too far behind. We have attempted to update to Deno 1.24.1 here: https://github.com/quarto-dev/quarto-cli/tree/feature/deno-1.24.1 All of this works great except that we see crashes on M1 macs! This happens during render so possibly related to deno_dom (which we also updated to v0.1.23). Note that disabling deno_dom FFI didn't resolve the crash so possibly also related to WASM. Anyway, we should once again try updating to 1.24.3. As our build has gotten more complicated (including updating the std library in two places and vendoring) it is less straightforward to do this update. As part of this work we should also create some documentation and perhaps additional documentation.
{ "assignee": "cscheid", "comments": 2, "created_at": "2022-08-16T11:47:32Z", "creator": "jjallaire", "is_pull_request": false, "labels": [], "locked": false, "milestone": "v1.2", "number": 1920, "state": "closed", "title": "update to deno 1.25.0", "url": "https://github.com/quarto-dev/quarto-cli/issues/1920" }
### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1910 <div type='discussions-op-text'> <sup>Originally posted by **pat-s** August 16, 2022</sup> Would be great if this would be customizable - AFAICS it is currently fixed > The toggle will automatically appear in the top right corner of your html output. https://quarto.org/docs/output-formats/html-themes.html#dark-mode</div>
{ "assignee": null, "comments": 0, "created_at": "2022-08-16T11:12:44Z", "creator": "jjallaire", "is_pull_request": false, "labels": [], "locked": false, "milestone": "Future", "number": 1918, "state": "open", "title": "Customizing position of light/dark mode toggle", "url": "https://github.com/quarto-dev/quarto-cli/issues/1918" }
### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1912 <div type='discussions-op-text'> <sup>Originally posted by **betweenwater** August 16, 2022</sup> Hello, I keep a journal of separate .md files, where the file name is just the creation date of each .md file. I just tested rendering it after using the `create-project <name> --type book` which is nice, but it doesn't look like wildcards can be used in the `chapters` option in the .yml file, akin to how it works for projects (see: https://quarto.org/docs/projects/quarto-projects.html#render-targets)? Since I don't keep a daily journal and I have a growing number of entries I'd like to avoid adding the chapters manually. Could wildcards be added or are there other ways to automatically identify all .md files in the book directory and render them?</div>
{ "assignee": "dragonstyle", "comments": 2, "created_at": "2022-08-16T11:11:49Z", "creator": "jjallaire", "is_pull_request": false, "labels": [ "books" ], "locked": false, "milestone": "v1.4", "number": 1917, "state": "open", "title": "ability to include wildcards when defining book chapter targest", "url": "https://github.com/quarto-dev/quarto-cli/issues/1917" }
### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1509 <div type='discussions-op-text'> <sup>Originally posted by **jmgirard** July 23, 2022</sup> Sometimes when I run `quarto publish gh-pages`, it hangs (i.e., gets stuck) on "Preparing worktree." * branch gh-pages -> FETCH_HEAD Rendering for publish: ... branch 'gh-pages' set up to track 'origin/gh-pages'. HEAD is now at 2054a64 Built site for gh-pages Preparing worktree (resetting branch 'gh-pages'; was at 2054a64) Any ideas how to troubleshoot, fix, or prevent this?</div>
{ "assignee": "cderv", "comments": 2, "created_at": "2022-08-16T11:10:50Z", "creator": "jjallaire", "is_pull_request": false, "labels": [], "locked": false, "milestone": "v1.2", "number": 1916, "state": "closed", "title": "Git hangs on preparing worktree", "url": "https://github.com/quarto-dev/quarto-cli/issues/1916" }
id like to try this but would like pypi pkg to install as a regular user in a linux env where i dont have privileges. any plans?
{ "assignee": "dragonstyle", "comments": 2, "created_at": "2022-08-16T01:18:07Z", "creator": "RHmilti", "is_pull_request": false, "labels": [], "locked": false, "milestone": "v1.1", "number": 1908, "state": "closed", "title": "building from scratch or using pypi to allow user installs", "url": "https://github.com/quarto-dev/quarto-cli/issues/1908" }
Not an issue per se; I'm wondering why the https://quarto.org/docs/publishing/github-pages.html site emphasizes `gh-pages` as the source branch. I understand nowadays you can publish from `main` the same way.
{ "assignee": "jjallaire", "comments": 5, "created_at": "2022-08-16T01:08:24Z", "creator": "statzhero", "is_pull_request": false, "labels": [], "locked": false, "milestone": "v1.1", "number": 1919, "state": "closed", "title": "Github pages", "url": "https://github.com/quarto-dev/quarto-cli/issues/1919" }
### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1904 <div type='discussions-op-text'> <sup>Originally posted by **RegalPlatypus** August 15, 2022</sup> When generating an HTML report I like to display graphs side by side using the ```layout-ncol``` argument. This often requires me to increased the column width using ```column: page``` or similar. When you scroll to that point, the toc hides ([as it should](https://quarto.org/docs/output-formats/html-basics.html#table-of-contents)). However the toc behavior is usually different once the autohide has been activated. In the given example (viewed in Chrome) the toc immediately re-hides as soon as a user scrolls up or down on the page. The title of the first chapter containing the first ```column: page``` argument remains forever blue as though it is the current section being viewed, regardless of whether or not that is true. In my actual report, all toc levels >1 collapse and will never expand again so that the ```toc-depth``` effectively becomes 1. *Note:* For the example below I had to remove the ticks before and after the plot code chunk. It didn't like having a code chunk within a code chunk. ``` --- title: "Example Report" author: "John Smith" date: "1/1/2023" format: html: toc: true toc-location: left anchor-sections: false number-sections: true smooth-scroll: true self-contained: true output-file: "example.html" --- # First Chapter Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. # Second Chapter ## First Sub. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Consectetur a erat nam at lectus urna duis. Ultricies tristique nulla aliquet enim tortor at auctor. Sapien nec sagittis aliquam malesuada bibendum. Nisi scelerisque eu ultrices vitae. ## Second Sub. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Tellus elementum sagittis vitae et leo duis ut. Pharetra magna ac placerat vestibulum. Ac feugiat sed lectus vestibulum mattis ullamcorper. Mattis aliquam faucibus purus in massa. Lacus laoreet non curabitur gravida. Ac tortor dignissim convallis aenean et tortor at risus viverra. ```{r} #| label: fig-demo #| fig-cap: "&nbsp;" #| fig-subcap: #| - "&nbsp;" #| - "&nbsp;" #| layout-ncol: 2 #| column: page #| echo: false plot(x = 1, y = 1) plot(x = 2, y = 2)``` ## Third Sub. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Aliquam vestibulum morbi blandit cursus risus at ultrices mi. Elit at imperdiet dui accumsan sit. # Third Chapter Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Tristique sollicitudin nibh sit amet commodo. Sit amet dictum sit amet justo donec enim diam. Tortor condimentum lacinia quis vel eros. Mi eget mauris pharetra et ultrices neque ornare aenean euismod. Pharetra sit amet aliquam id. Sed blandit libero volutpat sed cras ornare arcu. Elit pellentesque habitant morbi tristique. Et tortor consequat id porta nibh venenatis. Quis auctor elit sed vulputate mi. Enim neque volutpat ac tincidunt vitae semper quis lectus. Purus non enim praesent elementum facilisis leo. Dui faucibus in ornare quam. Euismod in pellentesque massa placerat duis ultricies lacus. Nunc aliquet bibendum enim facilisis gravida neque. Posuere ac ut consequat semper. Ipsum dolor sit amet consectetur adipiscing elit pellentesque habitant morbi. Pretium quam vulputate dignissim suspendisse in est ante. Egestas pretium aenean pharetra magna ac placerat vestibulum. Sed blandit libero volutpat sed. Lectus urna duis convallis convallis tellus id interdum. Egestas quis ipsum suspendisse ultrices gravida dictum fusce. Luctus venenatis lectus magna fringilla. Cras ornare arcu dui vivamus. In iaculis nunc sed augue lacus. Non diam phasellus vestibulum lorem sed risus ultricies tristique nulla. Sit amet commodo nulla facilisi nullam vehicula ipsum a arcu. Urna et pharetra pharetra massa massa ultricies mi quis. Egestas purus viverra accumsan in nisl nisi scelerisque. Ipsum a arcu cursus vitae congue mauris rhoncus aenean. Vitae aliquet nec ullamcorper sit amet risus. Bibendum arcu vitae elementum curabitur vitae nunc sed. # Fourth Chapter Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Iaculis at erat pellentesque adipiscing commodo. Sed egestas egestas fringilla phasellus faucibus scelerisque. Egestas sed sed risus pretium quam vulputate dignissim. Imperdiet proin fermentum leo vel orci porta non pulvinar. Amet luctus venenatis lectus magna. Non odio euismod lacinia at quis risus sed. Ipsum faucibus vitae aliquet nec ullamcorper sit. Leo vel fringilla est ullamcorper eget nulla facilisi etiam dignissim. In ante metus dictum at tempor commodo ullamcorper a. Fermentum et sollicitudin ac orci phasellus egestas tellus rutrum tellus. Vehicula ipsum a arcu cursus vitae. Molestie ac feugiat sed lectus vestibulum mattis ullamcorper velit sed. Ante in nibh mauris cursus mattis. Enim nulla aliquet porttitor lacus luctus accumsan tortor posuere ac. Nisl nunc mi ipsum faucibus vitae aliquet nec. Vestibulum mattis ullamcorper velit sed. Erat pellentesque adipiscing commodo elit at imperdiet dui accumsan. Diam volutpat commodo sed egestas egestas fringilla phasellus. Mattis vulputate enim nulla aliquet porttitor lacus luctus. Massa tincidunt nunc pulvinar sapien et ligula. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Magna ac placerat vestibulum lectus mauris ultrices eros. Massa vitae tortor condimentum lacinia quis vel eros. In est ante in nibh mauris cursus mattis molestie a. Diam sollicitudin tempor id eu nisl. Lorem ipsum dolor sit amet consectetur adipiscing. Suspendisse potenti nullam ac tortor vitae purus faucibus. Ipsum dolor sit amet consectetur. Iaculis at erat pellentesque adipiscing commodo elit at. Ac auctor augue mauris augue. Condimentum vitae sapien pellentesque habitant morbi. Gravida quis blandit turpis cursus in hac. Maecenas volutpat blandit aliquam etiam erat velit scelerisque. Sollicitudin nibh sit amet commodo nulla facilisi. Adipiscing diam donec adipiscing tristique risus nec feugiat in fermentum. Aliquam eleifend mi in nulla posuere sollicitudin aliquam ultrices sagittis. Sed risus ultricies tristique nulla aliquet enim tortor at auctor. Id faucibus nisl tincidunt eget nullam. Ipsum dolor sit amet consectetur. Egestas sed sed risus pretium quam vulputate dignissim suspendisse. Quis vel eros donec ac odio tempor orci. Nibh sed pulvinar proin gravida hendrerit. ``` </div>
{ "assignee": "dragonstyle", "comments": 4, "created_at": "2022-08-15T20:46:00Z", "creator": "RegalPlatypus", "is_pull_request": false, "labels": [], "locked": false, "milestone": "v1.1", "number": 1905, "state": "closed", "title": "Strange TOC behavior after autohiding.", "url": "https://github.com/quarto-dev/quarto-cli/issues/1905" }
I'm trying to use [include](https://quarto.org/docs/authoring/includes.html) to allow re-use of custom created functions across multiple bookchapters. When doing so I encountered multiple unexpected behaviors which I will describe below. Please note: I realize an easy solution to the problem is to include an codeblock where the file is sourced. Neverthless I wasn't sure whether the behaviors were known, expected, and/or desired. 1. The included file must be stored in the same directory as the to-be-rendered file. I'm working on a book where I have the toplevel files (e.g., `_quarto.yml`; `_functions.R`). I then have each bookchapter stored in a folder called `chapters`. When I want to include (`_functions.R`) in a bookchapter (e.g., `chapters/intro.qmd`) an error occurs when redering: `ERROR: Include directive failed.` If I place the `_functions.R` file also in the `chapters` folder this issue no longer occurs. 2. Including an `.R` file shows the script as regular text instead of executing code Upon re-reading the documentation this is expected behavior as only `.qmd` and `.md` files are mentioned as suited. However, I somehow expected that you could also include normal .R code - which perhaps others might expect as well.
{ "assignee": null, "comments": 2, "created_at": "2022-08-15T19:52:07Z", "creator": "SHogenboom", "is_pull_request": false, "labels": [], "locked": false, "milestone": null, "number": 1903, "state": "closed", "title": "Unexpected Include Behavior", "url": "https://github.com/quarto-dev/quarto-cli/issues/1903" }
### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1897 <div type='discussions-op-text'> <sup>Originally posted by **hardin47** August 15, 2022</sup> it seems that when i change the format from `html` to `revealjs`, the enumeration changes. in fact, with `revealjs`, I can't figure out the correct markdown to get the second layer of enumeration to be letters instead of numbers. is there a magic indent that I'm missing? can anyone help me get letters in the `revealjs` enumeration? ``` --- title: "clicker" format: revealjs: footnotes-hover: true --- <!-- the two formats are html and revealjs --> # Clicker Q to go with **Probability & Statistics** by DeGroot and Schervish. Math 152 - Statistical Theory. --- 1. The Central Limit Theorem (CLT) says:[^1] a. The sample average (statistic) converges to the true average (parameter) b. The sample average (statistic) converges to some pont c. The distribution of the sample average (statistic) converges to a normal distribution d. The distribution of the sample average (statistic) converges to some distribution e. I have no idea what the CLT says [^1]: c. The distribution of the sample average (statistic) converges to a normal distribution --- 2. Which cab company was involved?[^2] ... ``` `revealjs` rendering: ![image](https://user-images.githubusercontent.com/7210585/184690713-d295a09c-7ae5-4db7-8581-0e2420407274.png) `html` rendering: ![image](https://user-images.githubusercontent.com/7210585/184690842-25d4d3d1-5fcb-4dfa-8e9b-511f429a47d9.png) </div>
{ "assignee": "cscheid", "comments": 7, "created_at": "2022-08-15T19:35:49Z", "creator": "jjallaire", "is_pull_request": false, "labels": [ "bug" ], "locked": false, "milestone": "v1.1", "number": 1902, "state": "closed", "title": "enumeration in html vs revealjs", "url": "https://github.com/quarto-dev/quarto-cli/issues/1902" }
### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1895 <div type='discussions-op-text'> <sup>Originally posted by **hardin47** August 15, 2022</sup> Is there a way to create a popover option with a footnote? That is, instead of having the footnote at the end of the document, I'd like it to show up when you click on the footnote. and in case i'm not asking for enough, i'd really like the same behavior when using both html and revealjs formats. thank you!!</div>
{ "assignee": "jjallaire", "comments": 1, "created_at": "2022-08-15T18:52:26Z", "creator": "jjallaire", "is_pull_request": false, "labels": [], "locked": false, "milestone": "v1.1", "number": 1901, "state": "closed", "title": "footnote with popover", "url": "https://github.com/quarto-dev/quarto-cli/issues/1901" }
Provided terminal command at https://quarto.org/docs/output-formats/pdf-engine.html is `quarto install tools tinytex` while correct command is `quarto tools install tinytex`.
{ "assignee": null, "comments": 1, "created_at": "2022-08-15T17:56:19Z", "creator": "halidaee", "is_pull_request": false, "labels": [ "websites" ], "locked": false, "milestone": null, "number": 1900, "state": "closed", "title": "Documentation on installing tinytex is incorrect", "url": "https://github.com/quarto-dev/quarto-cli/issues/1900" }
If you are interested, for this section of the gallery: https://quarto.org/docs/gallery/#books I created pandoc templates (for `template-partials: `) and instructions for including custom title page designs for PDF output. Doesn't use any special LaTeX packages or anything so should be quite robust to different engines and document classes. This is useful for anyone who creates books with Quarto and needs the PDF to have a highly customized title page. https://nmfs-opensci.github.io/quarto_titlepages/ example title page ![image](https://user-images.githubusercontent.com/2545978/184680824-8e14145c-ecb3-40f5-b653-808745a53256.png)
{ "assignee": "jjallaire", "comments": 3, "created_at": "2022-08-15T17:02:54Z", "creator": "eeholmes", "is_pull_request": false, "labels": [ "enhancement", "websites" ], "locked": false, "milestone": "v1.1", "number": 1894, "state": "closed", "title": "Another example for the Quarto gallery (title pages for pdfs)", "url": "https://github.com/quarto-dev/quarto-cli/issues/1894" }
### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1682 <div type='discussions-op-text'> <sup>Originally posted by **stuvjordan-uroc** August 4, 2022</sup> I'm wanting to include some Observable charts in a website I'm building with Quarto. I'd like these charts to include nicely-typeset math, and for that purpose I'm wanting to use MathJax's `tex2svg` function in the source code. Relative to other math typesetting solutions one can use in Observable, `tex2svg` is nice because it outputs pure SVG paths...Thus they scale as the svg containing them is resized without any additional code, so the math looks great on every screen size. I'm running into this **very** weird difference in the result of a call to `require` when that call is made in an Observable Notebook, as opposed to when I make it in an `ojs` cell in a Quarto sourcefile. First, let's look at what happens when we require `tex2svg` in an Observable Notebook. You can see the results in [this notebook](https://observablehq.com/@stuvjordan/requiring-mathjax-tex2svg). Open up the object in the first cell after the title and notice the full list of methods that the object returned by the call to `require` includes. Notice the list includes the method `.tex2svg`, which is the function I need. Below is a screenshot. You'll see `tex2svg` as the fourth method from the bottom. ![image](https://user-images.githubusercontent.com/78857503/182877558-aec76537-8983-4f36-876a-8053401248f8.png) OK, great, so we can use `tex2svg` in an Observable notebook! But what happens when we do the same call to `require` in an `ojs` cell in a `.qmd` file? Here are two cells from my current `.qmd` source: ```{ojs} //| output: true MathJax = require('https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js').catch( () => window['MathJax'] ) ``` ```{ojs} MathJax ``` Here's a screenshot of the output from the second of the above two `ojs` cells when I render/preview the sourcefile: ![image](https://user-images.githubusercontent.com/78857503/182878897-538a83da-691c-47be-b621-d7935ada8515.png) **Notice that the list of methods does not include `tex2svg`!!!!** As a result, when I do something like ```{ojs} MathJax.tex2svg( String.raw`\int_0^1 \exp(x)dx` ); ``` In the quarto sourcefile, the output on render/preview is: ![image](https://user-images.githubusercontent.com/78857503/182879785-70a332fe-3e53-488f-8d99-a671d42624b7.png) I'm kind of amazed by this. Help?</div>
{ "assignee": "cscheid", "comments": 4, "created_at": "2022-08-15T16:53:45Z", "creator": "jjallaire", "is_pull_request": false, "labels": [], "locked": false, "milestone": "v1.1", "number": 1893, "state": "closed", "title": "require-ing MathJax fully working in Observerable notebook, but NOT in Quarto ojs cell", "url": "https://github.com/quarto-dev/quarto-cli/issues/1893" }
### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1756 <div type='discussions-op-text'> <sup>Originally posted by **baptiste** August 9, 2022</sup> Is there a way to get more information on the commands that are run by quarto? Specifically, with the previous Rmarkdown workflow I could see exactly what commands were passed to pandoc, which helped a bit debug individual steps in the toolchain (is it a Yaml option passed incorrectly? Is it a pandoc issue? Is it something that knitr produced? etc.) As a specific example, I'm struggling to set the size of an image and keep the aspect ratio, for latex output. I suspect a combination of pandoc and quarto, but it's hard to tell what's happening. > `![](penguins){width=100%}` gives me > `\includegraphics[width=1\textwidth,height=\textheight]{penguins.pdf}` (and a stretched image) while > `![](penguins){width=100%,keepaspectratio}` produces > `\includegraphics{penguins.pdf}` (this is mostly for the sake of concrete illustration, I'm also interested in the general toolchain debugging question)</div>
{ "assignee": "jjallaire", "comments": 1, "created_at": "2022-08-15T15:53:37Z", "creator": "jjallaire", "is_pull_request": false, "labels": [], "locked": false, "milestone": "Future", "number": 1892, "state": "open", "title": "Debug/see individual steps in yaml-knitr-pandoc-lua-tex toolchain", "url": "https://github.com/quarto-dev/quarto-cli/issues/1892" }
[Jamstack.org](https://jamstack.org/generators/) maintain a list of static site generators, could Quarto be added to the list?
{ "assignee": null, "comments": 4, "created_at": "2022-08-15T14:46:29Z", "creator": "a2k42", "is_pull_request": false, "labels": [], "locked": false, "milestone": "Future", "number": 1891, "state": "closed", "title": "Suggestion: List Quarto on Jamstack", "url": "https://github.com/quarto-dev/quarto-cli/issues/1891" }
We should make it very clear on the installation page how to install if you are non root. This might be invoking the .deb in a fashion that installs into a user context (not sure if that is even possible) or alternatively documenting how to do download and extract the tarball and arrange for quarto to be on the path.
{ "assignee": "dragonstyle", "comments": 2, "created_at": "2022-08-15T13:40:24Z", "creator": "jjallaire", "is_pull_request": false, "labels": [ "documentation" ], "locked": false, "milestone": "v1.2", "number": 1890, "state": "closed", "title": "non-root installation of quarto on linux systems", "url": "https://github.com/quarto-dev/quarto-cli/issues/1890" }
### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1888 <div type='discussions-op-text'> <sup>Originally posted by **jpmorr** August 15, 2022</sup> Typically when I use latex for creating documents like books/reports I would set a different page number format for frontmatter and the main contents (e.g. Preface would be on page (i), List of Figures on page (ii), etc, while Chapter 1 would start on page 1). How do you achieve this affect when using `quarto` to render to pdf? In `latex` it's simply a case of adding `\pagenumbering{roman}`or `\pagenumbering{arabic}` before each section begins? Is this a `pandoc` limitation? I've noticed the ToC, ToF are already using roman numerals (but don't start at (i) as the cover page and cover back are numbered) but the preface then starts at 1. </div>
{ "assignee": "cscheid", "comments": 3, "created_at": "2022-08-15T12:25:14Z", "creator": "jjallaire", "is_pull_request": false, "labels": [ "crossref" ], "locked": false, "milestone": "v1.4", "number": 1889, "state": "open", "title": "Book PDF section numbering format", "url": "https://github.com/quarto-dev/quarto-cli/issues/1889" }
### Bug description Given a yml header ```yml test: var1: true var2: false var3: hello ``` and a shortcode making use of the `meta` variable (https://quarto.org/docs/extensions/shortcodes.html#example-metadata-options): ```lua quarto.utils.dump(meta['test.var1']) quarto.utils.dump(meta['test.var2']) quarto.utils.dump(meta['test.var3']) if meta['test.var2'] then quarto.utils.dump('this should not print') end ``` Results in ``` 1: Str "nil" 1: Str "nil" 1: Str "hello" this should not print ``` ### `quarto check` Output I'm on `commit ca55431fb3e417162025192b5252b7968fd1773e` ```bash [✓] Checking Quarto installation......OK Version: 99.9.9 Path: /home/jannik/sw/quarto-cli/package/dist/bin [✓] Checking basic markdown render....OK [✓] Checking Python 3 installation....OK Version: 3.10.4 Path: /usr/bin/python3 Jupyter: 4.11.1 Kernels: python3 [✓] Checking Jupyter engine render....OK [✓] Checking R installation...........OK Version: 4.2.1 Path: /usr/lib/R LibPaths: - /home/jannik/R/x86_64-pc-linux-gnu-library/4.2 - /usr/local/lib/R/site-library - /usr/lib/R/site-library - /usr/lib/R/library rmarkdown: 2.14 [✓] Checking Knitr engine render......OK ``` ### `quarto tools check` Output ```bash (|) Inspecting toolsCheck file:///home/jannik/sw/quarto-cli/src/resources/vendor/deno-land/x/puppeteer@9-0-2/mod.ts [✓] Inspecting tools Tool Status Installed Latest chromium Not installed --- 869685 tinytex Not installed v2022.05 v2022.08 ``` ### Checklist - [X] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read? - [X] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue. - [X] documented the quarto version you're running, by pasting the output from running `quarto check` in the "Quarto Check Output" text area? - [X] documented the version of the quarto tools you're running, by providing the output from running `quarto tools check` in the "Quarto Tools Check Output" text area? - [X] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog? - [X] documented which operating system you're running? If on Linux, please provide the specific distribution as well. - [X] upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?
{ "assignee": null, "comments": 1, "created_at": "2022-08-15T11:02:27Z", "creator": "jmbuhr", "is_pull_request": false, "labels": [ "bug" ], "locked": false, "milestone": null, "number": 1887, "state": "closed", "title": "booleans in `meta` variable for lua filters end up as `Str \"nil\"`", "url": "https://github.com/quarto-dev/quarto-cli/issues/1887" }
Thanks a lot for the truly great work!! I recently (JuliaCon 2022) heard about Quarto, and I'm migrating to use it for presentations (for the time being). I'd like to suggest (to have the possibility) to change the cursor in a revealjs presentation, from the usual one (e.g., a black arrow) to something looking like a red/green laser pointer. It would be something similar like changing the cursor (in the canvas notes mode) but for a fixed-color shiny laser dot.
{ "assignee": "dragonstyle", "comments": 3, "created_at": "2022-08-14T23:13:11Z", "creator": "lbenet", "is_pull_request": false, "labels": [], "locked": false, "milestone": "v1.2", "number": 1886, "state": "closed", "title": "Red/green laser pointer for revealjs", "url": "https://github.com/quarto-dev/quarto-cli/issues/1886" }
### Bug description quarto publish gh-pages doesn't respect `site-url` for RSS feeds. This seems to contradict the [documentation](https://quarto.org/docs/websites/website-listings.html#feeds) which says that "Generating feeds requires that the site-url be set for the site in your _quarto.yml file." It automatically seems to set the feed url as the url of the GitHub pages, even if it is specified in `_quarto.yml`. This breaks cases where the GitHub Pages uses a [custom domain](https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/about-custom-domains-and-github-pages). As a workaround, I currently run quarto publish without rendering which seems to work. ```console quarto render quarto publish gh-pages --no-render ``` ```console (blog) kjelljorner@mba-m1-kjell-jorner blog % sw_vers ProductName: macOS ProductVersion: 12.4 BuildVersion: 21F79 ``` ### `quarto check` Output ```bash [✓] Checking Quarto installation......OK Version: 1.0.38 Path: /Applications/quarto/bin [✓] Checking basic markdown render....OK [✓] Checking Python 3 installation....OK Version: 3.9.13 (Conda) Path: /opt/homebrew/Caskroom/mambaforge/base/envs/blog/bin/python Jupyter: 4.11.1 Kernels: python3 [✓] Checking Jupyter engine render....OK (/) Checking R installation...........During startup - Warning messages: 1: Setting LC_CTYPE failed, using "C" 2: Setting LC_COLLATE failed, using "C" 3: Setting LC_TIME failed, using "C" 4: Setting LC_MESSAGES failed, using "C" 5: Setting LC_MONETARY failed, using "C" [✓] Checking R installation...........OK Version: 4.2.1 Path: /opt/homebrew/Cellar/r/4.2.1/lib/R LibPaths: - /opt/homebrew/lib/R/4.2/site-library - /opt/homebrew/Cellar/r/4.2.1/lib/R/library rmarkdown: (None) The rmarkdown package is not available in this R installation. Install with install.packages("rmarkdown") ``` ### `quarto tools check` Output ```bash [✓] Inspecting tools Tool Status Installed Latest chromium Not installed --- 869685 tinytex Not installed --- v2022.08 ``` ### Checklist - [X] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read? - [ ] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue. - [X] documented the quarto version you're running, by pasting the output from running `quarto check` in the "Quarto Check Output" text area? - [X] documented the version of the quarto tools you're running, by providing the output from running `quarto tools check` in the "Quarto Tools Check Output" text area? - [ ] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog? - [ ] documented which operating system you're running? If on Linux, please provide the specific distribution as well. - [X] upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?
{ "assignee": null, "comments": 3, "created_at": "2022-08-14T20:00:04Z", "creator": "kjelljorner", "is_pull_request": false, "labels": [ "bug" ], "locked": false, "milestone": null, "number": 1885, "state": "closed", "title": "quarto publish gh-pages doesn't respect site-url for RSS feeds", "url": "https://github.com/quarto-dev/quarto-cli/issues/1885" }
### Bug description I've been using Python on my website, but I recently added Julia too. On my CI, this works fine. On local MacOS, this fails due to an error shown with `quarto check` (shown below). I have Julia 1.7 installed, and I've installed `IJulia`. My operating system is MacOs 12.5. - Website Source: https://github.com/cadojo/aperiodic ### `quarto check` Output ``` ➜ quarto check [✓] Checking Quarto installation......OK Version: 1.0.38 Path: /Applications/quarto/bin [✓] Checking basic markdown render....OK [✓] Checking Python 3 installation....OK Version: 3.10.6 Path: /opt/homebrew/opt/[email protected]/bin/python3.10 Jupyter: 4.11.1 Kernels: julia-1.7 [✓] Checking Jupyter engine render....OK ERROR: Invalid jupyter YAML metadata found in file (must be string or object) ``` ### `quarto tools check` Output ``` quarto tools check [✓] Inspecting tools Tool Status Installed Latest chromium Not installed --- 869685 tinytex Not installed --- v2022.08 ``` ### Checklist - [X] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read? - [x] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue. - [X] documented the quarto version you're running, by pasting the output from running `quarto check` in the "Quarto Check Output" text area? - [X] documented the version of the quarto tools you're running, by providing the output from running `quarto tools check` in the "Quarto Tools Check Output" text area? - [x] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog? - [X] documented which operating system you're running? If on Linux, please provide the specific distribution as well. - [x] upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?
{ "assignee": "jjallaire", "comments": 9, "created_at": "2022-08-14T19:32:53Z", "creator": "cadojo", "is_pull_request": false, "labels": [ "bug" ], "locked": false, "milestone": "v1.1", "number": 1884, "state": "closed", "title": "Invalid (Julia) jupyter YAML data found in file", "url": "https://github.com/quarto-dev/quarto-cli/issues/1884" }
### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1802 <div type='discussions-op-text'> <sup>Originally posted by **dtremblay-sher** August 10, 2022</sup> I would like my document's date to be effectively the equivalent of quarto's new "now" keyword. The problem is that the remote system on which I use quarto has its system time set as UTC +0, but I am in a different timezone. In rmarkdown, you can do something like: ```date: "`r format(Sys.time(), '%Y-%m-%d %H:%M', tz='America/New_York')`"``` which would convert the time appropriately. I see options in date-format to show the system's timezone, but none that would perform timezone conversion. I found this discussion in my search (https://github.com/quarto-dev/quarto-cli/discussions/452) but it appears that OPs question was answered with the addition of the "now" keyword. Any ideas? Thanks!</div>
{ "assignee": "dragonstyle", "comments": 0, "created_at": "2022-08-14T16:20:24Z", "creator": "jjallaire", "is_pull_request": false, "labels": [ "enhancement" ], "locked": false, "milestone": "v1.4", "number": 1870, "state": "open", "title": "Calculating timezone offset in YAML date field", "url": "https://github.com/quarto-dev/quarto-cli/issues/1870" }
### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1817 <div type='discussions-op-text'> <sup>Originally posted by **jpmorr** August 11, 2022</sup> When dealing with a single image it's quite simple to vary the image width in the standard markup: ```md ![Nice picture](image.jpg){#fig-img1 width=60%} ``` I'd like to do something similar when using a subfigure to have a little more fine gained control over some I'll fitting figures generated elsewhere. ```md ::: {#fig-specimen_comp layout-ncol=2} ![Nice picture](image.jpg){#fig-img1 width=60%} ![Nice picture2](image2.jpg){#fig-img2} Comparison between two samples ::: ``` However, I've noticed that the width attribute is completely ignored in the subfigure, setting to 10% or 90% does not change the size of the subfigure. I don't want to change the width of the column as the caption text should be equal width in this case. Is it possible to change the width of the figure, much like in `latex` you can set a figure to be `[width=0.75\textwidth]`? Obvious solution is to make a copy of the figure I want to resize and crop it to fit better, but I like the `latex` solution of just changing the size.</div>
{ "assignee": "dragonstyle", "comments": 0, "created_at": "2022-08-14T16:18:41Z", "creator": "jjallaire", "is_pull_request": false, "labels": [ "enhancement" ], "locked": false, "milestone": "v1.4", "number": 1869, "state": "open", "title": "Varying subfigure width", "url": "https://github.com/quarto-dev/quarto-cli/issues/1869" }
How can I export to PDF a slide deck that has been annotated with the chalkboard pen tool? I followed the instructions to print to PDF using Chrome as described in the [Guide](https://quarto.org/docs/presentations/revealjs/presenting.html#print-to-pdf). Here is a test annotation on the Quarto Demo Deck title slide: <img width="1246" alt="screenshot-1" src="https://user-images.githubusercontent.com/11779314/184544535-8de8bab4-0099-4dab-8050-fbb2c5c0eebd.png"> Here what I get when attempting to print to PDF in Chrome: <img width="998" alt="screenshot-2" src="https://user-images.githubusercontent.com/11779314/184544575-e8de2e90-6537-483e-ad75-71cf971dc369.png"> It would seem that the annotation is being handled properly, but not the slide contents themselves. Any suggestions?
{ "assignee": "jjallaire", "comments": 12, "created_at": "2022-08-14T14:41:06Z", "creator": "paul-sheridan", "is_pull_request": false, "labels": [], "locked": false, "milestone": "v1.1", "number": 1868, "state": "closed", "title": "Export Annotated Slide Deck to PDF", "url": "https://github.com/quarto-dev/quarto-cli/issues/1868" }
### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1859 <div type='discussions-op-text'> <sup>Originally posted by **ea42gh** August 13, 2022</sup> Anybody here know a quick workaround to get this to work? (I did submit an issue in quarto-python) ```` --- title: "Quarto Basics" format: html: code-fold: true jupyter: python3 --- ```{python} #| label: holoviews #| fig-cap: "Holoviews plot" import numpy as np import holoviews as hv; hv.extension('bokeh', logo=False); r = np.arange(0, 2, 0.01) theta = 4 * np.pi * r hv.Curve((theta,r)) ``` ````
{ "assignee": "jjallaire", "comments": 5, "created_at": "2022-08-14T14:35:44Z", "creator": "jjallaire", "is_pull_request": false, "labels": [], "locked": false, "milestone": "v1.1", "number": 1867, "state": "closed", "title": "include output from pyviz visualization stack", "url": "https://github.com/quarto-dev/quarto-cli/issues/1867" }
### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1864 <div type='discussions-op-text'> <sup>Originally posted by **stuvjordan-uroc** August 14, 2022</sup> Hi! In one of the source files for a quarto website I'm building, I'd like to display a chart I'm importing from an Observable notebook in two different places. So, the source file first has an import statement: ```{ojs} import { commentChart } from '@stuvjordan/lesson-1' ``` then a cell showing the chart: ```{ojs} commentChart ``` and then, later in the document, a cell showing the chart again: ```{ojs} commentChart ``` (The notebook the chart is being imported from is public, so you can try all the above yourself.) This bonks when I render the sourcefile. The chart displays as it should at the second of the two code blocks. But the first codeblock outputs the raw javascript object containing the chart like this: ![image](https://user-images.githubusercontent.com/78857503/184540949-410752f2-7732-4aba-9097-b453f7de35df.png) Is this a bug? Or is there a gotcha I missed in Quarto's or Observable's documentation about how to display the same chart twice in a single file? Thanks!</div>
{ "assignee": "cscheid", "comments": 2, "created_at": "2022-08-14T14:27:29Z", "creator": "jjallaire", "is_pull_request": false, "labels": [ "invalid" ], "locked": false, "milestone": "v1.2", "number": 1865, "state": "closed", "title": "displaying a chart imported from observable twice in the same document", "url": "https://github.com/quarto-dev/quarto-cli/issues/1865" }
Hello! I am a new Quarto user and am trying to follow the tutorial. When I get to the code-fold option, I run into the following error: I'm not sure, what I'm doing wrong. I think I am following the example exactly. Thanks! Validation of YAML front matter failed. In file computations.qmd (line 4, columns 3--7) Key html has empty value but it must instead be an object 3: format: 4: html: 5: code-fold: true In file computations.qmd (line 5, columns 14--17) Key format has value true, which must be no possible value 4: html: 5: code-fold: true ~~~ 6: --- Render failed due to invalid YAML.
{ "assignee": null, "comments": 3, "created_at": "2022-08-14T10:09:55Z", "creator": "annier01", "is_pull_request": false, "labels": [], "locked": false, "milestone": null, "number": 1861, "state": "closed", "title": "Quarto -Tutorial Error on Code-Fold", "url": "https://github.com/quarto-dev/quarto-cli/issues/1861" }
When I create a title block banner, the banner is hidden on mobile when the page is too narrow. This happens even when `navbar: collapse: false`. Is there any way to change this? * Example Site: https://aperiodic.dev/blog/posts/jpl-horizons-scripts * Site Source: https://github.com/cadojo/aperiodic
{ "assignee": null, "comments": 1, "created_at": "2022-08-14T03:33:40Z", "creator": "cadojo", "is_pull_request": false, "labels": [], "locked": false, "milestone": "v1.1", "number": 1862, "state": "closed", "title": "Title block banners are hidden on mobile", "url": "https://github.com/quarto-dev/quarto-cli/issues/1862" }
I've been trying to get code chunk cache invalidation to work based on a global variable (which will eventually be a string with a `digest` hash of several my data set. For now, I would be content with the following. In code chunk 1, I set `my_variable`: ```r my_variable <- "a" ``` Then in code chunk B, I do a plot, that gets cached, unless I change the value of `my_variable` in code chunk 1: ```r #| cache: true #| cache-vars: my_variable #| cache-globals: my_variable #| autodep: true ggplot(...) ```` I've been trying around various combination of the chunk settings using the new Quarto syntax. But none of the combinations seems to trigger a refresh of the cached chunk. An immediate solution would be to have an example here, but even better would be if the documentation (for example at https://quarto.org/docs/reference/cells/cells-knitr.html#cache ) could be a bit clearer on how to achieve this.
{ "assignee": "cderv", "comments": 7, "created_at": "2022-08-13T19:19:51Z", "creator": "torfason", "is_pull_request": false, "labels": [ "documentation" ], "locked": false, "milestone": "Future", "number": 1872, "state": "open", "title": "Provide examples of chunk cache invalidation", "url": "https://github.com/quarto-dev/quarto-cli/issues/1872" }
### Bug description On Windows 11 If I run (from Windows PowerShell in RStudio IDE 2022.07.1) `quarto publish gh-pages` when I have not set `gh-pages` as the publishing source of my GitHub repo, it hangs, waiting for a deployment that would never happen: ```bash [>] Deploying gh-pages branch to website (this may take a few minutes) ``` While it is still hanging, if I go to my GitHub repo and set `gh-pages` as the publishing source, Quarto will resume as soon as GitHub deploys the site, saying: ```bash [>] Published to ... ``` I suggest to remind the user to set `gh-pages` as the publishing source, for example if after some time Quarto doesn't detect a successful deployment, it should prompt the user to check if `gh-pages` is set as the publishing source. ### `quarto check` Output ```bash [>] Checking Quarto installation......OK Version: 1.0.36 Path: C:\Program Files\RStudio\bin\quarto\bin\ CodePage: 1252 [>] Checking basic markdown render....OK [>] Checking Python 3 installation....OK Version: 3.10.6 Path: C:/Users/Luca/AppData/Local/Microsoft/WindowsApps/PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0/python.exe Jupyter: (None) Jupyter is not available in this Python installation. Install with python -m pip install jupyter [>] Checking R installation...........OK Version: 4.2.1 Path: C:/PROGRA~1/R/R-42~1.1 LibPaths: - C:/Users/Luca/R/win-library/4.2 - C:/Program Files/R/R-4.2.1/library rmarkdown: 2.13 [>] Checking Knitr engine render......OK ``` ### `quarto tools check` Output ```bash [>] Inspecting tools Tool Status Installed Latest chromium Not installed --- 869685 tinytex External Installation --- v2022.08 ```
{ "assignee": null, "comments": 3, "created_at": "2022-08-13T18:49:33Z", "creator": "fornaeffe", "is_pull_request": false, "labels": [ "bug" ], "locked": false, "milestone": null, "number": 1860, "state": "closed", "title": "`quarto publish gh-pages` hangs if `gh-pages` branch is not the publishing source", "url": "https://github.com/quarto-dev/quarto-cli/issues/1860" }
### Bug description Consider the following minimal working example: `````` --- title: "MWE" --- Text ${foo} text ```{ojs} #| echo: false foo = "bar"; ``` `````` it raises ``` OJS parsing failed on line 6, column 1 SyntaxError: Unexpected character '#' ----- OJS Source: #| echo: false ^ foo = "bar"; ----- ``` If I add `engine: knitr` to the YAML header the example works. ### `quarto check` Output ``` [✓] Checking Quarto installation......OK Version: 1.1.63 Path: /opt/quarto/bin [✓] Checking basic markdown render....OK [✓] Checking Python 3 installation....(None) Unable to locate an installed version of Python 3. Install Python 3 from https://www.python.org/downloads/ [✓] Checking R installation...........(None) Unable to locate an installed version of R. Install R from https://cloud.r-project.org/ ``` ### `quarto tools check` Output ``` [✓] Inspecting tools Tool Status Installed Latest chromium Not installed --- 869685 tinytex Not installed --- v2022.08 ``` ### Checklist - [X] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read? - [X] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue. - [X] documented the quarto version you're running, by pasting the output from running `quarto check` in the "Quarto Check Output" text area? - [X] documented the version of the quarto tools you're running, by providing the output from running `quarto tools check` in the "Quarto Tools Check Output" text area? - [X] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog? - [X] documented which operating system you're running? If on Linux, please provide the specific distribution as well. - [X] upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?
{ "assignee": "cscheid", "comments": 4, "created_at": "2022-08-13T10:01:52Z", "creator": "rgaiacs", "is_pull_request": false, "labels": [ "bug" ], "locked": false, "milestone": "v1.2", "number": 1856, "state": "closed", "title": "Observable raises \"SyntaxError: Unexpected character\" for execution options", "url": "https://github.com/quarto-dev/quarto-cli/issues/1856" }
### Bug description I was trying to migrate my rbind site to Quarto. But, it seems the custom domain site uses wrong CSS. * wrong: https://yutani.rbind.io/ ![image](https://user-images.githubusercontent.com/1978793/184478561-13734d34-7467-4636-9f28-4b9c37ea52ec.png) * expected: https://ephemeral-salmiakki-4715d0.netlify.app/ ![image](https://user-images.githubusercontent.com/1978793/184478569-d8e6fe95-2bee-4b94-a4fc-c3a2d6f5bcf9.png) It seems the difference comes from these lines: ``` html <link data-mode='light' href='https://d33wubrfki0l68.cloudfront.net/css/30c383ef0355d535c8656e8fba516e261cd48ded/site_libs/bootstrap/bootstrap.min.css' id='quarto-bootstrap' rel='stylesheet'/> ``` ``` html <link href="site_libs/bootstrap/bootstrap.min.css" rel="stylesheet" id="quarto-bootstrap" data-mode="light"> ``` Both uses the custom CSS that is generated from [my `custom.scss`](https://github.com/rbind/yutani/blob/master/custom.scss) but it seems the first one on the `*.cloudfront.net` URL is incomplete. I specified "Roboto Slab" as the base font, but it's not found there. These two sites are published from the repository, so I have no idea why there are some differences. Are there any limitation of using the custom domain on Netlify? ### `quarto check` Output ``` $ quarto.cmd check [>] Checking Quarto installation......OK Version: 1.1.63 Path: C:\Users\Yutani\AppData\Local\Programs\Quarto\bin\ CodePage: 932 [>] Checking basic markdown render....OK [>] Checking Python 3 installation....(None) Unable to locate an installed version of Python 3. Install Python 3 from https://www.python.org/downloads/ [>] Checking R installation...........OK Version: 4.2.1 Path: C:/PROGRA~1/R/R-42~1.1 LibPaths: - C:/Users/Yutani/AppData/Local/R/win-library/4.2 - C:/Program Files/R/R-4.2.1/library rmarkdown: 2.14 [>] Checking Knitr engine render......OK ``` ### `quarto tools check` Output ``` $ quarto.cmd tools check [>] Inspecting tools Tool Status Installed Latest chromium Not installed --- 869685 tinytex Not installed --- v2022.08 ``` ### Checklist - [x] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read? - [ ] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue. - [x] documented the quarto version you're running, by pasting the output from running `quarto check` in the "Quarto Check Output" text area? - [x] documented the version of the quarto tools you're running, by providing the output from running `quarto tools check` in the "Quarto Tools Check Output" text area? - [ ] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog? - [ ] documented which operating system you're running? If on Linux, please provide the specific distribution as well. - [x] upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?
{ "assignee": null, "comments": 7, "created_at": "2022-08-13T09:44:02Z", "creator": "yutannihilation", "is_pull_request": false, "labels": [ "bug" ], "locked": false, "milestone": null, "number": 1855, "state": "closed", "title": "Netlify caches the CSS file incorrectly when asset optimizaion is enabled", "url": "https://github.com/quarto-dev/quarto-cli/issues/1855" }
### Bug description I found an unexpected problem when I was testing out quarto for Carpentries lessons. We use a solution fenced div tag to provide accordion sections that contain solutions to challenges/exercises. I ran into an error (described in https://github.com/carpentries/sandpaper/issues/161#issuecomment-1213593479) when I had a file that looks like this: ````markdown ::: solution ### Heading ``` code ``` ::: ```` ``` Error running filter /opt/quarto/share/filters/crossref/crossref.lua: /opt/quarto/share/filters/crossref/crossref.lua:2009: attempt to get length of a nil value (field 'content') stack traceback: /opt/quarto/share/filters/crossref/crossref.lua:1103: in function </opt/quarto/share/filters/crossref/crossref.lua:1097> ``` The solution (heh) to this problem is to insert a paragraph right after the heading: ````markdown ::: solution ### Heading text text ``` code ``` ::: ```` But this gives the unsatisfactory result of formatting the heading as a span and linking it to the paragraph (though I believe we can handle it with our lua filters). Many of our materials contain solution blocks with just code blocks or tables and I am wondering if there is a mechanism for us to register our divs so that we can avoid these clashes. ## My system ``` Distributor ID: Ubuntu Description: Ubuntu 20.04.4 LTS Release: 20.04 Codename: focal ``` ### `quarto check` Output ```bash [✓] Checking Quarto installation......OK Version: 1.0.38 Path: /opt/quarto/bin [✓] Checking basic markdown render....OK [✓] Checking Python 3 installation....OK Version: 3.8.8 (Conda) Path: /home/zhian/anaconda3/bin/python Jupyter: 4.7.1 Kernels: python3 [✓] Checking Jupyter engine render....OK [✓] Checking R installation...........OK Version: 4.2.1 Path: /usr/lib/R LibPaths: - /home/zhian/R/library - /usr/local/lib/R/site-library - /usr/lib/R/site-library - /usr/lib/R/library rmarkdown: 2.14 [✓] Checking Knitr engine render......OK ``` ### `quarto tools check` Output ````bash [✓] Inspecting tools Tool Status Installed Latest chromium Not installed --- 869685 tinytex External Installation --- v2022.08 ```` ### Checklist - [X] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read? - [X] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue. - [X] documented the quarto version you're running, by pasting the output from running `quarto check` in the "Quarto Check Output" text area? - [X] documented the version of the quarto tools you're running, by providing the output from running `quarto tools check` in the "Quarto Tools Check Output" text area? - [ ] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog? - [X] documented which operating system you're running? If on Linux, please provide the specific distribution as well. - [X] upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?
{ "assignee": null, "comments": 1, "created_at": "2022-08-13T00:02:18Z", "creator": "zkamvar", "is_pull_request": false, "labels": [ "bug" ], "locked": false, "milestone": null, "number": 1854, "state": "closed", "title": "custom solution block clashes with proof/solution block ", "url": "https://github.com/quarto-dev/quarto-cli/issues/1854" }
### Bug description Quarto websites [allow for hybrid navigation](https://quarto.org/docs/websites/website-navigation.html#hybrid-navigation) where a sidebar shows up for just one section of a site, based on a shared title and filename in the YAML settings. However, in cases where only one hybrid sidebar is defined, the sidebar appears on all pages on the site. Here's a minimal reprex: (I'm using macOS 12.4, R 4.2.1, Quarto 1.0.38, and RStudio 2022.07.1 Build 554) --- Assume a folder structure like this, with 4 `.qmd` files: ``` . ├── _quarto.yml ├── hybrid-navigation-testing.Rproj ├── about.qmd ├── index.qmd └── subsection ├── index.qmd └── thing1.qmd ``` **/index.qmd** ```` --- title: Hybrid sidebar example --- This is a Quarto website. To learn more about Quarto websites visit <https://quarto.org/docs/websites>. ```{r} 1 + 1 ``` ```` **/about.qmd** ``` --- title: "About" --- About this site ``` **/subsection/index.qmd** ``` --- title: Some subsection --- Blah ``` **/subsection/thing1.qmd** ``` --- title: Thing 1 --- Blah ``` --- Using this `_quarto.yml` file should theoretically produce a standard navbar with a sidebar that only appears when looking at the subsection page, given that the sidebar shares the `subsection/index.qmd` file ``` yaml project: type: website website: title: Testing navbar: background: primary left: - text: "Home" file: index.qmd - text: "Subsection" file: subsection/index.qmd - about.qmd sidebar: - title: "Subsection" style: "docked" background: light contents: - subsection/index.qmd - subsection/thing1.qmd format: html: theme: cosmo ``` The sidebar appears on all pages, though, like the home page here: <img width="1111" alt="image" src="https://user-images.githubusercontent.com/73663/184452566-7787fcd3-3f68-4ade-89a1-f67d2a7b1c08.png"> The only way I've found to get a page-specific hybrid sidebar is to define an empty second sidebar: ``` yaml project: type: website website: title: Testing navbar: background: primary left: - text: "Home" file: index.qmd - text: "Subsection" file: subsection/index.qmd - about.qmd sidebar: - title: "Subsection" style: "docked" background: light contents: - subsection/index.qmd - subsection/thing1.qmd - title: "Placeholder thing" format: html: theme: cosmo ``` This forces the hybrid sidebar to only show up on the subsection page and not on the other sidebar-less pages, as expected: <img width="1165" alt="image" src="https://user-images.githubusercontent.com/73663/184452495-d08f6e8a-b859-4919-a5f0-5bbb38a212e3.png"> ### `quarto check` Output Here are the results from `quarto check`: ``` bash [✓] Checking Quarto installation......OK Version: 1.0.38 Path: /Applications/quarto/bin [✓] Checking basic markdown render....OK [✓] Checking Python 3 installation....OK Version: 3.9.13 Path: /opt/homebrew/opt/[email protected]/bin/python3.9 Jupyter: 4.11.1 Kernels: python3 [✓] Checking Jupyter engine render....OK [✓] Checking R installation...........OK Version: 4.2.1 Path: /Library/Frameworks/R.framework/Resources LibPaths: - /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library rmarkdown: 2.14 [✓] Checking Knitr engine render......OK ``` ### `quarto tools check` Output And here are the results from `quarto tools check`: ``` bash [✓] Inspecting tools Tool Status Installed Latest chromium Not installed --- 869685 tinytex Not installed --- v2022.08 ``` ### Checklist - [X] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read? - [X] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue. - [X] documented the quarto version you're running, by pasting the output from running `quarto check` in the "Quarto Check Output" text area? - [X] documented the version of the quarto tools you're running, by providing the output from running `quarto tools check` in the "Quarto Tools Check Output" text area? - [X] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog? - [X] documented which operating system you're running? If on Linux, please provide the specific distribution as well. - [X] upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?
{ "assignee": "dragonstyle", "comments": 5, "created_at": "2022-08-12T22:31:29Z", "creator": "andrewheiss", "is_pull_request": false, "labels": [ "bug" ], "locked": false, "milestone": "v1.3", "number": 1853, "state": "closed", "title": "Hybrid sidebar doesn't work when only using one hybrid section", "url": "https://github.com/quarto-dev/quarto-cli/issues/1853" }
I just install Quarto for VSCode. I was walking through the Get Started steps. After opening the folder where I want to run the demo, I select a specific Python interpreter environment, which is activated through `conda`. When I click Render in the Quarto walkthrough.qmd editor, an integrated terminal launches. However, the render command is executed before the `conda activate ...` command. Then the render errors because Jupyter isn't installed in my `base` environment. How can I get the `conda activate ...` to run before the `quarto preview ...` in the integrated terminal?
{ "assignee": null, "comments": 7, "created_at": "2022-08-12T20:19:34Z", "creator": "white-c", "is_pull_request": false, "labels": [], "locked": false, "milestone": null, "number": 1852, "state": "closed", "title": "VSCode Integrated Terminal: Render command running before `conda activate`", "url": "https://github.com/quarto-dev/quarto-cli/issues/1852" }
### Bug description I am trying to render a styled pandas dataframe (using `.style`, specifically `.background_gradient` to pdf. I'm running into an issue with the LaTex specifically. Per #1118, #1119, and #1457 I'm wrapping my styled table in `display(Latex())`. This has gotten be further along, but now I'm hitting what I believe is a LaTex syntax error: ``` compilation failed- error Undefined control sequence. l.214 0 & \background -color#ffffd9 \color#000000 1 & \background-color#40b5c... ``` Here is my `.qmd`: ````md --- execute: echo: false format: pdf: fig-format: png margin-top: .5in margin-bottom: .75in margin-left: .75in margin-right: .75in documentclass: scrartcl include-in-header: text: | \usepackage{float} \floatplacement{table}{H} jupyter: python3 --- ```{python} from IPython.display import display, Latex import pandas as pd df = pd.DataFrame([[1,2000],[3,4000]],columns=['Month','Count']) def print_df(df): styled_df = df[['Month','Count']].style.format( precision=0, formatter={('Count'):"{:,.0f}"}, escape=None ).background_gradient(axis=None, vmin=0, cmap="YlGnBu") return styled_df display(Latex((print_df(df).to_latex()))) ``` ```` Running on MacOS 12.5, M1 Pro chip. ### `quarto check` Output ```bash [✓] Checking Quarto installation......OK Version: 1.0.38 Path: /Applications/quarto/bin [✓] Checking basic markdown render....OK [✓] Checking Python 3 installation....OK Version: 3.10.4 (Conda) Path: /Users/welty/opt/anaconda3/envs/quarto/bin/python Jupyter: 4.11.1 Kernels: python3 [✓] Checking Jupyter engine render....OK [✓] Checking R installation...........(None) Unable to locate an installed version of R. Install R from https://cloud.r-project.org/ ``` ### `quarto tools check` Output ```bash [✓] Inspecting tools Tool Status Installed Latest chromium Not installed --- 869685 tinytex Up to date v2022.08 v2022.08 ``` ### Checklist - [X] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read? - [X] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue. - [X] documented the quarto version you're running, by pasting the output from running `quarto check` in the "Quarto Check Output" text area? - [X] documented the version of the quarto tools you're running, by providing the output from running `quarto tools check` in the "Quarto Tools Check Output" text area? - [X] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog? - [X] documented which operating system you're running? If on Linux, please provide the specific distribution as well. - [X] upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?
{ "assignee": null, "comments": 1, "created_at": "2022-08-12T18:45:35Z", "creator": "jackwelty", "is_pull_request": false, "labels": [ "bug", "third-party" ], "locked": false, "milestone": null, "number": 1851, "state": "closed", "title": "Undefined control sequence when rendering styled pandas table", "url": "https://github.com/quarto-dev/quarto-cli/issues/1851" }
because of `ojs_define`, It's possible to create valid OJS documents with inline `ojs` statements but without an `ojs` block. Currently, this doesn't work because we process inline `ojs` statements in a lua filter but enable OJS much earlier, in TypeScript.
{ "assignee": "cscheid", "comments": 2, "created_at": "2022-08-12T14:36:21Z", "creator": "cscheid", "is_pull_request": false, "labels": [ "bug", "ojs-engine" ], "locked": false, "milestone": "Future", "number": 1846, "state": "closed", "title": "ojs engine not enabled in doc containing only inline OJS statements", "url": "https://github.com/quarto-dev/quarto-cli/issues/1846" }
### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1844 <div type='discussions-op-text'> <sup>Originally posted by **eitsupi** August 12, 2022</sup> The following documentation suggests that Observable can handle Apache Arrow. https://quarto.org/docs/computations/ojs.html#data-sources > In our initial example we used a [FileAttachment](https://github.com/observablehq/stdlib#file-attachments) as our data source. File attachments support many formats including CSV, TSV, JSON, SQLite, and Arrow so are a convenient way to read a dataset that has already been prepared for analysis. So I tried using the arrow file to exchange data between the R code block and the ojs code block and was confused by the strange results I was getting. ````qmd --- title: sample format: html: default engine: knitr --- ```{r} mtcars |> arrow::write_feather("data.arrow") ``` ```{ojs} data = FileAttachment("data.arrow").arrow() ``` ```{ojs} Inputs.table(data) ``` ```` ![image](https://user-images.githubusercontent.com/50911393/184337991-334560f7-5ef6-439e-aec1-cdeeda93701d.png) This seems to be due to the fact that the Arrow library in js does not support compressed ipc files. I got the expected results by explicitly generating uncompressed files as follows ````qmd --- title: sample format: html: default engine: knitr --- ```{r} mtcars |> arrow::write_feather("data.arrow", compression = "uncompressed") ``` ```{ojs} data = FileAttachment("data.arrow").arrow() ``` ```{ojs} Inputs.table(data) ``` ```` ![image](https://user-images.githubusercontent.com/50911393/184338096-220c65ee-4833-4266-be8e-104e665d661d.png) Note that arquero generates an error when it tries to read a compressed ipc file. ````qmd --- title: sample format: html: default engine: knitr --- ```{r} mtcars |> arrow::write_feather("data.arrow") ``` ```{ojs} data = aq.loadArrow("data.arrow") ``` ```{ojs} data.view() ``` ```{ojs} import { aq, op } from '@uwdata/arquero' ``` ```` ![image](https://user-images.githubusercontent.com/50911393/184340383-7b671b21-b901-4b7f-882a-cf45a01487b0.png) Apache Arrow is a very promising format, so it may be worth including examples in the documentation. (I used several hours for this trial and error!)</div>
{ "assignee": "cscheid", "comments": 1, "created_at": "2022-08-12T14:30:38Z", "creator": "cscheid", "is_pull_request": false, "labels": [ "documentation", "ojs-engine" ], "locked": false, "milestone": "Future", "number": 1845, "state": "closed", "title": "Using Apache Arrow in ojs code blocks", "url": "https://github.com/quarto-dev/quarto-cli/issues/1845" }
````{md} --- title: "Example of Tables" format: pdf --- ## Problem cross-referencing table computations Quarto is not recognizing the cross reference of tables made with R syntax mostly in PDF and MS Word but could also be in HTML. Here is a reference to a table in an R chunk: @tbl-planets ```{r} #| label: tbl-planets #| tbl-cap: Planets if (!require("pacman")) install.packages("pacman") pacman::p_load(tidyverse) mtcars %>% head() ``` Here is a reference of a plot computation: @fig-plot ```{r} #| label: fig-plot #| fig-cap: This is a plot qplot(mtcars$mpg) ``` The problem is that PDF and MS Word does recognize cross-referencing plots but not tables. ```` Output: ![image](https://user-images.githubusercontent.com/53672503/184285748-b76a5e92-9035-40a0-83c5-0261e9042747.png)
{ "assignee": null, "comments": 1, "created_at": "2022-08-12T04:32:40Z", "creator": "aito123", "is_pull_request": false, "labels": [ "bug" ], "locked": false, "milestone": null, "number": 1842, "state": "closed", "title": "Problem Quarto cross reference tables when render to PDF", "url": "https://github.com/quarto-dev/quarto-cli/issues/1842" }
Regardless of whether users provide csl file or not in yaml, all the references at the bottom of the document only display each reference URL. Is this the expected behavior? How can users change the reference list style in html format?
{ "assignee": "jooyoungseo", "comments": 8, "created_at": "2022-08-12T02:52:34Z", "creator": "jooyoungseo", "is_pull_request": false, "labels": [ "accessibility" ], "locked": false, "milestone": "v1.3", "number": 1841, "state": "closed", "title": "[Accessibility] Bibliography list style does not change in html format", "url": "https://github.com/quarto-dev/quarto-cli/issues/1841" }
When bibliographies are imported directly via a csl yaml, I do see following error: > in JSON at position 60xpected token However, if you save and render the same file content in Rmd with `output: html_document`, you don't see any errors. ## Reprex ## test.qmd ```` --- title: "Test" format: html references: - author: - literal: R Core Team id: R-base issued: 2022 publisher: R Foundation for Statistical Computing publisher-place: Vienna, Austria title: "R: A language and environment for statistical computing" title-short: R type: book url: "https://www.R-project.org/" - author: - family: Godfrey given: A. Jonathan R. - family: Warren given: Debra - family: Murrell given: Paul - family: Bilton given: Timothy - family: Sorge given: Volker id: R-BrailleR issued: 2021 note: R package version 0.32.1 title: "BrailleR: Improved access for blind users" title-short: BrailleR type: book url: "https://github.com/ajrgodfrey/BrailleR" - author: - family: McWhite given: Claire D. - family: Wilke given: Claus O. id: R-colorblindr issued: 2022 note: R package version 0.1.0 title: "Colorblindr: Simulate colorblindness in r figures" title-short: Colorblindr type: book url: "https://github.com/clauswilke/colorblindr" - author: - family: Ihaka given: Ross - family: Murrell given: Paul - family: Hornik given: Kurt - family: Fisher given: Jason C. - family: Stauffer given: Reto - family: Wilke given: Claus O. - family: McWhite given: Claire D. - family: Zeileis given: Achim id: R-colorspace issued: 2022 note: R package version 2.0-3 title: "Colorspace: A toolbox for manipulating and assessing colors and palettes" title-short: Colorspace type: book url: "https://CRAN.R-project.org/package=colorspace" - author: - family: Wickham given: Hadley - family: François given: Romain - family: Henry given: Lionel - family: Müller given: Kirill id: R-dplyr issued: 2022 note: R package version 1.0.9 title: "Dplyr: A grammar of data manipulation" title-short: Dplyr type: book url: "https://CRAN.R-project.org/package=dplyr" - author: - family: Wickham given: Hadley id: R-forcats issued: 2021 note: R package version 0.5.1 title: "Forcats: Tools for working with categorical variables (factors)" title-short: Forcats type: book url: "https://CRAN.R-project.org/package=forcats" - author: - family: Wickham given: Hadley - family: Chang given: Winston - family: Henry given: Lionel - family: Pedersen given: Thomas Lin - family: Takahashi given: Kohske - family: Wilke given: Claus - family: Woo given: Kara - family: Yutani given: Hiroaki - family: Dunnington given: Dewey id: R-ggplot2 issued: 2022 note: R package version 3.3.6 title: "ggplot2: Create elegant data visualisations using the grammar of graphics" title-short: ggplot2 type: book url: "https://CRAN.R-project.org/package=ggplot2" - author: - family: Iannone given: Richard - family: Cheng given: Joe - family: Schloerke given: Barret id: R-gt issued: 2022 note: R package version 0.6.0 title: "Gt: Easily create presentation-ready display tables" title-short: Gt type: book url: "https://CRAN.R-project.org/package=gt" - author: - family: Xie given: Yihui id: R-knitr issued: 2022 note: R package version 1.39 title: "Knitr: A general-purpose package for dynamic report generation in r" title-short: Knitr type: book url: "https://yihui.org/knitr/" - author: - family: Horst given: Allison - family: Hill given: Alison - family: Gorman given: Kristen id: R-palmerpenguins issued: 2020 note: R package version 0.1.0 title: "Palmerpenguins: Palmer archipelago (antarctica) penguin data" title-short: Palmerpenguins type: book url: "https://CRAN.R-project.org/package=palmerpenguins" - author: - family: Henry given: Lionel - family: Wickham given: Hadley id: R-purrr issued: 2020 note: R package version 0.3.4 title: "Purrr: Functional programming tools" title-short: Purrr type: book url: "https://CRAN.R-project.org/package=purrr" - author: - family: Wickham given: Hadley - family: Hester given: Jim - family: Bryan given: Jennifer id: R-readr issued: 2022 note: R package version 2.1.2 title: "Readr: Read rectangular text data" title-short: Readr type: book url: "https://CRAN.R-project.org/package=readr" - author: - family: Wickham given: Hadley - family: Seidel given: Dana id: R-scales issued: 2022 note: R package version 1.2.0 title: "Scales: Scale functions for visualization" title-short: Scales type: book url: "https://CRAN.R-project.org/package=scales" - author: - family: Chang given: Winston - family: Cheng given: Joe - family: Allaire given: JJ - family: Sievert given: Carson - family: Schloerke given: Barret - family: Xie given: Yihui - family: Allen given: Jeff - family: McPherson given: Jonathan - family: Dipert given: Alan - family: Borges given: Barbara id: R-shiny issued: 2021 note: R package version 1.7.1 title: "Shiny: Web application framework for r" title-short: Shiny type: book url: "https://shiny.rstudio.com/" - author: - family: Siegert given: Stefan - family: Williams given: Robin id: R-sonify issued: 2017 note: R package version 0.0-1 title: "Sonify: Data sonification - turning data into sound" title-short: Sonify type: book url: "https://CRAN.R-project.org/package=sonify" - author: - family: Wickham given: Hadley id: R-stringr issued: 2019 note: R package version 1.4.0 title: "Stringr: Simple, consistent wrappers for common string operations" title-short: Stringr type: book url: "https://CRAN.R-project.org/package=stringr" - author: - family: Seo given: JooYoung id: R-tactileR issued: 2022 note: R package version 0.1.0 title: "tactileR: Converting r graphics into a braille ready-to-print PDF" title-short: tactileR type: book url: "https://github.com/jooyoungseo/tactileR" - author: - family: Müller given: Kirill - family: Wickham given: Hadley id: R-tibble issued: 2022 note: R package version 3.1.7 title: "Tibble: Simple data frames" title-short: Tibble type: book url: "https://CRAN.R-project.org/package=tibble" - author: - family: Wickham given: Hadley - family: Girlich given: Maximilian id: R-tidyr issued: 2022 note: R package version 1.2.0 title: "Tidyr: Tidy messy data" title-short: Tidyr type: book url: "https://CRAN.R-project.org/package=tidyr" - author: - family: Wickham given: Hadley id: R-tidyverse issued: 2021 note: R package version 1.3.1 title: "Tidyverse: Easily install and load the tidyverse" title-short: Tidyverse type: book url: "https://CRAN.R-project.org/package=tidyverse" - author: - family: Ligges given: Uwe id: R-tuneR issued: 2022 note: R package version 1.4.0 title: "tuneR: Analysis of music and speech" title-short: tuneR type: book url: "https://CRAN.R-project.org/package=tuneR" - author: - family: Zeileis given: Achim - family: Fisher given: Jason C. - family: Hornik given: Kurt - family: Ihaka given: Ross - family: McWhite given: Claire D. - family: Murrell given: Paul - family: Stauffer given: Reto - family: Wilke given: Claus O. container-title: Journal of Statistical Software doi: 10.18637/jss.v096.i01 id: colorspace2020a issue: 1 issued: 2020 page: 1-49 title: "[colorspace]{.nocase}: A toolbox for manipulating and assessing colors and palettes" title-short: "[colorspace]{.nocase}" type: article-journal volume: 96 - author: - family: Zeileis given: Achim - family: Hornik given: Kurt - family: Murrell given: Paul container-title: Computational Statistics & Data Analysis doi: 10.1016/j.csda.2008.11.033 id: colorspace2009a issue: 9 issued: 2009 page: 3259-3270 title: "Escaping RGBland: Selecting colors for statistical graphics" title-short: Escaping RGBland type: article-journal volume: 53 - author: - family: Stauffer given: Reto - family: Mayr given: Georg J. - family: Dabernig given: Markus - family: Zeileis given: Achim container-title: Bulletin of the American Meteorological Society doi: 10.1175/BAMS-D-13-00155.1 id: colorspace2009b issue: 2 issued: 2009 page: 203-216 title: "Somewhere over the rainbow: How to make effective use of colors in meteorological visualizations" title-short: Somewhere over the rainbow type: article-journal volume: 96 - author: - family: Wickham given: Hadley id: ggplot22016 isbn: 978-3-319-24277-4 issued: 2016 publisher: Springer-Verlag New York title: "ggplot2: Elegant graphics for data analysis" title-short: ggplot2 type: book url: "https://ggplot2.tidyverse.org" - author: - family: Xie given: Yihui edition: 2nd id: knitr2015 issued: 2015 note: ISBN 978-1498716963 publisher: Chapman; Hall/CRC publisher-place: Boca Raton, Florida title: Dynamic documents with R and knitr type: book url: "https://yihui.org/knitr/" - author: - family: Xie given: Yihui container-title: Implementing reproducible computational research editor: - family: Stodden given: Victoria - family: Leisch given: Friedrich - family: Peng given: Roger D. id: knitr2014 issued: 2014 note: ISBN 978-1466561595 publisher: Chapman; Hall/CRC title: "Knitr: A comprehensive tool for reproducible research in R" title-short: Knitr type: chapter url: "http://www.crcpress.com/product/isbn/9781466561595" - author: - family: Wickham given: Hadley - family: Averick given: Mara - family: Bryan given: Jennifer - family: Chang given: Winston - family: McGowan given: Lucy D'Agostino - family: François given: Romain - family: Grolemund given: Garrett - family: Hayes given: Alex - family: Henry given: Lionel - family: Hester given: Jim - family: Kuhn given: Max - family: Pedersen given: Thomas Lin - family: Miller given: Evan - family: Bache given: Stephan Milton - family: Müller given: Kirill - family: Ooms given: Jeroen - family: Robinson given: David - family: Seidel given: Dana Paige - family: Spinu given: Vitalie - family: Takahashi given: Kohske - family: Vaughan given: Davis - family: Wilke given: Claus - family: Woo given: Kara - family: Yutani given: Hiroaki container-title: Journal of Open Source Software doi: 10.21105/joss.01686 id: tidyverse2019 issue: 43 issued: 2019 page: 1686 title: Welcome to the [tidyverse]{.nocase} type: article-journal volume: 4 - author: - family: Ligges given: Uwe - family: Krey given: Sebastian - family: Mersmann given: Olaf - family: Schnackenberg given: Sarah id: tuneR2018 issued: 2018 title: "[tuneR]{.nocase}: Analysis of music and speech" title-short: "[tuneR]{.nocase}" type: book url: "https://CRAN.R-project.org/package=tuneR" --- ## Citation Test @R-base; @R-dplyr ```` ### Preview ``` bash quarto preview test.qmd # in JSON at position 60xpected token ```
{ "assignee": "cscheid", "comments": 2, "created_at": "2022-08-12T02:37:09Z", "creator": "jooyoungseo", "is_pull_request": false, "labels": [ "bug", "yaml-validation" ], "locked": false, "milestone": "v1.1", "number": 1838, "state": "closed", "title": "bug in YAML handling of double-quoted scalar strings", "url": "https://github.com/quarto-dev/quarto-cli/issues/1838" }
I open the issue to keep track of this here instead/in addition to the discussion. To note, the repository from the origin discussion no longer exists. ### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1440 <div type='discussions-op-text'> <sup>Originally posted by **mcanouil** July 17, 2022</sup> Hi, does Quarto extensions/formats have to be alone in a Github repository? I wanted to store several formats in one repository (https://github.com/mcanouil/quarto-ext) and apparently this is not currently possible. ```bash quarto install extension mcanouil/quarto-ext/coeos # Quarto extensions may execute code when documents are rendered. If you do not # trust the authors of the extension, we recommend that you do not install or # use the extension. # ? Do you trust the authors of this extension (Y/n) › Yes # ERROR: TypeError: Invalid URL ``` Did I miss something when we want a subdirectory? </div> </br> <div type='discussions-op-text'> <sup>Originally posted by **dragonstyle** July 17, 2022</sup> Definitely- we should either support subdirectories or perhaps allow targeting / selection of specific extensions within the same repo. Seems useful! </div>
{ "assignee": "dragonstyle", "comments": 10, "created_at": "2022-08-12T00:25:59Z", "creator": "mcanouil", "is_pull_request": false, "labels": [], "locked": false, "milestone": "v1.2", "number": 1836, "state": "closed", "title": "[FR] Quarto extension and Github subdirectory", "url": "https://github.com/quarto-dev/quarto-cli/issues/1836" }
Small tweaks to the generated GT styles can allow us to automatically generate GT styles for our themes, as well as user-defined CSS.
{ "assignee": "cscheid", "comments": 0, "created_at": "2022-08-11T22:03:21Z", "creator": "cscheid", "is_pull_request": false, "labels": [], "locked": false, "milestone": "v1.1", "number": 1834, "state": "closed", "title": "Improve styling of GT tables", "url": "https://github.com/quarto-dev/quarto-cli/issues/1834" }
### Bug description `kableExtra::kable_styling()` doesn't seem to take effect when the format is `revealjs` although the tables look right when the format is `html`. It took us a long time to find `options("kableExtra.html.bsTable" = TRUE)` as a solution. Is it possible for quarto to enable this option automatically? Could the documentation include notes about formatting tables that display data and any caveats to be aware of? Currently, the docs have good examples on how to build tables in markdown-syntax but not much on formatting data frame outputs with `gt`, `kableExtra`, `reactable`, or others. Also, apologies in advance if this is not the right place to post this. Our other guess was [`revealjs`](https://github.com/rstudio/revealjs) ```` --- title: "data frame printing" format: revealjs --- ## Kable extra {.smaller .scrollable} ```{r} options("kableExtra.html.bsTable" = TRUE) mtcars |> knitr: :kable() |> kableExtra: :kable_styling(bootstrap_options = c("striped", "hover")) ``` ```` Using ``` RStudio 2022.07.1 Build 554 Windows 10 Build 19042 ``` ### `quarto check` Output ```bash quarto check [>] Checking Quarto installation......OK Version: 99.9.9 Path: C:\Users\rileyj3\github\quarto-cli\package\dist\bin\ CodePage: 1252 [>] Checking basic markdown render....OK [>] Checking Python 3 installation....OK Version: 3.9.12 Path: C:/Users/rileyj3/AppData/Local/Programs/Python/Python39/python.exe Jupyter: 4.11.1 Kernels: python3 [>] Checking Jupyter engine render....OK [>] Checking R installation...........OK Version: 4.2.0 Path: C:/Users/rileyj3/R/R-4.2.0 LibPaths: - C://Users/rileyj3/R/win-library/4.2/library rmarkdown: 2.14 [>] Checking Knitr engine render......OK ``` ### `quarto tools check` Output ```bash [>] Inspecting tools Tool Status Installed Latest chromium Not installed --- 869685 tinytex Not installed --- v2022.08 ``` ### Checklist - [X] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read? - [X] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue. - [X] documented the quarto version you're running, by pasting the output from running `quarto check` in the "Quarto Check Output" text area? - [X] documented the version of the quarto tools you're running, by providing the output from running `quarto tools check` in the "Quarto Tools Check Output" text area? - [X] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog? - [X] documented which operating system you're running? If on Linux, please provide the specific distribution as well. - [X] upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?
{ "assignee": "cscheid", "comments": 3, "created_at": "2022-08-11T19:40:45Z", "creator": "rjake", "is_pull_request": false, "labels": [ "bug", "tables" ], "locked": false, "milestone": "v1.3", "number": 1831, "state": "closed", "title": "kableExtra styling not showing in revealjs", "url": "https://github.com/quarto-dev/quarto-cli/issues/1831" }
We complete `tbl-cap-location` in cells, so we should support their use.
{ "assignee": "cscheid", "comments": 1, "created_at": "2022-08-11T18:34:15Z", "creator": "cscheid", "is_pull_request": false, "labels": [ "bug", "crossref", "tables" ], "locked": false, "milestone": "v1.4", "number": 1829, "state": "open", "title": "handle tbl-cap-location in cells", "url": "https://github.com/quarto-dev/quarto-cli/issues/1829" }
### Bug description R version 4.2.0 (2022-04-22) Platform: x86_64-apple-darwin17.0 (64-bit) Running under: macOS Monterey 12.4 RStudio 2022.02.3+492 "Prairie Trillium" Release (1db809b8323ba0a87c148d16eb84efe39a8e7785, 2022-05-16) for macOS When Quarto document is rendered to HTML with the following YAML options, the floating TOC is lost: ``` format: html: toc: true toc-location: left page-layout: full ``` This seems specific to _toc-location: left_, as setting to _toc-location: right_ does not have same behavior. Reproduced using the default Quarto Document .qmd template. ### `quarto check` Output ```bash [✓] Checking Quarto installation......OK Version: 1.0.38 Path: /Applications/quarto/bin [✓] Checking basic markdown render....OK [✓] Checking Python 3 installation....OK Version: 3.8.9 Path: /Library/Developer/CommandLineTools/usr/bin/python3 Jupyter: 4.11.1 Kernels: python3 [✓] Checking Jupyter engine render....OK [✓] Checking R installation...........OK Version: 4.2.0 Path: /Library/Frameworks/R.framework/Resources LibPaths: - /Library/Frameworks/R.framework/Versions/4.2/Resources/library rmarkdown: 2.14 [✓] Checking Knitr engine render......OK ``` ### `quarto tools check` Output ```bash [✓] Inspecting tools Tool Status Installed Latest chromium Not installed --- 869685 tinytex External Installation --- v2022.08 ``` ### Checklist - [X] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read? - [X] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue. - [X] documented the quarto version you're running, by pasting the output from running `quarto check` in the "Quarto Check Output" text area? - [X] documented the version of the quarto tools you're running, by providing the output from running `quarto tools check` in the "Quarto Tools Check Output" text area? - [X] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog? - [X] documented which operating system you're running? If on Linux, please provide the specific distribution as well. - [X] upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?
{ "assignee": "dragonstyle", "comments": 0, "created_at": "2022-08-11T18:18:55Z", "creator": "jmvarberg", "is_pull_request": false, "labels": [ "bug" ], "locked": false, "milestone": "v1.2", "number": 1828, "state": "closed", "title": "Floating toc in HTML is lost when using page-layout: full and toc-location: left in YAML", "url": "https://github.com/quarto-dev/quarto-cli/issues/1828" }
I know this isn't specifically with quarto directly, but with one of the css files that has come with a quarto document that i'm working on. Deleting it is only temporary, as when i render the file it comes back. Is this a known thing? Box is spamming my email hourly about this file. ![virus_screenshot](https://user-images.githubusercontent.com/10426521/184182010-3e663327-2304-4be2-b457-8540f644e857.PNG)
{ "assignee": null, "comments": 2, "created_at": "2022-08-11T16:23:57Z", "creator": "norcalbiostat", "is_pull_request": false, "labels": [ "invalid" ], "locked": false, "milestone": null, "number": 1827, "state": "closed", "title": "virus in css lightable? - only in folder with qmd", "url": "https://github.com/quarto-dev/quarto-cli/issues/1827" }
### Bug description RStudio: 2022.07.1 Build 554 OS: M1 Mac Air A call to make a `gt::gt()` in R, breaks all subsequent table numbering for `kbl()` tables called after the `gt()` call even if the {gt} library isn't loaded. This only happens when building to PDF. If `eval=FALSE` is added to the `gt()` chunk, then then table numbers re-appear. Sample qmd file <pre> --- title: "test" format: pdf --- ```{r} #| label: tbl-kbl #| tbl-cap: "first kable call: this should have a number" library(knitr) kableExtra::kbl(head(mtcars[1:2,]), booktabs=TRUE) ``` ```{r} #| label: tbl-gt #| tbl-cap: "table numbering is broken with gt" gt::gt(mtcars[1:2,]) ``` ```{r} #| label: tbl-kbl2 #| tbl-cap: "second kable call: this should have a number" kableExtra::kbl(head(mtcars[1:2,]), booktabs=TRUE) ``` </pre> <img width="396" alt="image" src="https://user-images.githubusercontent.com/2545978/184181127-45deb863-608c-4c90-a292-70e1054b6470.png"> ### `quarto check` Output ``` [✓] Checking Quarto installation......OK Version: 1.0.38 Path: /Applications/quarto/bin [✓] Checking basic markdown render....OK [✓] Checking Python 3 installation....OK Version: 3.9.12 Path: /opt/homebrew/opt/[email protected]/bin/python3.9 Jupyter: (None) Jupyter is not available in this Python installation. Install with python3 -m pip install jupyter [✓] Checking R installation...........OK Version: 4.1.1 Path: /Library/Frameworks/R.framework/Resources LibPaths: - /Users/eli.holmes/Library/R/x86_64/4.1/library - /Library/Frameworks/R.framework/Versions/4.1/Resources/library rmarkdown: 2.14 [✓] Checking Knitr engine render......OK ``` ### `quarto tools check` Output ``` [✓] Inspecting tools Tool Status Installed Latest chromium Not installed --- 869685 tinytex External Installation --- v2022.08 ``` ### Checklist - [X] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read? - [X] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue. - [X] documented the quarto version you're running, by pasting the output from running `quarto check` in the "Quarto Check Output" text area? - [X] documented the version of the quarto tools you're running, by providing the output from running `quarto tools check` in the "Quarto Tools Check Output" text area? - [X] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog? - [X] documented which operating system you're running? If on Linux, please provide the specific distribution as well. - [X] upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?
{ "assignee": "cscheid", "comments": 10, "created_at": "2022-08-11T16:18:52Z", "creator": "eeholmes", "is_pull_request": false, "labels": [ "bug" ], "locked": false, "milestone": "v1.1", "number": 1826, "state": "closed", "title": "Calling gt functions breaks table numbering for kable in PDF", "url": "https://github.com/quarto-dev/quarto-cli/issues/1826" }
Different formats emit different DOM structures, which makes it hard for us to create good CSS selectors. This causes issues like #1812. We should set up a spec for what scaffolding needs to be emitted for every format, so that we can confidently target this scaffolding with format-independent CSS.
{ "assignee": "cscheid", "comments": 0, "created_at": "2022-08-11T16:07:09Z", "creator": "cscheid", "is_pull_request": false, "labels": [ "enhancement" ], "locked": false, "milestone": "Future", "number": 1825, "state": "open", "title": "Document requirements and assumptions of the quarto document structure on the DOM", "url": "https://github.com/quarto-dev/quarto-cli/issues/1825" }
At a minimum simply do what @hadley did for R4DS: https://github.com/hadley/r4ds/blob/main/r4ds.scss#L59-L75
{ "assignee": "cscheid", "comments": 2, "created_at": "2022-08-11T16:00:55Z", "creator": "jjallaire", "is_pull_request": false, "labels": [ "enhancement" ], "locked": false, "milestone": "v1.1", "number": 1824, "state": "closed", "title": "add basic print styling for html / websites / books", "url": "https://github.com/quarto-dev/quarto-cli/issues/1824" }
I observed a rather weird behavior using auto-animations with quarto. Given this yaml headers ```` ``` title: "revealjs animation" author: "kwakuduahc1" format: revealjs: incremental: true code-fold: show show-slide-number: all ``` ```` ### _This works as expected. The code block is preserved on the same page and the animation effects work correctly._ ```` ## Variables (refresher) {#vects auto-animate=true} The quick brown fox ```{r} #| echo: true #| code-line-numbers: true ctry <- "Ghana" ``` ## Variables (refresher) {#vects auto-animate=true} The quick brown fox ```{r} #| echo: true #| code-line-numbers: "2" #| output-location: fragment ctry <- "Ghana" ctry ``` ```` ### _But this does not work. On animation, the bulleted line disappears before the animation completes._ ```` ## Variables (refresher) {#vects auto-animate=true} 1. The quick brown fox ```{r} #| echo: true #| code-line-numbers: true ctry <- "Ghana" ``` ## Variables (refresher) {#vects auto-animate=true} 1. The quick brown fox ```{r} #| echo: true #| code-line-numbers: "2" #| output-location: fragment ctry <- "Ghana" ctry ``` ```` An interim solution is to surround the second code block with fragment but that means pressing the next button twice before the desired animation is shown.
{ "assignee": "cderv", "comments": 3, "created_at": "2022-08-11T15:37:26Z", "creator": "kwakuduahc1", "is_pull_request": false, "labels": [ "revealjs" ], "locked": false, "milestone": "v1.4", "number": 1823, "state": "open", "title": "Auto animations not working when text is bulleted", "url": "https://github.com/quarto-dev/quarto-cli/issues/1823" }
Could it be that `quarto tools` installs the wrong OS version of puppeteer under WSL, and that's what's causing the reports of problems with chromium on windows? cc @cderv @dragonstyle ### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1814 <div type='discussions-op-text'> <sup>Originally posted by **Rockgecko** August 11, 2022</sup> I have been trying to render a .qmd file to pdf after I added a mermaid diagram. I am using the Quarto VScode extension (with VScode attached to wsl via the Remote-wsl extension), but also tried rendering from the command line in wsl directly. In both cases I was getting the error: `ERROR: Couldn't find open server`. I saw the information in the docs [here](https://quarto.org/docs/authoring/diagrams.html#chrome-install) about potentially needing to install chromium using the command `quarto tools install chromium`. Tried this (from wsl command line), but still got the error afterwards. I could not find anything in the puppeteer docs that seemed relevant, but I did find a suggestion elsewhere that installing google-chrome directly via wsl might resolve issues with chromium. I tried this (following the info in [this](https://askubuntu.com/a/1300155) answer) and am now able to render without errors. Not sure it's an official solution, but might do as a workaround, so just posting in case anyone else has the same problem. </div>
{ "assignee": "cderv", "comments": 10, "created_at": "2022-08-11T14:31:51Z", "creator": "cscheid", "is_pull_request": false, "labels": [ "bug", "windows" ], "locked": false, "milestone": "v1.3", "number": 1822, "state": "closed", "title": "Workaround for problem with rendering mermaid diagrams in pdfs on WSL2", "url": "https://github.com/quarto-dev/quarto-cli/issues/1822" }
Hi all! I have found the top drop-down menu very laggy on mobile. See example from my twitter post — https://twitter.com/i/status/1557599480140144640 There is a list of laggy websites: https://ravi-seeks-alpha-with-quarto.netlify.app/ https://ddimmery.com/posts/quarto-website https://beamilz.com/posts/2022-06-05-creating-a-blog-with-quarto/en/ However, this one is working fine — https://albert-rapp.de/posts/13_quarto_blog_writing_guide/13_quarto_blog_writing_guide.html This issue occurs on both Firefox Mobile (v 103.0.2) and Firefox Desktop (v 103.0)
{ "assignee": "dragonstyle", "comments": 2, "created_at": "2022-08-11T14:30:32Z", "creator": "atsyplenkov", "is_pull_request": false, "labels": [], "locked": false, "milestone": "v1.2", "number": 1873, "state": "closed", "title": "Bootstrap CSS loading issue on mobile", "url": "https://github.com/quarto-dev/quarto-cli/issues/1873" }
### Bug description I've been trying to get Quarto working with VS code on a MacBook Air M1 (2020). Installing the extension (version 1.30.0) on VS does seem to works, however when I try to render, it always ask me to install quarto and send me to the downloading page. I have downloaded the package for Mac (version 1.0.38) and installed multiple times but it doesn't work. When I try to render it says that quarto is not installed. I have try to run quarto on terminal and I always get command not found. ### `quarto check` Output _No response_ ### `quarto tools check` Output _No response_ ### Checklist - [X] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read? - [ ] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue. - [ ] documented the quarto version you're running, by pasting the output from running `quarto check` in the "Quarto Check Output" text area? - [ ] documented the version of the quarto tools you're running, by providing the output from running `quarto tools check` in the "Quarto Tools Check Output" text area? - [ ] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog? - [X] documented which operating system you're running? If on Linux, please provide the specific distribution as well. - [ ] upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?
{ "assignee": null, "comments": 13, "created_at": "2022-08-11T12:48:44Z", "creator": "lilianavalenciar", "is_pull_request": false, "labels": [ "bug", "needs-repro" ], "locked": false, "milestone": "v1.2", "number": 1819, "state": "closed", "title": "Quarto installation not working on MacBook Air M1", "url": "https://github.com/quarto-dev/quarto-cli/issues/1819" }
### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1806 <div type='discussions-op-text'> <sup>Originally posted by **obrl-soil** August 10, 2022</sup> Is there a way to override default figure and table numbering? I'm Quarto-ising a book with no native chapter numbering, so the figures and tables should just be numbered 1:n over the whole document in order to match the hard-copy. I'm using a combination of linked images (not plots) and flextables generated from code chunks. </div>
{ "assignee": "dragonstyle", "comments": 0, "created_at": "2022-08-11T11:13:08Z", "creator": "jjallaire", "is_pull_request": false, "labels": [], "locked": false, "milestone": "v1.4", "number": 1818, "state": "open", "title": "Override default figure numbering?", "url": "https://github.com/quarto-dev/quarto-cli/issues/1818" }
I'm following the exact steps described here: https://quarto.org/docs/get-started/computations/jupyter.html but sometimes I get the error message: `"ERROR: TypeError: lines1.some is not a function"` when I run `quarto preview computations.ipynb` I sometimes got the same error with the other tutorials on the website, but don't always get it - I'm not quite sure when it happens and why. Environment information: - Python 3.9.7 - MacOS 12.4, quarto-1.0.38-macos.pkg - jupyter notebook via PyCharm Professional
{ "assignee": "cscheid", "comments": 2, "created_at": "2022-08-11T08:56:55Z", "creator": "MoritzLaurer", "is_pull_request": false, "labels": [], "locked": false, "milestone": "v1.1", "number": 1874, "state": "closed", "title": "ERROR: TypeError: lines1.some is not a function", "url": "https://github.com/quarto-dev/quarto-cli/issues/1874" }
### Bug description When outputting OJS cells in Hugo format, I can't seem to get the output of assignments to disappear. According to the Quarto [documentation](https://quarto.org/docs/interactive/ojs/ojs-cells.html#output-visibility), cells that are only assignments should not print their output, and the `output` option can also be used to suppress output for a cell. However, when I use quarto to render the qmd to a Hugo md, and then Hugo to render html, assignment output always appears. Here is a simple qmd example: [index.qmd.txt](https://github.com/quarto-dev/quarto-cli/files/9306319/index.qmd.txt) When I run this I get the following output from Hugo, despite specifying `//| output: false` for the assignment cell. <img width="681" alt="Screen Shot 2022-08-11 at 17 39 18" src="https://user-images.githubusercontent.com/10150126/184070638-d2b3c665-6f59-49c8-9d93-5281803933bc.png"> If instead I render directly to html, the assignment output is suppressed as it should be. <img width="690" alt="Screen Shot 2022-08-11 at 17 40 14" src="https://user-images.githubusercontent.com/10150126/184070699-01bf94df-3aca-4ad4-9ebc-ed8a258823e5.png"> OS: MacOS 12.4 ### `quarto check` Output ```bash [✓] Checking Quarto installation......OK Version: 1.0.38 Path: /Applications/quarto/bin [✓] Checking basic markdown render....OK [✓] Checking Python 3 installation....OK Version: 3.9.13 Path: /opt/homebrew/opt/[email protected]/bin/python3.9 Jupyter: (None) Jupyter is not available in this Python installation. Install with python3 -m pip install jupyter [✓] Checking R installation...........OK Version: 4.2.0 Path: /Library/Frameworks/R.framework/Resources LibPaths: - /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library rmarkdown: 2.14 [✓] Checking Knitr engine render......OK ``` ### `quarto tools check` Output ```bash [✓] Inspecting tools Tool Status Installed Latest chromium Not installed --- 869685 tinytex Up to date v2022.08 v2022.08 ``` ### Checklist - [X] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read? - [X] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue. - [X] documented the quarto version you're running, by pasting the output from running `quarto check` in the "Quarto Check Output" text area? - [X] documented the version of the quarto tools you're running, by providing the output from running `quarto tools check` in the "Quarto Tools Check Output" text area? - [X] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog? - [X] documented which operating system you're running? If on Linux, please provide the specific distribution as well. - [X] upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?
{ "assignee": "cscheid", "comments": 3, "created_at": "2022-08-11T05:44:10Z", "creator": "aaronschiff", "is_pull_request": false, "labels": [ "bug", "ojs-engine" ], "locked": false, "milestone": "v1.1", "number": 1812, "state": "closed", "title": "Output visibility is not respected for Observable JS cells in Hugo output", "url": "https://github.com/quarto-dev/quarto-cli/issues/1812" }
Quarto automatically puts `## References` section at the end of document when no references section is specified by users. I've found that the auto-generated references section heading is marked with `h2` (`##`). However, it would make more sense to use the first-level heading (`h1`: `#`). Otherwise, references section is treated as a sub heading under other first-level heading sections. This may confuse screen reader users as a side effect.
{ "assignee": null, "comments": 8, "created_at": "2022-08-11T03:29:13Z", "creator": "jooyoungseo", "is_pull_request": false, "labels": [], "locked": false, "milestone": null, "number": 1811, "state": "closed", "title": "Use first-level heading for default references div", "url": "https://github.com/quarto-dev/quarto-cli/issues/1811" }
## System Info * Quarto version: 1.0.38 * OS Name: Microsoft Windows 11 Education * OS Version: 10.0.22000 N/A Build 22000 ## Reprex 1. Launch `CMD.exe` 2. In any directory, do `quarto create-project test` 3. `cd test` 4. `quarto preview test.qmd` 5. Press Ctrl+C in the CMD windows to see if you can kill the quarto preview instance. Cannot do it when browser preview is open. Only works after the browser is closed.
{ "assignee": null, "comments": 2, "created_at": "2022-08-11T03:11:27Z", "creator": "jooyoungseo", "is_pull_request": false, "labels": [ "needs-repro" ], "locked": false, "milestone": "v1.2", "number": 1810, "state": "closed", "title": "Cannot stop quarto preview in CMD.exe", "url": "https://github.com/quarto-dev/quarto-cli/issues/1810" }
The default font for revealjs presentations is too big. The [documentation ](https://quarto.org/docs/reference/formats/presentations/revealjs.html) says you can add 'smaller' to the yaml header to decrease the font size on all the slides, but it doesn't say what's suppose to come after it. Setting fontsize in the yaml header doesn't do anything either. For example logo: logo.png or footer: 'Company tag line here' but what about smaller? smaller: ????
{ "assignee": null, "comments": 1, "created_at": "2022-08-10T23:25:35Z", "creator": "ethantenison", "is_pull_request": false, "labels": [], "locked": false, "milestone": null, "number": 1875, "state": "closed", "title": "HTML Options pages without examples ", "url": "https://github.com/quarto-dev/quarto-cli/issues/1875" }
[rgl](https://github.com/dmurdoch/rgl) plots work in RMarkdown using several low level hooks that are set up by the `rgl::setupKnitr()` function. This doesn't work in quarto, presumably because things are implemented differently, though other `htmlwidgets`-using packages (e.g. `leaflet`) work fine. I'm not sure if this requires changes to `rgl`, to `quarto`, or to both. I've also started [an rgl issue](https://github.com/dmurdoch/rgl/issues/264). Here's a sample RMarkdown document: ```` --- title: "Untitled" output: html_document --- ```{r} library(rgl) setupKnitr(autoprint = TRUE) ``` ```{r} plot3d(1:10, 1:10, 1:10) ``` ```` Here's the same thing as a Quarto document: ```` --- title: "Untitled" format: html editor: visual --- This normally wouldn't be echoed: ```{r} library(rgl) setupKnitr(autoprint = TRUE) ``` rgl doesn't display: ```{r} plot3d(1:10, 1:10, 1:10) ``` ````
{ "assignee": null, "comments": 12, "created_at": "2022-08-10T19:26:10Z", "creator": "dmurdoch", "is_pull_request": false, "labels": [ "third-party" ], "locked": false, "milestone": "Future", "number": 1800, "state": "closed", "title": "rgl plots don't display in quarto", "url": "https://github.com/quarto-dev/quarto-cli/issues/1800" }
Get this error: "ERROR: API Error: 401 (Unauthorized)" (despite being successfully logged in to quartopub.com in default browser) when attempting to publish a single .qmd via CLI as follows: quarto publish quarto-pub filename.qmd Need better documentation for how to (force) authentication if it doesn't work automatically.
{ "assignee": null, "comments": 1, "created_at": "2022-08-10T16:07:03Z", "creator": "carobuck", "is_pull_request": false, "labels": [], "locked": false, "milestone": null, "number": 1876, "state": "closed", "title": "Quarto Pub 401 authentication error", "url": "https://github.com/quarto-dev/quarto-cli/issues/1876" }