quarto-dev / quarto-dev/quarto-cli
Debug/see individual steps in yaml-knitr-pandoc-lua-tex toolchain
@jjallaire is already working on this.
Since Aug 15, 2022.
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1756
Originally posted by baptiste August 9, 2022
Is there a way to get more information on the commands that are run by quarto? Specifically, with the previous Rmarkdown workflow I could see exactly what commands were passed to pandoc, which helped a bit debug individual steps in the toolchain (is it a Yaml option passed incorrectly? Is it a pandoc issue? Is it something that knitr produced? etc.)
As a specific example, I'm struggling to set the size of an image and keep the aspect ratio, for latex output. I suspect a combination of pandoc and quarto, but it's hard to tell what's happening.
{width=100%}
gives me
\includegraphics[width=1\textwidth,height=\textheight]{penguins.pdf}
(and a stretched image)
while
{width=100%,keepaspectratio}
produces
\includegraphics{penguins.pdf}
(this is mostly for the sake of concrete illustration, I'm also interested in the general toolchain debugging question)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.