Skip to content
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

italicicized and sub/superset text gets put on separate line #4

Open
mikegilchrist opened this issue Sep 12, 2022 · 2 comments
Open
Assignees
Labels
need more info Additional information to understand the issue is needed

Comments

@mikegilchrist
Copy link

I realize this may not be of any interest to you, but I'm trying to use your code to convert a bunch of lecture slides to an outline. However, when I have bold/italic or sub/superset formatting such as Pr(C by age _a_) or W_A (where one _ is subscripting and two is italics), the output becomes

  • Cancer Risk = Pr(Develop cancer by age
  • a
  • )

or

  • W
  • A

Ideally we'd get

  • Cancer Risk = Pr(Develop cancer by age a)

or

  • $W_A$
@seichter seichter self-assigned this Nov 16, 2022
@seichter
Copy link
Owner

Do you have an example file that you might be able to share? At the moment I assume you are using the formula editor in LibreOffice

@seichter seichter added the need more info Additional information to understand the issue is needed label Nov 16, 2022
@rbejar
Copy link

rbejar commented Sep 2, 2023

Hi. I have found this repo when searching for a solution to rescue my own slides and lecture notes from the odp format 😄. As I had this same issue with italic, bold and underline text, I have made a fork and implemented support for it. I have tried to make the minimum required changes, but in the end I have not been able to add this without rewriting a good part of the code. The fork is here https://github.com/rbejar/odp2md and, as far as I can tell, it works as before, but also supports these text styles (it might have some new glitches, I have not tested thoroughly yet). I have also included a new odp file that can be used to see this new functionality in action.

I think the tool will be useful if I find the time to do the rescue operation with my slides. I might even add a few more improvements if I need them.

I have not made a pull request as the changes are somewhat deep and I don't know if you have the time or the interest to integrate that in your repository. If you want, I will make it. If you don't, my many abandoned, half-cooked projects and me will understand you perfectly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need more info Additional information to understand the issue is needed
Projects
None yet
Development

No branches or pull requests

3 participants