datalorax / slidex

Convert PowerPoint Slides to xaringan (remark.js) Slides
Other
289 stars 39 forks source link

Office 365 #24

Open datalorax opened 4 years ago

datalorax commented 4 years ago

If you're having issues with converting your PPTX, and you're using Office 365, please install the latest branch with remotes::install_github("datalorax/slidex@office365-changes") (as mentioned in #6) and give it a try. If you run into issues, please report them here.

rmcd1024 commented 3 years ago

Here is a simple pptx file (Office 365, don't know if that matters) that illustrates several conversion problems:

I'm attaching the pptx file. This was converted after installing the current default package from github. test_from_mod_3.pptx

Here is the Rmd file:

---
title: ' Test document '
subtitle: 'Joe Smith'
author: bob
date: 2020-11-05
output:
  xaringan::moon_reader:
  lib_dir: libs
  nature:
    highlightStyle: github
    highlightLines: true
    countIncrementalSlides: false
---

#  Outline 

What are capital budgeting and MFV?
How to calculate imprisoned cash flows
The effect of deceleration on cash flows
The effect of needless changes on cash flows
What does MFV measure?
Alternatives to MFV?

---

#  Tracking Data are Useful 

+ Tracking data can be used to track adherence to social distancing protocols
https://covid19.healthdata.org/united-states-of-america/illinois
+ Of course, such data can also be used to bypass privacy
    + A social media company may consider this technology to increase future revenue
[https://covid19.healthdata.org/united-states-of-america/illinois](https://covid19.healthdata.org/united-states-of-america/illinois)
rmcd1024 commented 3 years ago

Also, maybe this is out of scope, but conversion doesn't work for pptx files saved using Libreoffice because Libreoffice doesn't set a value for lang.

rmcd1024 commented 3 years ago

Just stumbled across this project: https://github.com/ssine/pptx2md/ It's creating generic markdown (in particular none of the xaringan extensions you're interested in) but just testing it on a few documents it seems to do a nice job. (Although images should use ![]() rather than html I think.)

datalorax commented 3 years ago

Oh interesting. Thanks for that link. Looks similar in spirit. I had no idea it exisited. I appreciate the example. I will try to see if I can make time next week sometime to dig into it and see if I can figure out what's going on.