page_content
stringlengths 0
46.9k
| metadata
dict |
---|---|
Thanks for the ultra cool project! 🙂
Unless I am mistaken (very possible!), it looks like the rendering of quarto from .qmd to .md adds escape characters which prevent the usage of Hugo shortcodes.
Here is an example:
I have a shortcode in Hugo called a.html that I use with:
```
{{<a "some content">}}
```
When Hugo renders my markdown file, the shortcode gets expanded into some html code.
Now, the problem is that if I use `{{<a "some content">}}` in my .qmd file, it gets rendered by quarto in the .md file as:
```
{{<\a "some content"\>}}
```
So Hugo cannot process the shortcode anymore and it appears in the html file as is.
Am I missing something? If not, is there a workaround? Or could this be addressed somehow?
Thank you!!! | {
"assignee": null,
"comments": 18,
"created_at": "2022-05-15T18:56:08Z",
"creator": "prosoitos",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 888,
"state": "closed",
"title": "[conflict with Hugo]: quarto rendering interferes with Hugo shortcodes",
"url": "https://github.com/quarto-dev/quarto-cli/issues/888"
} |
Cannot insert image-only page (without a title) into a presentation (unless a workaround is used).
See minimal reproducible example [here](https://github.com/donboyd5/mres/blob/main/quarto_pres_imagepage/index.qmd). | {
"assignee": "cderv",
"comments": 5,
"created_at": "2022-05-15T15:52:54Z",
"creator": "donboyd5",
"is_pull_request": false,
"labels": [
"bug"
],
"locked": false,
"milestone": null,
"number": 885,
"state": "closed",
"title": "Cannot insert image-only page (without a title) into a presentation (unless a workaround is used)",
"url": "https://github.com/quarto-dev/quarto-cli/issues/885"
} |
For a book I want to publish in French, the date appears in the HTML in English:
![image](https://user-images.githubusercontent.com/7606540/168477573-db46feb5-47a3-4ff0-ae24-3ca7169330e1.png)
I realize this is not an easy fix, but a solution (that is working in PDF with LaTeX) is to pass the date string in YYYY-MM-DD format (a kind of internationally neutral) way? I've defined it like this in my _quarto.yml file:
```yaml
book:
date: "2022-05-06"
```
On the PDF version of my book, it shows "as is" on the cover page:
![image](https://user-images.githubusercontent.com/7606540/168477965-fc47e368-433a-4eb0-bd70-402962fa6e77.png)
But on the web site, it's converted into an American date as shown above.
Perhaps adding a "title-block-date-format:" field to the `_language.yml` file would allow this to work with the most flexibility? | {
"assignee": null,
"comments": 1,
"created_at": "2022-05-15T14:27:48Z",
"creator": "fuhrmanator",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 883,
"state": "closed",
"title": "Date format on web page (HTML) doesn't follow the language settings",
"url": "https://github.com/quarto-dev/quarto-cli/issues/883"
} |
Reading the documentation at https://quarto.org/docs/authoring/language.html I get the impression that defining `lang: fr` in the metadata (_quarto.yml) of a project will allow the translations for French to be done for things like "Table des matières" instead of "Table of contents". In fact, this doesn't work in my project, neither for PDF nor HTML output. I tried putting `lang: fr` in the `project:` part of the metadata and also the `book:` part.
In the output of the `quarto preview . --render all` command, there is no information showing the language settings, so perhaps it's not being passed to pandoc, etc. I know pandoc supports this feature, because I have used it on other projects before coming to quarto.
The workaround for me is to put `language: _language.yml` in the `project:` part (I copied _language.yml from [quarto-cli](https://github.com/quarto-dev/quarto-cli)/[src](https://github.com/quarto-dev/quarto-cli/tree/main/src)/[resources](https://github.com/quarto-dev/quarto-cli/tree/main/src/resources)/[language](https://github.com/quarto-dev/quarto-cli/tree/main/src/resources/language)/_language-fr.yml) | {
"assignee": null,
"comments": 1,
"created_at": "2022-05-15T14:16:26Z",
"creator": "fuhrmanator",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 882,
"state": "closed",
"title": "Can't get \"lang: fr\" to work in _quarto.yml (Book)",
"url": "https://github.com/quarto-dev/quarto-cli/issues/882"
} |
I can place an image in `.columns`, but when I try to define a general div with some arbitrary class, text goes in it, but the image is bumped to after the div.
Here's an example:
```
---
title: "My talk"
author: "jimjamslam"
format: revealjs
---
## Test A: custom block
:::{.qrcodeblock}
Oh hello
![](https://upload.wikimedia.org/wikipedia/en/a/a9/Example.jpg)
Why not?
:::
## Test B: columns
:::: {.columns}
::: {.column width="50%"}
Some left column comment
:::
::: {.column width="50%"}
Oh hello
![](https://upload.wikimedia.org/wikipedia/en/a/a9/Example.jpg)
Why not?
:::
::::
## Test C: outer div
:::: {.anotherblocks}
:::{.qrcodeblockagain}
Oh hello
![](https://upload.wikimedia.org/wikipedia/en/a/a9/Example.jpg)
Why not?
:::
::::
```
In all three slides, I expect the example image to be inside the classed div, between "Oh hello" and "Why not". But when I render, this only works in the second slide (where it's in the right column). In the first and third slides, it slips after the text, outside the div.
<img width="1015" alt="image" src="https://user-images.githubusercontent.com/6520659/168455225-72cb6644-9d69-4e15-9da4-3a183e19c6ff.png">
<img width="1015" alt="image" src="https://user-images.githubusercontent.com/6520659/168455229-318f2868-3573-4f42-a30b-70a7a8bb4275.png">
<img width="1015" alt="image" src="https://user-images.githubusercontent.com/6520659/168455233-1579b08c-b80e-47f2-98e8-57936043d0aa.png">
| {
"assignee": "cderv",
"comments": 6,
"created_at": "2022-05-15T03:01:54Z",
"creator": "jimjam-slam",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 877,
"state": "closed",
"title": "Can't place image in div in revealjs format",
"url": "https://github.com/quarto-dev/quarto-cli/issues/877"
} |
I don't know if there is the possibility to render file with Latex tables, like
```
\begin{table}[h]
\centering
\begin{tabular}{|c||c|c|c|c|c|c||c|}\hline
Variable $X$ & \multicolumn{6}{c||}{Variable $Y$} & \multirow{2}{*}{$n_{i\cdot }$}\\\cline{1-7}
values & 1 & 2 & $\ldots$ & $j$& $\ldots$ & $l$ & \\\hline\hline
1 & $n_{11}$ & $n_{12}$ & $\ldots$ & $n_{1j}$ & $\ldots$ & $n_{1l}$ & $n_{1\cdot }$\\\hline
2 & $n_{21}$ & $n_{22}$ & $\ldots$ & $n_{2j}$ & $\ldots$ & $n_{2l}$& $n_{2\cdot }$\\\hline
$\vdots$ & $\vdots$ & $\vdots$ & $\ddots$ & $\vdots$ &$\ddots$ &$\vdots$&$\vdots$\\\hline
$i$& $n_{i1}$ & $n_{i2}$ & $\ldots$ & $n_{ij}$ & $\ldots$ & $n_{il}$& $n_{i\cdot }$\\\hline
$\vdots$ & $\vdots$ & $\vdots$ & $\ddots$ & $\vdots$ &$\ddots$ &$\vdots$&$\vdots$\\\hline
$k$& $n_{k1}$ & $n_{k2}$ & $\ldots$ & $n_{kj}$ & $\ldots$ & $n_{kl}$& $n_{k\cdot }$\\\hline\hline
$n_{\cdot j}$& $n_{\cdot 1}$&$n_{\cdot 2}$&$\ldots$&$n_{\cdot j}$&$\ldots$&$n_{\cdot l}$&$n$\\\hline
\end{tabular}
\caption{Contingency tablei}
\label{tab:1}
\end{table}
``` | {
"assignee": null,
"comments": 1,
"created_at": "2022-05-14T17:11:55Z",
"creator": "dax44",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 876,
"state": "closed",
"title": "Feature request: latex tables rendering in html documents",
"url": "https://github.com/quarto-dev/quarto-cli/issues/876"
} |
Rendering my qmd file I have this warnings
```
/output/chtml/fonts/woff-v2/MathJax_Zero.woff (404: Not Found)
/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff (404: Not Found)
/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff (404: Not Found)
/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff (404: Not Found)
/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff (404: Not Found)
/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff (404: Not Found)
/output/chtml/fonts/woff-v2/MathJax_Size2-Regular.woff (404: Not Found)
/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff (404: Not Found)
/output/chtml/fonts/woff-v2/MathJax_Size3-Regular.woff (404: Not Found)
```
and my latex formulas have strange fonts
<img width="434" alt="Zrzut ekranu 2022-05-14 o 14 39 59" src="https://user-images.githubusercontent.com/8738353/168426132-d3a818c9-e6fc-479b-ab7a-ff0881186fb3.png">
Any ideas?
| {
"assignee": "dragonstyle",
"comments": 7,
"created_at": "2022-05-14T12:40:27Z",
"creator": "dax44",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 875,
"state": "closed",
"title": "Wrong Mathjax fonts rendering",
"url": "https://github.com/quarto-dev/quarto-cli/issues/875"
} |
Is [background-transition](https://revealjs.com/#/16) supported in Quarto?
Looking at the Quarto [Docs](https://quarto.org/docs/presentations/revealjs/#color-backgrounds) I did not find any reference to `background-transition`
I have tried the following but it does not work.
```
## Slide Backgrounds {background="#43464B" background-transition="zoom"}
```
| {
"assignee": null,
"comments": 2,
"created_at": "2022-05-13T18:33:10Z",
"creator": "rleyvasal",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 871,
"state": "closed",
"title": "`background-transition` support for `revealjs`",
"url": "https://github.com/quarto-dev/quarto-cli/issues/871"
} |
I tried example at https://quarto.org/docs/authoring/diagrams.html
````markdown
---
title: "My simple title"
format: html
---
# Head
```{mermaid}
flowchart LR
A[Hard edge] --> B(Round edge)
B --> C{Decision}
C --> D[Result one]
C --> E[Result two]
```
````
and I get this when `quarto render`
````
WARNING: Capturing of embedded web content disabled (chromium not installed)
ERROR: TypeError: Cannot read properties of undefined (reading '0')
TypeError: Cannot read properties of undefined (reading '0')
at Object.cell (file:///C:/Users/chris/Documents/DEV_R/quarto-cli/src/core/handlers/mermaid.ts:84:69)
at async Promise.all (index 0)
at async Object.document (file:///C:/Users/chris/Documents/DEV_R/quarto-cli/src/core/handlers/base.ts:367:20)
at async handleLanguageCells (file:///C:/Users/chris/Documents/DEV_R/quarto-cli/src/core/handlers/base.ts:330:34)
at async renderFiles (file:///C:/Users/chris/Documents/DEV_R/quarto-cli/src/command/render/render-files.ts:384:39)
at async render (file:///C:/Users/chris/Documents/DEV_R/quarto-cli/src/command/render/render-shared.ts:91:18)
at async Command.fn (file:///C:/Users/chris/Documents/DEV_R/quarto-cli/src/command/render/cmd.ts:183:26)
at async Command.execute (https://deno.land/x/cliffy@v0.19.3/command/command.ts:997:7)
at async Command.parse (https://deno.land/x/cliffy@v0.19.3/command/command.ts:918:16)
at async Command.parse (https://deno.land/x/cliffy@v0.19.3/command/command.ts:870:16)
````
I am using last dev version (946b31a703bda35218c26323d1c2349f0cca08a5) on windows 10 | {
"assignee": "cderv",
"comments": 7,
"created_at": "2022-05-13T12:28:52Z",
"creator": "cderv",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 868,
"state": "closed",
"title": "Chrome is not found when trying to render document with Graph and it errors",
"url": "https://github.com/quarto-dev/quarto-cli/issues/868"
} |
### Steps to reproduce
1. Generate reference powerpoint template using the documentation command (https://quarto.org/docs/presentations/powerpoint.html)
`quarto pandoc -o template.pptx --print-default-data-file reference.pptx `
2. Setting the reference doc in qmd file
```
---
title: "Quarto Basics"
format:
pptx:
reference-doc: template.pptx
jupyter: python3
---
```
3. Render QMD file => powerpoint works
4. Then edit the template.pptx file within PowerPoint as desired, in the most minimal way (changing the theme or the master slides)
5. Rendering QMD file and opening the file
![image](https://user-images.githubusercontent.com/43550053/168272108-54e2bbc0-d089-4f6c-affa-d31ae7ad9729.png)
6. Clicking repair
![image](https://user-images.githubusercontent.com/43550053/168272343-9c3fb6eb-2b7f-488e-b49d-8c9f9fd812aa.png)
| {
"assignee": null,
"comments": 4,
"created_at": "2022-05-13T11:17:57Z",
"creator": "polmonroig",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 867,
"state": "closed",
"title": "Custom reference-doc renders corrupted Powerpoint file",
"url": "https://github.com/quarto-dev/quarto-cli/issues/867"
} |
Hi everyone,
I have a question regarding a somewhat advanced use case:
If I have created a project that contains a simple notebook (e.g. `introduction.qmd`) and a parameterised notebook (e.g. `report_by_state.qmd`) whose output is required multiple times with different parameter values is it possible to render the whole project using `quarto render`?
Say I want to render `introduction.qmd` and `report_by_state.qmd` for state `1`, `2`, and `3`. If using html outputs this should result in
- `introduction.html`
- `report_state_1.html`
- `report_state_2.html`
- `report_state_3.html`
It is of course possible to write a shell script to render reports in this way, but I think it would be nice if there was something like this
```yaml
project:
render:
- introduction.qmd
- input: report_by_state.qmd
params:
state: 1
output: report_state_1.html
- input: report_by_state.qmd
params:
state: 2
output: report_state_2.html
- input: report_by_state.qmd
params:
state: 3
output: report_state_3.html
```
and being able to render everything with a single `quarto render`.
Except writing a custom shell script, is there currently a method which makes it possible to achieve something like this? | {
"assignee": null,
"comments": 3,
"created_at": "2022-05-13T09:30:10Z",
"creator": "p-gw",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 864,
"state": "open",
"title": "[Question/Feature Request] Parameterised notebooks within projects",
"url": "https://github.com/quarto-dev/quarto-cli/issues/864"
} |
Hi, please see this:
The following YAML bring up an error
```
```{r}
#| echo: c(3)
month <- "July"
str(month)
```
```
But using an = sign works:
```
```{r}
#| echo= c(3)
month <- "July"
str(month)
```
```
https://stackoverflow.com/questions/72217651/quarto-rmarkdown-code-block-to-only-display-certain-lines | {
"assignee": null,
"comments": 5,
"created_at": "2022-05-13T09:03:41Z",
"creator": "plukethep",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 863,
"state": "closed",
"title": "YAML chunk options inconsistent use of : and =",
"url": "https://github.com/quarto-dev/quarto-cli/issues/863"
} |
Slides without titles currently don't show up on the outline. @jjallaire had mentioned that this worked in v0.2.340, so title-less slides not showing up in the outline might be a regression. I think we had discussed that a title would be constructed for them based on the initial text the slide can find and put something like "Slide 3" if not.
| {
"assignee": null,
"comments": 0,
"created_at": "2022-05-13T02:39:38Z",
"creator": "mine-cetinkaya-rundel",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 862,
"state": "open",
"title": "Feature request: Show slides without titles in outline",
"url": "https://github.com/quarto-dev/quarto-cli/issues/862"
} |
### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/853
<div type='discussions-op-text'>
<sup>Originally posted by **rgaiacs** May 12, 2022</sup>
When I run `quarto render --execute --to html --output-dir public`, I get
```
[17/17] references.qmd
Starting conda-env-first-carpal-py kernel...(Notebook read from cache)
File ../references.bib not found in resource path
```
I have `references.bib` in my project. What can be causing this error?
# Content of `references.qmd`
```
---
jupyter:
jupytext:
text_representation:
extension: .qmd
format_name: quarto
format_version: '1.0'
jupytext_version: 1.13.8
kernelspec:
display_name: 'Python [conda env:first-carpal]'
language: python
name: conda-env-first-carpal-py
---
# References {.unnumbered}
::: {#refs}
:::
```
# Content of `_quarto.yml`
```
project:
type: book
execute:
cache: true
echo: false
output: false
eval: true
book:
title: "AI for First Carpal Bone Detection"
author: "Raniere Silva"
chapters:
- index.qmd
- intro.qmd
- data.qmd
- part: classification/index.qmd
chapters:
- classification/models.qmd
- classification/data-annotation.qmd
- classification/data-preparation-fastai.qmd
- classification/data-augmentation.qmd
- classification/training-fastai.qmd
- part: detection/index.qmd
chapters:
- detection/models.qmd
- detection/data-annotation.qmd
- detection/data-preparation-fastai.qmd
- detection/data-augmentation.qmd
- detection/training-fastai.qmd
- faq.qmd
- references.qmd
repo-url: https://gitlab.com/raniere-phd/ai-for-first-carpal-bone-detection
repo-actions:
- edit
- source
- issue
bibliography: references.bib
format:
html:
theme: cosmo
pdf:
documentclass: scrreprt
```
# Other information
No error when I reduce `_quarto.yml` to
```
project:
type: book
execute:
cache: true
echo: false
output: false
eval: true
book:
title: "AI for First Carpal Bone Detection"
author: "Raniere Silva"
chapters:
- index.qmd
- part: detection/index.qmd
chapters:
- detection/models.qmd
- faq.qmd
- references.qmd
repo-url: https://gitlab.com/raniere-phd/ai-for-first-carpal-bone-detection
repo-actions:
- edit
- source
- issue
bibliography: references.bib
format:
html:
theme: cosmo
pdf:
documentclass: scrreprt
```</div> | {
"assignee": "dragonstyle",
"comments": 1,
"created_at": "2022-05-13T02:31:32Z",
"creator": "dragonstyle",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 861,
"state": "closed",
"title": "BibTeX file not found in resource path",
"url": "https://github.com/quarto-dev/quarto-cli/issues/861"
} |
Related to https://github.com/quarto-dev/quarto-cli/discussions/853
# Minimal Working Example
Let's create a new book project:
```
$ quarto create-project mwe --type book
Creating project at /tmp/mwe:
- Created _quarto.yml
- Created index.qmd
- Created intro.qmd
- Created summary.qmd
- Created references.qmd
- Created cover.png
- Created references.bib
$ cd mwe
$ quarto render --to html --output-dir public --debug --execute-debug --log-level info
[1/4] index.qmd
[2/4] intro.qmd
[3/4] summary.qmd
[4/4] references.qmd
Output created: public/index.html
```
`quarto` work as expected.
Let's create a directory called `foo` to host a part of our book and create a file `foo/index.qmd` to open our book part.
```
$ mkdir foo
$ cp index.qmd foo/
$ cat _quarto.yml
project:
type: book
book:
title: "mwe"
author: "Jane Doe"
date: "13/05/2022"
chapters:
- index.qmd
- intro.qmd
- summary.qmd
- references.qmd
bibliography: references.bib
format:
html:
theme: cosmo
pdf:
documentclass: scrreprt
$ quarto render --to html --output-dir public --debug --execute-debug --log-level info
[1/5] foo/index.qmd
[2/5] index.qmd
[3/5] intro.qmd
[4/5] summary.qmd
[5/5] references.qmd
File ../references.bib not found in resource path
ERROR: File ../references.bib not found in resource path
```
# Primary Issue
`quarto` fail with `File ../references.bib not found in resource path`. Some how, the introduction of `foo/index.qmd` messed with `quarto`'s path logic.
# Secondary Issue
`quarto` is processing `foo/index.qmd` but it is lot listed in `_quarto.yml`. | {
"assignee": null,
"comments": 5,
"created_at": "2022-05-13T01:43:06Z",
"creator": "rgaiacs",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 860,
"state": "closed",
"title": "BibTeX file not found in resource path",
"url": "https://github.com/quarto-dev/quarto-cli/issues/860"
} |
Any plans to support `font awesome` on `revealjs` presentations?
It currently does not work. I have tried the following code:
```markdown
## MAKE NOTES ON SLIDES
Did you notice the <i class="fa fa-pencil"></i> button?
```
**Result:**
![fa](https://user-images.githubusercontent.com/61335136/168174337-f241756b-e66e-4f9e-b49f-a66bf41392a0.PNG)
| {
"assignee": null,
"comments": 2,
"created_at": "2022-05-12T21:55:58Z",
"creator": "rleyvasal",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 859,
"state": "closed",
"title": "`font awesome` on `revealjs` presentation",
"url": "https://github.com/quarto-dev/quarto-cli/issues/859"
} |
xwiki is [supported](https://cs.github.com/quarto-dev/quarto-cli?q=xwiki), but not [documented](https://quarto.org/docs/output-formats/all-formats.html#wikis).
Atlassian seems to have dropped support for Jira wiki markup, OTOH, so it may not be worth supporting?
> We’ve removed wiki markup from the new editor in favor of full markdown support.
[Jira Cloud new issue view editor changes - Jira Development](https://community.developer.atlassian.com/t/jira-cloud-new-issue-view-editor-changes/29993) | {
"assignee": null,
"comments": 1,
"created_at": "2022-05-12T19:06:28Z",
"creator": "dpprdan",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 858,
"state": "closed",
"title": "XWiki supported but not documented?",
"url": "https://github.com/quarto-dev/quarto-cli/issues/858"
} |
Hi!
We've been having issues with .ipynb files that have Holoviews/Bokeh - these often take a long time to `quarto preview` in our JupyterHub, and also with our GitHub Action. We've encountered this before and likely chatted about it but wanted to revisit –
Here are a few example notebooks where we are seeing this (included in [_quarto.yml#L52-L58](https://github.com/NASA-Openscapes/earthdata-cloud-cookbook/blob/main/_quarto.yml#L52-L58)):
- [LPDAAC_ECOSTRESS_LSTE__Kerchunk.ipynb](https://github.com/NASA-Openscapes/earthdata-cloud-cookbook/blob/main/examples/LPDAAC/LPDAAC_ECOSTRESS_LSTE__Kerchunk.ipynb)
- [PODAAC_ECCO_SSH__Kerchunk.ipynb](https://github.com/NASA-Openscapes/earthdata-cloud-cookbook/blob/main/examples/PODAAC/PODAAC_ECCO_SSH__Kerchunk.ipynb)
- [GESDISC_MERRA2_tavg1_2d_flx_Nx__Kerchunk.ipynb](https://github.com/NASA-Openscapes/earthdata-cloud-cookbook/blob/main/examples/GESDISC/GESDISC_MERRA2_tavg1_2d_flx_Nx__Kerchunk.ipynb) > note that this is currently not included in our quarto site ([_quarto.yml#L54](https://github.com/NASA-Openscapes/earthdata-cloud-cookbook/blob/main/_quarto.yml#L54)) because `quarto preview` was taking so long
A few more details about it in [this earthdata-cloud-cookbook issue](https://github.com/NASA-Openscapes/earthdata-cloud-cookbook/issues/102), where @betolink says:
> I think this may be because these notebooks use Holoviews/Bokeh. `HVPlot` injects a lot of Javascript and CSS into the notebook ([in the order of megabytes](https://raw.githubusercontent.com/NASA-Openscapes/earthdata-cloud-cookbook/main/examples/GESDISC/GESDISC_MERRA2_tavg1_2d_flx_Nx__Kerchunk.ipynb)) and perhaps Quarto is having issues parsing all of this.
Thanks in advance for any help! | {
"assignee": null,
"comments": 6,
"created_at": "2022-05-12T15:42:27Z",
"creator": "jules32",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 857,
"state": "closed",
"title": "quarto preview with .ipynb - issue parsing with Javascript/CSS? (Holoviews/Bokeh)",
"url": "https://github.com/quarto-dev/quarto-cli/issues/857"
} |
action-links [are not shown](https://github.com/quarto-dev/quarto-cli/blob/e1a9c37d251be33c9828a8c861dd8ffa64b3d7c4/src/project/types/website/website-navigation.ts#L553) if the current page has no table of contents, e.g. because it contains no sub-headings. | {
"assignee": "dragonstyle",
"comments": 2,
"created_at": "2022-05-12T09:54:35Z",
"creator": "nichtich",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 852,
"state": "closed",
"title": "action-links are not shown if page has not toc",
"url": "https://github.com/quarto-dev/quarto-cli/issues/852"
} |
I experienced the fact that the `title` put in YAML options is not rendered in `ipynb` output format.
I think that parsing the title, when it exists, into a level one header at the beginning of the file might be useful.
I came across the following python code to tweak the `qmd` file, it can be used as an inspiration if you are okay to implement this featuere (I know that you will not use python for such implementation but if it can help you I am happy to share):
```python
import re
filename = "example.qmd"
with open(filename, 'r', encoding='utf-8') as f:
text = f.readlines()
new_text = "".join([line for line in text])
yaml, text = s.split('---\n', 2)[1:]
title_search = re.search('title: "(.*)"', s)
if title_search:
title = "#" + title_search.group(1)
else:
title = ""
new_md = title.replace('"', '').replace("'", "") + \
"\n" + text
```
(Maybe there are other `quarto` YAML felds that could be parsed: I proposed title as a starting point) | {
"assignee": "dragonstyle",
"comments": 4,
"created_at": "2022-05-12T07:47:10Z",
"creator": "linogaliana",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 851,
"state": "closed",
"title": "Parsing of YAML options for ipynb output",
"url": "https://github.com/quarto-dev/quarto-cli/issues/851"
} |
Hi, once again thanks a lot for `quarto` which is an excellent tool.
I tried to use `folium` with `quarto` to build a `Python` course website. The output format is `hugo`. Instead of the map the python block should have produced, this message appeared:
> Make this Notebook Trusted to load map: File -> Trust Notebook<iframe srcdoc="<!DOCTYPE html> <head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
This is a typical Jupyter security message as stated in the [doc](https://jupyter-notebook.readthedocs.io/en/latest/notebook.html?highlight=trust#signing-notebooks).
I put a minimal reproducible exemple at the end of the _issue_ based on `folium` documentation to show how to recreate the problem.
Is there some way, behind the stage, to make jupyter trust all sessions launched by quarto ?
What is surprising is that this behavior does not happen when using `html` output
## Reprex
Let's create a file `example.qmd` :
~~~markdown
---
title: "Plotly example"
html: default
---
```{python}
import folium
m = folium.Map(location=[45.5236, -122.6750])
```
```{python}
m
```
~~~
When using `quarto render example.qmd --to html`, no problem at all. Map is visible.
When using `quarto render example.qmd --to hugo`, instead of the map we have the `Make this Notebook Trusted to load map` (and lot's of misformed content I don't understand)
I also tried to replace the printing of the map using `m` by
~~~markdown
```{python}
#| include: false
#| eval: false
map = m._repr_html_()
```
```{python}
#| echo: false
#| output: asis
#| eval: false
print(map)
```
~~~
(which was my R Markdown way of doing) but the result is the same
Update: it works as expected for `ipynb` output. Problem is really for `hugo` format | {
"assignee": null,
"comments": 3,
"created_at": "2022-05-12T07:13:07Z",
"creator": "linogaliana",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 850,
"state": "closed",
"title": "Untrusted jupyter notebook when using JS for hugo format",
"url": "https://github.com/quarto-dev/quarto-cli/issues/850"
} |
I just started using quarto-mode.el (thank you). When running quarto-preview, I notice that Emacs uses the --no-watch-inputs flag so that it doesn't re-render when files are updated.
HOwever, it does still print the message:
```
Output created: a.html
Watching files for changes
Browse at http://localhost:7062/
```
i.e. 'Watching files for changes'... I also see this on the command line if I do:
```
quarto preview a.qmd --no-watch-inputs
```
am I missing something? Or out of date? this is with quarto version 0.9.339 from manjaro linux.
| {
"assignee": "cscheid",
"comments": 5,
"created_at": "2022-05-11T21:58:11Z",
"creator": "sje30",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 848,
"state": "open",
"title": "--no-watch-inputs",
"url": "https://github.com/quarto-dev/quarto-cli/issues/848"
} |
Firstly, many thanks for the fantastic package you are developing!
I am following from @athulsudheesh's [comment](https://github.com/quarto-dev/quarto-cli/issues/556#issuecomment-1098078841) in #556, to request a new feature for custom callout boxes.
One use case I have in mind is for exercises in books or course materials, for example:
```md
:::{.callout-exercise}
Exercise description.
:::{.callout-answer collapse="true"}
The answer to the exercise
:::
:::
```
I guess these would have to be defined somewhere following a template (on the front matter? or on a separate YAML, that is then referenced on the front-matter?).
```yaml
callout: "exercise"
title: "Exercise"
color: "purple"
icon: "fa-question"
collapse: "false"
callout: "answer"
title: "Answer"
color: "green"
icon: "fa-pen"
collapse: "true"
```
Alternatively maybe this could be done through a generic callout with a couple of extra options, such as:
```md
:::{.callout-custom color="purple" icon="fa-question"}
## Exercise
A purple callout block with a question mark icon.
:::
```
The disadvantage here is that there is more typing involved. | {
"assignee": "dragonstyle",
"comments": 12,
"created_at": "2022-05-11T16:38:46Z",
"creator": "tavareshugo",
"is_pull_request": false,
"labels": [
"enhancement",
"callouts"
],
"locked": false,
"milestone": "Future",
"number": 844,
"state": "open",
"title": "Custom callout boxes",
"url": "https://github.com/quarto-dev/quarto-cli/issues/844"
} |
I tried to render a qmd file containing a mermaid code block.
```shell
$ uname -a
Linux a47352c79461 5.10.102.1-microsoft-standard-WSL2 #1 SMP Wed Mar 2 00:30:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
$ quarto -v
0.9.385
$ quarto tools install chromium
Installing chromium
Installation successful
$ quarto render quarto-test/test.qmd
ERROR: Could not find browser revision 869685. Run "PUPPETEER_PRODUCT=chrome deno run -A --unstable https://deno.land/x/puppeteer@9.0.2/install.ts" to download a supported browser binary.
``` | {
"assignee": null,
"comments": 15,
"created_at": "2022-05-11T10:31:03Z",
"creator": "eitsupi",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 842,
"state": "closed",
"title": "quarto does not recognize chromium installed by the `quarto tools install chromium` command",
"url": "https://github.com/quarto-dev/quarto-cli/issues/842"
} |
Hi, guys! I'm new with `quarto` in `RStudio`.
I need to generate an `.docx` with justified text and Times New Roman font (or similar in Linux).
To justify a `html` file with `.rmd` I used to put `<div style="text-align: justify">` at the begin of the file and close with `</div>`.
But this is not working with `quarto`. How can I fix it?
Also, how can I change my main font in `quarto`?
My code:
I also tried to create a template.docx but nothing happened (maybe because I use LibreOffice??)
```quarto
---
title: "My simple title"
description: |
Text proof
author: "My name and ID"
format:
docx:
geometry:
- top=30mm
- left=30mm
editor: visual
---
<div style="text-align: justify">
**UNIVERSIDADE DE SÃO PAULO - USP**
- Program
- Date: 10/05/2022
- Subject: Calc
- Professor: Marcelo
# Question
**1)** Text textText textText textText textText textText textText textText textText textText textText textText textText textText textText textText textText textText textText textText textText textText textText textText textText textText textText textText textText textText textText textText textText textText textText textText textxt textText textText textText textText textText textText textText textText textText textText textText textText textxt textText textText textText textText textText textText textText textText textText textText textText textText text
</div>
``` | {
"assignee": null,
"comments": 2,
"created_at": "2022-05-10T20:57:33Z",
"creator": "rtheodoro",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 841,
"state": "closed",
"title": "How can I justify my article in .docx and change the default font?",
"url": "https://github.com/quarto-dev/quarto-cli/issues/841"
} |
Consider this reprex:
````
---
title: "test-highlighting"
format: html
engine: knitr
highlight-style: github
theme:
light: flatly
dark: darkly
---
```{r}
r = 1 + 2 + 3
```
````
The important bits are `highlight-style: github` and the custom themes. If I render this to HTML, I get the expected GitHub-style syntax highlighting:
<img width="612" alt="before" src="https://user-images.githubusercontent.com/4377312/167646958-0d70789e-580e-4183-817d-5d0517f4bbf0.png">
However, publishing this (e.g. to RPubs) seems to reset the highlighting style, because then the document looks like this:
<img width="612" alt="after" src="https://user-images.githubusercontent.com/4377312/167647143-8c6f6b94-4010-4988-a667-a1ecbd2f580b.png">
I think that this might be a bug – or did I make a mistake somewhere? | {
"assignee": null,
"comments": 5,
"created_at": "2022-05-10T14:03:07Z",
"creator": "cbrnr",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 840,
"state": "closed",
"title": "Publishing resets `highlight-style`",
"url": "https://github.com/quarto-dev/quarto-cli/issues/840"
} |
In a Quarto document, I have an iframe which initially points to a file on disk named loading.html, but then after a small amount of time, there is JS code replaces the URL with another one. If this change happens quickly, the Quarto server shuts down and displays this error message:
```
ERROR: connection closed before message completed
```
Previously, this was just a warning. It looks like the change was made in 7cd7bb8718b9c06eced8379554c53fdbd0fc7834. I think it can make sense for the server to shut down for some errors, but shutting down for this particular one is a bit aggressive. | {
"assignee": null,
"comments": 2,
"created_at": "2022-05-09T21:12:45Z",
"creator": "wch",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 839,
"state": "closed",
"title": "Web server shuts down too eagerly when error occurs",
"url": "https://github.com/quarto-dev/quarto-cli/issues/839"
} |
Maybe this is for RStudio instead(?)
Have not until today used RStudio for a presentation; experimenting with quarto and reveal.js.
MS Powerpoint has a really great feature - an outline view that lets you type slide titles one after another, and then indent or not. Each slide title results in a new slide; if indented, it results in a bullet on an existing slide. You can drag the slides around in this view (and in other views), altering the order of the presentation. It is a great efficiency when you're trying to figure out what topics you're going to cover and in what order, before you even decide on content details.
I know it's a lot to ask quarto and/or RStudio to have all desired features but this would certainly make prototyping/outlining a presentation much faster. It would be great if this could be put somewhere on the list of desired features, perhaps in lowest quartile.
If it should be moved to RStudio, pls let me know. Thanks. | {
"assignee": null,
"comments": 1,
"created_at": "2022-05-09T12:12:08Z",
"creator": "donboyd5",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 836,
"state": "open",
"title": "Desired feature: Editable outline view in RStudio, for presentations, similar to what Powerpoint has",
"url": "https://github.com/quarto-dev/quarto-cli/issues/836"
} |
Reported in https://community.rstudio.com/t/how-to-avoid-margin-references-being-placed-on-top-of-each-other-in-quarto/136439
````markdown
---
format: html
reference-location: margin
---
Lorem ipsum dolor sit amet, consectetur[^1] 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.[^2] Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.[^3]
[^1]: Here is the first citation. Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
[^2]: Here is the second citation.
[^3]: Here is the third citation.
````
![image](https://user-images.githubusercontent.com/6791940/167382005-56c37693-d5f1-4ab3-aa58-1f96bf6f3f9b.png)
Placement of third citation in margin is aligned with its associated paragraph, but this conflict with previous ones as first paragraph is shorter in heigh than the citation in margin.
cc @dragonstyle
| {
"assignee": null,
"comments": 2,
"created_at": "2022-05-09T09:31:29Z",
"creator": "cderv",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 834,
"state": "closed",
"title": "Reference in margin not correctly placed when long reference and small paragraph",
"url": "https://github.com/quarto-dev/quarto-cli/issues/834"
} |
I have installed Quarto on MacOs without issue. However, installation on Windows requires a person to add Quarto path Environment Variables. It may be worthwhile to add a note to the Windows installation guide to assist new users. | {
"assignee": null,
"comments": 3,
"created_at": "2022-05-09T07:22:07Z",
"creator": "SivuyileNzimeni",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 832,
"state": "closed",
"title": "Windows Installation",
"url": "https://github.com/quarto-dev/quarto-cli/issues/832"
} |
For some reason, setting width or height for figures in reveal.js presentations gets ignored. I have a centered figure:
`![](extended_analysis_both.svg){fig-align="center"}`
And I would like to make it larger, but that has no effect:
`![](extended_analysis_both.svg){fig-align="center" width="150%"}`
I also tried knitr::include_graphics with setting out.width but that doesn't work either. Is there a way to accomplish this task of stretching a figure as large as possible to fill the available space?
| {
"assignee": null,
"comments": 3,
"created_at": "2022-05-08T17:28:14Z",
"creator": "maxpel",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 829,
"state": "closed",
"title": "Make figures as large as possible in reveal.js presentations",
"url": "https://github.com/quarto-dev/quarto-cli/issues/829"
} |
Hello,
I am migrating from bookdown to quarto book and I have used a lot of `\begin{equation}` and sometimes `\begin{align}`.
I get how to label the equations starting by `$$` from the [documentation](https://quarto.org/docs/authoring/cross-references.html#equations). But it doesn't work when I add the label after `\end{equation}` or `\end{align}`.
It is ok when I replace `\begin{equation}` by `$$` but I doesn't work for `\begin{align}`.
Is there a way or a fix for this ?
Thanks
| {
"assignee": null,
"comments": 10,
"created_at": "2022-05-07T20:18:37Z",
"creator": "mghassany",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 828,
"state": "closed",
"title": "labeling equation in `\\begin{align}`",
"url": "https://github.com/quarto-dev/quarto-cli/issues/828"
} |
As the title says, when the filename is suffixed with `qmd`, the compiled html has no theme(default setting).
In this case only if I add `standalone: true` to the yaml will the html compile with a theme, or change the file suffix to `md`. | {
"assignee": null,
"comments": 4,
"created_at": "2022-05-07T19:27:50Z",
"creator": "williamlorder",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 827,
"state": "closed",
"title": "When the filename suffix is qmd, the compiled html has no theme",
"url": "https://github.com/quarto-dev/quarto-cli/issues/827"
} |
Hi all,
I'm creating a presentation both with horizontal and vertical slides.
When I insert a slide using heading 1, with inside some columns, I have a wrong rendering of the title.
![image](https://user-images.githubusercontent.com/30607/167251164-27d9ca19-4656-4098-aad4-a5e957e526bd.png)
A slide with columns works only if I use a heading 2 slide after a heading 1 one.
You can see it in action here <https://bl.ocks.org/aborruso/raw/e3078894862fa45a7dd16fb919f50282/?raw=true#/title-slide>.
This is the code of the presentation: <https://gist.github.com/aborruso/aa0e0a0455e5e9e88420dba745ab6bbe>.
Thank you | {
"assignee": null,
"comments": 6,
"created_at": "2022-05-07T10:53:18Z",
"creator": "aborruso",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 824,
"state": "closed",
"title": "Reveal presentation: strange behavior using columns and heading 1",
"url": "https://github.com/quarto-dev/quarto-cli/issues/824"
} |
Our mappedstring infrastructure should let us provide better error messages than what we do currently:
https://twitter.com/PollsAndVotes/status/1522715026456559618 | {
"assignee": "cscheid",
"comments": 1,
"created_at": "2022-05-07T01:17:16Z",
"creator": "cscheid",
"is_pull_request": false,
"labels": [
"yaml-validation"
],
"locked": false,
"milestone": null,
"number": 823,
"state": "closed",
"title": "fix line numbers in yaml error messages",
"url": "https://github.com/quarto-dev/quarto-cli/issues/823"
} |
Hello Quarto !
I have read through the docs on presentation slides and now know about them, including theming in Sass.
I made a Sass theme for RLadies group to be added to be a future option for users.
I first tried just having the [Sass variables](https://quarto.org/docs/presentations/revealjs/themes.html#sass-variables) as shown in the table, but had limited success having it work beyond basics in the `body{}` section after declaring all the variables. So I ended up copying the code from `darkly.scss` in order for my Quarto presentation to render, otherwise I would get an error about my Sass `code not containing at least one layer boundary`. My RLadies theme runs in RStudio with no issues at all with animations or anything.
The only changes for an **RLadies theme** from the **darkly** theme is:
```
# changed the purple hex values and added a purple2
$purple: #562457 !default;
$purple2: #b77ef0 !default;
```
for the body
```
// Body
$body-bg: $purple !default; // <--- changed
$body-color: $white !default;
@function body-mix($weight) {
@return mix($body-bg, $body-color, $weight);
}
```
and for the links
```
// Links
$link-color: $purple2 !default; // <--- changed
```
Please add this theme to your main themes. Thank you.
| {
"assignee": null,
"comments": 4,
"created_at": "2022-05-06T23:44:56Z",
"creator": "PythonCoderUnicorn",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 822,
"state": "open",
"title": "RLadies theme ",
"url": "https://github.com/quarto-dev/quarto-cli/issues/822"
} |
With the YAML option `fig-pos: 'h'`, the following chunk
```
::: {#fig-somefigure}
![](figures/somefile)
A caption
:::
```
leads to the following invalid LaTeX code which fails to compile due to the nested figure environments.
```
\begin{figure}
{\centering
\begin{figure}[ht!]
{\centering \includegraphics{./figures/somefile.png}
}
\end{figure}
}
\caption{\label{fig-somefigure}A caption}
\end{figure}
```
This behaviour is inconsistent: I have blocks of code that are exactly the same format and compile just fine. Instances with `knitr::include_graphics()` also work or systematically fail.
Removing `fig-pos` from the YAML file fixes the problem, which suggests it's the likely culprit... | {
"assignee": null,
"comments": 3,
"created_at": "2022-05-06T22:26:49Z",
"creator": "lbelzile",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 821,
"state": "closed",
"title": "Quarto not rendering proper LaTeX code when specifying option `fig-pos` [PDF]",
"url": "https://github.com/quarto-dev/quarto-cli/issues/821"
} |
I use Quarto (and previously just pandoc) at work to write docs that often include LaTeX math blocks. Unfortunately for me, to get anyone to read them, I have to convert them to Google Docs.
That often works fine by rendering as .docx, uploading the doc, and converting it to a Google Doc. However, I usually have issues with display math blocks not rendering correctly when converting from docx to Google Docs.
I'm thinking about a potential workaround where I could tell Quarto to render those display math blocks as images, so they'd display correctly in Google Docs. Is that already possible? I'd also think a feature like this might be useful in other scenarios outside of just my use case.
My current workflow is to render the doc in a different format, screenshot the correctly-rendered math blocks, and paste them into the Google Doc manually. But it would be really nice to be able to automate that step. :)
# Example of the rendering issue
```
---
title: "Quarto to Google Docs math example"
self-contained: true
format:
html:
toc: true
pdf:
toc: true
docx:
toc: false
---
Inline math often renders OK: $1 = \sum_{i=1}^n \pi_i$.
Math blocks are also sometimes OK:
$$
1 = \sum_{i=1}^n \pi_i.
$$
But more complicated ones usually have issues like:
$$
\begin{array}{ll}
\mbox{minimize} & f(x) \\
\mbox{subject to} & x \in C
\end{array}
$$
or like this:
$$
\begin{aligned}
x \in A \\
y \in B
\end{aligned}
$$
```
## Google Docs
![Screen Shot 2022-05-06 at 11 24 47 AM](https://user-images.githubusercontent.com/984039/167197776-0b712586-9eea-4682-bffe-45b8b8e9f227.png)
## MS Word on Mac
<img width="640" alt="Screen Shot 2022-05-06 at 11 24 18 AM" src="https://user-images.githubusercontent.com/984039/167197823-9f8b2d70-4f92-4234-831a-c8f903108098.png">
## PDF
![Screen Shot 2022-05-06 at 11 24 06 AM](https://user-images.githubusercontent.com/984039/167197866-55a76aec-efbf-4b0e-bec0-03795eec3d70.png)
## HTML
![Screen Shot 2022-05-06 at 11 23 58 AM](https://user-images.githubusercontent.com/984039/167197890-e8a59575-a390-460b-b415-82645b679fe3.png)
| {
"assignee": null,
"comments": 3,
"created_at": "2022-05-06T18:36:27Z",
"creator": "ajfriend",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 818,
"state": "open",
"title": "Option to render display math blocks as images?",
"url": "https://github.com/quarto-dev/quarto-cli/issues/818"
} |
Currently it seems that (at least by default), a callout with a lot of text in it will end up overflowing the page in PDF.
That is,
```markdown
---
title: A title
format: pdf
---
Here is an example of a long box:
:::{.callout}
...
(many lines of text here)
...
:::
```
will lead to the contents of the callout overflowing past the bottom of the page.
Is there a way to configure this not to happen?
If not, since callouts are rendered in latex with the `tcolorbox` package, I imagine it would be easy to make these automatically page-break, by adding, just passing the `breakable` option when making the box
```latex
\begin{tcolorbox}[breakable]
...
\end{tcolorbox}
```
perhaps here: https://github.com/quarto-dev/quarto-cli/blob/9167b7bbc5fe5ed95357459bb80288fa0ae3fa0b/src/resources/filters/quarto-pre/callout.lua#L323
Is there a reason not to do this? | {
"assignee": "dragonstyle",
"comments": 2,
"created_at": "2022-05-06T17:21:46Z",
"creator": "postylem",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 817,
"state": "closed",
"title": "In PDF, long callouts overflow the page.",
"url": "https://github.com/quarto-dev/quarto-cli/issues/817"
} |
Adding a pause to an `iframe` in `revealjs` slides makes the image squeezed
**Code to replicate**
```
. . .
<iframe class="stretch" src="plot.html"> </iframe>
```
**Screenshots**
![Plot without delay](https://user-images.githubusercontent.com/61335136/167176210-02eabe4a-1e57-4189-9862-ad422c629d6f.PNG)
![plot with delay](https://user-images.githubusercontent.com/61335136/167178515-baa1be0f-32a6-49df-8383-f2fc3ac84e32.PNG)
| {
"assignee": null,
"comments": 2,
"created_at": "2022-05-06T16:46:33Z",
"creator": "rleyvasal",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 816,
"state": "open",
"title": "Adding pause/delay `. . . ` to `iframe` in `revealjs` slides squeezes html image",
"url": "https://github.com/quarto-dev/quarto-cli/issues/816"
} |
Hi,
I would like to know if it is possible to enumerate the parts in a quarto book ?
Also, if it is possible to make the part name unclickable and the chapters non indented, like in bookdown.
Thanks | {
"assignee": null,
"comments": 3,
"created_at": "2022-05-06T11:02:19Z",
"creator": "mghassany",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 815,
"state": "open",
"title": "Parts in quarto book",
"url": "https://github.com/quarto-dev/quarto-cli/issues/815"
} |
Quarto version windows 0.9.364
Rstudio
RStudio 2022.02.2+485 "Prairie Trillium" Release (8acbd38b0d4ca3c86c570cf4112a8180c48cc6fb, 2022-04-19) for Windows
![image](https://user-images.githubusercontent.com/18226229/167084612-44b2a424-bc92-490b-8560-1e82b8a942c1.png)
| {
"assignee": null,
"comments": 1,
"created_at": "2022-05-06T07:14:33Z",
"creator": "wilcar",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 813,
"state": "closed",
"title": "reveal js wide parameter give me a blank presentation",
"url": "https://github.com/quarto-dev/quarto-cli/issues/813"
} |
The example at https://quarto.org/docs/authoring/figures.html#figures doesn't demonstrate the use of `fig-subcap`. | {
"assignee": null,
"comments": 1,
"created_at": "2022-05-06T05:34:53Z",
"creator": "rgaiacs",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 812,
"state": "closed",
"title": "Improve example of figures produced by executable code blocks to include subcaption",
"url": "https://github.com/quarto-dev/quarto-cli/issues/812"
} |
Related issue: https://github.com/quarto-dev/quarto-cli/issues/90
Thanks for all the fabulous work.
Would be possible to allow users to place the subfigure caption indicator at the top left corner of the image and keep the figure caption at the bottom?
For example,
```
---
fig-sub-cap-location: top
fig-sub-cap-merge: true
---
::: {#fig-elephants layout-ncol="2"}
![Surus](elephant.png){#fig-surus}
![Hanno](elephant.png){#fig-hanno}
Famous Elephants
:::
```
would give
![Screenshot from 2022-05-06 13-25-04](https://user-images.githubusercontent.com/1506457/167072208-69622eb5-3051-49df-9d75-58b22f98393e.png)
| {
"assignee": null,
"comments": 2,
"created_at": "2022-05-06T05:27:20Z",
"creator": "rgaiacs",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 811,
"state": "open",
"title": "Subfigure caption indicator at the top left corner",
"url": "https://github.com/quarto-dev/quarto-cli/issues/811"
} |
Rendering of the following doc (both html and pdf) returns an error in `quarto-pre.lua`:
````md
---
format: html
---
@tbl-iris
```{r}
#| label: tbl-iris
#| tbl-cap: "95%"
kableExtra::kbl(head(iris))
```
````
The error is:
![image](https://user-images.githubusercontent.com/38790212/167035195-b812ed1e-dd66-40d0-8add-253a95f8c32e.png)
The document compiles fine if I remove the `%` sign form the caption or print the table with `knitr::kable` instead of `kableExtra`.
I am on Windows 10, Quarto 0.9.363 and use it with RStudio 2022.02.1.
Is there a way to fix this in Quarto or is it more of a `kableExtra` issue?
| {
"assignee": null,
"comments": 4,
"created_at": "2022-05-05T22:32:09Z",
"creator": "selinaZitrone",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 810,
"state": "closed",
"title": "Using `%` in `tbl-cap` of `kableExtra` table breaks rendering with error in `applyTableCaptions`",
"url": "https://github.com/quarto-dev/quarto-cli/issues/810"
} |
Can the logo be changed to a different part of the slides?
It would be great for users to have the ability to change the position of the logo in the slides. For example, I would like to have the logo on top left instead of bottom right (it interferes with controls if used in bottom right)
[Quarto documentation](https://quarto.org/docs/presentations/revealjs/index.html#footer-logo) shows how to add logo with the following code, but changing position is not mentioned:
```rmarkdown
---
format:
revealjs:
logo: logo.png
footer: "Footer text"
---
``` | {
"assignee": null,
"comments": 5,
"created_at": "2022-05-05T19:22:17Z",
"creator": "rleyvasal",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 809,
"state": "closed",
"title": "Change position of logo in `revealjs` slides",
"url": "https://github.com/quarto-dev/quarto-cli/issues/809"
} |
Can the Menu be updated to allow user to change Themes and Transitions on the fly?
Menu plugin from https://github.com/rajgoel/reveal.js-plugins can change the theme of the slides and transition right from the menu.
![menu](https://user-images.githubusercontent.com/61335136/167005372-7123b143-38c4-4ccc-84ce-da23128feadf.PNG)
| {
"assignee": null,
"comments": 1,
"created_at": "2022-05-05T19:03:45Z",
"creator": "rleyvasal",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 808,
"state": "closed",
"title": "Update Menu to include Theme options and Transitions",
"url": "https://github.com/quarto-dev/quarto-cli/issues/808"
} |
Quarto has been confirmed to run on the various platforms as indicated on [Platform Support](https://www.rstudio.com/about/platform-support/), outside of CentOS7 which is a known issue #61
It would be good to add a minimal automated test for the linux distros on [Platform Support](https://www.rstudio.com/about/platform-support/) that Quarto can be compiled, installed, and CLI is usable to prevent any regressions or failures to build/compile over time. | {
"assignee": null,
"comments": 1,
"created_at": "2022-05-05T18:46:36Z",
"creator": "jthomasmock",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 807,
"state": "closed",
"title": "Add automated testing for platform support",
"url": "https://github.com/quarto-dev/quarto-cli/issues/807"
} |
I want to get the [fullscreen plugin](https://github.com/rajgoel/reveal.js-plugins) to work with quarto but not enough information is given in the [quarto documentation](https://quarto.org/docs/presentations/revealjs/advanced.html#reveal-plugins) to install the plugin.
I copied the `plugin.js` file from https://github.com/rajgoel/reveal.js-plugins/tree/master/fullscreen
into my local `fullscreen` directory C:\Users\R\Downloads\quarto_test_files\libs\revealjs\plugin\fullscreen\plugin.js
The [vscode-reveal example](https://raw.githubusercontent.com/evilz/vscode-reveal/master/samples/fullscreen.md) shows how to make HTML in slides fullscreen mode with the following code.
```html
<!-- .slide: data-fullscreen-->
<iframe class="stretch" data-src="https://www.google.com/maps/embed?pb=!1m14!1m12!1m3!1d61206.89156051744!2d-151.77366863890407!3d-16.50433878928727!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!5e0!3m2!1sen!2sde!4v1467468929561"></iframe>
```
I have added plugin: - fullscreen to the yaml header and tried the same code above in quarto but the iframe does not show in fullscreen
```rmarkdown
---
title: "Quarto Presentations"
subtitle: "Create beautiful interactive slide decks with Reveal.js"
format:
revealjs:
plugins:
- fullscreen
---
<!-- .slide: data-fullscreen-->
<iframe class="stretch" data-src="https://www.google.com/maps/embed?pb=!1m14!1m12!1m3!1d61206.89156051744!2d-151.77366863890407!3d-16.50433878928727!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!5e0!3m2!1sen!2sde!4v1467468929561"></iframe>
```
How can this plugin be implemented in Quarto?
Is there an easier way to add custom plugins without navigating into the local files to create the correct folder, etc?
| {
"assignee": null,
"comments": 5,
"created_at": "2022-05-05T18:46:20Z",
"creator": "rleyvasal",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 806,
"state": "closed",
"title": "Missing Custom `revealjs` Plugins instructions documentation",
"url": "https://github.com/quarto-dev/quarto-cli/issues/806"
} |
VSCode giving error "Quarto Installation not found" when trying to render.
I am not sure if the following steps to install Quarto is correct because I did not find detail instructions on installation on [Quarto Get Started page](https://quarto.org/docs/get-started/)
I followed the next sequence to install Quarto:
1. installed Quarto for [Windows](https://quarto.org/docs/get-started/)
2. installed Quarto VSCode extension from VSCode extensions menu (left side of screen)
3. Created Quarto file and render giving error "Quarto Installation not found"
![installation errror](https://user-images.githubusercontent.com/61335136/166964221-83f24549-1357-4736-85c4-28bc332db09a.PNG)
Going to the settings of Quarto in VSCode I changed the PATH to point to where Quarto `quarto.cmd` is located in my PC but still get the same error when trying to render the file.
![path to cli](https://user-images.githubusercontent.com/61335136/166964249-0d4a64fe-f707-4d30-928b-e883f5b45653.PNG)
| {
"assignee": null,
"comments": 2,
"created_at": "2022-05-05T16:00:28Z",
"creator": "rleyvasal",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 804,
"state": "closed",
"title": "Not working on Windows with VSCode? - Missing documentation on installation",
"url": "https://github.com/quarto-dev/quarto-cli/issues/804"
} |
Hi Team Quarto,
Thank you for this awesome project. I have been absolutely loving the incorporation of Observable into MD - its a real killer combo.
Is it possible to turn off the OJS compilation step that mangles/minimizes names? When developing locally you can always tweak an active Quarto session, however, when using Quarto as a template in a data pipeline it can be difficult to troubleshoot javascript issues because the original names are lost.
zach cp
| {
"assignee": "cscheid",
"comments": 3,
"created_at": "2022-05-05T14:40:12Z",
"creator": "zachcp",
"is_pull_request": false,
"labels": [
"ojs-engine"
],
"locked": false,
"milestone": null,
"number": 803,
"state": "closed",
"title": "Request: allow user to specify \"nomangle\" to OJS code",
"url": "https://github.com/quarto-dev/quarto-cli/issues/803"
} |
- I have seen [in the doc](https://quarto.org/docs/projects/quarto-projects.html#render-targets) the following statement :
> By default, all valid Quarto input files (.qmd, .ipynb, .md, .Rmd) in the project directory will be rendered, save for ones with a file or directory prefix of . (hidden files) or _ (typically used for non top-level files, e.g. ones included in other files).
- which makes the `**/_index.md` files ignored (a question that has been discussed in #207).
However, from [`hugo` doc](https://gohugo.io/content-management/organization/#index-pages-_indexmd) :
> `_index.md` has a special role in Hugo. It allows you to add front matter and content to your [list templates](https://gohugo.io/templates/lists/). These templates include those for [section templates](https://gohugo.io/templates/section-templates/), [taxonomy templates](https://gohugo.io/templates/taxonomy-templates/), [taxonomy terms templates](https://gohugo.io/templates/taxonomy-templates/), and your [homepage template](https://gohugo.io/templates/homepage/).
>
> You can create one _index.md for your homepage and one in each of your content sections, taxonomies, and taxonomy terms. The following shows typical placement of an _index.md that would contain content and front matter for a posts section list page on a Hugo website
When using the following rule in `_quarto.yml`, the `_index.qmd` files are still also ignored.
```yaml
render:
- content/**/*.qmd
```
They are also ignored when hardcoding the path in `_quarto.yml`, e.g. in my case:
```yaml
project:
title: "python-datascientist"
render:
- content/**/*.qmd
- content/course/manipulation/_index.qmd
```
(the file exists at `content/course/manipulation/_index.qmd`)
When executing `quarto render content/course/manipulation/_index.qmd --to hugo`, everything works fine.
Is there an additional option to use not to ignore `_index.qmd` files at project level ?
| {
"assignee": null,
"comments": 2,
"created_at": "2022-05-05T08:58:36Z",
"creator": "linogaliana",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 802,
"state": "closed",
"title": "Rendering _index.qmd (hugo) files in quarto projects",
"url": "https://github.com/quarto-dev/quarto-cli/issues/802"
} |
I basically never want captions attached to the images in my slide decks. Either I'm showing some data or results, and will be explaining to the audience what the image shows, or the image is decorative. But I also almost always want the image horizontally centered, especially if the point of the slide is to display some data or results.
Per the answer to #233 , Quarto respects pandoc's distinction between images and figures: figures have captions, images don't. Figures have a convenient global option for horizontal alignment, `fig-align`. Images don't have anything like this global option. So the only way to center align images is to add `fig-align="center"` as an attribute to every individual image. (Or I could spend a few hours figuring out Quarto's theming, which seems kind of overkill.) | {
"assignee": null,
"comments": 2,
"created_at": "2022-05-04T21:00:14Z",
"creator": "dhicks",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 799,
"state": "closed",
"title": "[feature request] Global options for image alignment for revealjs",
"url": "https://github.com/quarto-dev/quarto-cli/issues/799"
} |
When using [hugo format](https://quarto.org/docs/output-formats/hugo.html), I experienced that title and date will be duplicated in output. They will be present two times: once in the YAML but also in the document.
For instance, the example in the document
~~~markdown
---
title: Hello, Quarto
date: "2012-04-06"
categories:
- Matplotlib
- Coordinates
format: hugo
jupyter: python3
---
## Polar Axis
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
r = np.arange(0, 2, 0.01)
theta = 2 * np.pi * r
fig, ax = plt.subplots(subplot_kw={'projection': 'polar'})
ax.plot(theta, r)
ax.set_rticks([0.5, 1, 1.5, 2])
ax.grid(True)
plt.show()
```
~~~
will lead to the following `.md` when using `quarto render --to hugo`:
```markdown
---
title: Hello, Quarto
date: "2012-04-06"
categories:
- Matplotlib
- Coordinates
format: hugo
jupyter: python3
---
Hello, Quarto
================
2012-04-06
## Polar Axis
...
```
which does not mix well with `wowchemy/academic` themes (see my personal project https://62726a7214f35700b4efbea7--linogaliana-teaching.netlify.app/rappelsclasses/ : title and date are duplicated)
If possible, the best option would be to avoid creating the
```
title
================
date
```
section.
# quarto version
I used version `0.9.345` | {
"assignee": null,
"comments": 4,
"created_at": "2022-05-04T12:19:41Z",
"creator": "linogaliana",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 795,
"state": "closed",
"title": "Title and date can be duplicated in hugo output",
"url": "https://github.com/quarto-dev/quarto-cli/issues/795"
} |
Hi,
it seems that `quarto` does not read `.Rprofile` file or at least does not activate `renv`.
For example, I had to create `_quarto.yml` with
```yml
project:
execute-dir: project
```
And add `renv::activate()` in the first R chunk to have access to the project R library (_i.e._, to avoid having to specify the library path for `knitr::write_bib`).
````
---
title: "Methods"
author: "Mickaël Canouil, Ph.D."
date: "The 4th of May, 2022"
bibliography: references.bib
csl: https://raw.githubusercontent.com/citation-style-language/styles/master/apa-6th-edition.csl
format:
html:
self-contained: true
reference-location: margin
---
```{r}
renv::activate()
knitr::write_bib(
x = c("base", "targets", "readxl"),
file = "articles/references.bib"
)
```
## Methods
All analyses were performed using `r R.version.string` [@R-base]
and the R package `targets` [@targets2021] for workflow management.
````
The directory looks like this:
```
.
├── .Rprofile
├── _quarto.yml
├── renv
│ ├── .gitignore
│ ├── activate.R
│ ├── library
│ ├── local
│ └── staging
└── articles
└── methods.qmd
```
I used `quarto v0.9.298`.
Am I missing something ?
| {
"assignee": null,
"comments": 2,
"created_at": "2022-05-04T09:20:02Z",
"creator": "mcanouil",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 794,
"state": "closed",
"title": "`Quarto` is not working well with `renv`",
"url": "https://github.com/quarto-dev/quarto-cli/issues/794"
} |
I'm attempting to use the `meta` shortcode to add a link inside a Div block; however, it doesn't seem to work. Here's a minimal example to demonstrate:
```
---
title: A Minimal Example
registration:
link: https://github.com/
---
::: {.tool}
<a href="{{< meta registration.link >}}">
Sign Up
</a>
:::
```
My expectation is that this would create a link to <https://github.com/> in the rendered output. Instead `{{< meta registration.link >}}` is treated literally, turning into `%7B%7B%3C%20meta%20registration.link%20%3E%7D%7D`.
Removing the quotation marks around `{{< meta registration.link >}}` doesn't work either. That results in the following output: "\<a href=https://github.com/> Sign Up".
Is there any way to get this working with the `meta` shortcode or is this shortcode only intended for body text? | {
"assignee": null,
"comments": 5,
"created_at": "2022-05-03T22:06:55Z",
"creator": "mccarthy-m-g",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 792,
"state": "closed",
"title": "Using `meta` shortcode with Div blocks and HTML",
"url": "https://github.com/quarto-dev/quarto-cli/issues/792"
} |
With version `0.9.347` (2 hours old), I get a strange behavior of code chunks in lists (only tested with knitr engine):
The first code chunk in list is rendered badly. The following qmd file:
````
---
title: Blah
---
Blah blah
```{r}
1 + 1
```
* The same in a list:
```{r}
1 + 1
```
* The same in a list again:
```{r}
1 + 1
```
````
correctly renders the first and the third code chunk, but the second one is shown as
```
1 + 1 ```
```
The relevant part of the generated html is
```
<p>Blah blah</p>
<div class="cell">
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="dv">1</span> <span class="sc">+</span> <span class="dv">1</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-stdout">
<pre><code>[1] 2</code></pre>
</div>
</div>
<ul>
<li><p>The same in a list:</p>
<p>1 + 1 ```</p></li>
<li><p>The same in a list again:</p>
<div class="cell">
<div class="sourceCode cell-code" id="cb3"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="dv">1</span> <span class="sc">+</span> <span class="dv">1</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-stdout">
<pre><code>[1] 2</code></pre>
</div>
</div></li>
</ul>
```
It may be related to #74.
I also got some really strange issues with code chunks in lists when the list had some lines that were indented by less than 4 spaces. The lists rendered correctly, and so did the code chunks, but the rendered code chunks in the html file were surrounded by `:::{some text here}:::{some other text}` and `::: :::` or some similar text like this, however, I cannot reproduce that in a MWE. | {
"assignee": null,
"comments": 7,
"created_at": "2022-05-03T16:27:31Z",
"creator": "lahvak",
"is_pull_request": false,
"labels": [
"bug"
],
"locked": false,
"milestone": null,
"number": 789,
"state": "closed",
"title": "Code chunks in lists again",
"url": "https://github.com/quarto-dev/quarto-cli/issues/789"
} |
@dpastoor Thanks for working on making quarto available on arm chips (https://github.com/quarto-dev/quarto-cli/pull/237)
Quarto is a great new tool and I'd love to provide access to my students through docker. Works fine on AMD processors but more and more of my students have M1 macs. I found that using the arm build here https://github.com/LukeChannings/deno-arm64 and adding the below to the `configure-linux.sh` files gets the deno build process started and rolling for a bit. However, it chokes on `deno_dom`. Any chance you could provide some suggestions on next steps?
`ERROR: The architecture aarch64 is missing the dependency deno_dom`
```
DENOURL=https://github.com/LukeChannings/deno-arm64/releases/download
DENOFILE=deno-linux-arm64.zip
```
https://github.com/quarto-dev/quarto-cli/blob/main/configure-linux.sh
| {
"assignee": null,
"comments": 27,
"created_at": "2022-05-01T06:11:07Z",
"creator": "vnijs",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 781,
"state": "closed",
"title": "Quarto in docker aarch64",
"url": "https://github.com/quarto-dev/quarto-cli/issues/781"
} |
Hi, many collaborators like to use MS word when writing the paper. It would be nice to have a bidirectional workflow that allows:
write in qmd -> word -> edit in word -> back to qmd
So it would be easier to incorporate the editing from collaborators.
For R markdown, there is already a usable package `redoc` for this purpose https://github.com/noamross/redoc/
I'm wondering is it possible to have a similar thing for qmd.
Thank you! | {
"assignee": null,
"comments": 2,
"created_at": "2022-04-30T21:17:41Z",
"creator": "albert-ying",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 780,
"state": "open",
"title": "Bidirectional workflow for `qmd` and MS word?",
"url": "https://github.com/quarto-dev/quarto-cli/issues/780"
} |
You can see this in action here if you make the browser window narrow https://blog.djnavarro.net/posts/2022-03-04_data-types-in-arrow-and-r/
From Charles:
> We probably are trying to put it on the collapsed 'sidebar' but there is no sidebar
<img width="1920" alt="Screen Shot 2022-04-30 at 3 59 02 PM" src="https://user-images.githubusercontent.com/19150088/166120905-efc6ccbb-4735-450e-a67c-5c0413b0d789.png">
<img width="1917" alt="Screen Shot 2022-04-30 at 3 59 13 PM" src="https://user-images.githubusercontent.com/19150088/166120906-ae29c0b3-b4ea-4b7c-877f-9c98f3250e75.png">
| {
"assignee": null,
"comments": 1,
"created_at": "2022-04-30T20:03:10Z",
"creator": "DavisVaughan",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 779,
"state": "closed",
"title": "quarto-blog: Post titles are lost when put in narrow mode",
"url": "https://github.com/quarto-dev/quarto-cli/issues/779"
} |
References are not rendering in a quarto blog post. I have the references.bib file in the folder of the post but is not rendered in the html output.
In my YAML I have:
bibliography: references.bib | {
"assignee": null,
"comments": 2,
"created_at": "2022-04-30T12:52:34Z",
"creator": "ManuelSpinola",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 775,
"state": "closed",
"title": "quarto-blog: references are not rendering in a blog post ",
"url": "https://github.com/quarto-dev/quarto-cli/issues/775"
} |
<img width="353" alt="Screen Shot 2022-04-30 at 14 11 15" src="https://user-images.githubusercontent.com/4462211/166105017-7897df7b-8210-4a97-87b4-2ba6cafe224e.png">
| {
"assignee": null,
"comments": 1,
"created_at": "2022-04-30T12:12:20Z",
"creator": "jeremiahpslewis",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 774,
"state": "closed",
"title": "Default PDF (book project) figure settings lead to very large images, lots of white space",
"url": "https://github.com/quarto-dev/quarto-cli/issues/774"
} |
On https://quarto.org/docs/authoring/shortcodes.html I see that tweet shortcodes are on the todo list. I just want to say that I will use them as soon as they are available!
If you can point me in the right direction I can also start on a PR for this. | {
"assignee": null,
"comments": 6,
"created_at": "2022-04-29T18:58:55Z",
"creator": "alexpghayes",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 765,
"state": "open",
"title": "Shortcodes for embedding tweets",
"url": "https://github.com/quarto-dev/quarto-cli/issues/765"
} |
When chunk options start with `.`, e.g. `.value = "foo"`, they become part of the `.cell` fenced div. Then pandoc fails to render the fenced divs because `.value` is an invalid HTML attribute name.
Here's a very minimal and contrived reprex:
````markdown
---
title: "Reprex dots in chunk opts"
format: html
engine: knitr
execute:
keep-md: true
---
```{r reprex, .test = "foo"}
runif(1)
```
````
The markdown and html output are
````markdown
::: {.cell .test='foo'}
```{.r .cell-code}
runif(1)
```
::: {.cell-output .cell-output-stdout}
```
[1] 0.9368014
```
:::
:::
````
![image](https://user-images.githubusercontent.com/5420529/165957331-40a92f03-346e-4a19-ade2-8c4899328c75.png)
Here's a less-contrived example where `.`-prefixed chunk options are used by a knitr language engine:
````markdown
---
title: "Reprex dots in chunk opts"
format: html
engine: knitr
execute:
echo: false
keep-md: true
---
```{r setup}
library(glue)
rand_5 <- function() signif(mean(runif(5)))
```
```{glue expected}
The average of 5 random numbers is {rand_5()}.
```
```{glue problem, .open = "{{", .close = "}}"}
The average of 5 random numbers is {{rand_5()}}.
```
```{glue user-fixed, .open = "{{", .close = "}}"}
#| output: asis
The average of 5 random numbers is {{rand_5()}}.
```
````
In this second example, there is an easy work around of adding `output: asis`, but that solution is probably unique to this use case.
![image](https://user-images.githubusercontent.com/5420529/165957881-8d9b05e3-271b-4c69-8e94-f033b88a4714.png)
| {
"assignee": null,
"comments": 1,
"created_at": "2022-04-29T13:50:16Z",
"creator": "gadenbuie",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 762,
"state": "closed",
"title": "knitr chunk option that start with `.` break output",
"url": "https://github.com/quarto-dev/quarto-cli/issues/762"
} |
Is it possible to display the full content of blog posts on a listing page? Or better yet, the full content of just the latest blog post? I have the Calculated Risk blog in mind: https://www.calculatedriskblog.com/
I've looked at the custom listings [documentation](https://quarto.org/docs/websites/website-listings-custom.html) but can't find an obvious way to do this. | {
"assignee": null,
"comments": 2,
"created_at": "2022-04-29T11:02:09Z",
"creator": "DrewArnold1",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 761,
"state": "open",
"title": "Quarto blog: displaying full blog post content on listing page",
"url": "https://github.com/quarto-dev/quarto-cli/issues/761"
} |
I just installed the latest Preview release and now I get the following error when I try to render a Quarto document (default document from New File -> Quarto Document):
> Error running filter /Applications/quarto/share/filters/rmarkdown/pagebreak.lua:
> cannot open /Applications/quarto/share/filters/rmarkdown/pagebreak.lua: No such file or directory
My session information:
> R version 4.1.3 (2022-03-10)
> Platform: x86_64-apple-darwin17.0 (64-bit)
> Running under: macOS Monterey 12.3.1
>
> Matrix products: default
> LAPACK: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRlapack.dylib
>
> locale:
> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
>
> attached base packages:
> [1] stats graphics grDevices utils datasets methods base
>
> loaded via a namespace (and not attached):
> [1] compiler_4.1.3 tools_4.1.3 | {
"assignee": null,
"comments": 2,
"created_at": "2022-04-29T07:31:45Z",
"creator": "WillemSleegers",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 759,
"state": "closed",
"title": "pagebreak.lua: No such file or directory",
"url": "https://github.com/quarto-dev/quarto-cli/issues/759"
} |
Quarto-Project dosen´t work on an unc-path | {
"assignee": null,
"comments": 5,
"created_at": "2022-04-29T06:14:09Z",
"creator": "Rathpete",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 758,
"state": "open",
"title": "Quarto-Project under unc-path",
"url": "https://github.com/quarto-dev/quarto-cli/issues/758"
} |
### An reproducible example
1. create skeleton quarto book.
2. add `lang: zh` to `_quarto.yml`.
3. Click `Render Book` button to build PDF document.
### partial log
```
pandoc
to: latex
output-file: index.tex
standalone: true
toc: true
number-sections: true
top-level-division: chapter
pdf-engine: xelatex
variables:
graphics: true
tables: true
default-image-extension: pdf
filters:
- crossref
- citeproc
metadata
crossref:
chapters: true
documentclass: scrreprt
papersize: letter
classoption:
- DIV=11
- numbers=noendperiod
header-includes:
- '\KOMAoption{captions}{tableheading}'
block-headings: true
lang: zh
bibliography:
- references.bib
title: quarto-zh
author: Jane Doe
date: 4/29/2022
runnning xelatex - 1
This is XeTeX, Version 3.141592653-2.6-0.999994 (TeX Live 2022) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
updating tlmgr
updating existing packages
compilation failed- error
Package babel Error: There is no ini file for the requested language
(babel) (: ). Perhaps you misspelled it or your
(babel) installation is not complete..
See the babel package documentation for explanation.
Type H <return> for immediate help.
...
l.208 \babelprovide[main,import]{}
see /Users/xiangyun/Documents/Github/quarto-zh/index.log for more information.
```
Here is a full log file [index.log](https://github.com/quarto-dev/quarto-cli/files/8588146/index.log)
### Session Info
```r
xfun::session_info(c("rmarkdown", "quarto","knitr"),dependencies = F)
```
```
R version 4.2.0 (2022-04-22)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Monterey 12.3.1, RStudio 2022.2.1.461
Locale: en_US.UTF-8 / en_US.UTF-8 / en_US.UTF-8 / C / en_US.UTF-8 / en_US.UTF-8
Package version:
knitr_1.39 quarto_1.1 rmarkdown_2.14
Pandoc version: 2.18
```
I use Quarto Version 0.9.309 which installed from `brew install quarto`
| {
"assignee": null,
"comments": 15,
"created_at": "2022-04-29T04:32:39Z",
"creator": "XiangyunHuang",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 757,
"state": "closed",
"title": "Package babel Error: There is no ini file for the requested language",
"url": "https://github.com/quarto-dev/quarto-cli/issues/757"
} |
I've just discovered Quarto and it looks like the answer to all my bugbears! You're my heroes! So much so that I want to abandon the Hugo Wowchemy website I've been working on for a week and start again with Quarto, but when I try:
New Project > New Directory > Quarto Project > and choose "Type: Website" I get:
"ERROR: Unsuppported project type site"
I've tried with and without the git repo and renv options and get the same result. The "(Default)" and "Book" options work fine, as do the Terminal commands `quarto create-project mysite --type website` etc
I suspect the "ppp" in "Unsuppported" may help find where the error is flagged? If nothing else, pedantically pointing out the spelling error may justify submitting an issue even if this is user error? :)
My RStudio version is not 2022.02, which I suspect is the issue... but when I check for updates I get "You're using the newest version of RStudio". I haven't tried uninstalling and reinstalling RStudio to see if the updater is missing something as it's bed time in Cape Town... I figure you may tell me to do that in the morning... And then we can start a new issue on RStudio's update checker ;)
Thanks!
**Setup**
RStudio 2021.09.0+351 "Ghost Orchid" Release (077589bcad3467ae79f318afe8641a1899a51606, 2021-09-20) for Ubuntu Bionic
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.8 Chrome/69.0.3497.128 Safari/537.36
`sessionInfo()`
R version 4.1.3 (2022-03-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 20.04.4 LTS
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.9.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.9.0
locale:
[1] LC_CTYPE=en_ZA.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_ZA.UTF-8 LC_COLLATE=en_ZA.UTF-8
[5] LC_MONETARY=en_ZA.UTF-8 LC_MESSAGES=en_ZA.UTF-8
[7] LC_PAPER=en_ZA.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_ZA.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices datasets utils methods base
loaded via a namespace (and not attached):
[1] compiler_4.1.3 tools_4.1.3 renv_0.15.4
| {
"assignee": null,
"comments": 2,
"created_at": "2022-04-28T19:47:41Z",
"creator": "jslingsby",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 756,
"state": "closed",
"title": "New Quarto Project \"Type:Website\" ERROR: Unsuppported project type site",
"url": "https://github.com/quarto-dev/quarto-cli/issues/756"
} |
Hello,
I'm trying to increase the max-width value in a quarto markdown. I would like the content of my document to fill my screen instead of being confined within roughly less than half of it.
I carefully read the documentation, however, the only time I've succefully managed to increase the width was when setting the theme to pandoc (which I find looks atrocious).
Is there a way to make the content adjust to the screen size for the default theme?
So far I've tried:
max-width: 1900px (trying to increase from the default 1400px)
max-width 100%
I've added !important at the end
I've tried other themes
I tried to use 72em instead of px
I'm able to change the font size though. I really don't understand what's wrong. Any help would be much appreciated. | {
"assignee": null,
"comments": 2,
"created_at": "2022-04-28T09:42:56Z",
"creator": "privatedeal2017",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 751,
"state": "closed",
"title": "Setting max-width",
"url": "https://github.com/quarto-dev/quarto-cli/issues/751"
} |
Hi, I have a .qmd document which have both R and Python plotting output chunks. When rendering the R plots come out fine but the python plots do not appear. I have attached a repex of my issue
[test.qmd.zip](https://github.com/quarto-dev/quarto-cli/files/8581540/test.qmd.zip)
.
My computing environment is
RStudio 2022.06.0-daily+333 "Spotted Wakerobin" Daily (222a55f07242ae455bf0a79b44d4ff729a346568, 2022-04-26) for macOS
Mozilla/5.0 (Macintosh; Intel Mac OS X 12_1_0) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.10 Chrome/69.0.3497.128 Safari/537.36 | {
"assignee": null,
"comments": 7,
"created_at": "2022-04-28T09:39:47Z",
"creator": "quinfer",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 750,
"state": "closed",
"title": "combine visual plot output of both python and R chunks",
"url": "https://github.com/quarto-dev/quarto-cli/issues/750"
} |
Is there or will there be the ability to pass objects between R, Python, Observable?
Specifically, I would like to use Python or R to manipulate data and then use an observable plot in a different chunk.
Here is a description of what is available in `.Rmd` - https://rpubs.com/keithmcnulty/r_and_python. | {
"assignee": null,
"comments": 4,
"created_at": "2022-04-28T03:33:18Z",
"creator": "hathawayj",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 749,
"state": "closed",
"title": "Sharing language specific objects in single `.qmd`?",
"url": "https://github.com/quarto-dev/quarto-cli/issues/749"
} |
It's very important to my coding to allow the book to build even with bugs ... which I will correct later.
In my template repo [here](https://github.com/daaronr/dr_quarto_template) I have several errors in the `summary.qmd` file.
But in `_quarto.yml` I specify:
```
book:
title: "Reinstein's template for Quarto (WIP)"
execute:
freeze: auto # re-render only when source changes
warning: false
message: false
error: true
```
It says in the docs [here](https://quarto.org/docs/computations/execution-options.html) that the execution option
`error: true`
Implies:
> Include errors in the output (note that this implies that errors executing code will not halt processing of the document).
What am I doing wrong? Is there a way to tell it 'keep processing over all errors, just report them'?
Thanks. | {
"assignee": null,
"comments": 4,
"created_at": "2022-04-27T22:05:34Z",
"creator": "daaronr",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 748,
"state": "closed",
"title": "global 'continue and skip on errors' ... `error: true ` in _quarto.yml not having the observed behavior ",
"url": "https://github.com/quarto-dev/quarto-cli/issues/748"
} |
I see that `quarto render` automatically checks for broken internal links (#41), which is super helpful. It would be great, especially for websites, to also check for broken external links.
Someone was recently reading my blogdown blog (which I am porting to Quarto) and they mentioned that they had found a bunch of dead links, especially URLs imported into Reference sections from `.bib` files. I can check for this manually after publishing using https://www.deadlinkchecker.com/website-dead-link-checker.asp, but it would be nice to fix dead links before publishing, similar to how `urlchecker::url_check()` works for R packages. | {
"assignee": null,
"comments": 2,
"created_at": "2022-04-27T18:17:03Z",
"creator": "alexpghayes",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 1319,
"state": "open",
"title": "Feature request: utility to check for broken external links",
"url": "https://github.com/quarto-dev/quarto-cli/issues/1319"
} |
When I switch from source to visual editor in RStudio, my bib keys loose their linkage to the .bib file, and upon rendering they references are not capture in the output. I am not sure if this is a bug or it is my inappropriate usage.
| {
"assignee": null,
"comments": 8,
"created_at": "2022-04-27T14:50:52Z",
"creator": "quinfer",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 747,
"state": "closed",
"title": "Switching from source to visual editor breaks bib key linkage",
"url": "https://github.com/quarto-dev/quarto-cli/issues/747"
} |
Hello,
So this is a bit of a weird one and it's possible I've missed something obvious.
My problem - I don't like the default logo sizes and want to change these.
I've found that the key part of the resulting html file is the following css:
```css
@media screen and (max-width: 800px) {
.reveal .slide-logo {
max-height: 1.1rem;
bottom: -2px;
right: 10px;
}
}
```
So this is what I need to change, e.g. to:
```css
@media screen and (max-width: 800px) {
.reveal .slide-logo {
max-height: 10.1rem;
bottom: -2px;
right: 10px;
}
}
```
I've tried a number of things:
1. Add the adjusted css to the scss rules section of a `custom.scss` file in the yaml with `theme: custom.scss`. (I don't understand this very well so it's no surprise to me this didn't work).
2. Added some custom css using a `custom.css` file containing the above adjusted css e.g. in the yaml `css: custom.css`. But this doesn't work as it seems to get inserted into the html file *before* the default css and so the default overwrites it back.
3. Added a css code chunk at the start of the presentation. But this then starts the rendering with Jupyter, which I don't have installed.
The only way I can get this to work is if I force knitr compilation using an empty r code chunk first, e.g., the first thing below the yaml is:
```{r}
```
```{css, echo = FALSE}
@media screen and (max-width: 800px) {
.reveal .slide-logo {
max-height: 20.1rem;
bottom: -2px;
right: 10px;
}
}
```
This then works because the css is inserted into the html file *after* the default css and so overwrites that.
But the problem with this is that I would end up with a lot of custom css at the start of every presentation. Is there a way to source this css into the document so that it appears *after* the default css settings? Or just a better way in general?! | {
"assignee": null,
"comments": 6,
"created_at": "2022-04-27T14:27:42Z",
"creator": "py9mrg",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 746,
"state": "closed",
"title": "Insert custom css into revealjs presentation",
"url": "https://github.com/quarto-dev/quarto-cli/issues/746"
} |
# Goal
Render to html and pdf by declaring both formats in YAML header.
# Problem
Using the GUI Render button only yields output in the format that is mentioned first.
# Reproducible Example
On RStudio Cloud: https://rstudio.cloud/project/3967937
```
---
title: "Render to several document formats"
format:
html:
toc: true
pdf:
toc: true
editor: visual
---
# Goal
Render to html and pdf by declaring both formats in YAML header.
# Problem
Using the GUI Render button only yields output in the format that is mentioned first.
``` | {
"assignee": null,
"comments": 2,
"created_at": "2022-04-27T08:25:45Z",
"creator": "larnsce",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 743,
"state": "closed",
"title": "Render to several formats by declaring them in YAML header",
"url": "https://github.com/quarto-dev/quarto-cli/issues/743"
} |
I know that books can take many qmd files and merge them into one, but is there a format for something like a journal article? Moreover, for that particular use-case what is the purpose of an index file, which seems to be required for rendering a book? | {
"assignee": "dragonstyle",
"comments": 8,
"created_at": "2022-04-27T03:45:06Z",
"creator": "amichuda",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "1.0 Formats",
"number": 742,
"state": "closed",
"title": "A way to create a publishable article from multiple qmd files",
"url": "https://github.com/quarto-dev/quarto-cli/issues/742"
} |
I have a blog post with a very early footnote.
```
---
title: "using the data twice"
subtitle: |
todo
date: "2020-05-04"
bibliography: using-the-data-twice.bib
link-citations: yes
---
Berna Devezer, Danielle Navarro, Joachim Vandekerckhove, and Erkan Ozge Buzbas recently posted a [pre-print][arxiv], @devezer_case_2020, responding to various claims within the open science community^[See also the classics @baumgaertner_model-centric_2018 and @navarro_between_2018.]. In particular, they explore the following claims:
...
```
This footnote shows up on the blog listing page.
![ksnip_20220426-204232](https://user-images.githubusercontent.com/15078251/165421482-4dcf6470-82f7-447e-9540-580826987019.png)
I don't have a full reprex for this just yet but can update when I do.
| {
"assignee": "dragonstyle",
"comments": 7,
"created_at": "2022-04-27T01:45:31Z",
"creator": "alexpghayes",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 741,
"state": "closed",
"title": "Bug: footnotes leaking through onto blog post listing page",
"url": "https://github.com/quarto-dev/quarto-cli/issues/741"
} |
```yaml
website:
site-url: "https://www.quarto.org/"
title: "My Document"
```
Will generate invalid paths in the meta tags, like:
```
<meta name="twitter:image" content="https://www.quarto.org//posts/foo.png">
```
| {
"assignee": "dragonstyle",
"comments": 1,
"created_at": "2022-04-26T17:33:44Z",
"creator": "dragonstyle",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 737,
"state": "closed",
"title": "Twitter Card Paths Invalid When Site Url Has Trailing Slash",
"url": "https://github.com/quarto-dev/quarto-cli/issues/737"
} |
Hi, first time posting an issue on GitHub, so please let me know if this isn't formatted properly.
I'm experimenting with Quarto on an M1Max MacBook Pro, using R 4.2.0. When I create a Quarto file to generate a pdf, I'm finding the render process is inserting an extra blank page despite no instructions to do so (e.g. \pagebreak).
Here's the entirety of the file:
```
---
title: "TestFile"
format: pdf
editor: visual
author: "For Quarto Issue"
date: "`r format(Sys.time(), '%B %d, %Y')`"
abstract: "This is a test"
---
# Introduction
# Conceptual Development
# Overview of Studies
# Study 1
## Methods
## Results
## Discussion
# Study 2
## Methods
## Results
## Discussion
# Study 3
## Methods
## Results
## Discussion
# Study 4
## Methods
## Results
## Discussion
# Study 5
## Methods
## Results
## Discussion
# General Discussion
# Appendix
# References
```
Which outputs the following PDF file -- you can see there's a blank page in between the title/abstract and the first Introduction header.
(Edit: I just noticed this now -- the 3rd page also does not include all headers. After "General Discussion" the headers disappear instead of showing up on a new page)
[quarto_issue_file.pdf](https://github.com/quarto-dev/quarto-cli/files/8565323/quarto_issue_file.pdf)
| {
"assignee": null,
"comments": 2,
"created_at": "2022-04-26T17:03:21Z",
"creator": "SEthanMilne",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 736,
"state": "closed",
"title": "Quarto PDF render adding blank pages",
"url": "https://github.com/quarto-dev/quarto-cli/issues/736"
} |
Hello,
I would really like to use the multiplexing feature but am having trouble because I am behind a work proxy and get the following error:
```
Sending fatal alert BadCertificate
ERROR: Error attempting to provision multiplex token from 'https://reveal-multiplex.glitch.me/': error sending request for url (https://reveal-multiplex.glitch.me/token): error trying to connect: invalid peer certificate contents: invalid peer certificate: UnknownIssuer
```
I do have the certificate that can usually solve this sort of issue with node, I can do something like (from Powershell):
```
$Env:NODE_EXTRA_CA_CERTS="c:\users\---\work-certificate.pem"
refreshenv
some node commands that will require said certificate
```
But I'm not sure how to do this for Quarto when it seems like the issue is talking to the reveal-multiplex site. I guess I could do the multiplexing manually and add the required revealjs commands to the start of the presentation (maybe?) but I would really like to make use of the inbuilt option if it's not too difficult. | {
"assignee": null,
"comments": 1,
"created_at": "2022-04-26T14:43:43Z",
"creator": "py9mrg",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 734,
"state": "closed",
"title": "Multiplexing a revealjs presentation behind a work proxy",
"url": "https://github.com/quarto-dev/quarto-cli/issues/734"
} |
The latest preview version of RStudio server includes the quarto render button. However, when I render an example document (e.g. from `New Project` -> `Quarto Project`). The html output is displayed verbatim in the viewer pane instead of rendered:
![image](https://user-images.githubusercontent.com/17450586/165304279-90641580-60ab-470a-991b-02b587f6adbf.png)
If I click the little `show in new window` button the browser also still shows it as text in a new tab.
Tested on brave, chrome and firefox.
The developer console in frefox shows:
`The resource from “http://<myserversname>:8787/p/1d4fe537/quarto-te...” was not rendered due to an unknown, incorrect or missing MIME type (X-Content-Type-Options: nosniff).` and links here: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options
whereas brave / chrome doesn't tell us more: `Failed to load resource: the server responded with a status of 500 (Internal Server Error)` | {
"assignee": null,
"comments": 2,
"created_at": "2022-04-26T13:01:26Z",
"creator": "jmbuhr",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 732,
"state": "closed",
"title": "quarto render output not rendered as html on rstdudio server",
"url": "https://github.com/quarto-dev/quarto-cli/issues/732"
} |
I'm seeing some inconsistency with the keyboard tabbing order when I use tabsets.
In [this example](https://github.com/360-info/report-global-education/blob/main/embed-bycountry.qmd), in which I've styled the tabs to appear at the bottom of the page ([deployed version available here](https://360info-studentflows.pages.dev/embed-bycountry)), the tabs have `tabindex="0"` and so are tabbable - but tabbing to put focus on them activates them, so it's impossible to then tab onto focusable elements within the tabset content (eg. checkboxes or dropdowns) unless you click on one of them first.
In the following example, the tabs aren't receiving any `tabindex` attribute at all and so aren't tabbable:
````
---
title: "Test tabs"
author: "jimjamslam"
---
Let's try some tabs!
::: {.panel-tabset}
## Tab A
This is just some explanatory text. No biggie...
## Tab B
Let's add some focusable controls here!
```{ojs}
viewof catSelect = Inputs.select(
["Apple", "Banana", "Orange", "Kiwi"],
{ label: "Choose a fruit"});
viewof numSelect = Inputs.range([1, 20], { label: "And a number" });
```
## Tab C
Some more text here! Could be lots of stuff.
```{ojs}
viewof check = Inputs.checkbox(
["Don't forget to check this!"],
{ label: "Options" })
```
## Tab D
Nah, this is all boring.
:::
````
Ideally, I expect that tabset tabs would be tabbable, but that tabbing onto a different tab would focus it without activating it so that I could continue on to any controls visible (unless I explicitly activated it as I might a hyperlink).
I'm not quite sure why the tabs in my first example have `tabindex` and the ones in my second don't, unless there's been a change in behaviour that I missed (although I believe I rendered them both with them same versions of everything). (Maybe the styling I used on the tabs in the first, adding `display: flex` and `flex-direction: column-reverse` to `.panel-tabset` to put the tabs below the content, did something weird?)
I think I've said "tab" enough for the rest of the year now 😂 | {
"assignee": null,
"comments": 4,
"created_at": "2022-04-26T01:47:35Z",
"creator": "jimjam-slam",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 730,
"state": "open",
"title": "Keyboard tabbing order of tabset tabs and focusable controls within tabset content",
"url": "https://github.com/quarto-dev/quarto-cli/issues/730"
} |
Hi,
I'm really loving the project! You all are killing it.
One feature I might suggest is syntax highlighting of RCall.jl code chunks of the form:
``` {julia}
using RCall
R"""
library(tidyverse)
df <- tibble(x = rnorm(10), y = runif(10))
#df %>%
# ggplot() +
# geom_point(aes(x, y))
"""
```
Which currently results in:
![image](https://user-images.githubusercontent.com/18599142/165144595-90f1c59e-122a-4a54-a6be-b207acea3f02.png)
That's fine, but becomes a bit difficult to read. However, in vscode I have an extension, which highlights R code in RCall, resulting in:
![image](https://user-images.githubusercontent.com/18599142/165144656-bea6d885-cc64-4ece-a40a-b79b69affef9.png)
The specific extension doing the highlighting is: https://github.com/haberdashPI/vscode-r-in-julia. Note that it seems to allow highlighting for all RCall.jl syntax, and not just the example I used.
Thanks!
| {
"assignee": null,
"comments": 4,
"created_at": "2022-04-25T17:50:17Z",
"creator": "wetlandscapes",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 729,
"state": "closed",
"title": "Support RCall.jl syntax highlighting",
"url": "https://github.com/quarto-dev/quarto-cli/issues/729"
} |
I'd argue that the icons used in [callout blocks](https://quarto.org/docs/authoring/callouts.html) are semantic icons, _or_ (alternatively) that the blocks themselves are intended as "semantic" classes.
As such, I think there should be visually hidden, but accessible text for either the icons or the callout divs. Because the icons are used as background images, I think that of the [accessibility techniques for semantic icons](https://fontawesome.com/docs/web/dig-deeper/accessibility#semantic-icons) (link is from Font Awesome, but the same ideas apply), we'd probably want to use Bootstrap's [`.visually-hidden`](https://getbootstrap.com/docs/5.1/getting-started/accessibility/#visually-hidden-content) class anyhow—which is why I think it might make sense to add this to the divs, rather than just the icons (since it will then work with `appearance="minimal"` or `icon=false`).
I suppose the downside to this is that you'd only want it to apply to HTML, which might be cumbersome given the callouts are used in other formats. One alternative would be to supply an `aria-label`, though I think screen-reader support for them on things like `<div>`s and `<span>`s can be a bit inconsistent. | {
"assignee": "dragonstyle",
"comments": 4,
"created_at": "2022-04-25T09:08:24Z",
"creator": "batpigandme",
"is_pull_request": false,
"labels": [
"accessibility"
],
"locked": false,
"milestone": "Future",
"number": 726,
"state": "open",
"title": "Implement some sort of accessible/text-alternative for callout icons or blocks (a11y issue)",
"url": "https://github.com/quarto-dev/quarto-cli/issues/726"
} |
Dear all,
I can't render any document using the following configuration:
```
project:
title: 'thesis'
format:
pdf:
documentclass: thesis
```
The problem seems related to the download of the `.cls` files required. I also tried to download the `classithesis` and `cleanthesis` document class and got the same problem.
I get the following error:
```
❯ quarto render
pandoc
to: latex
output-file: thesis.tex
standalone: true
pdf-engine: xelatex
variables:
graphics: true
tables: true
default-image-extension: pdf
filters:
- crossref
metadata
block-headings: true
documentclass: thesis
title: thesis
runnning xelatex - 1
This is XeTeX, Version 3.141592653-2.6-0.999994 (TeX Live 2022) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
updating tlmgr
updating existing packages
finding package for thesis.cls
compilation failed- no matching packages
LaTeX Error: File `thesis.cls' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: cls)
Enter file name:
! Emergency stop.
<read *>
l.8 \usepackage
{amsmath,amssymb}^^M
```
I tested on two different machines using on one TinyTex while on the other, using MacTex. | {
"assignee": null,
"comments": 6,
"created_at": "2022-04-24T21:40:19Z",
"creator": "tjisousa",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 725,
"state": "closed",
"title": "Render failing when requiring documentclass to be downloaded",
"url": "https://github.com/quarto-dev/quarto-cli/issues/725"
} |
Thanks for all the work on quarto - I've been really enjoying the flow of it.
I'm using quarto to render my jupyter notebook to pdf file.
I expect to see standard behaviour of cross-referencing between markdown cells to cells containing my tables. This works when rendering to html, but fails when rendering to pdf.
Example cells:
Cell 1:
```markdown
In @tbl-summary-gen we see...
```
```python
#| echo: false
#| label: tbl-summary-gen
#| tbl-cap: "summary of hypothesis generation datasets"
df = pd.DataFrame(
{
"a":["2,3,4,5"],
"b":["3,4,5,6"],
}
)
df
``` | {
"assignee": null,
"comments": 2,
"created_at": "2022-04-24T17:14:14Z",
"creator": "jazzbuck",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 724,
"state": "closed",
"title": "Fig captions not rendering in pdf output",
"url": "https://github.com/quarto-dev/quarto-cli/issues/724"
} |
It would be nice to be able to suppress the parameter cell which is injected into a document via the [parameters](https://quarto.org/docs/computations/parameters.html) feature, as it doesn't always have relevant content for the reader.
Something equivalent to: https://github.com/nteract/papermill/pull/254 / https://github.com/nteract/papermill/blob/3d46a93a479f203750e601419aff382082dd90c6/papermill/execute.py#L147 | {
"assignee": null,
"comments": 10,
"created_at": "2022-04-24T16:17:09Z",
"creator": "jeremiahpslewis",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 723,
"state": "closed",
"title": "Feature request: CLI flag to suppress printing papermill parameters in document",
"url": "https://github.com/quarto-dev/quarto-cli/issues/723"
} |
This causes the latex PDF build to fail as it doesn't support SVG.
Project file snippet:
```yaml
format:
html:
theme: cosmo
pdf:
toc: true
number-sections: true
colorlinks: true
```
Workaround, with parameters and running things twice is here: https://github.com/jeremiahpslewis/quarto-reproducible-gh-actions/blob/89fe98a92cc36fbfbc68b632f17a71e4de8d767f/.github/workflows/quarto.yml#L29 | {
"assignee": null,
"comments": 6,
"created_at": "2022-04-24T15:15:53Z",
"creator": "jeremiahpslewis",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 722,
"state": "closed",
"title": "Julia quarto documents render plots as svg, when both PDF and html formats specified in project file",
"url": "https://github.com/quarto-dev/quarto-cli/issues/722"
} |
I am an absolute beginner with html so I am not 100% sure this is a bug, but I think it is.
I have a wide data frame that I would like to display in an html report with the R function `DT::datatable`. The table is too wide for the quarto html default page so `datatable` gives it a horizontal scrollbar. The table is longer than the default number of rows to display so `datatable` gives it clickable page controls below the table (1, 2, 3, ...), so that depending on what you click, you can see 10 records, then the next 10, and so on.
With the default settings, with my particular table, the container (I think that's the right word) for the table is too narrow to be visually attractive (I have some very wide text columns that need more space to be readable). Thus, I want to widen the container for this table, but not for the whole html document. (I also reduce the font size, but that does not affect the behavior and so I do not do that in my example.) This is where I run into trouble.
When displaying a wide DT::datatable in Rstudio with quarto, and the table is **too wide** for the page:
- IF an html div widens the container,
- THEN the clickable page controls below the table, i.e.,
> Previous, 1, 2, 3, 4, 5, ..., 10 Next
- do NOT work properly. For example, 1 and 10 may respond to clicks, but 2-5 may not. Or, if you click 10, making 6-9 visible, 9 will respond to a click, but 6-8 will not.
- This behavior occurs if the html is rendered and viewed in a web browser (Chrome).
- However, if the html is rendered and viewed in the viewer pane, the page controls work properly.
- If this qmd file is converted to an rmd markdown file and knit as rmd (without quarto), this behavior does not occur - page controls work properly. In addition, the page automatically is much wider than the page rendered in quarto.
[This qmd file](https://github.com/donboyd5/mres/blob/main/quarto_DT/quarto_DT.qmd) has a minimal reproducible example that shows the problem.
[This rmd file](https://github.com/donboyd5/mres/blob/main/rmd_DT/rmd_DT.Rmd) has a minimal reproducible example that shows that the problem does NOT occur with Rmarkdown.
If I am using the wrong approach to widen the container, and there is a way to do so without causing page controls to break I would much appreciate it if someone could let me know a better way to accomplish my goal.
| {
"assignee": null,
"comments": 10,
"created_at": "2022-04-24T10:58:51Z",
"creator": "donboyd5",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 720,
"state": "closed",
"title": "Quarto with wide DT datatable objects in widened container: DT page controls do not work properly",
"url": "https://github.com/quarto-dev/quarto-cli/issues/720"
} |
Can HTML documents, book HTML documents only be opened with Google? When opened with Ie or Firefox, the page format changes. | {
"assignee": "dragonstyle",
"comments": 7,
"created_at": "2022-04-24T01:26:42Z",
"creator": "lxj4321",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 719,
"state": "closed",
"title": "Can HTML documents only be opened with Google?",
"url": "https://github.com/quarto-dev/quarto-cli/issues/719"
} |
I tried to create reveal slides with embedded webpage and noticed that the iframe was not rendered properly.
Here is a MWE:
`````
---
title: Testing Self-contained for iframe
format:
revealjs:
self-contained: true
---
## A slide that contains an iframe
Iframe doesn't seem work properly with self-contained.
<iframe src="https://quarto.org/" title="https://quarto.org/" width="960" height="500"></iframe>
`````
The output:
![image](https://user-images.githubusercontent.com/8799996/164865528-b35df479-c026-4c42-ad7e-3d90bb752f72.png)
Any suggestion on how to handle this? | {
"assignee": null,
"comments": 4,
"created_at": "2022-04-23T02:15:28Z",
"creator": "fyuniv",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 718,
"state": "closed",
"title": "iframe not properly rendered with self-contained",
"url": "https://github.com/quarto-dev/quarto-cli/issues/718"
} |
In VS Code's Outline panel, it thinks that callout titles are level 2 headers, but that doesn't really reflect the structure of the document. Screenshot:
<img width="599" alt="image" src="https://user-images.githubusercontent.com/86978/164774714-02375963-c2c6-4f68-aac9-d862da1bb187.png">
I think that it would make sense to not show them in the outline at all. | {
"assignee": null,
"comments": 2,
"created_at": "2022-04-22T18:40:05Z",
"creator": "wch",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 716,
"state": "closed",
"title": "VS Code outline panel gets confused by callout titles",
"url": "https://github.com/quarto-dev/quarto-cli/issues/716"
} |
Hi!
When I try to use `quarto render` I have the following error
```shell
ERROR: Expected a cached code page for this installation
```
Then I do
```shell
C:\Users\caprettot>quarto check
```
And I get
```shell
C:\Users\caprettot>quarto check
[>] Checking Quarto installation......OK
Version: 0.9.298
Path: C:\Users\caprettot\AppData\Local\Programs\Quarto\bin\
CodePage: Unable to read code page
[>] Checking basic markdown render....OK
ERROR: Expected a cached code page for this installation
```
What does this error mean? How can I fix it? Thanks a lot for this tool! | {
"assignee": "dragonstyle",
"comments": 3,
"created_at": "2022-04-22T17:53:40Z",
"creator": "tomicapretto",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 715,
"state": "closed",
"title": "Expected a cached code page for this installation",
"url": "https://github.com/quarto-dev/quarto-cli/issues/715"
} |
Currently, you can specify `logo` in the [Navbar options](https://quarto.org/docs/reference/projects/websites.html#navbar) to get an image for `.navbar-brand`, e.g. for quarto-web, there's (effectively):
```yaml
website:
navbar:
logo: quarto.png
```
However, there isn't a way (that I've figured out) to add alt-text for this image. So, perhaps `logo-alt` might be added?
I'm assuming it would be much more complicated to actually have that item be code, à la the page-footer options where you could use the quarto `fig-alt` syntax.
```yaml
page-footer:
left: |
Proudly supported by
[![](https://www.rstudio.com/wp-content/uploads/2018/10/RStudio-Logo-flat.svg){width=65px}](https://www.rstudio.com)
```
https://github.com/quarto-dev/quarto-web/blob/a80db52e7b9bb07f441f4d663edc3a3b38322783/_quarto.yml#L25-L28
Link to issue report from testing Quarto site with axe: <https://axe.deque.com/issues/ee26e47c-e699-49b5-8ec3-e70b3a374f9c> | {
"assignee": "dragonstyle",
"comments": 0,
"created_at": "2022-04-22T10:01:27Z",
"creator": "batpigandme",
"is_pull_request": false,
"labels": [
"accessibility"
],
"locked": false,
"milestone": "Future",
"number": 711,
"state": "closed",
"title": "Add `logo-alt` or similar option for `logo` in navbar YAML (a11y issue)",
"url": "https://github.com/quarto-dev/quarto-cli/issues/711"
} |
Hey, I seem to have found an unexpected behaviour with nested callout blocks. Perhaps I am not using it as designed. 😂
Any help would be appreciated.
### When **NOT** defining appearance="minimal'
```
:::{.callout-tip}
# Task - 5 mins
Starting with the string: `task = 'working with strings'`
Do the following:
1. Convert everything to lower case.
2. Get the length of your string.
3. Add the text: `'in Python'`, separated by a space `(' ')`, save this as a new variable `task_py`.
4. Split up `task_py` into a list.
:::{.callout-caution collapse=true}
# Minimal
Text text texts
:::
:::
```
<img width="902" alt="Screenshot 2022-04-22 at 10 17 31" src="https://user-images.githubusercontent.com/64639944/164676469-48a2c59f-1182-4146-bea0-a5031e5876c7.png">
### When appearance="minimal"
```
:::{.callout-tip}
# Task - 5 mins
Starting with the string: `task = 'working with strings'`
Do the following:
1. Convert everything to lower case.
2. Get the length of your string.
3. Add the text: `'in Python'`, separated by a space `(' ')`, save this as a new variable `task_py`.
4. Split up `task_py` into a list.
:::{.callout-caution collapse=true appearance="minimal"}
# Minimal
Text text texts
:::
:::
```
<img width="902" alt="Screenshot 2022-04-22 at 10 18 38" src="https://user-images.githubusercontent.com/64639944/164676680-9993b960-0300-4816-b634-6b1778ab8a04.png">
| {
"assignee": "dragonstyle",
"comments": 1,
"created_at": "2022-04-22T09:21:51Z",
"creator": "lloydhamilton",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 710,
"state": "closed",
"title": "Nested call out blocks not showing when setting appearance=\"minimal\"",
"url": "https://github.com/quarto-dev/quarto-cli/issues/710"
} |
place a `yml` file in the posts directory of a blog, and the default listing behavior will merge the contents of the yaml file into the listing.
- Also will emit NaN min if reading time is enabled. Should not emit this.
- Should not include yaml files in listing in this way (unless user asks for yaml files) | {
"assignee": "dragonstyle",
"comments": 1,
"created_at": "2022-04-21T22:57:58Z",
"creator": "dragonstyle",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 708,
"state": "closed",
"title": "Listings `contents: <folder>` reads yaml files ",
"url": "https://github.com/quarto-dev/quarto-cli/issues/708"
} |
Currently the sidebar item toggle (`.sidebar-item-toggle`) uses the chevron icon, but does not have an accessible text label, e.g.
``` html
<a class="sidebar-item-toggle text-start" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar-section-1" aria-expanded="true" href="">
<i class="bi bi-chevron-right ms-2"></i>
</a>
```
This can be resolved with an `aria-label`, `aria-labelledby`, etc. | {
"assignee": "dragonstyle",
"comments": 0,
"created_at": "2022-04-21T11:25:27Z",
"creator": "batpigandme",
"is_pull_request": false,
"labels": [
"bug",
"accessibility"
],
"locked": false,
"milestone": "v1.3",
"number": 704,
"state": "closed",
"title": "Sidebar item toggle missing text (a11y issue)",
"url": "https://github.com/quarto-dev/quarto-cli/issues/704"
} |
Currently, footnotes use `role="doc-endnote"`, e.g.:
```html
<li id="fn1" role="doc-endnote">
```
[`doc-endnote` was deprecated in DPUB-ARIA 1.1](https://www.w3.org/TR/dpub-aria-1.1/#doc-endnote), so this errors on the assertion that ARIA roles used must conform to valid values.
The link above describes the superseding behavior—i.e. that [`doc-endnotes`](https://www.w3.org/TR/dpub-aria-1.1/#doc-endnotes) identifies the section as being endnotes, and then native `<li>`, or `list` or `listitem` roles should be used within.
(I found the description in the Accessible Publishing Knowledge Base to be a bit more clear: http://kb.daisy.org/publishing/docs/html/dpub-aria/doc-endnote.html) | {
"assignee": "dragonstyle",
"comments": 5,
"created_at": "2022-04-21T11:17:16Z",
"creator": "batpigandme",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 703,
"state": "closed",
"title": "Footnotes use deprecated ARIA role (`doc-endnote`)",
"url": "https://github.com/quarto-dev/quarto-cli/issues/703"
} |