Multiple pdf format fail with generated figures

Abierto
#8,367 6 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
javascript, r
Área
build-system

Línea de trabajo

Use the minimal Quarto document in the reproduction, with two PDF formats and an R/ggplot2 figure, as the entry point. Trace rendering and cleanup across both PDF passes; done means both PDFs render successfully without the generated figure files being removed too early, with a regression check if the project provides one.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug latex
Bug description

When you have multiple pdf formats in a Quarto document that contains figures (generated by R for example), the process cleans up those figures after rendering the first PDF and the second PDF fails to render.

Steps to reproduce
---
title: "Test"
format: 
  pdf: default
  pdf+option: default
---

```{r}
cars |> 
  ggplot2::ggplot(ggplot2::aes(x = speed, y = dist)) +
  ggplot2::geom_line()
```
Expected behavior

The figures should be kept until all formats are rendered.

Actual behavior

The figures are deleted after the first PDF is rendered.

Your environment
  • IDE: RStudio Version 2023.12.0+369 (2023.12.0+369)
  • MacOS Sonoma 14.2.1
Quarto check output

Quarto 1.4.545
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.1.11: OK
Dart Sass version 1.69.5: OK
Deno version 1.37.2: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.4.545
Path: /Applications/quarto/bin

[✓] Checking tools....................OK
TinyTeX: v2023.12
Chromium: 869685

[✓] Checking LaTeX....................OK
Using: TinyTex
Path: /Users/admin/Library/TinyTeX/bin/universal-darwin
Version: 2023

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
Version: 3.11.4 (Conda)
Path: /opt/homebrew/Caskroom/miniconda/base/bin/python
Jupyter: 5.3.1
Kernels: python3

[✓] Checking Jupyter engine render....OK

[✓] Checking R installation...........OK
Version: 4.3.2
Path: /Library/Frameworks/R.framework/Resources
LibPaths:
- /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library
knitr: 1.45
rmarkdown: 2.25

[✓] Checking Knitr engine render......OK

Lenguaje dominante
JavaScript
Estrellas
6k
Forks
458
Merge medio
1 d 9 h
PR fusionados (30 d)
41

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de quarto-dev/quarto-cli

Todos los issues de quarto-dev/quarto-cli

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.