I am using ampps as a windows 10 apache server, my php version is 7.3. I downloaded it from the LibreOffice download page and installed it on my computer. Then I installed this library via composer -converter. I try as in the example given, but it does not convert and gives an error. I would be very grateful if you could help me where I am wrong. Here is my code sample and the error I encountered:
It requires requires unoconv to be installed and in the PATH. It can convert any office document (doc/docx/xls/xlsx/ppt/pptx) which can be opened in Open Office [Or Libre Office] to either PDF or HTML.
Reading through forums it appears that the different versions of the compatibility pack, not all were compatible with Windows 2000 (versions 3 & 4 are not). There are also Service Packs for the Compatibility Pack. With these Windows 2000 clients, it seems i need the Compatibility Pack version 2, then to install the Service Packs, yet i'm unable to find a link for version 2 of it.
And no matter what you try (ie reinstalling, repairing office & installing newest version) you cannot get rid of it then uninstall it, before running this install for Windows Installer 3.1 (if not already installed) -
I know there are plenty of MineMeld fans out there but just in case MineMeld deployment is an overkill for your organization and Office 365 security is a burning item in your task list, I thought I'd share a simple and elegant solution that has been running in my setup for over a year now.
o365-json-to-flatfile-converter is a Python-based script that feeds my PAN FWs' External Dynamic Lists and a Splunk instance. The generated flatfiles are in a universal format, so they can be used with other security solutions and appliances like Cisco, Forcepoint, RSA, etc. For more details please see README.
--dc--adobecom.hlx.page/dc-shared/assets/images/shared-images/frictionless/seo-icons/word-pdf-converting.svg An Acrobat PDF document and text document with arrows showing how you can convert a PDF to Microsoft Word
--dc--adobecom.hlx.page/dc-shared/assets/images/shared-images/frictionless/seo-icons/download-and-share.svg A download arrow with a small cloud showing that you can easily download your converted file
As the inventor of the PDF file format, Adobe makes sure our Acrobat PDF to Word converter preserves your document formatting. When you use our online conversion tool, your fonts, images, and alignments will look as expected. The converted file is an editable Word document that you can start using right away in Microsoft Word online.
You can also try Adobe Acrobat Pro free for seven days to convert files to and from Microsoft 365, edit PDF documents with PDF editor tools, edit scanned documents using optical character recognition (OCR) functionality, merge PDFs, organize or rotate PDF pages, split PDFs, reduce file size, and convert HTML, TXT, RTF, PNG, JPG, BMP, and other formats to PDF.
I often have to write up reports based on the analysis of some data.I use R to analyse the data and export tables, figures, and text.This is then included into a LaTeX document either using input or Sweave (see here for details).
I implemented this for a large R&D lab. We produced several hundred (if not thousand) documents per year, and the LaTeX Users' community there wanted to be able to produce documents using 'tex as well as WYSIWYG software.
The OP was right in that a well-defined workflow is essential. Part of this is the process, but you may also need to think about training and using a common repository, and how to implement corporate design.
The one thing that is still causing trouble is 508-compliance. I have been working (slowly) on using the pdfcomment package to add tooltips and modifying the accessibility package so that documents are accessible. My test PDF documents sometimes pass automated testing in Adobe Acrobat...
3 Dec 2017: Originally I suggested the use of latex2rtf instead of Pandoc. I am now editting this answer to suggest Pandoc as I find Pandoc is kept up to date, works well, and I like the flexibility to choose from many more input and output file types.
I think that LaTeX is the wrong starting format, especially if you are generating your input file using Sweave. Instead you can consider using a light-weight markup (Markdown, RST, etc) as a starting format. It will be much easier to convert these formats to both LaTeX and OpenOffice (for example, using Pandoc). As an example, see this sweave file which is written in Markdown. I processed it using sweave, did a bit of post-processing, and then used Pandoc to convert it into ConTeXt. Since the file after post-processing is completely in Markdown format, converting it to OpenOffice should not be a problem.
I have only tested the site with text-files (no graphics or formulas), but it converted complex contract in Norwegian () to pretty exact copies. You loose the structure (no styles, only direct formatting), but it works if you need to send a Word-file for proof reading etc.
Convert your beautiful TeX to pdf, run pdftotext and then import the plain text into a word processor. Recreate all of the tables and equations by hand. Waste days of your life in order to be "compatible" with chumps who don't care about typography until, finally, you decide to stop working with them. Only then will you find inner peace.
My first instinct would probably be oolatex too, or some other technique using TeX4ht, but another method that can also work well is latex2rtf, though I've had the best luck when I tell it it convert formulas, tables, and other complicated stuff to embedded images in the result: obviously, this isn't a great option if the people you're sending them to need to be able to edit those formulas, etc. (But fine if they only need to read and comment.)
Several people have mentioned tex4ht but didn't give the command. From my looking around it seems that the command to run is mk4ht oolatex myfile.tex and you should get a .odt file. I tried it on a basic example and it worked great. When I get a chance I will run it on something more complex.
The best way I know to convert a TeX to an XML application is tex4ht. The project page says it converts TeX to a number of different output formats, including "(X)HTML, MathML, OpenDocument, and DocBook." I believe tex4ht can even convert tikz code to SVG graphics. Word supports OpenDocument, so in theory you could just open up the converted document in Word. I'd expect tables to survive the transition, not so much equations and figures. But MS Word's native format is also an XML application, so you might be able to write an XSLT stylesheet to handle the math and figures.
If you are not forced to stick to a certain format pick your weapon of choice -- tex4ht (you can just use oolatex) , tth, latex2html etc -- and prepare a document style that converts well with that. I do this all the time for simple reports and such that I need to share with people who like using MS-Word etc to edit them. If you spend a bit of time to taylor it for the conversion, you can get consistently good results.
If you have requirements to stick a certain format, for example for a grant proposal etc, you can get by picking up a style that has more or less the right format but with minimal extras to generate the text then use MS-Word or OpenOffice to fix it up.
All answers above suggested to use some converter from tex/pdf file to the wanted file format, that is why I try to give an n-th proposal. I think this approach is quite insane in this situation, as native solutions also exist - as the OP also mentioned.
As you generate the reports from R, it might be the less painful to rewrite some function you use in the reporting process and update those to be able to run in odfWeave. Well, it will generate an odt file from an odt one, so not a native Word format, but it is compatible with Ms Office also from the 2007 version (SP2).
That would require to write the body of your text (if any) and the reporting R code in a word processor (Ms Word or e.g. OOWriter), and later run it via odfWeave. The package has a really great documentation, just download the sources and look for the formatting.odt in the examples directory, which shows in 30+ pages most of the great formatting features of the package. This includes: paragraph, font, color, table, cell, image etc. also.
I don't see Nuance PDF Converter listed in other responses, and I think it is worth a mention. It is not free, but the Mac version that I downloaded has a free trial. I bought it after it successfully converted a PDF that I generated from LaTeX into a clean Word document. Adobe failed miserably on the tables, but Nuance worked well.
I found a good solution through Latex2rtf + TexSword. The process consists performing first the convertion LaTex-> Word (which in my case is around 85% correct), and then to fix the wrong or not converted parts with TexSword (the remaining 15%).
I have struggled for quite some time but with little success. I tried Latex2rtf and it did not convert references, formulas and tables correctly. tex4ht helped me a lot. I used the following steps to successfully convert tex file to doc file with references.
For me there are not doubt: The best workflow is start with Rmarkdown (edit in 2023: or today Quarto) and knitr (instead of Sweave), and then to compile the same simple source file document in Rstudio or VS Code as LaTeX, or PDF (made with a LaTeX compiler), or as HTTML, or as Word document directly.
The good news is that (a) for a Word conversion this is mostly irrelevant because other type of LaTeX constructs often cannot be exported to Word in any way. i.e., there are not a clear Word equivalent (b) statistical reports rarely need other special thing that tables and figures generated by R, i.e., the basic markdown structures plus R chunks are more than enough. And (c) for a special high quality PDF, you can insert LaTeX commands directly in the Rmarkdown/Quarto text (although, unfortunately, will be used only in case of a PDF output). A small example:
795a8134c1