page_content
stringlengths 0
46.9k
| metadata
dict |
---|---|
I installed the [release files](https://github.com/quarto-dev/quarto-cli/releases/download/v0.9.30/quarto-0.9.30-linux-amd64.tar.gz) into /usr/local and there's this error on a simple testcase:
```
$ quarto render hello.qmd --to html
ERROR: TypeError: Path must be a string. Received undefined
```
| {
"assignee": null,
"comments": 2,
"created_at": "2022-02-20T17:32:44Z",
"creator": "yurivict",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 358,
"state": "closed",
"title": "ERROR: TypeError: Path must be a string. Received undefined",
"url": "https://github.com/quarto-dev/quarto-cli/issues/358"
} |
Dependency files are included in tarballs: Deno, pandoc, sass. etc.
Release tarballs should contain only Quarto files, otherwise there would be conflicts with pre-installed Deno, pandoc, etc. | {
"assignee": null,
"comments": 8,
"created_at": "2022-02-20T16:40:29Z",
"creator": "yurivict",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 357,
"state": "open",
"title": "Please release only Quarto files, and no dependencies.",
"url": "https://github.com/quarto-dev/quarto-cli/issues/357"
} |
is there a way to fix port instead of getting a random one on invocation of preview command, like 4812 in below example to something like 9876? I tried adding --port=9876 without success
```
quarto preview hello.qmd
Starting Jupyter kernel...Done
Executing 'hello.ipynb'
Cell 1/1...Done
pandoc
to: html
output-file: hello.html
standalone: true
section-divs: true
html-math-method: mathjax
wrap: none
default-image-extension: png
filters:
- crossref
metadata
document-css: false
link-citations: true
lang: en
title: Quarto Basics
jupyter: python3
Output created: hello.html
Watching files for changes
Browse at http://localhost:4812/
/usr/bin/xdg-open: 870: /usr/bin/xdg-open: www-browser: not found
/usr/bin/xdg-open: 870: /usr/bin/xdg-open: links2: not found
/usr/bin/xdg-open: 870: /usr/bin/xdg-open: elinks: not found
/usr/bin/xdg-open: 870: /usr/bin/xdg-open: links: not found
/usr/bin/xdg-open: 870: /usr/bin/xdg-open: lynx: not found
/usr/bin/xdg-open: 870: /usr/bin/xdg-open: w3m: not found
xdg-open: no method available for opening 'http://localhost:4812/'
``` | {
"assignee": null,
"comments": 2,
"created_at": "2022-02-20T15:09:06Z",
"creator": "animesh",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 356,
"state": "closed",
"title": "port fix",
"url": "https://github.com/quarto-dev/quarto-cli/issues/356"
} |
The README says "To install the development version of the Quarto CLI" ... run configure-linux.sh
But is there an install script? It should copy files into ```$DESTDIR$PREFIX```.
| {
"assignee": null,
"comments": 4,
"created_at": "2022-02-20T04:29:25Z",
"creator": "yurivict",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 354,
"state": "closed",
"title": "Is there an install script?",
"url": "https://github.com/quarto-dev/quarto-cli/issues/354"
} |
```configure-linux.sh``` downloads deno. Is there a way to use pre-installed deno?
For packaging it is preferable to use pre-installed dependencies. | {
"assignee": null,
"comments": 1,
"created_at": "2022-02-20T03:05:01Z",
"creator": "yurivict",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 353,
"state": "closed",
"title": "Is there a build script for pre-existing Deno installation?",
"url": "https://github.com/quarto-dev/quarto-cli/issues/353"
} |
For example, when quarto-bld fails it keeps going to the next step:
```
/disk-samsung/freebsd-ports/textproc/quarto/work/quarto-cli-0.9.29/package/src /disk-samsung/freebsd-ports/textproc/quarto/work/quarto-cli-0.9.29
./configure-linux.sh: ./quarto-bld: /bin/bash: bad interpreter: No such file or directory
/disk-samsung/freebsd-ports/textproc/quarto/work/quarto-cli-0.9.29
Downloading Deno Stdlib
```
| {
"assignee": null,
"comments": 3,
"created_at": "2022-02-20T02:59:14Z",
"creator": "yurivict",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 352,
"state": "closed",
"title": "Shell scripts don't stop on errors",
"url": "https://github.com/quarto-dev/quarto-cli/issues/352"
} |
This may already be possible and I haven't troubleshooted properly. However, it would be great if there were support for animations between ggplot outputs that are rendered in SVG.
For example, imagine the first slide has a ggplot with a single geom_point layer. The second side has a plot that is identical but adds a second layer consisting of geom_line. It would be nice to have only the additional layer, geom_line, fade in.
Thanks for this amazing tool! | {
"assignee": null,
"comments": 6,
"created_at": "2022-02-17T18:24:45Z",
"creator": "halidaee",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 350,
"state": "closed",
"title": "[Feature Request] Ggplot animations",
"url": "https://github.com/quarto-dev/quarto-cli/issues/350"
} |
Given a document `foo-index.qmd` when editing the document, quarto preview attempts to reload the page, but
tries to push the route `/foo-` instead of `/foo-index.html`
I'm guessing some logic around stripping `index.html` if its on the end of the URL designed for the root route? | {
"assignee": "dragonstyle",
"comments": 1,
"created_at": "2022-02-17T18:09:10Z",
"creator": "dpastoor",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 349,
"state": "closed",
"title": "bug: rendering document that ends with index.html causes quarto preview to serve wrong route",
"url": "https://github.com/quarto-dev/quarto-cli/issues/349"
} |
Given a slightly simplified` _quarto.yml`:
```diff
book:
title: "quarto-design"
repo-url: https://github.com/dpastoor/quarto-design
repo-actions: [edit, issue]
chapters:
- "index.qmd"
+ - part: user-journeys.qmd
+ chapters:
+ - rsc-user-journeys.qmd
appendices:
- appendix.qmd
- - user-journeys.qmd
```
when making that shift, get the following:
```
GET: /user-journeys.html
ERROR: Book chapter 'rsc-user-journeys.qmd' not found # note then created it
GET: /user-journeys.html
```
the preview continues to work, but the chapter sidebar continues to render with user-journeys.qmd in the sidebar.
**solution:** takes exiting and restarting quarto preview to pick up the change. | {
"assignee": null,
"comments": 0,
"created_at": "2022-02-17T18:07:02Z",
"creator": "dpastoor",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 348,
"state": "open",
"title": "moving a document from appendices to a chapter does not render/move article in sidebar for book",
"url": "https://github.com/quarto-dev/quarto-cli/issues/348"
} |
Hello! Running latest RStudio preview build (2022.02.0 Build 442). Trying to use Quatro to build a reveal.js presentation. Unfortunately, the auto-animation-duration option in the preamble doesn't seem to be doing anything.
Toy example:
```
---
title: "Practice"
author: |
| Hossein Alidaee
format:
revealjs:
auto-animate-easing: ease-in-out
auto-animate-duration: 10
theme: solarized
editor: visual
---
## Test slide
::: {.fragment .fade-in}
::: {.fragment .highlight-red}
::: {.fragment .semi-fade-out}
Fade in > Turn red > Semi fade out
:::
:::
:::
```
| {
"assignee": null,
"comments": 1,
"created_at": "2022-02-17T16:29:03Z",
"creator": "halidaee",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 347,
"state": "closed",
"title": "auto-animation-duration not working for reveal.js?",
"url": "https://github.com/quarto-dev/quarto-cli/issues/347"
} |
According to the [docs](https://quarto.org/docs/output-formats/hugo.html#webtex-math) rendering the TeX below to WebTex
```
$x + 1$
```
is supposed to yield:
```
![](https://latex.codecogs.com/svg.latex?x%20%2B%201)
```
Using the latest version of quarto-cli (0.9.21) I cannot reproduce this. Instead I get the following:
```
![x + 1](https://latex.codecogs.com/svg.latex?x%20%2B%201 "x + 1")
```
The actual Tex `x + 1` is rendered as a caption. I've added a minimum working example to this [repo](https://github.com/pat-alt/quarto-example).
Thanks! | {
"assignee": null,
"comments": 2,
"created_at": "2022-02-17T12:15:26Z",
"creator": "pat-alt",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 346,
"state": "closed",
"title": "WebTex not working as expected",
"url": "https://github.com/quarto-dev/quarto-cli/issues/346"
} |
Since updating to the latest version of quarto I get an error when trying specify `hugo` options.
```zsh
/ quarto render index.ipynb
ERROR: Validation of YAML front matter failed.
ERROR: In file index.ipynb
(line 16, columns 3--7) property name hugo is invalid
15: format:
16: hugo:
~~~~~
17: html-math-method:
ℹ The error happened in location format:hugo.
ERROR: Render failed due to invalid YAML.
```
Here's my full YAML header:
```YAML
---
title: Effortless Bayesian Deep Learning in Julia
author: Patrick Altmeyer
date: '2022-02-16'
slug: effortless-bayesian-deep-learning-in-julia
categories: [Trustworthy AI]
tags: [bayes, deeplearning, julialang]
subtitle: ''
summary: 'An introduction to effortless Bayesian deep learning through Laplace approximation coded from scratch in Julia. See also the pure-play companion package [BayesLaplace.jl](https://www.paltmeyer.com/BayesLaplace.jl/dev/)'
authors: []
lastmod: 'r format(Sys.time(), "%b %d, %Y")'
featured: yes
projects: []
format:
hugo:
html-math-method:
method: webtex
url: https://latex.codecogs.com/png.image?%5Cbg_black&space;
jupyter: julia
crossref:
fig-prefix: Figure
tbl-prefix: Table
bibliography: ../../../bib.bib
---
```
This is the version I'm on (tried the dev version as well, same error):
```zsh
/ quarto --version
0.9.21
```
Am I doing something wrong? | {
"assignee": null,
"comments": 1,
"created_at": "2022-02-17T10:39:56Z",
"creator": "pat-alt",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 345,
"state": "closed",
"title": "Error when specifying `hugo` options",
"url": "https://github.com/quarto-dev/quarto-cli/issues/345"
} |
When using `format: hugo` (or `gfm`) I believe that TeX is converted to unicode under the hood. The conversion seem to fail in some cases for no obvious reason (at least not obvious to me). Here's a minimal example of one such case:
```
Could not convert TeX math \mathbf{H}(\hat{\mathbf{w}}), rendering as TeX
```
I assume part of that TeX simply cannot be mapped to unicode, but what specifically? What's a good way to deal with this in practice?
PS: I continue to be amazed by this project. Recently stumbled across the VS Code extension, which is a really nice add-on. Love this :heart: | {
"assignee": null,
"comments": 2,
"created_at": "2022-02-17T08:05:56Z",
"creator": "pat-alt",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 344,
"state": "closed",
"title": "Converting TeX math for `format: hugo`",
"url": "https://github.com/quarto-dev/quarto-cli/issues/344"
} |
Related to https://github.com/rstudio/rmarkdown/issues/1453
It would be great to have an option to collapse the output as well as the code when in HTML format, as implemented in the minidown R package.
https://minidown.atusy.net/?framework=sakura&theme=default#results-folding | {
"assignee": "cscheid",
"comments": 6,
"created_at": "2022-02-16T13:56:42Z",
"creator": "eitsupi",
"is_pull_request": false,
"labels": [
"enhancement",
"computations",
"source-code"
],
"locked": false,
"milestone": "v1.4",
"number": 341,
"state": "open",
"title": "[Feature Request] Result Folding",
"url": "https://github.com/quarto-dev/quarto-cli/issues/341"
} |
After pulling the latest commits, I got the following errors when previewing/rendering a project:
```markdown
ERROR: Theme file compilation failed:
Error: Undefined variable.
╷
968 │ $card-cap-bg: $gray-500 !default;
│ ^^^^^^^^^
╵
Error: Theme file compilation failed:
Error: Undefined variable.
╷
968 │ $card-cap-bg: $gray-500 !default;
│ ^^^^^^^^^
╵
at dartCommand (file:///home/julian/quarto-cli/src/core/dart-sass.ts:71:11)
at async dartCompile (file:///home/julian/quarto-cli/src/core/dart-sass.ts:44:10)
at async compileWithCache (file:///home/julian/quarto-cli/src/core/sass.ts:314:25)
at async compileSass (file:///home/julian/quarto-cli/src/core/sass.ts:126:10)
at async resolveSassBundles (file:///home/julian/quarto-cli/src/command/render/pan
doc-html.ts:122:21)
at async resolveExtras (file:///home/julian/quarto-cli/src/command/render/pandoc.t
s:685:14)
at async runPandoc (file:///home/julian/quarto-cli/src/command/render/pandoc.ts:25
4:20)
at async renderPandoc (file:///home/julian/quarto-cli/src/command/render/render.ts
:582:24)
at async Object.onRender (file:///home/julian/quarto-cli/src/command/render/render
.ts:819:26)
at async renderFiles (file:///home/julian/quarto-cli/src/command/render/render.ts:
261:9)
``` | {
"assignee": null,
"comments": 5,
"created_at": "2022-02-14T16:22:03Z",
"creator": "juliantao",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 338,
"state": "closed",
"title": "ERROR: Theme file complation failed",
"url": "https://github.com/quarto-dev/quarto-cli/issues/338"
} |
Test document:
````markdown
---
title: "example"
format:
pdf:
pdf-engine: lualatex
mainfont: Open Sans
sansfont: Open Sans
keep-tex: true
---
# content
````
**OpenSans** fonts is not correctly auto-installed. Log in Job pane is:
````
updating existing packages
finding package for OpenSans(-(Bold|Italic|Regular).*)?[.](tfm|afm|mf|otf|ttf)
compilation failed- no matching packages
Package fontspec Error: The font "OpenSans" cannot be found.
````
With R Markdown and **tinytex** it works ok:
<details>
<summary>With this sample file</summary>
````markdown
---
title: "example"
output:
pdf_document:
latex_engine: lualatex
keep_tex: true
mainfont: Open Sans
sansfont: Open Sans
---
Content
````
</details>
This took me a while to debug this and here is where I am at.
Quarto command seems to correctly searching for `OpenSans(-(Bold|Italic|Regular).*)?[.](tfm|afm|mf|otf|ttf)` using `tlmgr search`.
However, running in debug mode, I find that the issue is a quoting issue in Windows command line because the result of
```typescript
const result = await tlmgrCommand(
"search",
[...args, ...(opts || []), searchTerm],
true,
);
```
is an error
````
code:255
stderr:''Italic' n’est pas reconnu en tant que commande interne\r\nou externe, un programme exécutable ou un fichier de commandes.\r\n'
stdout:''
success:false
````
The `stderr` means
> 'Italic' is not recognized as a internal or external command, an executable program or a command file.
I believe this is because `|` is not seems as part of an argument to `tlmgr search` the command being something like
````
tlmgr search --file --global OpenSans(-(Bold|Italic|Regular).*)?[.](tfm|afm|mf|otf|ttf)
````
as I am not sure `Deno.Run()` is quoting by default.
It seems like adding double quote will help on Windows
* No quotes = it will error
````powershell
> await Deno.run({cmd: ["cmd.exe", "/c", "tlmgr", "search", "--file", "--global", "OpenSans(-(Bold|Italic|Regular).*)?[.
](tfm|afm|mf|otf|ttf)"]}).status()
'Italic' n’est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
````
* With quotes = no error
````powershell
> await Deno.run({cmd: ["cmd.exe", "/c", "tlmgr", "search", "--file", "--global", "\"OpenSans(-(Bold|Italic|Regular).*)?
[.](tfm|afm|mf|otf|ttf)\""]}).status()
tlmgr.pl: package repository https://ctan.mines-albi.fr/systems/texlive/tlnet (verified)
{ success: true, code: 0 }
````
So this is a first potential issue. However, even by adding quotes in Quarto code around the arg, I do not get the correct output. No output is returned by the command in `result.stdout`.
I have found this issue in Deno (https://github.com/denoland/deno/issues/8852) but not sure that is directly related to why no result.
So I am still looking into this.
| {
"assignee": "cderv",
"comments": 3,
"created_at": "2022-02-14T11:10:56Z",
"creator": "cderv",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 336,
"state": "closed",
"title": "missing font not correctly detected on Windows with latexmk",
"url": "https://github.com/quarto-dev/quarto-cli/issues/336"
} |
It's nice when writing a book to have a dedicated sub-dir for the "actual writing", as opposed to quarto scaffolding.
For example:
```
/
| -- quarto.yml
|
...
|
| -- chapters/
| -- chapter1.qmd
```
Currently, this works fine if your `_quarto.yml` looks like:
```
chapters:
- chapters/chapter1.qmd
```
This gets unwieldy if you have lots of chapters, or a long dir name.
It would be nice to be able to specify a sub-dir once and then just use the chapter names, e.g.:
```
content-dir: chapters
chapters:
- chapter1.qmd
```
My apologies if this is already possible and I just missed it in the docs.
So far, loving a bookdown -> quarto conversion. Everything feels super ergonomic. Thank you! | {
"assignee": null,
"comments": 1,
"created_at": "2022-02-12T16:03:55Z",
"creator": "akgold",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 335,
"state": "open",
"title": "Option for content-dir in `_quarto.yml`",
"url": "https://github.com/quarto-dev/quarto-cli/issues/335"
} |
When using pipe tables to produce Latex/PDFs, I'm getting an undefined control sequence. After looking around, I believe it's the same issue described here as I'm getting the exact same error message and Latex table output:
https://github.com/rstudio/tufte/issues/104
It seems to have been fixed there but I couldn't quite narrow down how/where, unfortunately. | {
"assignee": null,
"comments": 3,
"created_at": "2022-02-12T14:14:17Z",
"creator": "jmablog",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 334,
"state": "closed",
"title": "Undefined control sequence in Latex with pipe tables",
"url": "https://github.com/quarto-dev/quarto-cli/issues/334"
} |
Hi! I am trying to use themes from beamer but all the themes that I have tried has the same blue color in the title from this figure below instead of different tons of red:
![image](https://user-images.githubusercontent.com/63704591/153508378-5925b6f6-631b-4297-87ad-f145559d484a.png)
The following code was used in this figure above:
![image](https://user-images.githubusercontent.com/63704591/153508668-84474bed-9087-4af8-b346-8bd06421ad67.png)
Obs.: I have tried the problem solution suggested at #299 but it didn't solve.
| {
"assignee": null,
"comments": 3,
"created_at": "2022-02-10T22:41:26Z",
"creator": "Gabrielforest",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 333,
"state": "closed",
"title": "Title color in beamer themes unmatched",
"url": "https://github.com/quarto-dev/quarto-cli/issues/333"
} |
Hi,
I want to start of with saying thank you for starting such an amazing project!
While I was testing the different user cases, I noticed that a plotly file is not shown when rendering a `.ipynb` file to html with quarto. The html file rendered, but it isn't showing the graph. The following output is given within the html:
`Unable to display output for mime type(s): application/vnd.plotly.v1+json`
The `.ipynb` looks as following and runs within VS code (in which the plot is shown)
```{raw}
---
title: "try plotly"
date: "May 22nd, 2021"
format:
html:
code-fold: true
jupyter: md
---
```
# plotly
```{python}
import plotly.express as px
df = px.data.iris()
fig = px.scatter(df, x="sepal_width", y="sepal_length",
color="species",
marginal_y="violin", marginal_x="box",
trendline="ols", template="simple_white")
fig.show()
```
When I run the code in a `.Rmd` file with the use of `{reticulate}` the plotly graph does show.
Thanks in advance for taking the time to consider my question.
| {
"assignee": null,
"comments": 2,
"created_at": "2022-02-10T17:35:48Z",
"creator": "brilstl",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 331,
"state": "closed",
"title": "plotly not rendering with jupyter engine",
"url": "https://github.com/quarto-dev/quarto-cli/issues/331"
} |
We originally saw this issue in the IDE's automated builds, and I'm able to reproduce locally.
On ubuntu,`quarto tools install tinytex` does not properly install tinytex:
```
$ quarto tools install tinytex
Installing tinytex
[✓] Downloading TinyTex v2022.02
[✓] Unzipping TinyTeX-v2022.02.tar.gz
[✓] Moving files
[✓] Verifying tlgpg support
[✓] Default Repository: https://mirror.las.iastate.edu/tex-archive/systems/texlive/tlnet/
[✓] Updating paths
Installation successful
To complete this installation, please restart your system.
$ quarto tools
[✓] Reading Tool Data
Tool Status Installed Latest
tinytex Not installed v2022.02 v2022.02
```
While there is a message instructing the user to restart their system, this doesn't fix the issue. Only after manually updating the `PATH`, does quarto finds tinytex:
```
$ PATH=$PATH:~/bin
$ quarto tools
[✓] Reading Tool Data
Tool Status Installed Latest
tinytex Up to date v2022.02 v2022.02
```
On macOS, running `quarto tools install tinytex` works as I'd expect and quarto is able to find it immediately:
```
$ quarto tools install tinytex
Installing tinytex
[✓] Downloading TinyTex v2022.02
[✓] Unzipping TinyTeX-v2022.02.tgz
[✓] Moving files
[✓] Verifying tlgpg support
[✓] Default Repository: https://mirrors.rit.edu/CTAN/systems/texlive/tlnet/
[✓] Updating paths
Installation successful
$ quarto tools
[✓] Reading Tool Data
Tool Status Installed Latest
tinytex Up to date v2022.02 v2022.02
``` | {
"assignee": "dragonstyle",
"comments": 3,
"created_at": "2022-02-09T16:43:28Z",
"creator": "melissa-barca",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 326,
"state": "closed",
"title": "Quarto does not complete tinytex install on ubuntu",
"url": "https://github.com/quarto-dev/quarto-cli/issues/326"
} |
There are some minor issues of the html output of theorem div. I am using quarto v0.3.114 on mac os.
A minimal example:
```
::: {#thm-line}
The equation of any straight line, called a linear equation, can be
written as: $y=ax+b$.
A second par.
:::
See @thm-line.
::: {#thm-line2}
A second theorem.
:::
```
HTML output:
![image](https://user-images.githubusercontent.com/16741954/152935214-caaac116-dec5-4084-a2e6-1ae15f1d3de9.png)
In the example above:
(1) Sometimes the theorem body begins in a new paragraph (as in Theorem 2), sometimes just following the theorem tag (as in Theorem 1). Not sure whether this is a design choice or not, but it might be better to let the body just follow the theorem tag for consistency.
(2) It's hard to tell the scope of the theorem body. For example, in theorem 1 "A second par" is part of the body, while "See theorem 1" is not.
A possible fix is to put the whole theorem in a box environment. From my experience, many math blogs do that (eg, [Terry Tao's blog](https://terrytao.wordpress.com/2021/12/28/the-inverse-theorem-for-the-u3-gowers-uniformity-norm-on-arbitrary-finite-abelian-groups-fourier-analytic-and-ergodic-approaches/)). Another fix is to italicize the whole theorem/lemma/etc as LaTeX does.
I personally prefer the first fix (i.e., box). A con of the italicize approach is that users may not be able to use the markdown syntax `**` for emphasis once the whole texts are italicized. LaTeX solves this problem by using the `\emph` command, which produces normal texts for emphasis in a italicized environment.
| {
"assignee": null,
"comments": 3,
"created_at": "2022-02-08T07:56:33Z",
"creator": "AlbertLei",
"is_pull_request": false,
"labels": [
"crossref"
],
"locked": false,
"milestone": "Future",
"number": 317,
"state": "open",
"title": "Customize the html output of theorem div ",
"url": "https://github.com/quarto-dev/quarto-cli/issues/317"
} |
I am using quarto 0.3.102 on mac os 10.15. The thm, prp divs do not render in the HTML output.
[The example](https://quarto.org/docs/authoring/cross-references.html#theorems-and-proofs) in quarto guide works, but fails once there is no equation at the end.
A minimal example:
```
::: {#thm-line}
## Line
The equation of any straight line, called a linear equation, can be written as:
:::
```
Here is the error info when I run `quarto render -t html`
```
Error running filter /Applications/quarto/share/filters/crossref/crossref.lua:
/Applications/quarto/share/filters/crossref/crossref.lua:466: attempt to get length of a Block value (local 'values')
stack traceback:
/Applications/quarto/share/filters/crossref/crossref.lua:2224: in local 'fn'
/Applications/quarto/share/filters/crossref/crossref.lua:1470: in function </Applications/quarto/share/filters/crossref/crossref.lua:1464>
```
Meanwhile, `quarto render -t pdf` works as expected.
![image](https://user-images.githubusercontent.com/16741954/152727475-f03ea6cf-9e59-44a6-8ed1-7c4d3ba4bc78.png)
| {
"assignee": null,
"comments": 3,
"created_at": "2022-02-07T04:49:26Z",
"creator": "AlbertLei",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 316,
"state": "closed",
"title": "theorem div fails to render in the HTML output",
"url": "https://github.com/quarto-dev/quarto-cli/issues/316"
} |
The html output of the proof environemnt needs an extra space between `Proof.` and the proof body.
A minimal example:
```
:::{.proof}
See Appendix 1.
:::
```
![image](https://user-images.githubusercontent.com/16741954/152691167-39f20232-bb3c-44fc-a9ee-87b421dc5d17.png)
I am using v0.3.102.
| {
"assignee": null,
"comments": 2,
"created_at": "2022-02-06T16:38:39Z",
"creator": "AlbertLei",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 314,
"state": "closed",
"title": "proof div: add one extra space in the HTML output",
"url": "https://github.com/quarto-dev/quarto-cli/issues/314"
} |
With the latest builds I noticed that `quarto preview` only re-renders after the first change / save and ignores following changes. I am currently doing a sort of manual bisect with daily builds. It works on https://github.com/quarto-dev/quarto-cli/tree/v0.2.475. I will let you know if I find the exact commit when it stopped working. | {
"assignee": null,
"comments": 22,
"created_at": "2022-02-05T14:33:24Z",
"creator": "jmbuhr",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 311,
"state": "closed",
"title": "regression in `quarto preview`",
"url": "https://github.com/quarto-dev/quarto-cli/issues/311"
} |
Maybe this fits here as a mention: if the template uses metadata other than that defined by quarto, you have to also set `validate-yaml: false` or quarto will refuse to render the document.
https://github.com/quarto-dev/quarto-web/blob/89ed76a15ca8debeb1871d04499759a543da6a4b/docs/reference/formats/html.json#L515 | {
"assignee": null,
"comments": 5,
"created_at": "2022-02-05T14:04:31Z",
"creator": "jmbuhr",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 312,
"state": "closed",
"title": "disable yaml validation for some custom pandoc templates",
"url": "https://github.com/quarto-dev/quarto-cli/issues/312"
} |
In writing papers one sometimes needs to give an equation a special name, using the `\tag{}` command. A minimal example is as follows:
```
$$
a \ge b \tag{IC}
$${#eq-ic}
[Equation (-@eq-ic)] is nice.
```
The generated HTML book output made two 'mistakes'
- it uses both (1) and (IC) as equation tags
- More importantly, it uses 1 rather than IC for cross referencing.
<img width="725" alt="Screen Shot 2022-02-05 at 9 55 05 PM" src="https://user-images.githubusercontent.com/16741954/152644892-7d10166c-0289-416e-b12b-3a94b30b4ae9.png">
Meanwhile, the PDF output is normal:
<img width="601" alt="Screen Shot 2022-02-05 at 9 57 19 PM" src="https://user-images.githubusercontent.com/16741954/152644960-dec60355-831d-4397-abbf-d1edfcefbe09.png">
I wish to achieve the same output as in the PDF output. Is there any workaround?
I am using quarto 0.3.18 (I also have pandoc 2.17.0.1 installed, not sure whether this matters). Currently I work around by defining **Pandoc metadata** `eq.ic: IC` and then `Equation {{< meta eq.ic >}}`. It works well for me, both HTML and PDF. But I hope there is a more direct way to do this. | {
"assignee": null,
"comments": 6,
"created_at": "2022-02-05T14:01:51Z",
"creator": "AlbertLei",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 310,
"state": "open",
"title": "Use `\\tag{}` info for eq cross referencing in the HTML book output",
"url": "https://github.com/quarto-dev/quarto-cli/issues/310"
} |
The light/dark mode toggle appears invisible after rendering. This was tested in version 0.3.76 on Windows 10 (Build 19044.1466) on Chrome and FireFox.
`minimal.qmd`
```markdown
---
title: Minimal Button Example
format:
html:
theme:
dark: darkly
light: flatly
---
# Test Header 1
## Test Subheading
```
Calling `quarto render .\minimal.qmd` renders the page like this:
```html
<a id="quarto-color-scheme-toggle" class="top-right" href="">
<i class="bi"></i>
</a>
```
The button is functional if you make a small change like this:
```html
<a id="quarto-color-scheme-toggle" class="top-right" href="">
<i class="bi bi-heart"></i>
</a>
```
The JS works. My guess would be, that it's a problem with the scss, where I'm of no help. | {
"assignee": null,
"comments": 3,
"created_at": "2022-02-04T13:42:33Z",
"creator": "ChronoJon",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 309,
"state": "closed",
"title": "[Bug] Color scheme toggle is invisible",
"url": "https://github.com/quarto-dev/quarto-cli/issues/309"
} |
Hi,
Thank you for this project.
I was wondering if there are more examples with Julia. I just started using quarto and the only example I found was the following one: https://github.com/quarto-dev/quarto-cli/issues/35
But the plot did not display.
I was windering if it would be possible to add Julia examples along yhe R and Python examples on https://quarto.org
Thank you | {
"assignee": null,
"comments": 6,
"created_at": "2022-02-04T11:59:20Z",
"creator": "gitboy16",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 308,
"state": "closed",
"title": "More Julia examples",
"url": "https://github.com/quarto-dev/quarto-cli/issues/308"
} |
Thank you for continuing to develop great products.
I don't know if this is a problem with quarto, but I noticed that the buttons are misaligned in the html file created from the following qmd file.
````qmd
---
title: test
format:
html:
self-contained: true
jupyter: python3
---
## test
```{python}
print("loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong")
```
````
![image](https://user-images.githubusercontent.com/50911393/152519634-b808f805-967a-4bd6-86c6-2eec0b76ef15.png) | {
"assignee": null,
"comments": 1,
"created_at": "2022-02-04T11:18:59Z",
"creator": "eitsupi",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 307,
"state": "open",
"title": "\"Copy to Clipboard\" button moves with the slidebar in html pages",
"url": "https://github.com/quarto-dev/quarto-cli/issues/307"
} |
Consider `crossrefs.qmd`:
```
---
title: "Title"
author: "Author"
date: "Today"
format: revealjs
---
## Equation 1
See @eq-equivalence2 on the next slide.
$$ E = mc^2 $$ {#eq-equivalence1}
## Equation 2
See @eq-equivalence1 on the previous slide.
$$ E = mc^2 $$ {#eq-equivalence2}
```
and run `quarto render crossrefs.qmd`.
The links given by cross refs are to `crossrefs.html#/eq-equivalence1` and `crossrefs.html#/eq-equivalence2` which don't exist as slides. Clicking on them results in returning to the title slide. Instead I think some logic needs to be there to link to the slide containing the target reference, i.e. `crossrefs.html#/equation-1` and `crossrefs.html#/equation-2`
| {
"assignee": null,
"comments": 1,
"created_at": "2022-02-04T05:04:15Z",
"creator": "KeAWang",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 306,
"state": "open",
"title": "Crossrefs in revealjs link incorrectly",
"url": "https://github.com/quarto-dev/quarto-cli/issues/306"
} |
Copying the inline examples from the quarto docs, we have the following reproduction steps:
1. Create `inline.qmd`:
```
---
title: "Title"
author: "Author"
date: "Today"
format: revealjs
jupyter: python3
---
## Attempt at inline code
```{python}
#| echo: false
radius = 10
from IPython.display import display, Markdown
display(Markdown("""
## Circle
The radius of the circle is {radius}.
""".format(radius = radius)))
```
2. run `quarto render inline.qmd`
This causes in the inline results to display over every revealjs slide
| {
"assignee": null,
"comments": 1,
"created_at": "2022-02-04T04:48:42Z",
"creator": "KeAWang",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 305,
"state": "closed",
"title": "python inline code results displays over revealjs slides",
"url": "https://github.com/quarto-dev/quarto-cli/issues/305"
} |
Would it be possible to support [giscus](https://giscus.app/)? It's the same setup as utterances but uses Github Discussions instead of Github Issues. Utterances and giscus are almost identical in their setup. | {
"assignee": null,
"comments": 2,
"created_at": "2022-02-04T03:30:44Z",
"creator": "KeAWang",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 304,
"state": "closed",
"title": "[feature-request] Support for giscus",
"url": "https://github.com/quarto-dev/quarto-cli/issues/304"
} |
I am using quarto for a scientific publication. Do you already have a `bib` entry for how your would like quarto to be cited? GitHub recently added support for adding a citation to repositories: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-citation-files
PS: The new landing page of quarto.org looks great! | {
"assignee": null,
"comments": 1,
"created_at": "2022-02-03T11:09:53Z",
"creator": "jmbuhr",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 303,
"state": "closed",
"title": "citing quarto",
"url": "https://github.com/quarto-dev/quarto-cli/issues/303"
} |
When using `html: minimal: true` option, the following css styles are automatically included in the html output. These are not defined in the pandoc HTML template specification and cannot be controlled from the template.
```
<link href="test_template_files/libs/quarto-html/quarto-html.min.css" rel="stylesheet">
<link href="test_template_files/libs/quarto-html/quarto-syntax-highlighting.css" rel="stylesheet">
```
I wanted to have a clean slate of css for designing a custom html template. Is there a way to remove this from the output for the minimal option or is there any command-line option to remove it? | {
"assignee": null,
"comments": 5,
"created_at": "2022-02-01T19:35:08Z",
"creator": "drrajeshtalluri",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 300,
"state": "closed",
"title": "Remove quarto css in minimal html option",
"url": "https://github.com/quarto-dev/quarto-cli/issues/300"
} |
I recently updated to the latest binary release of Quarto and noticed that my math fonts aren't being rendered correctly anymore. Well, actually, the main font is slightly off too but the math font is the most obvious. I'm using the popular [metroplis beamer theme](https://github.com/matze/mtheme) and the format section of my YAML is as follows:
```yaml
...
format:
beamer:
# classoption: "handout" # uncomment to remove pauses
aspectratio: 169
theme: metropolis
link-citations: true
...
```
Here are two screenshot showing the change in appearance. First, the original correct version:
![quarto1](https://user-images.githubusercontent.com/10285037/152023495-5910da61-058e-43ac-a9f6-eb2b5adf19c1.png)
Second, what I get following the update (i.e. ugly/unmatched fonts).
![quarto2](https://user-images.githubusercontent.com/10285037/152023873-239a06b2-1811-4f95-9aa0-7e5ec5d6990a.png)
Any ideas for how to fix? Should I specify the mathfont in the YAML?
This hiccup aside, I'm very impressed with Quarto. It's been a pleasure to work with. Thanks in advance for any help!
PS. I'm running Quarto through RStudio on Arch Linux. I originally installed and and have just updated Quarto through this [AUR package](https://aur.archlinux.org/packages/quarto-cli-bin/).
```sh
quarto check install
[✓] Checking Quarto installation......OK
Version: 0.3.74
Path: /opt/quarto/bin
[✓] Checking basic markdown render....OK
```
And here's my R sessionInfo().
```r
> sessionInfo()
R version 4.1.2 (2021-11-01)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Arch Linux
Matrix products: default
BLAS/LAPACK: /usr/lib/libopenblas_haswellp-r0.3.18.so
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8
[4] LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C LC_ADDRESS=C
[10] LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] quarto_1.1
loaded via a namespace (and not attached):
[1] Rcpp_1.0.8 ps_1.6.0 digest_0.6.29 later_1.3.0 jsonlite_1.7.2 evaluate_0.14
[7] rlang_1.0.0 cli_3.1.1 rstudioapi_0.13 remotes_2.4.2 rmarkdown_2.11 tools_4.1.2
[13] yaml_2.2.1 xfun_0.29 parallel_4.1.2 fastmap_1.1.0 compiler_4.1.2 processx_3.5.2
[19] htmltools_0.5.2 knitr_1.37
```
| {
"assignee": null,
"comments": 4,
"created_at": "2022-02-01T18:09:48Z",
"creator": "grantmcdermott",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 299,
"state": "closed",
"title": "Fonts for beamer theme no longer being rendered correctly",
"url": "https://github.com/quarto-dev/quarto-cli/issues/299"
} |
When I set `code-link: true` and `code-fold: true`, the functions are linked to the documentation as intended, but they aren't hidden by the code folding, and the fold toggles don't do anything.
Example:
```
---
title: "code_link"
format:
html:
theme: simplex
code-fold: true
code-tools: true
code-link: true
---
```{r}
hist(rnorm(50))
``
```
![code_fold](https://user-images.githubusercontent.com/25734232/151715202-23866200-2756-47db-93d8-0b3fb6e06978.gif)
| {
"assignee": null,
"comments": 1,
"created_at": "2022-01-30T19:53:35Z",
"creator": "maxdrohde",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 298,
"state": "closed",
"title": "`code-link` option doesn't work with `code-fold`",
"url": "https://github.com/quarto-dev/quarto-cli/issues/298"
} |
The latest yaml validator now complains about the pandoc "title-slide-attributes" keys for the revealjs format.
Try the following reproducible example:
```{markdown}
---
title: "Habits"
author: "John Doe"
title-slide-attributes:
data-background-image: "https://via.placeholder.com/300"
data-background-size: 300px
data-background-position: 4% 90%
format: revealjs
---
## Getting up
- Get out of bed
![](https://via.placeholder.com/300)
```
I got complains:
```markdown
ERROR: Validation of YAML front matter failed.
In file title-slide.qmd
(line 5, column 3 through line 7, column 34) Key title-slide-attributes has value data
-background-image: "https://via.placeholder.com/300"
data-background-size: 300px
data-background-position: 4% 90% but it must instead be the null value
4: title-slide-attributes:
5: data-background-image: "https://via.placeholder.com/300"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6: data-background-size: 300px
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7: data-background-position: 4% 90%
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8: format: revealjs
✖ The value data-background-image: "https://via.placeholder.com/300"
data-background-size: 300px
data-background-position: 4% 90% is a object.
ℹ The error happened in location title-slide-attributes.
ERROR: Render failed due to invalid YAML.
```
| {
"assignee": null,
"comments": 1,
"created_at": "2022-01-30T19:28:33Z",
"creator": "juliantao",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 297,
"state": "closed",
"title": "revealjs: yml validation on pandoc \"title-slide-attributes\"",
"url": "https://github.com/quarto-dev/quarto-cli/issues/297"
} |
Is there a possibility to use `params` parameter of YAML params in chunks, like in R Markdown, in Quarto?
The naïve approach to use the `params$<param-name>` value in chunk options, e. g. like this, fails:
```
---
title: "MWE"
author: LaTeX
date: "11.01"
fontenc: T1
mainfont: "Times New Roman"
format:
pdf:
pdf-engine: lualatex
keep-tex: true
params:
show_code: false
---
```{python, fig.caption = "Caption", echo = params$show_code}
#| label: fig-polar
#| fig-cap: "A line plot on a polar axis"
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()
```
Thanks in advance for any response. | {
"assignee": null,
"comments": 2,
"created_at": "2022-01-28T21:08:19Z",
"creator": "gjirokastrelbasanit34",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 296,
"state": "closed",
"title": "[Question]: Does quarto support YAML params parameter? ",
"url": "https://github.com/quarto-dev/quarto-cli/issues/296"
} |
Hello!
Being on `Windows 10` on build `0.3.60` which is nearly same as the dev version, I am experiencing errors launching anything with quarto.
The error I am getting after `$ quarto render myfile.qmd` is this
```
TypeError: Unsupported scheme "c" for module "c:\Users\User\quarto-cli\share\editor\tools\yaml\standalone-schema-validators.js". Supported schemes: [
"data",
"blob",
"file",
"http",
"https",
]
```
and apparently this is due to the `deno` that requires `file://` in front of any file path on non-unix/linux systems, as mentioned in this [issue](https://github.com/denoland/deno/issues/8389). Unfortunately, I am not able to resolve it myself unlike the author of the issue, since any path I am passing with `file://` prefix is interpreted as local path by `quarto` and therefore, the project dir is prepended to it. Therefore, the `deno` anyway receives a path starting with `C:/`, which it does not support.
All projects builds with simple `$ quarto render` fail likewise, since `quarto` tries to do the same under the hood.
Thanks in advance for any response.
| {
"assignee": null,
"comments": 3,
"created_at": "2022-01-28T08:34:56Z",
"creator": "gjirokastrelbasanit34",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 295,
"state": "closed",
"title": "[Hindenbug] Quarto doesn't run on Windows due to deno path processing",
"url": "https://github.com/quarto-dev/quarto-cli/issues/295"
} |
In R Markdown you can specify the output format of an .Rmd document to .md like so
```
---
output: github_document
bibliography: bib.bib
---
```
and generate a plain markdown document with bibliographic references. This is very useful for writing tutorials that include references and hosting them on Github (pages), for example.
When I run
`quarto render my_tutorial_with_references.qmd --to markdown`
the references are not rendered (even though they are rendered when rendering to HTML).
Would much appreciate support for this (or in case I'm missing something and this can already be achieved in some other way, fire at me!)
Many thanks - awesome project! | {
"assignee": null,
"comments": 3,
"created_at": "2022-01-27T07:41:34Z",
"creator": "pat-alt",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 293,
"state": "closed",
"title": "[Feature request] Render reference keys to references when converting to plain markdown",
"url": "https://github.com/quarto-dev/quarto-cli/issues/293"
} |
I'm trying to use a custom font in a presentation. I have a .sscs file with the following lines:
`@import url(./nunito.css);`
`$font-family-sans-serif: Nunito, sans-serif !default;`
`$presentation-heading-font: Nunito, sans-serif !default;`
When I run preview, the heading font is done correctly. The body text is not and is still the default font. I also get a warning ` /Presentation_files/libs/revealjs/dist/theme/nunito.css (404: Not Found)`
Now obviously I can copy the CSS file and related font files to the above referenced location after the first time I try running preview, but that seems like an ugly hack. It also doesn't explain how the font is working for headings. I can't figure out how it is working in one place and not in the other.
Here is the beginning of quarto.css `@import"./nunito.css";@import"./fonts/source-sans-pro/source-sans-pro.css";:root{--r-background-color: #660000;--r-main-font: Nunito, sans-serif;--r-main-font-size: 40px;--r-main-color: #ff0;--r-block-margin: 12px;--r-heading-margin: 0 0 12px 0;--r-heading-font: Nunito, sans-serif;`
That is the only file in the libs directory tree that contains "nunito".
I had this font working in Revealjs, but its markdown isn't as nice as Quarto, and I thought I'd learn Quarto for other projects in the future. This isn't urgent, I'm old enough to have learned I need to play with something before I rely on it for an important project.
Thank you for a cool publishing platform. | {
"assignee": null,
"comments": 3,
"created_at": "2022-01-27T03:12:09Z",
"creator": "Eric-Hacker",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 294,
"state": "closed",
"title": "Custom fonts for revealjs presentation half working",
"url": "https://github.com/quarto-dev/quarto-cli/issues/294"
} |
When using `minimal: true` option for HTML output there is a lot of extra javascript included after the body in the html source output. Is this intended? | {
"assignee": null,
"comments": 2,
"created_at": "2022-01-26T23:35:37Z",
"creator": "drrajeshtalluri",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 292,
"state": "closed",
"title": "minimal html output still has lot of unneeded javascript in the output",
"url": "https://github.com/quarto-dev/quarto-cli/issues/292"
} |
Hi!
I'm trying to use `quarto` on windows with a specific Python installation, that is available on the `PATH` environment variable. Both `python` and `jupyter` can be started from the command line. Unfortunately `quarto` locates a very different Python installation that comes with VS Studio and that I never want to use.
**quarto check**
```
[>] Checking Quarto installation......OK
Version: 0.3.37
Path: C:\Users\devel\AppData\Local\quarto\bin\
[>] Checking basic markdown render....OK
[>] Checking Python 3 installation....OK
Version: 3.7.8
Path: C:/Program Files (x86)/Microsoft Visual Studio/Shared/Python37_64/python.exe <<< WRONG
Jupyter: (None)
Jupyter is not available in this Python installation.
Install with py -m pip install jupyter
......
```
Q: how to specify a dedicated python installation for quarto?
| {
"assignee": null,
"comments": 6,
"created_at": "2022-01-26T15:49:44Z",
"creator": "carlkl",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 291,
"state": "closed",
"title": "Trying to use quarto on Windows",
"url": "https://github.com/quarto-dev/quarto-cli/issues/291"
} |
As of now, AFAIK there is no such option as `citation-package: pandoc|natbib|biblatex` for the Quarto PDF output front matter.
This works in R Markdown via `citation_package`, but as I've just tried, not in Quarto so far.
There are some special features of `biblatex` such as back references from bibliography onto inline citations, which are handy during reading and refactoring even if not allowed in the final documents (to the best of my knowledge, this is not possible via `pandoc` citations processor, though I may be errant). Notably, in LaTeX these are enabled via options `backref=true`, and for R Markdown this can be enabled with options `biblatexoptions: [backref=true]`, which is not supported in Quarto PDF options and ignorred if placed in YAML root.
I understand that I can just add the pandoc flag `--biblatex` in cmd command to force biblatex citations processing and I even tried to write `--variable="biblatex:backref=true"` but the latter did nothing since this is probably not how this works.
Of course I understand that currently I can just retain the `.tex` file and then run `latexmk` or any other engine with reference resolution pipeline.
Thanks in advance for any response! | {
"assignee": null,
"comments": 7,
"created_at": "2022-01-26T13:55:59Z",
"creator": "gjirokastrelbasanit34",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 290,
"state": "closed",
"title": "[Feature request] Allow config of biblatex as citation processor",
"url": "https://github.com/quarto-dev/quarto-cli/issues/290"
} |
research object have a specific way to give information about the authors. (affiliations required, optional orcid id, contribution role, funding information, contact information,...)
Some work has been done at https://github.com/jam-schema/jams/, but the project is not yet applicable.
pinging @cderv who knows about it. | {
"assignee": "dragonstyle",
"comments": 17,
"created_at": "2022-01-25T10:36:55Z",
"creator": "jcolomb",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "1.0 Formats",
"number": 287,
"state": "closed",
"title": "support for additional author information and contribution role",
"url": "https://github.com/quarto-dev/quarto-cli/issues/287"
} |
Hi
Thank you so much for this wonderful product - a passionate Rmd user and now with options for more - fantastic!🎊👏
I was wondering if there is a possiblitiy to implement a sidebar toc in revealjs-presentations similar to latex-beamer ([hannover theme](https://deic.uab.cat/~iblanes/beamer_gallery/large/Hannover-default-default-02.png) ? I know that I can toggle the menubar/toc with 'm' but I was more wondering about implementing it on the slides for the users to see along the presentation?
(I am posting this here instead of xaringan because the toc-request in [xaringan](https://github.com/yihui/xaringan/issues/217) was implemented here)
Again, thanks for the great work!😃
| {
"assignee": null,
"comments": 1,
"created_at": "2022-01-25T10:02:35Z",
"creator": "cathblatter",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 286,
"state": "open",
"title": "[Feature request] Sidebar toc on every slide in revealjs-presentation",
"url": "https://github.com/quarto-dev/quarto-cli/issues/286"
} |
Hi all,
I guess this was the new project @yihui mentioned in his [talk](https://www.youtube.com/watch?v=T24nt-d4cEg&t=3074s). Anyway, this project looks very promising regarding the next generation of publishing systems.
I was wondering about the possibility that there will be a standalone visual editor with the quarto engine (later came across that this is being considered), and parallelly was wondering if [marktext](https://github.com/marktext/marktext/issues/2821) could also leverage on something like markdown or knitr to allow a coding experience inside the editor. So why not consider a combination of these two brilliant tools?
| {
"assignee": null,
"comments": 2,
"created_at": "2022-01-24T19:33:46Z",
"creator": "camilogarciabotero",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 284,
"state": "closed",
"title": "[Feature question] Marktext as a supported visual editor (?)",
"url": "https://github.com/quarto-dev/quarto-cli/issues/284"
} |
Consider this error:
```
ℹ The error happened in the field /book/chapters/0/chapters/4.
In file /Users/cscheid/repos/github/quarto-dev/quarto-sites/to-fix/incog-workbench/_quarto.yml (line 49, column 11 through line 50, column 63) The value text: "Administrative Dashboard"
file: server_management/administrative_dashboard.qmd must be at least one of: a string, an object.
48: - server_management/logging.qmd
49: - text: "Administrative Dashboard"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50: file: server_management/administrative_dashboard.qmd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51: - server_management/automated_crash_reporting.qmd
```
The schema says:
```
anyOf:
- string
- record:
text: string
url: string
```
The error is technically right in that replacing the entire object with a string would fix it. But reporting that `file` is not an allowed key for that record is really what we should say. | {
"assignee": "cscheid",
"comments": 1,
"created_at": "2022-01-24T19:32:03Z",
"creator": "cscheid",
"is_pull_request": false,
"labels": [
"yaml-validation"
],
"locked": false,
"milestone": null,
"number": 283,
"state": "closed",
"title": "Improve error localization in anyOf schemas",
"url": "https://github.com/quarto-dev/quarto-cli/issues/283"
} |
Are there any plans of integrating debugging capabilities into this? It's not hard to imagine having a long report with many references and chunks and it would be nice to be able to debug this elegantly. Or at least have some verbose output that enables to trace the logic of the script. Looking forward to hear your thoughts on this. | {
"assignee": null,
"comments": 0,
"created_at": "2022-01-24T14:19:21Z",
"creator": "romunov",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 282,
"state": "open",
"title": "[feature question] plans for debugging capabilities?",
"url": "https://github.com/quarto-dev/quarto-cli/issues/282"
} |
This is just a nit pick but anyway :wink:.
Could you change "Quarto command line interface" to something more descriptive (I like the description in readme)?
This'd make it much easier to search through repos etc.
>Quarto is an open-source scientific and technical publishing system built on Pandoc. Quarto documents are authored using markdown, an easy to write plain text format.
(won't probably fit in the GitHub constraints, but nicely shows what I mean) | {
"assignee": null,
"comments": 1,
"created_at": "2022-01-24T11:22:51Z",
"creator": "dumblob",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 281,
"state": "closed",
"title": "Improve repository description on GitHub",
"url": "https://github.com/quarto-dev/quarto-cli/issues/281"
} |
Can you render Quarto in github pages at the moment? | {
"assignee": null,
"comments": 1,
"created_at": "2022-01-24T00:50:29Z",
"creator": "jamesthesnake",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 280,
"state": "closed",
"title": "Question about Quarto in github pages.",
"url": "https://github.com/quarto-dev/quarto-cli/issues/280"
} |
The Tufte example [here](https://quarto-dev.github.io/quarto-gallery/page-layout/tufte.html) is rendering strangely in my browser. I tried both Safari and Chrome.
See attached screenshot.
<img width="1288" alt="Screen Shot 2022-01-23 at 4 30 53 PM" src="https://user-images.githubusercontent.com/25734232/150700701-f6a5a3c5-6172-4b39-bb86-b066dee1a573.png">
| {
"assignee": null,
"comments": 1,
"created_at": "2022-01-23T22:34:56Z",
"creator": "maxdrohde",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 279,
"state": "closed",
"title": "Error in margin formatting in Tufte example",
"url": "https://github.com/quarto-dev/quarto-cli/issues/279"
} |
We have already created some word files or or pdf files while we make some qmd files afresh. How we can embed or integrate these files into quarto book projects and table of contents with correct new page numbers for integrated files?
Thanks in advance
Ko Ko Zaw | {
"assignee": null,
"comments": 2,
"created_at": "2022-01-21T13:05:07Z",
"creator": "zawkzaw",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 278,
"state": "closed",
"title": "Embed word files and pdf files into quarto book projects ",
"url": "https://github.com/quarto-dev/quarto-cli/issues/278"
} |
If the `resources` option is enabled for a site project, after rendering, almost everything in the project directory is copied into the output directory. These include, for example, the README files, the `.git` and `.quarto` directories.
Previously, when I did not include the `resources` option, only the rendered outputs, the linked resources, and the site-libs were generated in the output directory.
It smells like a bug.
I created a [Github repo](https://github.com/JulianTao/site_resrc_tes) to explain the behavior and hopefully, it can be reproduced.
A detailed explanation of the steps and command line outputs are included in the [README file](https://github.com/JulianTao/site_resrc_tes#readme).
| {
"assignee": null,
"comments": 2,
"created_at": "2022-01-21T05:48:53Z",
"creator": "juliantao",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 277,
"state": "closed",
"title": "website: `resources` option resulted in non-output files/folders being copied into the output directory ",
"url": "https://github.com/quarto-dev/quarto-cli/issues/277"
} |
I was wondering whether having multilingual outputs (e.g. a website that's in French, one in English, with some way to map the corresponding pages so that one can have a button to switch) is on the roadmap?
(I saw https://quarto.org/docs/authoring/language.html#translations but my question is about another aspect, at least I think so :sweat_smile: ) | {
"assignee": null,
"comments": 27,
"created_at": "2022-01-20T09:44:17Z",
"creator": "maelle",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 275,
"state": "open",
"title": "Multilingual websites / books",
"url": "https://github.com/quarto-dev/quarto-cli/issues/275"
} |
The mouse-hover popups for citations in Revealjs slides are quite narrow with the default font sizes, which means that they often flow off the bottom of the presentation, when there is more than one citation.
For instance:
<img width="400" alt="Screen Shot 2022-01-19 at 22 57 43" src="https://user-images.githubusercontent.com/5202957/150270671-37d1437b-ec5c-40ec-a71d-3e11340e877d.png">
I think the setting for what this popup looks like inherited from the setup for rendering HTML (where it is not an issue). I notice it's possible to improve with a quick hack by making the window wider, by raising `maxWidth` here:
https://github.com/quarto-dev/quarto-cli/blob/b85ce46449e1ee5bcd1d177bb8c88f2ffdc1954b/src/resources/formats/html/templates/quarto-html.ejs#L225
But perhaps this should be addressed in a somewhat more comprehensive way (perhaps smaller typeface for hover citations/footnotes in Revealjs would be better in general?) | {
"assignee": null,
"comments": 1,
"created_at": "2022-01-20T03:59:42Z",
"creator": "postylem",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 274,
"state": "closed",
"title": "Revealjs hoverCitations popups too narrow/long",
"url": "https://github.com/quarto-dev/quarto-cli/issues/274"
} |
Is there any way to render content from stdin like pandoc.
```sh
echo "## Title" | pandoc
```
I've found in the docs that quarto can render to stdout with `quarto render notebook.Rmd --output - `, but I didn't find anything for stdin. | {
"assignee": null,
"comments": 2,
"created_at": "2022-01-18T21:25:17Z",
"creator": "benabel",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 272,
"state": "closed",
"title": "Process content from stdin",
"url": "https://github.com/quarto-dev/quarto-cli/issues/272"
} |
I have the following files
1. `test.bib`:
```bibtex
@article{nymous84,
author = {Ann O. Nymous},
title = {Exemplar},
year = {1984}
}
```
2. `test.md`:
```md
---
title: Bib test
author: Me
bibliography: test.bib
---
## Introduction
Please refer to @nymous84.
### References
::: {#refs}
:::
```
When I run `quarto render test.md --to html `, I get a nice HTML page which has a reference inline (with hyperlink), a "References" section at the end, containing my bibliography. ✅
When I run `quarto render test.md --to revealjs`, I get a revealjs slides HTML which has the inline reference exactly as it should, and a "References" header section at the end, __but it is empty__. ❌
I tried playing with removing the `#refs` section from my .md file, adding `suppress-bibliography: false`, adding/changing `reference-section-title`, and it stays the same. No bibliography in revealjs slides, but yes bibliography in HTML (or other formats I tried, such as beamer).
I think this must have to do with the default revealjs style not specifying how to format the bibliography? Could I change that easily? In any case, I am quite new to Quarto (and I'm very impressed!), and don't know where to look to debug further, but this doesn't seem like the desired behaviour. | {
"assignee": null,
"comments": 10,
"created_at": "2022-01-18T18:04:07Z",
"creator": "postylem",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 271,
"state": "closed",
"title": "Bibliography doesn't show up with format: revealjs",
"url": "https://github.com/quarto-dev/quarto-cli/issues/271"
} |
Many thanks for creating and maintaining this package!
Would it be possible to add an option that defines where on the page the "Show code" button will be located if using the option "code-fold: true" when rendering HTML? I find that having the code button on the left breaks my reading flow, and I would prefer if the button was located in the center or on the right of the page.
I would propose to add an option "code-align" with can take the values "left", "center", or "right" (as illustrated below).
Apologies if this feature already exists, I couldn't find it in the documentation.
````
---
title: "Title"
format:
html:
code-fold: true
code-summary: "Show code"
code-align: "right" # Proposed options: "left", "center", "right"
---
```{r}
library("ggplot2")
dat <- data.frame(cond = rep(c("A", "B"), each=10),
xvar = 1:20 + rnorm(20,sd=3),
yvar = 1:20 + rnorm(20,sd=3))
ggplot(dat, aes(x=xvar, y=yvar)) +
geom_point(shape=1) +
geom_smooth()
```
```` | {
"assignee": null,
"comments": 2,
"created_at": "2022-01-18T17:47:46Z",
"creator": "fschaffner",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 270,
"state": "open",
"title": "[Feature request] Add option to define code button alignment",
"url": "https://github.com/quarto-dev/quarto-cli/issues/270"
} |
This is a two-part issue. Firstly, I want to make sure that a feature is not accidental (and would thus be prone to breaking) and secondly ask about more elegant solutions for for the same idea.
Since quarto uses pandocs native divs we can create arbitrarily nested divs by adding more `:` to the div separator. So I wondered if this also worked in [quarto's custom figure layouts](https://quarto.org/docs/authoring/figures-and-layout.html#complex-layouts), and indeed it does!
This makes it possible to combine row-first and column-first layout options, which would not be possible with a single layout array definition.
What is still difficult with this approach though is the alignment and sizing of sub-figures if the goal is for example to allign the two 2 small cats with the big cat (note that my numbers don't quite work, there is still a gap at the top and bottom). In theory these numbers could be calculated from the image aspect ratio and the margins.
```
:::: {layout="[[0.75, 1.75], [1]]" layout-valign="center"}
::: {layout-nrow=2}
![ ](https://upload.wikimedia.org/wikipedia/commons/thumb/4/4d/Cat_November_2010-1a.jpg/1200px-Cat_November_2010-1a.jpg)
![ ](https://upload.wikimedia.org/wikipedia/commons/thumb/4/4d/Cat_November_2010-1a.jpg/1200px-Cat_November_2010-1a.jpg)
:::
![ ](https://upload.wikimedia.org/wikipedia/commons/thumb/4/4d/Cat_November_2010-1a.jpg/1200px-Cat_November_2010-1a.jpg)
::::
```
![image](https://user-images.githubusercontent.com/17450586/149985838-9123a9e2-dc7a-4c8b-b5ab-1474bd396c38.png)
| {
"assignee": null,
"comments": 2,
"created_at": "2022-01-18T17:23:53Z",
"creator": "jmbuhr",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 269,
"state": "closed",
"title": "Nested native divs for custom complex layouts",
"url": "https://github.com/quarto-dev/quarto-cli/issues/269"
} |
is there a way to include the ojs src link post-import?
```{ojs}
//| include_source: true
//| source_caption: 'caption'
import {ToolsImage} from "@observablehq/state-of-dataviz-2021"
ToolsImage
```
resulting in something like
```
//| quasi-engine: pug
.code-src
a(href='obs/...') caption
```
| {
"assignee": "cscheid",
"comments": 9,
"created_at": "2022-01-17T02:51:55Z",
"creator": "zac-garland",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 268,
"state": "open",
"title": "chunk option to include link to src for ojs imports",
"url": "https://github.com/quarto-dev/quarto-cli/issues/268"
} |
When using the `render` option in the `project` YAML, if only `.qmd` files are specified, links to `.Rmd` files are changed to `.html` even through the `.Rmd` files are correctly not rendered. | {
"assignee": null,
"comments": 6,
"created_at": "2022-01-16T19:48:37Z",
"creator": "daviddalpiaz",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 267,
"state": "closed",
"title": "links to .Rmd files always changed to .html",
"url": "https://github.com/quarto-dev/quarto-cli/issues/267"
} |
The live-reloading function of the `quarto preview` command is probably affected by recent commits.
If a source qmd file is saved with changes, the page in the browser is not reloading. The changed file is in fact re-rendered as confirmed by manually refreshing the page in the browser.
This seems to only affect the revealjs format. I tried to render a file to html format and the preview command works as usual.
| {
"assignee": null,
"comments": 4,
"created_at": "2022-01-16T19:04:24Z",
"creator": "juliantao",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 266,
"state": "closed",
"title": "reveajs: quarto preview server does not reload automatically",
"url": "https://github.com/quarto-dev/quarto-cli/issues/266"
} |
`quarto server tmp.qmd` seems to start a Shiny server on a random port. I'd like an option to open the a browser to that page, e.g. `http://127.0.0.1:7824/tmp.qmd`. Maybe a `--browser` flag? Possibly some options for choosing a browser similar to [emrun](https://emscripten.org/docs/compiling/Running-html-files-with-emrun.html#controlling-web-server-operation). Seem like something good to PR? | {
"assignee": null,
"comments": 1,
"created_at": "2022-01-16T01:21:37Z",
"creator": "thomasballinger",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 265,
"state": "closed",
"title": "Option to open a browser on `quarto serve`",
"url": "https://github.com/quarto-dev/quarto-cli/issues/265"
} |
Running serve on a file with only obs and no R in it fails:
$ cat tmp.qmd
---
title: "weird"
format: html
editor: visual
---
## Running Code
```{ojs}
123 + 123
```
$ quarto serve tmp.qmd
ERROR: Error: Unable to run computations for input file
at serve (file:///Users/tomb/quarto-cli/src/command/serve/serve.ts:32:5)
at async Command.fn (file:///Users/tomb/quarto-cli/src/command/serve/cmd.ts:41:20)
at async Command.execute (https://deno.land/x/[email protected]/command/command.ts:997:7)
at async Command.parse (https://deno.land/x/[email protected]/command/command.ts:918:16)
at async Command.parse (https://deno.land/x/[email protected]/command/command.ts:870:16)
at async quarto (file:///Users/tomb/quarto-cli/src/quarto.ts:95:3)
at async file:///Users/tomb/quarto-cli/src/quarto.ts:115:5
If I add some R it works fine.
Is `quarto serve` intended only for serving things that need a kernel, not dumb webserving? It's still useful for an ojs-only document, to render then serve from filesystem I have to run a server somehow and enable CORS headers. | {
"assignee": null,
"comments": 1,
"created_at": "2022-01-16T01:17:38Z",
"creator": "thomasballinger",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 264,
"state": "closed",
"title": "quarto serve contains-no-r.qmd fails",
"url": "https://github.com/quarto-dev/quarto-cli/issues/264"
} |
It'd be neat to run Quarto in the browser, I'm wondering if this is a design goal or perhaps if it's explicitly not. I just found some notes I wrote up a few months ago about various quarto-cli deps:
### Deno
It's a [goal of Deno](https://deno.land/manual#goals) to be browser-compatible.
- any reference to the global Deno namespace would need not to be used?
- maybe something like [denopack](https://github.com/denofn/denopack) is supposed to be used?
esbuild is probably the way to go here? And factoring stuff out?
### Pandoc
There's an [Asterius](https://github.com/tweag/asterius)-built pandoc executable available at https://asterius.netlify.app/demo/pandoc/pandoc.html but I haven't found the code that builds it.
There's an old [GHCJS-compiled pandoc](https://github.com/osener/markup.rocks) too.
It's not clear that either of these keep the lua functionality intact? There's been [lots of back and forth](https://github.com/jgm/pandoc/issues/4535) trying to get the C bits out of pandoc, but currently there are C dependencies. The lua filters seem to be integral to Quarto. There are definitely Emscripten builds of Lua out there, but the integration might be tricky.
### ESBuild
Is this maybe a runtime dependency? there's a wasm version available at esbuild-wasm on npm, see https://esbuild.github.io/getting-started/#wasm
### SASS
There's a version of SASS compiled to JavaScript [on npm](https://www.npmjs.com/package/sass).
### R
I heard from Pyodide folks that discussions of compiling R to the browser petered out because there was so much Fortran involved. It seems like R isn't required to run to run Quarto at all, ~~but I want to check because when commands like `quarto serve` error on my if I don't have Shiny R library installed, suggesting there's some R in there somewhere.~~ edit: I misunderstood what `quarto serve` does, it's explicitly for Shiny apps. | {
"assignee": null,
"comments": 5,
"created_at": "2022-01-16T00:56:24Z",
"creator": "thomasballinger",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 263,
"state": "open",
"title": "quarto in the browser",
"url": "https://github.com/quarto-dev/quarto-cli/issues/263"
} |
This also happens on the Quarto web, for example, https://quarto.org/docs/presentations/revealjs/demo/#/absolute-position | {
"assignee": null,
"comments": 2,
"created_at": "2022-01-11T17:04:40Z",
"creator": "juliantao",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 261,
"state": "closed",
"title": "revealjs: images from external url not rendered",
"url": "https://github.com/quarto-dev/quarto-cli/issues/261"
} |
The answer to this post https://tex.stackexchange.com/questions/61033/setting-toc-depth-not-working#61061 contends that in a PDF book, it is possible to number chapters only by setting number-depth to 0.
I attempted to tweak the intermediary `.tex` file by setting `\setcounter{setnumdepth}{0}`, but that didn't work.
If I attempt to set `number-depth: 0`, I am getting the full enumeration possible, as if it wasn't set at all.
I would like to number only chapters in PDF book, for example.
Thanks for any response. | {
"assignee": null,
"comments": 1,
"created_at": "2022-01-11T14:18:52Z",
"creator": "gjirokastrelbasanit34",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 260,
"state": "closed",
"title": "Feature request: Allow zero number-depth in PDF? ",
"url": "https://github.com/quarto-dev/quarto-cli/issues/260"
} |
Given an empty directory, create an empty project and configure that project to use the current directory for output.
```bash
# In directory "foo":
quarto create-project
```
Edit the `_quarto.yml`:
```yaml
project:
title: "foo"
output-dir: .
```
Rendering produces no output, exits without error, and produces no files on-disk.
```bash
quarto render
echo $?
#=> 0
ls -a
#=> . .. .gitattributes .gitignore _quarto.yml foo.qmd
```
Using Quarto as of commit ca07ad702473b6ae2fce94ae06f3b39dcc122ffd.
I encountered this situation while trying to determine if I could use `output-dir` for all rendering situations. In particular, I was trying to determine if I could use `output-dir: .` for in-place rendering (interactive documents) and therefore have a similar YAML structure as situations where I want to render into a named output directory.
The issue as described is using a Quarto project, but I am most interested in the behavior when adding a `_quarto.yml` to a single-file Shiny document. For example, create the following `_quarto.yml` file in a directory containing the "Old Faithful" example:
```yaml
project:
output-dir: .
```
Even in this situation, rendering produces no output and creates no HTML, while still exits with a zero (normal) status:
```bash
quarto render
echo $?
#=> 0
. .. .gitattributes .gitignore _quarto.yml index.qmd
```
The `.git*` files are created as a side-effect of the render, but there is no HTML produced.
The current behavior implies that we should not use `output-dir: "."` for in-place rendering, which is fine, but it was surprising to receive no error or other feedback. | {
"assignee": null,
"comments": 2,
"created_at": "2022-01-10T16:02:36Z",
"creator": "aronatkins",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 259,
"state": "closed",
"title": "no render output with output-dir: . ",
"url": "https://github.com/quarto-dev/quarto-cli/issues/259"
} |
Should `language: custom.yml` setting in YAML root surpress `lang: ...` or the reverse is true?
This is my sample code, where `de.yml` is located in the same folder as the source, and it is itself identical to the `.yml` suggested by quarto for German, but the HTML output does not look like German-localized (see the `sec.` vs `sek.` and `fig.` vs `sch.`)
```
---
title: Title
author: Alexander
date: 05/01/22
language: C:/Users/User/qq/de.yml
number-sections: true
format: html
toc: true
---
# Der Beispiel {#sec-init}
Die erste Sektion @sec-init
![Unterschrift](image_table.png){#fig-sample}
Der erste Schaubild @Fig-sample
```
the output is:
![image](https://user-images.githubusercontent.com/62909272/148683715-ae8ed650-d392-4bd2-9829-b810868fe957.png)
Am I missing something?
I am asking this because I have also run into another issue: for all 3 formats, in all editors, PDF, HTML and Word, the Chinese and Russian (i. e. non-Latin) prefixes are rendered as `??` in output if I set `lang: ru`, `lang: zh` in YAML root respectively, while non-Latin text in chunks, markdown, and non-latin prefixes and titles for pictures and tables work perfectly.
But this issue may be related to my PC specifically, while the upper one is not.
I am on Win 10, dev Quarto version (99.9.9)
Thanks in advance for any response. | {
"assignee": null,
"comments": 5,
"created_at": "2022-01-09T13:16:49Z",
"creator": "gjirokastrelbasanit34",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 258,
"state": "closed",
"title": "Issue: Custom language .yml ignorred",
"url": "https://github.com/quarto-dev/quarto-cli/issues/258"
} |
The LaTex letter classes maybe not supported and may need some special treatments in Quarto.
With a minimal example,
```markdown
---
format:
pdf:
documentclass: scrlttr2
---
Dear Quarto:
```
I got the following messages:
```
❯ quarto preview letter.qmd
pandoc
to: latex
output-file: letter.tex
standalone: true
pdf-engine: xelatex
variables:
graphics: true
tables: true
default-image-extension: pdf
filters:
- crossref
metadata
documentclass: scrlttr2
classoption:
- DIV=11
- numbers=noendperiod
papersize: letter
header-includes:
- '\KOMAoption{captions}{tableheading}'
runnning xelatex - 1
This is XeTeX, Version 3.14159265-2.6-0.999992 (TeX Live 2020/Debian) (preloaded for
mat=xelatex)
restricted \write18 enabled.
entering extended mode
updating tlmgr
updating existing packages
compilation failed- error
Package scrbase Error: unknown option `captions=tableheading'.
See the scrbase package documentation for explanation.
Type H <return> for immediate help.
...
l.76 \KOMAoption{captions}{tableheading}
see letter.log for more information.
ERROR: Error
at renderFiles (file:///home/julian/quarto-cli/src/command/render/render.ts:244:23
)
at async render (file:///home/julian/quarto-cli/src/command/render/render-shared.t
s:75:18)
at async renderForPreview (file:///home/julian/quarto-cli/src/command/preview/prev
iew.ts:171:24)
at async render (file:///home/julian/quarto-cli/src/command/preview/preview.ts:70:
12)
at async preview (file:///home/julian/quarto-cli/src/command/preview/preview.ts:72
:18)
at async Command.fn (file:///home/julian/quarto-cli/src/command/preview/cmd.ts:233
:7)
at async Command.execute (https://deno.land/x/[email protected]/command/command.ts:99
7:7)
at async Command.parse (https://deno.land/x/[email protected]/command/command.ts:918:
16)
at async Command.parse (https://deno.land/x/[email protected]/command/command.ts:870:
16)
at async quarto (file:///home/julian/quarto-cli/src/quarto.ts:93:3)
```
I also tried to use a tex template and included more fields (e.g., fromname, toname...) in the yaml header, it did not work neither, with an error:
```
compilation failed- error
LaTeX Error: Command \figurename undefined.
```
| {
"assignee": null,
"comments": 1,
"created_at": "2022-01-08T19:44:18Z",
"creator": "juliantao",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 257,
"state": "closed",
"title": "LaTex letter classes",
"url": "https://github.com/quarto-dev/quarto-cli/issues/257"
} |
Yesterday I sent a report draft where a chapter was missing... Turns out I had renamed the source file and forgot to update the `_quarto.yml` :-). Shouldn't quarto make an error (or at least a warning) if a file in the chapter list is not found?
Also somewhat related: it would be nice to see in the terminal the list of undefined cross-references... | {
"assignee": null,
"comments": 10,
"created_at": "2022-01-07T10:57:17Z",
"creator": "knuesel",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 255,
"state": "closed",
"title": "Warn on missing chapters and undefined references",
"url": "https://github.com/quarto-dev/quarto-cli/issues/255"
} |
When the file (say, book) itself is enormous, builds take minutes and threaten to hang the editor, `r markdown` allows to set `child="auxfile.md"` parameter to include (or leave out) edited parts, and this works in Quarto, but only in R.
Since the possibilities to write projects on average are greater on Python, I would appreciate if this "document including" would be available, at least at first for markdown files without code. | {
"assignee": null,
"comments": 3,
"created_at": "2022-01-07T09:00:21Z",
"creator": "gjirokastrelbasanit34",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 254,
"state": "closed",
"title": "Feature Request: Allow child documents in Python",
"url": "https://github.com/quarto-dev/quarto-cli/issues/254"
} |
Any chance code chunks could be placed side-by-side?
![side-by-side-code-example](https://user-images.githubusercontent.com/833642/148484764-3ea21439-aa18-403d-823d-2348f57cf560.jpg)
There seems to be existing support for side-by-side content through [Figure Panels](https://quarto.org/docs/authoring/figures-and-layout.html#figure-panels) and [Table Panels](https://quarto.org/docs/authoring/figures-and-layout.html#table-panels).
However, the closest I've come to allowing for a side-by-side comparison is using the panel tabset and switching back and forth. The downside to this approach is content ends up getting hidden/suppressed.
![combined-tab-view](https://user-images.githubusercontent.com/833642/148485587-6c218cbe-2cf9-4c0c-b73a-1a44d3becff3.jpg)
````
::: panel-tabset
#### R
```{r}
my_list = list(1, 2, 3)
typeof(my_list)
```
#### Python
```{python}
my_list = [1, 2, 3]
type(my_list)
```
:::
````
<details>
<summary>Side-by-side code cells using `xaringan`</summary>
<img width="919" alt="xaringan-side-by-side-code-chunks" src="https://user-images.githubusercontent.com/833642/148485828-52534431-fc1c-48ab-8eb2-595e9c7de531.png">
````
---
output:
xaringan::moon_reader:
lib_dir: libs
---
.pull-left[
```{r r-example-tibble, paged.print=FALSE}
library(tibble)
tibble(
ID = c(1, 2),
Grade = c("A", "B")
)
```
]
.pull-right[
```{python py-example-dictionary}
{
"ID": [1, 2],
"Grade": ["A", "B"]
}
```
]
````
</details> | {
"assignee": null,
"comments": 2,
"created_at": "2022-01-07T03:19:35Z",
"creator": "coatless",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 253,
"state": "closed",
"title": "Feature request: Side-by-side code chunks",
"url": "https://github.com/quarto-dev/quarto-cli/issues/253"
} |
While a callout without content doesn't make much sense in the end-document, this may be the case during working on the text.
A repro example:
```
---
title: Title
author: User
date: 05/01/22
format:
pdf:
pdf-engine: pdflatex
fontenc: T2A
header-includes:
- \usepackage{amsmath}
---
## Section
::: {.callout-warning}
:::
```
`$ quarto render sample.qmd` yields
```
Error running filter C:/Users/User/AppData/Local/Programs/Quarto/share/filters/quarto-pre/quarto-pre.lua:
.../Programs/Quarto/share/filters/quarto-pre/quarto-pre.lua:2542: attempt to index a nil value (field '?')
stack traceback:
.../Programs/Quarto/share/filters/quarto-pre/quarto-pre.lua:2542: in function 'calloutLatex'
(...tail calls...)
.../Programs/Quarto/share/filters/quarto-pre/quarto-pre.lua:699: in function <.../Programs/Quarto/share/filters/quarto-pre/quarto-pre.lua:693>
```
This is both on `xelatex` and `pdflatex` from quarto's tinytex of `v2022.01`.
On quarto 0.2.399
pandoc 2.16.2
Compiled with pandoc-types 1.22.1, texmath 0.12.3.3, skylighting 0.12.1,
citeproc 0.6, ipynb 0.1.0.2
Empty callouts in `.docx` and `.html` files do not cause issues. | {
"assignee": "dragonstyle",
"comments": 5,
"created_at": "2022-01-06T20:21:51Z",
"creator": "gjirokastrelbasanit34",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 252,
"state": "closed",
"title": "Empty callout leads to an error in PDF",
"url": "https://github.com/quarto-dev/quarto-cli/issues/252"
} |
How can I translate "Appendices" inscription? | {
"assignee": "dragonstyle",
"comments": 10,
"created_at": "2022-01-06T20:05:48Z",
"creator": "piotrzientarski",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Hot-fix",
"number": 251,
"state": "closed",
"title": "Missing translation",
"url": "https://github.com/quarto-dev/quarto-cli/issues/251"
} |
I've encountered this strange bug, when there is code into a block _and_ the document needs to execute code with jupyter.
Here is a mwe.
<pre>
```{python}
for i in range(3):
print(i)
```
#. Un processus est:
- [ ] statique
- [ ] dynamique
#. Un programme est:
```python
print("CODE")
```
- [ ] statique
- [ ] dynamique
</pre>
Converts markdown loosing the _indentation_ of the blocks.
<pre>
1. Un processus est:
- [ ] statique
- [ ] dynamique
1. Un programme est:
``` python
print("CODE")
```
- [ ] statique
- [ ] dynamique
</pre>
If you remove any or the two code blocks(the executable or the other), markdown is correct. Of course this issue is propagated to all output formats `html`, `tex`...
| {
"assignee": null,
"comments": 3,
"created_at": "2022-01-06T18:35:54Z",
"creator": "benabel",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 250,
"state": "closed",
"title": "Markdown blocks handled incorrectly when code is runned with jupyter",
"url": "https://github.com/quarto-dev/quarto-cli/issues/250"
} |
I fail to produce pdf of a quarto book project. This book include tables produced by functions of "flextable" package.
The error message is as follows:
"
←[1mupdating existing packages←[22m
←[1m
compilation failed- error←[22m
Undefined control sequence.
l.327 \hhline
{>{\arrayrulecolor[HTML]{666666}\global\arrayrulewidth=2pt}->{\...
see C:\docs\projects\drug_yt\unodc_quartobook\index.log for more information.
"
index.log include
"
This is pdfTeX, Version 3.141592653-2.6-1.40.23 (TeX Live 2021/W32TeX) (preloaded format=pdflatex 2022.1.6) 6 JAN 2022 22:07
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**index.tex
(./index.tex
LaTeX2e <2021-11-15> patch level 1
L3 programming layer <2021-11-22> (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/koma-script/scrreport.cls
Document Class: scrreport 2021/11/13 v3.35 KOMA-Script document class (report)
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/koma-script/scrreprt.cls
Document Class: scrreprt 2021/11/13 v3.35 KOMA-Script document class (report)
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/koma-script/scrkbase.sty
Package: scrkbase 2021/11/13 v3.35 KOMA-Script package (KOMA-Script-dependent basics and keyval usage)
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/koma-script/scrbase.sty
Package: scrbase 2021/11/13 v3.35 KOMA-Script package (KOMA-Script-independent basics and keyval usage)
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/koma-script/scrlfile.sty
Package: scrlfile 2021/11/13 v3.35 KOMA-Script package (file load hooks)
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/koma-script/scrlfile-hook.sty
Package: scrlfile-hook 2021/11/13 v3.35 KOMA-Script package (using LaTeX hooks)
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/koma-script/scrlogo.sty
Package: scrlogo 2021/11/13 v3.35 KOMA-Script package (logo)
))) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV@toks@=\toks16
)
Applying: [2021/05/01] Usage of raw or classic option list on input line 252.
Already applied: [0000/00/00] Usage of raw or classic option list on input line 368.
)) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/koma-script/tocbasic.sty
Package: tocbasic 2021/11/13 v3.35 KOMA-Script package (handling toc-files)
\scr@dte@tocline@numberwidth=\skip47
\scr@dte@tocline@numbox=\box50
)
Package tocbasic Info: babel extension for `toc' omitted
(tocbasic) because of missing \bbl@set@language on input line 137.
Class scrreprt Info: File `scrsize11pt.clo' used instead of
(scrreprt) file `scrsize11.clo' to setup font sizes on input line 2487.
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/koma-script/scrsize11pt.clo
File: scrsize11pt.clo 2021/11/13 v3.35 KOMA-Script font size class option (11pt)
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/koma-script/typearea.sty
Package: typearea 2021/11/13 v3.35 KOMA-Script package (type area)
\ta@bcor=\skip48
\ta@div=\count183
Package typearea Info: You've used standard option `letterpaper'.
(typearea) This is correct!
(typearea) Internally I'm using `paper=letter'.
(typearea) If you'd like to set the option with \KOMAoptions,
(typearea) you'd have to use `paper=letter' there
(typearea) instead of `letterpaper', too.
\ta@hblk=\skip49
\ta@vblk=\skip50
\ta@temp=\skip51
\footheight=\skip52
Package typearea Info: These are the values describing the layout:
(typearea) DIV = 11
(typearea) BCOR = 0.0pt
(typearea) \paperwidth = 614.295pt
(typearea) \textwidth = 446.76004pt
(typearea) DIV departure = -14%
(typearea) \evensidemargin = 11.49748pt
(typearea) \oddsidemargin = 11.49748pt
(typearea) \paperheight = 794.96999pt
(typearea) \textheight = 582.20026pt
(typearea) \topmargin = -37.40001pt
(typearea) \headheight = 17.0pt
(typearea) \headsep = 20.40001pt
(typearea) \topskip = 11.0pt
(typearea) \footskip = 47.6pt
(typearea) \baselineskip = 13.6pt
(typearea) on input line 1743.
)
\c@part=\count184
\c@chapter=\count185
\c@section=\count186
\c@subsection=\count187
\c@subsubsection=\count188
\c@paragraph=\count189
\c@subparagraph=\count190
\scr@dte@chapter@maxnumwidth=\skip53
Class scrreprt Info: using compatibility default `afterindent=bysign'
(scrreprt) for `\chapter on input line 5717.
\scr@dte@section@maxnumwidth=\skip54
Class scrreprt Info: using compatibility default `runin=bysign'
(scrreprt) for `\section on input line 5728.
Class scrreprt Info: using compatibility default `afterindent=bysign'
(scrreprt) for `\section on input line 5728.
\scr@dte@part@maxnumwidth=\skip55
Class scrreprt Info: using compatibility default `afterindent=true'
(scrreprt) for `\part on input line 5737.
\scr@dte@subsection@maxnumwidth=\skip56
Class scrreprt Info: using compatibility default `runin=bysign'
(scrreprt) for `\subsection on input line 5747.
Class scrreprt Info: using compatibility default `afterindent=bysign'
(scrreprt) for `\subsection on input line 5747.
\scr@dte@subsubsection@maxnumwidth=\skip57
Class scrreprt Info: using compatibility default `runin=bysign'
(scrreprt) for `\subsubsection on input line 5757.
Class scrreprt Info: using compatibility default `afterindent=bysign'
(scrreprt) for `\subsubsection on input line 5757.
\scr@dte@paragraph@maxnumwidth=\skip58
Class scrreprt Info: using compatibility default `runin=bysign'
(scrreprt) for `\paragraph on input line 5768.
Class scrreprt Info: using compatibility default `afterindent=bysign'
(scrreprt) for `\paragraph on input line 5768.
\scr@dte@subparagraph@maxnumwidth=\skip59
Class scrreprt Info: using compatibility default `runin=bysign'
(scrreprt) for `\subparagraph on input line 5778.
Class scrreprt Info: using compatibility default `afterindent=bysign'
(scrreprt) for `\subparagraph on input line 5778.
\abovecaptionskip=\skip60
\belowcaptionskip=\skip61
\c@pti@nb@sid@b@x=\box51
Package tocbasic Info: babel extension for `lof' omitted
(tocbasic) because of missing \bbl@set@language on input line 6958.
\scr@dte@figure@maxnumwidth=\skip62
\c@figure=\count191
Package tocbasic Info: babel extension for `lot' omitted
(tocbasic) because of missing \bbl@set@language on input line 6974.
\scr@dte@table@maxnumwidth=\skip63
\c@table=\count192
Class scrreprt Info: Redefining `\numberline' on input line 7142.
\bibindent=\dimen138
)) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/amsmath/amsmath.sty
Package: amsmath 2021/10/15 v2.17l AMS math features
\@mathmargin=\skip64
For additional information on amsmath, use the `?' option.
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/amsmath/amstext.sty
Package: amstext 2021/08/26 v2.01 AMS text
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/amsmath/amsgen.sty
File: amsgen.sty 1999/11/30 v2.0 generic functions
\@emptytoks=\toks17
\ex@=\dimen139
)) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/amsmath/amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d Bold Symbols
\pmbraise@=\dimen140
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/amsmath/amsopn.sty
Package: amsopn 2021/08/26 v2.02 operator names
)
\inf@bad=\count193
LaTeX Info: Redefining \frac on input line 234.
\uproot@=\count194
\leftroot@=\count195
LaTeX Info: Redefining \overline on input line 399.
\classnum@=\count196
\DOTSCASE@=\count197
LaTeX Info: Redefining \ldots on input line 496.
LaTeX Info: Redefining \dots on input line 499.
LaTeX Info: Redefining \cdots on input line 620.
\Mathstrutbox@=\box52
\strutbox@=\box53
\big@size=\dimen141
LaTeX Font Info: Redeclaring font encoding OML on input line 743.
LaTeX Font Info: Redeclaring font encoding OMS on input line 744.
\macc@depth=\count198
\c@MaxMatrixCols=\count199
\dotsspace@=\muskip16
\c@parentequation=\count266
\dspbrk@lvl=\count267
\tag@help=\toks18
\row@=\count268
\column@=\count269
\maxfields@=\count270
\andhelp@=\toks19
\eqnshift@=\dimen142
\alignsep@=\dimen143
\tagshift@=\dimen144
\tagwidth@=\dimen145
\totwidth@=\dimen146
\lineht@=\dimen147
\@envbody=\toks20
\multlinegap=\skip65
\multlinetaggap=\skip66
\mathdisplay@stack=\toks21
LaTeX Info: Redefining \[ on input line 2938.
LaTeX Info: Redefining \] on input line 2939.
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/amsfonts/amssymb.sty
Package: amssymb 2013/01/14 v3.01 AMS font symbols
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/amsfonts/amsfonts.sty
Package: amsfonts 2013/01/14 v3.01 Basic AMSFonts support
\symAMSa=\mathgroup4
\symAMSb=\mathgroup5
LaTeX Font Info: Redeclaring math symbol \hbar on input line 98.
LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold'
(Font) U/euf/m/n --> U/euf/b/n on input line 106.
)) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/lm/lmodern.sty
Package: lmodern 2015/05/01 v1.6.1 Latin Modern Fonts
LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
(Font) OT1/cmr/m/n --> OT1/lmr/m/n on input line 22.
LaTeX Font Info: Overwriting symbol font `letters' in version `normal'
(Font) OML/cmm/m/it --> OML/lmm/m/it on input line 23.
LaTeX Font Info: Overwriting symbol font `symbols' in version `normal'
(Font) OMS/cmsy/m/n --> OMS/lmsy/m/n on input line 24.
LaTeX Font Info: Overwriting symbol font `largesymbols' in version `normal'
(Font) OMX/cmex/m/n --> OMX/lmex/m/n on input line 25.
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
(Font) OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 26.
LaTeX Font Info: Overwriting symbol font `letters' in version `bold'
(Font) OML/cmm/b/it --> OML/lmm/b/it on input line 27.
LaTeX Font Info: Overwriting symbol font `symbols' in version `bold'
(Font) OMS/cmsy/b/n --> OMS/lmsy/b/n on input line 28.
LaTeX Font Info: Overwriting symbol font `largesymbols' in version `bold'
(Font) OMX/cmex/m/n --> OMX/lmex/m/n on input line 29.
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal'
(Font) OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 31.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `normal'
(Font) OT1/cmss/m/n --> OT1/lmss/m/n on input line 32.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal'
(Font) OT1/cmr/m/it --> OT1/lmr/m/it on input line 33.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `normal'
(Font) OT1/cmtt/m/n --> OT1/lmtt/m/n on input line 34.
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `bold'
(Font) OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 35.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold'
(Font) OT1/cmss/bx/n --> OT1/lmss/bx/n on input line 36.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
(Font) OT1/cmr/bx/it --> OT1/lmr/bx/it on input line 37.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold'
(Font) OT1/cmtt/m/n --> OT1/lmtt/m/n on input line 38.
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/generic/iftex/iftex.sty
Package: iftex 2020/03/06 v1.0d TeX engine tests
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2021/04/29 v2.0v Standard LaTeX package
LaTeX Font Info: Trying to load font information for T1+lmr on input line 112.
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/lm/t1lmr.fd
File: t1lmr.fd 2015/05/01 v1.6.1 Font defs for Latin Modern
)) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/base/inputenc.sty
Package: inputenc 2021/02/14 v1.3d Input encoding file
\inpenc@prehook=\toks22
\inpenc@posthook=\toks23
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/base/textcomp.sty
Package: textcomp 2020/02/02 v2.0n Standard LaTeX package
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/upquote/upquote.sty
Package: upquote 2012/04/19 v1.3 upright-quote and grave-accent glyphs in verbatim
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/microtype/microtype.sty
Package: microtype 2021/12/10 v3.0b Micro-typographical refinements (RS)
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/etoolbox/etoolbox.sty
Package: etoolbox 2020/10/05 v2.5k e-TeX tools for LaTeX (JAW)
\etb@tempcnta=\count271
)
\MT@toks=\toks24
\MT@count=\count272
\MT@tempbox=\box54
LaTeX Info: Redefining \leftprotrusion on input line 1010.
LaTeX Info: Redefining \rightprotrusion on input line 1018.
LaTeX Info: Redefining \textls on input line 1173.
\MT@outer@kern=\dimen148
LaTeX Info: Redefining \textmicrotypecontext on input line 1759.
\MT@listname@count=\count273
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/microtype/microtype-pdftex.def
File: microtype-pdftex.def 2021/12/10 v3.0b Definitions specific to pdftex (RS)
LaTeX Info: Redefining \lsstyle on input line 897.
LaTeX Info: Redefining \lslig on input line 897.
\MT@outer@space=\skip67
)
Package microtype Info: Loading configuration file microtype.cfg.
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/microtype/microtype.cfg
File: microtype.cfg 2021/12/10 v3.0b microtype main configuration file (RS)
)) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/xcolor/xcolor.sty
Package: xcolor 2021/10/31 v2.13 LaTeX color extensions (UK)
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/graphics-cfg/color.cfg
File: color.cfg 2016/01/02 v1.6 sample color configuration
)
Package xcolor Info: Driver file: pdftex.def on input line 227.
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/graphics-def/pdftex.def
File: pdftex.def 2020/10/05 v1.2a Graphics/color driver for pdftex
)
Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1352.
Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1356.
Package xcolor Info: Model `RGB' extended on input line 1368.
Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1370.
Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1371.
Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1372.
Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1373.
Package xcolor Info: Model `Gray' substituted by `gray' on input line 1374.
Package xcolor Info: Model `wave' substituted by `hsb' on input line 1375.
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/graphics/dvipsnam.def
File: dvipsnam.def 2016/06/17 v3.0m Driver-dependent file (DPC,SPQR)
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/xcolor/svgnam.def
File: svgnam.def 2021/10/31 v2.13 Predefined colors according to SVG 1.1 (UK)
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/xcolor/x11nam.def
File: x11nam.def 2021/10/31 v2.13 Predefined colors according to Unix/X11 (UK)
)) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/bookmark/bookmark.sty
Package: bookmark 2020-11-06 v1.29 PDF bookmarks (HO)
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/hyperref/hyperref.sty
Package: hyperref 2021-06-07 v7.00m Hypertext links for LaTeX
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty
Package: ltxcmds 2020-05-10 v1.25 LaTeX kernel commands for general use (HO)
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty
Package: pdftexcmds 2020-06-27 v0.33 Utility functions of pdfTeX for LuaTeX (HO)
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/generic/infwarerr/infwarerr.sty
Package: infwarerr 2019/12/03 v1.5 Providing info/warning/error messages (HO)
)
Package pdftexcmds Info: \pdf@primitive is available.
Package pdftexcmds Info: \pdf@ifprimitive is available.
Package pdftexcmds Info: \pdfdraftmode found.
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/generic/kvsetkeys/kvsetkeys.sty
Package: kvsetkeys 2019/12/15 v1.18 Key value parser (HO)
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty
Package: kvdefinekeys 2019-12-19 v1.6 Define keys (HO)
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/generic/pdfescape/pdfescape.sty
Package: pdfescape 2019/12/09 v1.15 Implements pdfTeX's escape features (HO)
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/hycolor/hycolor.sty
Package: hycolor 2020-01-27 v1.10 Color options for hyperref/bookmark (HO)
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/letltxmacro/letltxmacro.sty
Package: letltxmacro 2019/12/03 v1.6 Let assignment for LaTeX macros (HO)
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/auxhook/auxhook.sty
Package: auxhook 2019-12-17 v1.6 Hooks for auxiliary files (HO)
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/kvoptions/kvoptions.sty
Package: kvoptions 2020-10-07 v3.14 Key value format for package options (HO)
)
\@linkdim=\dimen149
\Hy@linkcounter=\count274
\Hy@pagecounter=\count275
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/hyperref/pd1enc.def
File: pd1enc.def 2021-06-07 v7.00m Hyperref: PDFDocEncoding definition (HO)
Now handling font encoding PD1 ...
... no UTF-8 mapping file for font encoding PD1
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/hyperref/hyperref-langpatches.def
File: hyperref-langpatches.def 2021-06-07 v7.00m Hyperref: patches for babel languages
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/generic/intcalc/intcalc.sty
Package: intcalc 2019/12/15 v1.3 Expandable calculations with integers (HO)
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/generic/etexcmds/etexcmds.sty
Package: etexcmds 2019/12/15 v1.7 Avoid name clashes with e-TeX commands (HO)
)
\Hy@SavedSpaceFactor=\count276
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/hyperref/puenc.def
File: puenc.def 2021-06-07 v7.00m Hyperref: PDF Unicode definition (HO)
Now handling font encoding PU ...
... no UTF-8 mapping file for font encoding PU
)
Package hyperref Info: Option `unicode' set `true' on input line 4073.
Package hyperref Info: Hyper figures OFF on input line 4192.
Package hyperref Info: Link nesting OFF on input line 4197.
Package hyperref Info: Hyper index ON on input line 4200.
Package hyperref Info: Plain pages OFF on input line 4207.
Package hyperref Info: Backreferencing OFF on input line 4212.
Package hyperref Info: Implicit mode ON; LaTeX internals redefined.
Package hyperref Info: Bookmarks ON on input line 4445.
\c@Hy@tempcnt=\count277
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/url/url.sty
\Urlmuskip=\muskip17
Package: url 2013/09/16 ver 3.4 Verb mode for urls, etc.
)
LaTeX Info: Redefining \url on input line 4804.
\XeTeXLinkMargin=\dimen150
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/generic/bitset/bitset.sty
Package: bitset 2019/12/09 v1.3 Handle bit-vector datatype (HO)
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty
Package: bigintcalc 2019/12/15 v1.5 Expandable calculations on big integers (HO)
))
\Fld@menulength=\count278
\Field@Width=\dimen151
\Fld@charsize=\dimen152
Package hyperref Info: Hyper figures OFF on input line 6076.
Package hyperref Info: Link nesting OFF on input line 6081.
Package hyperref Info: Hyper index ON on input line 6084.
Package hyperref Info: backreferencing OFF on input line 6091.
Package hyperref Info: Link coloring OFF on input line 6096.
Package hyperref Info: Link coloring with OCG OFF on input line 6101.
Package hyperref Info: PDF/A mode OFF on input line 6106.
LaTeX Info: Redefining \ref on input line 6146.
LaTeX Info: Redefining \pageref on input line 6150.
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/base/atbegshi-ltx.sty
Package: atbegshi-ltx 2021/01/10 v1.0c Emulation of the original atbegshi
package with kernel methods
)
\Hy@abspage=\count279
\c@Item=\count280
\c@Hfootnote=\count281
)
Package hyperref Info: Driver (autodetected): hpdftex.
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/hyperref/hpdftex.def
File: hpdftex.def 2021-06-07 v7.00m Hyperref driver for pdfTeX
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/base/atveryend-ltx.sty
Package: atveryend-ltx 2020/08/19 v1.0a Emulation of the original atveryend package
with kernel methods
)
\Fld@listcount=\count282
\c@bookmark@seq@number=\count283
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty
Package: rerunfilecheck 2019/12/05 v1.9 Rerun checks for auxiliary files (HO)
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty
Package: uniquecounter 2019/12/15 v1.4 Provide unlimited unique counter (HO)
)
Package uniquecounter Info: New unique counter `rerunfilecheck' on input line 286.
)
\Hy@SectionHShift=\skip68
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/bookmark/bkm-pdftex.def
File: bkm-pdftex.def 2020-11-06 v1.29 bookmark driver for pdfTeX (HO)
\BKM@id=\count284
))
Package hyperref Info: Option `colorlinks' set `true' on input line 49.
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/tools/longtable.sty
Package: longtable 2021-09-01 v4.17 Multi-page Table package (DPC)
\LTleft=\skip69
\LTright=\skip70
\LTpre=\skip71
\LTpost=\skip72
\LTchunksize=\count285
\LTcapwidth=\dimen153
\LT@head=\box55
\LT@firsthead=\box56
\LT@foot=\box57
\LT@lastfoot=\box58
\LT@gbox=\box59
\LT@cols=\count286
\LT@rows=\count287
\c@LT@tables=\count288
\c@LT@chunks=\count289
\LT@p@ftn=\toks25
)
Class scrreprt Info: longtable captions redefined on input line 52.
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/booktabs/booktabs.sty
Package: booktabs 2020/01/12 v1.61803398 Publication quality tables
\heavyrulewidth=\dimen154
\lightrulewidth=\dimen155
\cmidrulewidth=\dimen156
\belowrulesep=\dimen157
\belowbottomsep=\dimen158
\aboverulesep=\dimen159
\abovetopsep=\dimen160
\cmidrulesep=\dimen161
\cmidrulekern=\dimen162
\defaultaddspace=\dimen163
\@cmidla=\count290
\@cmidlb=\count291
\@aboverulesep=\dimen164
\@belowrulesep=\dimen165
\@thisruleclass=\count292
\@lastruleclass=\count293
\@thisrulewidth=\dimen166
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/tools/array.sty
Package: array 2021/10/04 v2.5f Tabular extension package (FMi)
\col@sep=\dimen167
\ar@mcellbox=\box60
\extrarowheight=\dimen168
\NC@list=\toks26
\extratabsurround=\skip73
\backup@length=\skip74
\ar@cellbox=\box61
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/tools/calc.sty
Package: calc 2017/05/25 v4.3 Infix arithmetic (KKT,FJ)
\calc@Acount=\count294
\calc@Bcount=\count295
\calc@Adimen=\dimen169
\calc@Bdimen=\dimen170
\calc@Askip=\skip75
\calc@Bskip=\skip76
LaTeX Info: Redefining \setlength on input line 80.
LaTeX Info: Redefining \addtolength on input line 81.
\calc@Ccount=\count296
\calc@Cskip=\skip77
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/mdwtools/footnote.sty
Package: footnote 1997/01/28 1.13 Save footnotes around boxes
\fn@notes=\box62
\fn@width=\dimen171
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 2021/09/16 v1.2d Enhanced LaTeX Graphics (DPC,SPQR)
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2021/03/04 v1.4d Standard LaTeX Graphics (DPC,SPQR)
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 2021/08/11 v1.11 sin cos tan (DPC)
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration
)
Package graphics Info: Driver file: pdftex.def on input line 107.
)
\Gin@req@height=\dimen172
\Gin@req@width=\dimen173
)
\cslhangindent=\skip78
\csllabelwidth=\skip79
\cslentryspacingunit=\skip80
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/caption/caption.sty
Package: caption 2020/10/26 v3.5g Customizing captions (AR)
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/caption/caption3.sty
Package: caption3 2020/10/21 v2.2e caption3 kernel (AR)
\captionmargin=\dimen174
\captionmargin@=\dimen175
\captionwidth=\dimen176
\caption@tempdima=\dimen177
\caption@indent=\dimen178
\caption@parindent=\dimen179
\caption@hangindent=\dimen180
Package caption Info: KOMA-Script document class detected.
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/caption/caption-koma.sto
File: caption-koma.sto 2020/09/21 v2.0b Adaption of the caption package to the KOMA-Script document classes (AR)
))
\c@caption@flags=\count297
\c@continuedfloat=\count298
Package caption Info: hyperref package is loaded.
Package caption Info: longtable package is loaded.
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/caption/ltcaption.sty
Package: ltcaption 2020/05/30 v1.4b longtable captions (AR)
)) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/float/float.sty
Package: float 2001/11/08 v1.3d Float enhancements (AL)
\c@float@type=\count299
\float@exts=\toks27
\float@box=\box63
\@float@everytoks=\toks28
\@floatcapt=\box64
)
\@float@every@codelisting=\toks29
\c@codelisting=\count300
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/caption/subcaption.sty
Package: subcaption 2020/10/07 v1.3j Sub-captions (AR)
\c@subfigure=\count301
\c@subtable=\count302
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
File: l3backend-pdftex.def 2021-12-14 L3 backend support: PDF output (pdfTeX)
\l__color_backend_stack_int=\count303
\l__pdf_internal_box=\box65
)
No file index.aux.
\openout1 = `index.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 135.
LaTeX Font Info: ... okay on input line 135.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 135.
LaTeX Font Info: ... okay on input line 135.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 135.
LaTeX Font Info: ... okay on input line 135.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 135.
LaTeX Font Info: ... okay on input line 135.
LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 135.
LaTeX Font Info: ... okay on input line 135.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 135.
LaTeX Font Info: ... okay on input line 135.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 135.
LaTeX Font Info: ... okay on input line 135.
LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 135.
LaTeX Font Info: ... okay on input line 135.
LaTeX Font Info: Checking defaults for PU/pdf/m/n on input line 135.
LaTeX Font Info: ... okay on input line 135.
Package scrbase Info: activating english \contentsname on input line 135.
Package scrbase Info: activating english \listfigurename on input line 135.
Package scrbase Info: activating english \listtablename on input line 135.
LaTeX Info: Redefining \microtypecontext on input line 135.
Package microtype Info: Applying patch `item' on input line 135.
Package microtype Info: Applying patch `toc' on input line 135.
Package microtype Info: Applying patch `eqnum' on input line 135.
Package microtype Info: Applying patch `footnote' on input line 135.
Package microtype Info: Generating PDF output.
Package microtype Info: Character protrusion enabled (level 2).
Package microtype Info: Using protrusion set `basicmath'.
Package microtype Info: Automatic font expansion enabled (level 2),
(microtype) stretch: 20, shrink: 20, step: 1, non-selected.
Package microtype Info: Using default expansion set `alltext-nott'.
LaTeX Info: Redefining \showhyphens on input line 135.
Package microtype Info: No adjustment of tracking.
Package microtype Info: No adjustment of interword spacing.
Package microtype Info: No adjustment of character kerning.
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/microtype/mt-cmr.cfg
File: mt-cmr.cfg 2013/05/19 v2.2 microtype config. file: Computer Modern Roman (RS)
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
Package: epstopdf-base 2020-01-24 v2.11 Base part for package epstopdf
Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 485.
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live
))
Package hyperref Info: Link coloring ON on input line 135.
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/hyperref/nameref.sty
Package: nameref 2021-04-02 v2.47 Cross-referencing by name of section
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/refcount/refcount.sty
Package: refcount 2019/12/15 v3.6 Data extraction from label references (HO)
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty
Package: gettitlestring 2019/12/15 v1.6 Cleanup title references (HO)
)
\c@section@level=\count304
)
LaTeX Info: Redefining \ref on input line 135.
LaTeX Info: Redefining \pageref on input line 135.
LaTeX Info: Redefining \nameref on input line 135.
Package caption Info: Begin \AtBeginDocument code.
Package caption Info: float package is loaded.
Package caption Info: End \AtBeginDocument code.
LaTeX Font Info: Trying to load font information for T1+lmss on input line 137.
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/lm/t1lmss.fd
File: t1lmss.fd 2015/05/01 v1.6.1 Font defs for Latin Modern
)
Package microtype Info: Loading generic protrusion settings for font family
(microtype) `lmss' (encoding: T1).
(microtype) For optimal results, create family-specific settings.
(microtype) See the microtype manual for details.
LaTeX Font Info: Trying to load font information for OT1+lmr on input line 137.
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/lm/ot1lmr.fd
File: ot1lmr.fd 2015/05/01 v1.6.1 Font defs for Latin Modern
)
LaTeX Font Info: Trying to load font information for OML+lmm on input line 137.
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/lm/omllmm.fd
File: omllmm.fd 2015/05/01 v1.6.1 Font defs for Latin Modern
)
LaTeX Font Info: Trying to load font information for OMS+lmsy on input line 137.
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/lm/omslmsy.fd
File: omslmsy.fd 2015/05/01 v1.6.1 Font defs for Latin Modern
)
LaTeX Font Info: Trying to load font information for OMX+lmex on input line 137.
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/lm/omxlmex.fd
File: omxlmex.fd 2015/05/01 v1.6.1 Font defs for Latin Modern
)
LaTeX Font Info: External font `lmex10' loaded for size
(Font) <14.4> on input line 137.
LaTeX Font Info: External font `lmex10' loaded for size
(Font) <10> on input line 137.
LaTeX Font Info: External font `lmex10' loaded for size
(Font) <7> on input line 137.
LaTeX Font Info: Trying to load font information for U+msa on input line 137.
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/amsfonts/umsa.fd
File: umsa.fd 2013/01/14 v3.01 AMS symbols A
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/microtype/mt-msa.cfg
File: mt-msa.cfg 2006/02/04 v1.1 microtype config. file: AMS symbols (a) (RS)
)
LaTeX Font Info: Trying to load font information for U+msb on input line 137.
(c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/amsfonts/umsb.fd
File: umsb.fd 2013/01/14 v3.01 AMS symbols B
) (c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-dist/tex/latex/microtype/mt-msb.cfg
File: mt-msb.cfg 2005/06/01 v1.0 microtype config. file: AMS symbols (b) (RS)
) [1
{c:/Users/Thinktank1/AppData/Roaming/TinyTeX/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
Package tocbasic Info: character protrusion at toc deactivated on input line 142.
\tf@toc=\write3
\openout3 = `index.toc'.
[2
] [3
]
chapter 1.
Class scrreprt Warning: \float@addtolists detected!
(scrreprt) Implementation of \float@addtolist became
(scrreprt) deprecated in KOMA-Script v3.01 2008/11/14 and
(scrreprt) has been replaced by several more flexible
(scrreprt) features of package `tocbasic`.
(scrreprt) Since Version 3.12 support for deprecated
(scrreprt) \float@addtolist interface has been
(scrreprt) restricted to only some of the KOMA-Script
(scrreprt) features and been removed from others.
(scrreprt) Loading of package `scrhack' may help to
(scrreprt) avoid this warning, if you are using a
(scrreprt) a package that still implements the
(scrreprt) deprecated \float@addtolist interface.
[4
]
chapter 2.
[5
]
chapter 3.
[6
] [7]
chapter 4.
! Undefined control sequence.
l.327 \hhline
{>{\arrayrulecolor[HTML]{666666}\global\arrayrulewidth=2pt}->{\...
Here is how much of TeX's memory you used:
17690 strings out of 480293
317708 string characters out of 5894357
781303 words of memory out of 5000000
35206 multiletter control sequences out of 15000+600000
439476 words of font info for 90 fonts, out of 8000000 for 9000
14 hyphenation exceptions out of 8191
122i,7n,120p,10638b,392s stack positions out of 5000i,500n,10000p,200000b,80000s
! ==> Fatal error occurred, no output PDF file produced!
" | {
"assignee": null,
"comments": 4,
"created_at": "2022-01-06T15:49:13Z",
"creator": "zawkzaw",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 249,
"state": "closed",
"title": "Fail to produce pdf of a quarto book project ",
"url": "https://github.com/quarto-dev/quarto-cli/issues/249"
} |
For example, take the book template with quarto 0.2.438 and add an `appendices` line in the `_quarto.yml`:
```
book:
title: "d"
author: "Jane Doe"
date: "1/6/2022"
chapters:
- index.qmd
- intro.qmd
- summary.qmd
appendices: # <-- add this line
- references.qmd
```
Then edit `intro.qmd` to add a table with caption:
```
# Introduction
This is a book created from markdown and executable code.
|a|b|
|-|-|
|1|2|
: Some table.
See @knuth84 for additional discussion of literate programming.
```
and edit `references.qmd` to enable numbering:
```
# References
::: {#refs}
:::
```
The PDF now has an extra `.` after the table number:
![image](https://user-images.githubusercontent.com/2412819/148379048-8fdc6f50-8efd-4fb6-9857-c6ba23e6e38d.png)
Here we have "Table 1.1.:" instead of "Table 1.1:" (there is also some vertical space missing between the caption and the table, but I don't have that problem in my real document for some reason).
The extra dot also appears in figure captions. | {
"assignee": null,
"comments": 4,
"created_at": "2022-01-06T11:55:16Z",
"creator": "knuesel",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 247,
"state": "closed",
"title": "Numbered appendix causes extra dot in figure and table captions",
"url": "https://github.com/quarto-dev/quarto-cli/issues/247"
} |
Reviews and suggestions are welcome, if possible.
https://github.com/quarto-dev/quarto-cli/pull/245
Currently there are several questionable lines:
15: `code-tools-show-all-code: "Просмотр кода страницы"` makes sense only if this button shows the entire webpage HTML/JS code, identical to "View page source" in browser.
30, 31: a) As far as I understand, when knitting there will be a line `"X <phrase>"`, where `X` is a number of lines in a document and `<phrase>` is a selected translation for the `"search-more-matches-text"`. Such an expression is pretty odd, the better is literally `"More X matches in this document"`, i. e. I would like X to split the phrase.
b) Another issue is that the count form for the word `matches` depends on number: viz. I would prefer to write
"X дополнительный результат в этом документе" for X = 10m+1, where m is 0 or natural.
"X дополнительных результат**а** в этом документе" for X = 10m+2, 10m +3, 10m + 4 and
"X дополнительных результат**ов** в этом документе" otherwise.
So far, the suggested variant (`"Дополнительных результата(-ов) в этом документе"`) encompasses two latter cases as they are more frequent.
53: I have never seen the word for 'lemma' (`лемма`) to be abbridged anyhow and cannot suggest any viable way to do this, however it is declinable and should turn into `лемме, леммы, лемму, леммой` respectively dependent on the context, which requires a morphotagger which I believe is far beyond the current scope of goals for the project. This is however an unimportant issue since such environments are hardly ever met in real documents. | {
"assignee": null,
"comments": 6,
"created_at": "2022-01-06T11:03:08Z",
"creator": "gjirokastrelbasanit34",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 246,
"state": "closed",
"title": "Adds .yml translation for Russian",
"url": "https://github.com/quarto-dev/quarto-cli/issues/246"
} |
Currently, it seems like the only way to do inline code within a jupyter notebook is through the use of `IPython.display`. This can be, at times, cumbersome and would hinder readability of a document. Is there a way to have a similar syntax to R, where you can do ``` `r var` ```?
So something like ``` `py var` ```, for instance? | {
"assignee": null,
"comments": 4,
"created_at": "2022-01-05T23:16:31Z",
"creator": "amichuda",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 244,
"state": "closed",
"title": "[feature request] Allow `r` like inline code for jupyter/python",
"url": "https://github.com/quarto-dev/quarto-cli/issues/244"
} |
Rendering the book template to PDF with quarto 0.2.423 produces a table of contents with title "On this page", which doesn't make sense for a PDF. | {
"assignee": null,
"comments": 2,
"created_at": "2022-01-05T15:11:13Z",
"creator": "knuesel",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 243,
"state": "closed",
"title": "Wrong title for PDF table of contents",
"url": "https://github.com/quarto-dev/quarto-cli/issues/243"
} |
In working on #237 getting arm logic added in will take some interface redesign:
The existing Dependency interface is as such:
dependencies.ts
```
export interface Dependency {
name: string;
version: string;
"darwin"?: PlatformDependency;
"linux"?: PlatformDependency;
"windows": PlatformDependency;
}
```
which is used by say the esBuild (and dart/pandoc) resolvers:
```ts
return {
name: "esbuild javscript bundler",
version,
"windows": esBuildRelease("windows-64"),
"linux": esBuildRelease("linux-64"),
"darwin": esBuildRelease("darwin-64"),
};
```
these then are used in configure.ts as `kDependencies`
```ts
// Download dependencies
info("Downloading dependencies");
for (const dependency of kDependencies) {
info(`Preparing ${dependency.name}`);
const platformDep = dependency[Deno.build.os];
if (platformDep) {
info(`Downloading ${dependency.name}`);
const targetFile = await downloadBinaryDependency(platformDep, config);
info(`Configuring ${dependency.name}`);
await platformDep.configure(targetFile);
info(`Cleaning up`);
Deno.removeSync(targetFile);
}
info(`${dependency.name} complete.\n`);
}
```
APIs to consider:
nested archs - `Deno.build.arch` can be "x86_64" | "aarch64" making it easy to use as a key
```
export interface Dependency {
name: string;
version: string;
"aarch64": {
"darwin"?: PlatformDependency;
"linux"?: PlatformDependency;
"windows"?: PlatformDependency;
};
"x86_64": {
"darwin"?: PlatformDependency;
"linux"?: PlatformDependency;
"windows"?: PlatformDependency;
};
}
```
which would essentially result in dl resolution code changing to:
```diff
-const platformDep = dependency[Deno.build.os];
+const platformDep = dependency[Deno.build.arch][Deno.build.os];
```
or some flatter designs:
* x86 default:
* darwin + darwin-aarch64
* no default (my preference given a flat structure):
* darwin-x86_64 + darwin-x86_64
and do something like
```diff
-const platformDep = dependency[Deno.build.os];
+const platformDep = dependency[`${Deno.build.os}-${Deno.build.arch}`];
```
Secondarily, the other implication to consider in the surrounding code is that arm builds are still generally not as first-class. While it seems everything has x86 builds in place, even for misc dev versions, arm versions are more hit or miss. As such, the general codebase could potentially use a little love to make more informative where its hitting problems and potentially more aggressively halt. The existing code just tries to dl if it exists and regardless will print `info(`${dependency.name} complete.\n`);`
@dragonstyle any particular preferences or other interface designs come to mind? | {
"assignee": null,
"comments": 8,
"created_at": "2022-01-03T15:13:59Z",
"creator": "dpastoor",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 240,
"state": "open",
"title": "platform arch refactor",
"url": "https://github.com/quarto-dev/quarto-cli/issues/240"
} |
Is it a good idea to implement the Language Server Protocol for Quarto? I know that Quarto is not really a language, but a combination of YAML, markdown/markup and various specific languages (python, R, Julia etc). However, if a language server is available, one can benefit from features such as auto complete, diagnostics, hover, go to definition, etc, in any editor which supports LSP.
Even better, for code chunks, a user could opt to download corresponding LSP for the language in the chunks, to achieve all the smart features.
What is most attractive is that one can use the same LSP in any editor, be it rstuido, vscode, vim or other popular editors. | {
"assignee": "cscheid",
"comments": 22,
"created_at": "2022-01-03T04:58:20Z",
"creator": "juliantao",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 239,
"state": "open",
"title": "A quarto Language Server? ",
"url": "https://github.com/quarto-dev/quarto-cli/issues/239"
} |
Following the quarto online docs to make a dark version of Cosmo, I'm getting a super faded navbar foreground color for the active links (screenshot below). Poking around at the HTML, it looks like the boostrap dark theme is using the navbar-light foreground color for the dark-theme navbar, even with navbar type set as dark in the YAML.
Using:
```yaml
theme:
light: cosmo
dark: [cosmo, theme-dark.scss]
```
with `theme-dark.scss`
```scss
/*-- scss:defaults --*/
// Base document colors
$body-bg: #181818;
$body-color: white;
$link-color: #75AADB;
// Code blocks
$code-block-bg-alpha: -.8;
```
![image](https://user-images.githubusercontent.com/831732/147875748-a693f0ea-fac3-43e7-9c89-e3f953156dd2.png)
I run into a similar issue when applying other Bootswatch themes (the insufficient contrast between the navbar foreground and background)
Here's an example using sandstone with no dark theme set:
![image](https://user-images.githubusercontent.com/831732/147875837-67fad84c-f737-4db6-b987-090dc27ae3e8.png)
I've tried adding and removing yaml parameters for the navbar, e.g.
```yaml
navbar:
type: dark
background: dark
```
I've also tried adding in the theme and bootstrap defaults for the navbar links in a custom.scss on top of the theme, but I still get the same result.
Let me know if you need more info—it might just be a documentation thing where I'm not understanding the layering of the files. But I've spent quite a bit of time playing around with theming at this point (decided to do a bit of a [crash course](https://dataand.me/notes/2021-12-26-down-the-front-end-rabbit-hole/) over the holiday), so I'd be happy to help write something up so other folks don't stumble into the same error. | {
"assignee": null,
"comments": 20,
"created_at": "2022-01-02T12:38:31Z",
"creator": "batpigandme",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 238,
"state": "closed",
"title": "Insufficient contrast with navbar-color (or navbar-fg) when using themes",
"url": "https://github.com/quarto-dev/quarto-cli/issues/238"
} |
When I upgrade to the latest version 0.2.384, if my path and file name are in Chinese. then I can't preview it successfully (everything works fine after reverting back to 0.2.360). The images and CSS styles disappear. Here is the error that pops up when previewing.
```bash
Output created: 未命名.html
Watching files for changes
Browse at http://localhost:7348/
/%E6%9C%AA%E5%91%BD%E5%90%8D_files/libs/quarto-html/tippy.css (404: Not Found)
/%E6%9C%AA%E5%91%BD%E5%90%8D_files/libs/quarto-html/quarto-syntax-highlighting.css (404: Not Found)
/%E6%9C%AA%E5%91%BD%E5%90%8D_files/libs/bootstrap/bootstrap-icons.css (404: Not Found)
/%E6%9C%AA%E5%91%BD%E5%90%8D_files/libs/bootstrap/bootstrap.min.css (404: Not Found)
/%E6%9C%AA%E5%91%BD%E5%90%8D_files/libs/clipboard/clipboard.min.js (404: Not Found)
/%E6%9C%AA%E5%91%BD%E5%90%8D_files/libs/quarto-html/quarto.js (404: Not Found)
/%E6%9C%AA%E5%91%BD%E5%90%8D_files/libs/quarto-html/popper.min.js (404: Not Found)
/%E6%9C%AA%E5%91%BD%E5%90%8D_files/libs/quarto-html/tippy.umd.min.js (404: Not Found)
/%E6%9C%AA%E5%91%BD%E5%90%8D_files/libs/bootstrap/bootstrap.min.js (404: Not Found)
/%E6%9C%AA%E5%91%BD%E5%90%8D_files/libs/quarto-html/anchor.min.js (404: Not Found)
/%E5%9B%BE%E7%89%87/nnet_ene.svg (404: Not Found)
/%E6%9C%AA%E5%91%BD%E5%90%8D_files/libs/clipboard/clipboard.min.js (404: Not Found)
/%E6%9C%AA%E5%91%BD%E5%90%8D_files/libs/quarto-html/quarto.js (404: Not Found)
/%E6%9C%AA%E5%91%BD%E5%90%8D_files/libs/quarto-html/popper.min.js (404: Not Found)
/%E6%9C%AA%E5%91%BD%E5%90%8D_files/libs/quarto-html/tippy.umd.min.js (404: Not Found)
/%E6%9C%AA%E5%91%BD%E5%90%8D_files/libs/quarto-html/anchor.min.js (404: Not Found)
/%E6%9C%AA%E5%91%BD%E5%90%8D_files/libs/quarto-html/tippy.css (404: Not Found)
/%E6%9C%AA%E5%91%BD%E5%90%8D_files/libs/quarto-html/quarto-syntax-highlighting.css (404: Not Found)
/%E6%9C%AA%E5%91%BD%E5%90%8D_files/libs/bootstrap/bootstrap.min.js (404: Not Found)
/%E6%9C%AA%E5%91%BD%E5%90%8D_files/libs/bootstrap/bootstrap-icons.css (404: Not Found
``` | {
"assignee": null,
"comments": 2,
"created_at": "2021-12-22T14:19:15Z",
"creator": "williamlorder",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 235,
"state": "closed",
"title": "[Bug] The path cannot be successfully previewed if it is in Chinese (CSS samples and images cannot be displayed)",
"url": "https://github.com/quarto-dev/quarto-cli/issues/235"
} |
Follow up on the [comment](https://github.com/quarto-dev/quarto-cli/pull/231#issuecomment-998496713) I made on #231, potentially related to #224, #231, and #232.
Hopefully, the following example can be reproduced on your side @cderv
<details>
<summary>revealjs_figalign.qmd</summary>
<!--All you need is a blank line-->
```markdown
---
format: revealjs
---
## No `fig-align` nor caption
![](https://placekitten.com/300/300)
## No `fig-align` but caption
![caption](https://placekitten.com/300/300)
## With `fig-align="center"`
![](https://placekitten.com/300/300){fig-align="center"}
## Caption and `fig-align="center"`
![caption](https://placekitten.com/300/300){fig-align="center"}
## With `fig-align="right"`
![](https://placekitten.com/300/300){fig-align="right"}
## Caption and `fig-align="right"`
![caption](https://placekitten.com/300/300){fig-align="right"}
```
</details>
**Findings:**
1. If there is a single figure on a slide without caption nor a `fig-align` attribute, the figure is aligned to the left, which is contradictory to the default [as described in the documentation](https://quarto.org/docs/authoring/figures-and-layout.html#figure-alignment).
2. Interestingly, if a caption is given, the figure will be centered, but the caption is aligned to the left.
3. To center a single figure without caption, one need to manually add the `fig-align="center"` attribute
4. Captions are always aligned to the left no matter where the figure is placed.
**Desired outcome:**
1. If a figure is included without caption, it should be placed at the center
2. If a figure is included with a caption, the caption should be placed right below the figure.
| {
"assignee": null,
"comments": 4,
"created_at": "2021-12-21T16:47:56Z",
"creator": "juliantao",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 233,
"state": "closed",
"title": "revealjs `fig-align` and caption",
"url": "https://github.com/quarto-dev/quarto-cli/issues/233"
} |
Just to note some findings about block layout in reveal presentation as documented here: https://quarto.org/docs/authoring/figures-and-layout.html#block-layout.
It won't work straight away because of header meaning slide section in reveal
## Example 1
````markdown
---
title: "Title"
format: revealjs
---
## Slide 1
::: {layout-ncol=2}
- Item X
- Item Y
- Item Z
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur gravida eu erat et fring. Morbi congue augue vel eros ullamcorper, eget convallis tortor sagittis. Fusce sodales viverra mauris a fringilla. Donec feugiat, justo eu blandit placerat, enim dui volutpat turpis, eu dictum lectus urna eu urna. Mauris sed massa ornare, interdum ipsum a, semper massa.
:::
## Slide 2
::: {layout-ncol=2}
### List One
- Item A
- Item B
- Item C
### List Two
- Item X
- Item Y
- Item Z
:::
````
The presentation created can't be navigated. Slides can be seen on the overview but they are split unexpectedly and using the arrow to go toward the last slide send back to the first slide. I believe this is because headers are handles by reveal conversion as slides
Setting slide level 3 fix it
````yaml
title: "Title"
format:
revealjs:
slide-level: 3
````
Maybe we should document this limitation ?
## Example 2
When we make it work using `slide-level: 3` the layout is not ok
![image](https://user-images.githubusercontent.com/6791940/146766749-ce752d96-1f58-459d-9701-8f2c2232e895.png)
probably some CSS update to do.
| {
"assignee": null,
"comments": 1,
"created_at": "2021-12-20T12:24:21Z",
"creator": "cderv",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 230,
"state": "closed",
"title": "Block layout imorvement / exception in reveal presentation",
"url": "https://github.com/quarto-dev/quarto-cli/issues/230"
} |
as reported by Mine:
> A suggestion / feature request for helpful error message -- I think the following might be a common error for those coming from knitr/rmarkdown:
>
> ```
> #| echo = FALSE
> 1 + 1
> ```
>
> Right now the error message says `YAML validation failed - exiting`. Could it say something like `Did you use = instead of : when defining your chunk options?` (like how ggplot2 helps you if you use %>% instead of +).
| {
"assignee": "cscheid",
"comments": 2,
"created_at": "2021-12-17T17:29:15Z",
"creator": "cscheid",
"is_pull_request": false,
"labels": [
"enhancement",
"yaml-validation"
],
"locked": false,
"milestone": null,
"number": 229,
"state": "closed",
"title": "improve error message for `#| key = value` validation failure",
"url": "https://github.com/quarto-dev/quarto-cli/issues/229"
} |
It seems that a table generated using a code chunk is thrown into a `layout` environment and treated as a sub table. The caption and cross-ref only work when two captions are defined: both at the code function level and at the chunk level.
For example,
With the code bellow, the table is not numbered and cross-ref does not work.
````markdown
```{r}
#| label: tbl-no_kable_caption
#| tbl-cap: "A table from kable"
knitr::kable(mtcars[1:5, 1:5])
```
@tbl-no_kable_caption
````
With the code below, the table is numbered, cross-ref works, but the resulting table has two captions: the one defined in the kable function is used as a sub-table caption; and the one defined as the chunk option is used as the main caption.
In addition, the placement of the main caption is below the table, not above it.
````markdown
```{r}
#| label: tbl-with_kable_caption
#| tbl-cap: Chunk Caption
knitr::kable(mtcars[1:5, 1:5], caption = "kable caption")
```
@tbl-with_kable_caption
````
With the code below, everything works fine, but it seems that there is no way to cross-ref the table. Adding a label in `{r}` like the way in rmarkdown does not help neither.
````markdown
```{r}
knitr::kable(mtcars[1:5, 1:5], caption = "no chunk caption")
```
````
Attached is the output pdf file so you can see the differences.
[table-crossref.pdf](https://github.com/quarto-dev/quarto-cli/files/7732289/table-crossref.pdf)
What is the proper approach?
I understand that this is also related to an earlier issue (#90) that I submitted a while ago. Any improvement on this matter is appreciated.
| {
"assignee": null,
"comments": 12,
"created_at": "2021-12-17T05:38:16Z",
"creator": "juliantao",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 228,
"state": "closed",
"title": "Caption and cross-ref for single table generated from code chunk",
"url": "https://github.com/quarto-dev/quarto-cli/issues/228"
} |
quarto-gallery/articles/msword/msword.qmd did not generated the table as expected. | {
"assignee": null,
"comments": 1,
"created_at": "2021-12-16T16:20:58Z",
"creator": "chunkaowang",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 227,
"state": "closed",
"title": "quarto render docx does not generate table as expected",
"url": "https://github.com/quarto-dev/quarto-cli/issues/227"
} |
How to reproduce:
1. `git clone https://github.com/rizinorg/book`
2. `quarto render --to pdf --toc`
This character "┌" (U+250C) occurs in [src/debugger/heap.md](https://github.com/rizinorg/book/blob/master/src/debugger/heap.md)
```
runnning pdflatex - 1
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
updating tlmgr
updating existing packages
compilation failed- error
Package inputenc Error: Unicode character ┌ (U+250C)
(inputenc) not set up for use with LaTeX.
See the inputenc package documentation for explanation.
Type H <return> for immediate help.
...
l.1722 \end{verbatim}
Possible unsupported unicode character in this configuration. Perhaps try another LaTeX engine (e.g. XeLaTeX).
see /home/user/rizin/book/index.log for more information.
ERROR: Error
at Object.onComplete (file:///home/user/quarto/quarto-cli/src/project/types/book/book-render.ts:245:15)
at async renderFiles (file:///home/user/quarto/quarto-cli/src/command/render/render.ts:222:12)
at async renderProject (file:///home/user/quarto/quarto-cli/src/command/render/project.ts:157:25)
at async Command.fn (file:///home/user/quarto/quarto-cli/src/command/render/cmd.ts:164:24)
at async Command.execute (https://deno.land/x/[email protected]/command/command.ts:997:7)
at async Command.parse (https://deno.land/x/[email protected]/command/command.ts:918:16)
at async Command.parse (https://deno.land/x/[email protected]/command/command.ts:870:16)
at async quarto (file:///home/user/quarto/quarto-cli/src/quarto.ts:71:3)
at async file:///home/user/quarto/quarto-cli/src/quarto.ts:89:5
``` | {
"assignee": null,
"comments": 13,
"created_at": "2021-12-16T04:00:25Z",
"creator": "XVilka",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 226,
"state": "closed",
"title": "Problem handling Unicode characters with LaTeX",
"url": "https://github.com/quarto-dev/quarto-cli/issues/226"
} |
I think this error started to appear recently (in the past few days). I've been building quarto-latexmk in the tinytex repo and started to see this error:
```
Check file:///Users/appveyor/projects/tinytex/quarto-cli/src/command/render/latexmk/quarto-latexmk.ts
error: TS2339 [ERROR]: Property 'Signal' does not exist on type 'typeof Deno'. 'Deno.Signal' is an unstable API. Did you forget to run with the '--unstable' flag?
onSignal(Deno.Signal.SIGINT, cleanup);
~~~~~~
at file:///Users/appveyor/projects/tinytex/quarto-cli/src/command/render/latexmk/quarto-latexmk.ts:137:21
TS2339 [ERROR]: Property 'Signal' does not exist on type 'typeof Deno'. 'Deno.Signal' is an unstable API. Did you forget to run with the '--unstable' flag?
onSignal(Deno.Signal.SIGTERM, cleanup);
~~~~~~
at file:///Users/appveyor/projects/tinytex/quarto-cli/src/command/render/latexmk/quarto-latexmk.ts:138:21
Found 2 errors.
error: Uncaught (in promise) Error: Failure to compile /Users/appveyor/projects/tinytex/quarto-cli/src/command/render/latexmk/quarto-latexmk.ts
throw Error(`Failure to compile ${input}`);
^
at compile (file:///Users/appveyor/projects/tinytex/quarto-cli/package/src/util/deno.ts:65:11)
at async compileQuartoLatexmk (file:///Users/appveyor/projects/tinytex/quarto-cli/package/src/common/compile-quarto-latexmk.ts:131:7)
```
It seems the problem came from https://github.com/quarto-dev/quarto-cli/blob/7c3c8467b17df45782d7eba741b3faf6165d8b54/src/command/render/latexmk/quarto-latexmk.ts#L137
@dragonstyle Any ideas? | {
"assignee": null,
"comments": 4,
"created_at": "2021-12-16T02:37:53Z",
"creator": "yihui",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 225,
"state": "closed",
"title": "Property 'Signal' does not exist on type 'typeof Deno'",
"url": "https://github.com/quarto-dev/quarto-cli/issues/225"
} |
Hi,
We have been getting an error with `quarto preview slides-test.ipynb` when developing quarto slides (<https://github.com/NASA-Openscapes/2021-Cloud-Workshop-AGU/blob/slides-dev/slides/slides-test.ipynb>)
This is with quarto CLI 0.2.358 in a 2i2c jupyter hub.
```
(notebook) jovyan@jupyter-jules32:~/2021-Cloud-Workshop-AGU/how-tos$ quarto preview slides-test.ipynb
pandoc
to: revealjs
output-file: slides-test.html
standalone: true
title-prefix: 2021 Cloud Workshop at AGU
html-math-method:
method: mathjax
url: >-
https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS_HTML-full
slide-level: 2
filters:
- ../include-files.lua
- crossref
metadata
link-citations: true
width: 1050
height: 700
margin: 0.1
center: false
navigationMode: linear
controlsLayout: edges
controlsTutorial: false
hash: true
history: true
hashOneBasedIndex: false
fragmentInURL: false
transition: none
backgroundTransition: none
pdfSeparateFragments: false
title: test pres
Output created: ../_site/how-tos/slides-test.html
Watching files for changes
ERROR: NotFound: No such file or directory (os error 2)
```
J.J. was thinking this might be due to "a website within a website" since this [repo](https://github.com/NASA-Openscapes/2021-Cloud-Workshop-AGU) is a quarto website with a subfolder "slides". Happy to provide more details/screenshots, please let me know!
| {
"assignee": null,
"comments": 6,
"created_at": "2021-12-15T04:24:11Z",
"creator": "jules32",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 223,
"state": "closed",
"title": "quarto preview erroring for .ipynb slides",
"url": "https://github.com/quarto-dev/quarto-cli/issues/223"
} |
I always use latex engine such as xelatex,lualatex to generate pdf.However, sometimes it may take much longer to complie and need more effort to adjust the layout.
I get to know there are other pdf engines can generate pdf through html way,for example,wkhtmltopdf and weasyprint.
It's there any plan to add these features to quarto.
Best regards | {
"assignee": null,
"comments": 0,
"created_at": "2021-12-14T14:39:01Z",
"creator": "luzelai",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": "Future",
"number": 222,
"state": "open",
"title": "Other pdf engines like wkhtmltopdf and weasyprint?",
"url": "https://github.com/quarto-dev/quarto-cli/issues/222"
} |
The `quarto check install` command seems to fail in the latest version of quarto.
```shell
$ quarto --version
0.2.354
$ quarto check install
error: Uncaught SyntaxError: Identifier 'parse3' has already been declared
function parse3(input, options) {
^
at <anonymous> (file:///opt/quarto/bin/quarto.js:49138:1)
```
| {
"assignee": null,
"comments": 2,
"created_at": "2021-12-14T10:31:17Z",
"creator": "eitsupi",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 220,
"state": "closed",
"title": "The `quarto check install` command is failed in latest quarto (on Linux)",
"url": "https://github.com/quarto-dev/quarto-cli/issues/220"
} |
When including a single figure with long captions, I tried several different strategies.
1. Use the markdown `img` syntax directly
```
![This is a long caption. (a) $\theta=2*x^2$; (b) this is the second part; (c) this is the third part](./img/Fig2.pdf){#fig-native}
```
This worked as expected and the figure is **centered** by default; the captions are rendered properly. The figure is **numbered** and cross-ref works as expected.
**However, in the editor, the text does not look clean and tidy.**
I prefer to define long captions outside of the brackets `[ ]`, so I tried the following
2. Use the quarto `layout` with 1 column
```
::: {#fig-layout layout-ncol=1}
![](./img/Fig2.pdf)
This is a long caption. (a) $\theta=2*x^2$; (b) this is the second part; (c) this is the third part
:::
```
This strategy worked, **except that the figure is no longer "centered"**. After checking the `tex` file, it is found that the image was implemented using a `minipage` environment.
3. To center the image using the layout method,
```
::: {#fig-layout2 layout="[-30, 40, -30]"}
![](./img/Fig2.pdf)
This is a long caption. (a) $\theta=2*x^2$; (b) this is the second part; (c) this is the third part
:::
```
This worked, expect that **one need to manually adjust the layout parameters; and three minipage environments were created in the `tex` file and made it inconvenient to submit to a publisher**
4. Lastly, I tried the [`Figure Div`](https://quarto.org/docs/authoring/figures-and-layout.html#figure-divs) as described in the quarto documentation
```
::: {#fig-div}
![](./img/Fig2.pdf)
This is a long caption. (a) $\theta=2*x^2$; (b) this is the second part; (c) this is the third part
:::
```
The figure is inserted. But there are a few problems.
- The figure is not centered
- The figure is not numbered
- Figure reference still partially work but no number is given
After checking the `tex` file, it is found that the figure is not put in a `figure` environment.
**Summary:**
- Native markdown syntax works best and gives a clean `tex` file; but the editing experience is not idea
- Quarto layouts work; the `tex` file is not as clean; and the editing experience is not idea
- Quarto `figure div` does not give satisfactory results
**Idea method:**
- use quarto `figure div` syntax, but put it into a `figure` environment for latex output.
Thanks for your patience and time for reviewing all my issues!
| {
"assignee": null,
"comments": 14,
"created_at": "2021-12-12T03:59:42Z",
"creator": "juliantao",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 217,
"state": "closed",
"title": "PDF format: what is the best way to include a single figure with long captions and a label?",
"url": "https://github.com/quarto-dev/quarto-cli/issues/217"
} |
I created a website for a course. The output formats were defined in the `_quarto.yml` for the project as follows:
```{yaml}
format:
html:
theme:
- cosmo
- ./assets/mystyles.scss
toc: true
revealjs:
theme: ./assets/myrevealjs.scss
slideNumber: true
history: false
width: 1600
height: 900
slide-level: 2
html-math-method: katex
chalkboard:
theme: whiteboard
```
Website pages include a series of `lecture.qmd` and an `index.qmd` with links to the lectures. The idea is that students and instructors can go to the website and click any lecture on the front page to view the corresponding `revealjs` slides.
For each lecture `qmd` file, I included `format: revealjs` in the YAML header; in the `index.qmd` file, I included `format: html`.
I expect that when I run `quarto render` in the project directory, the `index.qmd` should be rendered to `html` and all the lectures will be rendered into `revealjs`. However, all the files are rendered into conventional `html` with the `cosmo` theme.
For now, I created a bash script to render the site using a single command. In the script, all the files to first rendered to`revealjs`, the `index.qmd` file is then rendered into the conventional `html`.
It will be helpful if I just need to run `quarto render` to render the site properly. I believe it is supposed to work like that.
| {
"assignee": null,
"comments": 3,
"created_at": "2021-12-12T02:57:17Z",
"creator": "juliantao",
"is_pull_request": false,
"labels": [],
"locked": false,
"milestone": null,
"number": 216,
"state": "closed",
"title": "Rendering website with `reveal.js` slides",
"url": "https://github.com/quarto-dev/quarto-cli/issues/216"
} |
It seems that some of the `crossref` options do not work for `pdf` formats.
I included the following in the YAML header:
```{yaml}
crossref:
fig-title: "**Figure**"
tbl-title: "**Table**"
title-delim: "."
fig-prefix: Fig.
tbl-prefix: Table
```
When rendered to `html`, all the options work properly.
For `pdf` output, the `fig-prefix` and `tbl-prefix` were rendered as expected, but the `fig-title`, `tbl-title`, and `title-delim` were still rendered with default formats.
| {
"assignee": "cscheid",
"comments": 2,
"created_at": "2021-12-12T02:33:58Z",
"creator": "juliantao",
"is_pull_request": false,
"labels": [
"bug",
"crossref"
],
"locked": false,
"milestone": "v1.4",
"number": 215,
"state": "open",
"title": "[Bug] some `crossref` options do not work for pdf format ",
"url": "https://github.com/quarto-dev/quarto-cli/issues/215"
} |