Open office impress presentation9/2/2023 ![]() ![]() Step 5: Set the Read-Only permission to the script. Step 4: Copy the Highlight.py to /usr/lib/libreoffice/share/Scripts/python/ sudo cp Highlight.py /usr/lib/libreoffice/share/Scripts/python/ Step 2: Install pygments for Python 3: sudo pip3 install python3-pygments Step 1: Install libreoffice-script-provider-python: sudo apt-get install libreoffice-script-provider-python I had the same problem but for Java and finally I found a native solution using Python macro which is tested in LibreOffice 5. You can install it from the official site: Code Highlighter Update: I have released this macro as a LibreOffice extension. To insert a RTF text to presentation LibreOffice you can use menu insert, file, and rtf (or HTML). PPS.: About the coooder bug, I've launched a bug report here But it is my understanding that the older question doesn't solve this specific problem. This question is debated in meta-so as possible duplication of the question cited above. I'm using linux UBUNTU 10.04, and Open Office 3.2 ![]() ![]() I click next, and it tells me it wants to remove all the packages, and that coooder needs this packages to work, and so it is not going to be installed. Synaptic tell's me that -core and a lot of other should be marked. I don't know why, but trying to install this extension in my system gives me an error. All good, but I'm a linux user, and I think there might be a better way.Īlso, there is another possible solution, installing coooder extension to openoffice. It needs to convert c code to HTML using an specific windows program that has an option to copy the HTML as RTF, after that you need to past the RTF in Word or Wordpad, and after that you special past RTF to PowerPoint. This site show a very trick windows solution. Having HTML doesn't help, because I can't find a easy way to insert HTML into a presentation either. None of them can convert source code to a version of a highlighted RTF (rich text format), that would be another way to go. So I installed QSource-Highlight that easily convert C code to HTML (also gnu source-highlight, code2html, and so on). In this other question some suggest to embed HTML code. What I use to do is a snapshot if the code is small, or to stop presentation and open Kate in the datashow if it is too big. Paste it formated and with source highlighted to an Open Office Presentation (OOP).Copy my source code from my editor (kate) and.I need to write a lot of class courses presentations to my programming class, and I constantly need to show source code (mainly C code). ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |