quarto-dev / quarto

Quarto open-source scientific and technical publishing system
https://quarto.org
GNU Affero General Public License v3.0
280 stars 19 forks source link

Extra non-functional preview process are launched #372

Open memeplex opened 4 months ago

memeplex commented 4 months ago

This also goes the other way around, if I first had the html preview open and wanted to preview the pdf rendering.

As in https://github.com/quarto-dev/quarto/issues/371 there is a disconnection between terminals and preview panes, here made worse because there are two active terminals.

But in this case there is also a bug since I'm able to see running pdflatex in both preview terminals, as if i Quarto launched the latex engine twice, one in the preexistent terminal and the other in a new one. Often the preview pane gets empty and one of the underlying processes abort with an error:

https://github.com/quarto-dev/quarto/assets/2845433/dbe646c0-e4bb-4ac2-9162-12ed6a84e6c0