Replies: 3 comments 3 replies
-
I think we have an issue here. I don't know exactly how Pandoc will "guess" which layout to use but it could be that the intermediate This is the content of the intermediate .md BTW ---
title: Quarto Basics
format: pptx
keep-md: true
---
## Polar Axis
For a demonstration of a line plot on a polar axis, see @fig-polar.
::: {.cell execution_count=1}
::: {.cell-output .cell-output-display}
{#fig-polar}
:::
::: We have some specific div that maybe are causing Pandoc to not choose the right layout 🤔 i'll open an issue to track this. |
Beta Was this translation helpful? Give feedback.
-
In fact following, #5609 (comment) I tested a bit more in depth to understand how pandoc works. The doc in Quarto about slide layout comes from Pandoc which does the attribution of Layout https://pandoc.org/MANUAL.html#powerpoint-layout-choice When I render you document, and open the PPTX, I checked the layout used for the slides and it is Content with Caption. So I guess this is the expected layout but it is just not one column. You can check the different layout available by exporting the reference doc used by Pandoc in Quarto .
So it could be something with Pandoc itself not having the Slide layout you expect, or not assigning to the correct slide layout. You should be able to modify this reference doc and provide a modified one to tweak the output. For example, if you modify the Content with Caption layout in the reference doc, it will be used by Pandoc (I think it matched only on name) Hope it helps |
Beta Was this translation helpful? Give feedback.
-
Thank you for looking into this! This is very helpful. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to use Quarto to render a Jupyter notebook to Powerpoint slides. I would like to render one slide as a "Content with Caption" slide, which is the style intended for single-column slides with both text and non-text, as per the Quarto docs on Powerpoint.
How can I generate both text and a graph in the same column in Jupyter, in a way Quarto will recognize?
Using the default Pandoc Powerpoint template, I have tried:
which renders as a two-column slide
which also renders as a two-column slide (with code formatting for the text now)
which prints the text as intended in a single column but omits the graph entirely.
Is it possible to do this? Thank you. And yes, "use the Quarto editor in RStudio instead of using Jupyter" would be a great solution but is not an option available to me; I have to use Jupyter for this.
(this is a crosspost of a StackOverflow question and a Posit Community question, neither of which got any responses).
Beta Was this translation helpful? Give feedback.
All reactions