Replies: 2 comments 1 reply
-
There is a lot of pre-processiong done by Quarto, I am not sure all the logs are exposed and should be by default. quarto render --help
#>
#> Usage: quarto render [input] [args...]
#> Version: 1.0.37
#>
#>
#> Description:
#>
#> Render input file(s) to various document types.
#>
#> Options:
#>
#> -h, --help - Show this help.
#> -t, --to - Specify output format(s).
#> -o, --output - Write output to FILE (use
#> --output-dir - Write project output to DI
#> -M, --metadata - Metadata value (KEY:VALUE)
#> --site-url - Override site-url for webs
#> --execute - Execute code (--no-execute
#> -P, --execute-param - Execution parameter (KEY:V
#> --execute-params - YAML file with execution p
#> --execute-dir - Working directory for code
#> --execute-daemon - Keep Jupyter kernel alive
#> --execute-daemon-restart - Restart keepalive Jupyter
#> --execute-debug - Show debug output for Jupy
#> --use-freezer - Force use of frozen comput
#> --cache - Cache execution output (--
#> --cache-refresh - Force refresh of execution
#> --no-clean - Do not clean project outpu
#> --debug - Leave intermediate files i
#> pandoc-args... - Additional pandoc command
#> --log <level> - Path to log file
#> --log-level <level> - Log level (info, warning,
#> --log-format <format> - Log format (plain, json-st
#> --quiet - Suppress console output.
#>
#> Commands:
#>
#> help [command] - Show this help or the help of a sub-command.
#>
#> Examples:
#>
#> Render Markdown: quarto render document.qmd
#> quarto render document.qmd --to html
#> quarto render document.qmd --to pdf --toc
#> Render Notebook: quarto render notebook.ipynb
#> quarto render notebook.ipynb --to docx
#> quarto render notebook.ipynb --to pdf --toc
#> Render w/ Metadata: quarto render document.qmd -M echo:false
#> quarto render document.qmd -M code-fold:true
#> Render to Stdout: quarto render document.qmd --output - PS: It's more a "Q&A" discussion than a "general" discussion. |
Beta Was this translation helpful? Give feedback.
-
Thanks – I think it might be helpful to offer the option to have the full pandoc command available for copy-paste in the logs; currently it looks like it's formatted for legibility (which is nice for normal use, but not as useful for debugging intermediate steps) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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.
gives me
(and a stretched image)
while
produces
(this is mostly for the sake of concrete illustration, I'm also interested in the general toolchain debugging question)
Beta Was this translation helpful? Give feedback.
All reactions