Pandoc (License: GPL) can import:
and convert to these and various other formats. (Custom formats can be added with Lua.)
It’s a standalone command-line program and comes with a Haskell library.
You can test it online: http://johnmacfarlane.net/pandoc/try/
From the definition of munpack:
Unpack messages in MIME or split-uuencode format.
Munpack are utilities for encoding and decoding (respectively) binary files in MIME (Multipurpose Internet Mail Extensions) format mail messages.
sudo apt-get install mpack
To extract the eml contents
Microsoft Power Point Viewer can open any powerpoint (post 1997), including .pptx. It can be downloaded for free.
If you right click you can select Print.
if you have a PDF printer installed, then you print to PDF and you are done.
There are many good free PDF printers out there.
You can start another question if you have particular intrest in them.
I personally have always had good results from pandoc but about the only thing that I can think of that will 100% of the time accurately reproduce the onscreen content of an eBook in a PDF file is to print to a PDF file using one of the many print to PDF drivers available - I will not try to recommend one as I do not know which OS you are on.
Pandoc is free ...
To create PDFs output of web pages I see a valuable solution by using the Mozilla Firefox browser, together with ScrapBook and Print pages to PDF plugins:
The Scrapbook plugin perform the pages capturing into the browser sidebar (by choosing a command in the right-click menu of the browser window, or by using the Save options from the ScrapBook menu). There ...
You can use Calibre for this, which was already recommended multiple times for book conversion. An Article named DeDRM plugin for calibre describes a plugin to achieve exactly that:
The DeDRM plugin can remove DRM from Kindle eBooks […], Barnes & Noble ePub ebooks […], any ebooks using Adobe Digital Editions DRM, and the older Mobipocket and eReader ...
The HTML Tidy utility can clean up some of the basics for you. It will cover the basic inline style elements like <font>, but it won't handle more complicated things like when tables that have been used for half-layout half-style.
In particular you probably want the clean flag: (from man tidy)
replace FONT, NOBR and CENTER tags by CSS (...
You can open the .keynote file online at iCloud and export it (Apple now allows you to sign up online without an Apple device!).
It will ask you to sign up at the top of the homepage, from which you can enter your details and use Keynote/Pages/Numbers online.
You can then view it as a PDF on Windows/OS X/Linux.
Online Solution. No Software Required.
Try Google Drive.
Upload your .ppt file to Google Drive.
Open the file and from the File Menu, Select Download as where you will find the option of PDF Document.
I use this feature a lot.
With txt2tags (https://txt2tags.org/), you can export to at least 20 different formats, including rtf (rich text format), latex, html, wikipedia, creole, dokuwiki, restructured text, markdown, spip, AsciiDoc...
There is an html importer for txt2tags (https://wiki.txt2tags.org/index.php/Main/Html2wiki) so you can do pretty everything with it.
To be ...
To check whether the PDF is colored or BW, you can use Ghostscript (free, open-source, cross-platform):
gs -o - -sDEVICE=inkcov /path/to/your.pdf
0.00000 0.00000 0.00000 0.02230 CMYK OK
0.02360 0.02360 0.02360 0.02360 CMYK OK
0.02525 0.02525 0.02525 0.00000 CMYK OK
You have a few options:
openhtmltopdf - new code, still brewing, but has some great results
Apache FOP - can convert XML, not HTML, but might be usefull
itext the older version (version 2)
Wkhtmltopdf - not java, can call it from Java via external process, used it with great success so far
You should try Kingsoft Office. It is known as being more friendly with Office formats than OpenOffice/LibreOffice.
Another (non free) program that can do this is Smart Draw. It's rather expensive and I haven't used it in a while but it always had good quality.
I haven't dealt with asc files but as long as it is a text based format and uses fairly standard Markdown format Pandoc will be able to process that fine.
It is very cross platform (on some systems for some outputs you will have to install extra stuff - ie Latex for PDF output on Windows).
It is command line only; full details on arguments here.
I would suggest the PHPOffice Project - specifically PHPWord. It is opensource and free. Despite the name PHPWord it supports a lot of formats - .doc, .ods, .rtf, .html and .pdf.
There are currently only 12 open bugs - and none of them are older than May (2014). It has fairly detailed documentation and is under active development.
Actually I would suggest reversing/modifying your process if possible to:
Produce the original as one of html or rst.
When you are happy with it convert it to pdf, html, any other output format with something like pandoc.
You will probably find that it is a lot faster and more reliable.
The DJView4 viewer has an option to export to PDF.
it is free and open-source
no 64 bits version (I couldn't find it)
compatible with Windows 7
unfortunately only one PDF can be converted at once
Alfresco is open source and can create previews for a lot of different file formats, including doc, docx, xls, xlsx, ppt, pptx, odt, pdf, rtf, txt and more.
So you could install Alfresco on a server and query it using an Alfresco WebScript. Alfresco previews are actually PDFs transformed to SWF, and SWF is not good for Android, so you need to catch the file ...
Not a general tool for this job, but a solution that converts Wikipedia articles to XML documents:
Go to http://en.wikipedia.org/wiki/Special:Export
Enter article name(s)
Click at "Export"
(By entering a category name into the "Add pages from category" field, you can automatically export all pages that belong to this category.)
I took a kinda-working script from here and modified it to fit your needs.
You have to install Python 2.7 for the script to run. When installing Python make sure to select Add python.exe to Path.
Anyways you save the script as [whatever name you want].py and put in the same folder as all your .eml files. Now just open the script. That's it.
It will create ...
Step 1: Convert the PDF to Image Files, many programs allow it such as Adobe Acrobat Pro:
or simply in command line with ImageMagick:
convert -density 600 foo.pdf foo-%02d.jpg
(convert is part of ImageMagick).
Step 2: Concatenate several images into a single giant image: you can use ImageMagick (open source and cross-platform) and use the command (assuming ...
Not quite perfect but I do have a pretty good option; PDFCreator - should be useable with any standard PDF opening and printing software (ie Adobe Acrobat, Foxit etc. etc.). Instructions below assume Adobe Acrobat but should be fairly portable.
lossless compression: Yes. Despite it's name PDFCreator can save as a whole ton of formats - such as PNG which is ...
In PowerPoint 2010, open the presentation that you want to export to HTML.
Press Alt+F11, this opens VB for Apps.
Press Ctrl+G, this opens the Immediate pane.
In the Immediate pane, type the following, and then press the Enter key:
ActivePresentation.SaveAs "<Drive>:\users\<username>\desktop\<filename>.htm", ppSaveAsHTML, msoFalse
You can use InftyReader:
generate LaTeX from images of math formulas (source image files must be in TIF, PNG, or GIF formats)
far from perfect in terms of accuracy, but I'm not aware of better.
It has a (free) online mode or the desktop (Windows) app for $20 (USD) - with a free trial.
I have only used the online version however it was very accurate. and now to go over your specific requirements one by one:
free of charge: Online: Yes, Desktop: No: Free Trial available - $20 for full version.
output either doc or docx: No; ...
If you have LibreOffice installed, you can call it directly with subprocess:
for filename in os.listdir(os.getcwd()):
subprocess.call(['soffice', '--headless', '--convert-to', 'docx', filename])
This will convert all the files in the current directory with names ending in .doc to .docx ...
My recommendation: Calibre
Can be automated through command line
There's this easy-to-follow guide on how to use it on How-to Geek.
Tests with Math objects
This is with a relatively easy equation as a PDF:
This is after the conversion to epub:
Not bad. As you can see, regular text is converted very nicely, and there are some ...