Comments (10)
And yet another branch got merged. (Not going to provide running commentary.)
from md2pptx.
Still trying to figure out what breaks my layout. Will get back to you with a reproducible test setup. Thank you for your efforts!
from md2pptx.
Thanks for your kind words. This comment of mine is not a "no". Indeed dynamic metadata versions of these - as well as the static - might have value.
This would be quite a lot of reworking the layout logic, of course.
I will comment that right now the expectation is you will have a decent template presentation - that sets the bounds of eg the title object. So, could you achieve what you want with a tweaked template presentation?
Again, this is not a "no"; I'm exploring the area.
from md2pptx.
Also, I think the point about centimetres vs inches is valid.
from md2pptx.
Regarding the template, this was my first try. But perhaps it's just a user error. I was tweaking the original template to use the title elements in the master, but i was irritated that the template design was overwritten by the "adjusting titles" I was able to fix the titles with the metadata, but the content block was "ignored" as well.
This was the reason why i thought, as you do some magic with multiple colums etc. if it would make life easier if i would be able to define a "content area" whare the magic can happen.
And this lead to the same assumption for titles and footnotes.
I hope this clarifies my thoughts. Totally ok if you will not adapt. I was just thinking that this could be helpful for more people than just myself :-)
from md2pptx.
In principle - having located the content shape (for example) - it's not much code to resize it. The wider issue will be updating the layout model.
I also think we need a syntax for "use the default" but that's not difficult.
This is not one I'm going to rush at, in the meantime. So I'd further encourage you to experiment with your own template file. (There is a section towards the end of the user guide that might help weigh this.)
The "units" question is probably more fiddly. And the reason for inches is that font sizes are relative to that (i.e. points). But cm should - one day - be doable.
from md2pptx.
Thank you, will test the template and i made a fork to experiment with the code. If I fine a short patch, i will push it to you. In the meantime thank you for your fast replies.
regarding units, afaik python-pptx ist using this EMU thing as a base and provides an util to convert everything to it.
https://python-pptx.readthedocs.io/en/latest/user/autoshapes.html
My proposal was to use the same util set to process different inputs
`>>> from pptx.util import Inches, Pt
length = Inches(1)
length
914400
length.inches
1.0
length.cm
2.54
length.pt
72.0
length = Pt(72)
length
914400`
from md2pptx.
Thanks. It helps the effort more if you try to use the user guide to tweak your template. If there are shortcomings in the docs we can fix them. By the way mdpre is always run to create the user_guide.md
file - so don't try editing it directly.
There is another very active code branch going on right now - so merging your code changes might be difficult.
from md2pptx.
The other code branch got merged just now. But still it's most helpful to check if the documentation is good enough when it come to creating template presentations.
from md2pptx.
Related Issues (20)
- Cards To Have Optional Images At The Top HOT 2
- Can't install the funnel dependency HOT 5
- Quotes as entity references HOT 4
- How to set footer text size HOT 9
- Special Formatting Not Working HOT 5
- There's been an error:UnicodeEncodeError HOT 11
- how to integrate by code HOT 3
- Is there any tutorial on converting ppt to markdown language, besides examples? HOT 2
- Is it possible to read the image in an adjustable manner? HOT 15
- How to customize the background image of each ppt page? HOT 10
- Move docs to their own subfolder
- Add examples of `contentSplit` and `contentSplitDirection` HOT 1
- Make a card an object HOT 4
- Make graphics in cards clickable HOT 2
- Support video and audio in cards HOT 2
- In cards limit media dimensions to those of the card HOT 1
- how to use it HOT 2
- Support Python 3.12 & 3.13 - was "imghdr module not found" HOT 8
- Python comment lines in code blocks are handled improperly HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from md2pptx.