-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Powerpoint Output: bullet points are rendered as indented to level 2 #4828
Comments
Yes -- sorry I've been offline this summer. (Newly associated, so
checked out a bit.) I will take a look at these today, and get something
up soon.
John MacFarlane <[email protected]> writes:
… @jkr when you have a chance, could you look at this and #4827?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#4828 (comment)
|
I've noticed this recently as well. Any update or workaround on this? |
Sorry to take so long on this. This is just PowerPoint's default template's formatting. The bullets are actually level 1. If you want it to be indented differently, you need to use a different template ( Run pandoc on the above example to produce a PowerPoint doc.
Note the "lvl = 1" in the output
|
Indentation levels start at 0 in Powerpoint, so lvl = "1" is actually the second level. |
Yes, but we treat 0-level as content paragraphs (everything is a leveled paragraph, with our without a bullet). So what we would think of as outside of a list in pandoc is expressed as an unbulleted 0-level. The first level of a list is a bulleted 1-level. |
I suppose we could have content and first-level bullets both at 0, but that would cause problems if you have unbullleted-style lists... |
What would the problems be? |
Any further update on this? Would be good to get a fix. I would expect both content and first-level bullets to be at level-0 this is how most PowerPoint content is written from what I've seen. Slides are typically written in two ways... all bullets in which case they need to be at level-0, or you have a leading paragraph followed by bullets, but they aren't typically indented, they would still be at level-0. |
I came across this issue which wasn't the behaviour I was expecting and arrived here pretty quickly based on a search. There is one super-hacky work-around which appears to be viable. That is to change the position and format in the Second and other level bullets in the ppt template file.
|
In PowerPoint, the content of a top-level list is at the same level as the content of a top-level paragraph – the only difference is that a list style has been applied. At the moment, the pptx writer increments the paragraph level on each list, turning what should be top-level lists into second-level lists. This commit changes that logic, only incrementing the paragraph level on continuation paragraphs of lists. - Fixes #4828 - Fixes #4663
The issue here was originally posted in rstudio/rmarkdown#1418, where the OP expressed that this output (bullet points appearing as indented to level 2) is not the expected behaviour, requiring manual editing after rendering.
To reproduce, use the following (bullets.md):
I ran this with pandoc (v.2.2.1):
Here's a screenshot of bullets.pptx, showing the bullet characters appearing reasonably far from the left border of the text box.
The text was updated successfully, but these errors were encountered: