This is still a work in process - you can help by trying these methods and adding any information about what works. Contact Chriswaterguy or Curt if you have questions.


Methods

1. Save as formatted text

Convert to as a Word, RTF or HTML file:

  • In the non-free Adobe Acrobat there is an option to save to rich text formats - see Save a PDF file as a Word document, HTML file, or image. Fatima has used this and found it helpful. We should experiment and find the best path - saving to which format, and then using which method to translate to wiki markup.[expansion needed]
  • The free program Acrobat Reader has an "export as text" function, but only plain text. Copying and pasting also only gives plain text.
    • Test other readers to see if any do formatting. The following only do plain text: Evince Document Viewer 2.00 for Linux...)

Freeware & free online services

Check these (and do a search to make sure you've got the latest version):

  • Zamzar (review) - upload the file and receive an email with a link to the output file. Works well, some hassle and hiccups. Formatting may need extra work, e.g. double line-breaks need replacing with single line-breaks for best results. This is the only free solution known to work so far.
  • Sorax PDF SDK DLL Edition 1.1 - "export PDF files to... XML." (image or text?)
  • Adobe's online conversion service - appears broken. After a long period (e.g. 75 min) it still displays "In progress".
  • Free PDF to Word Doc Converter - reviews and comments[1][2] suggest that this is "nagware" (i.e. freeware hassles you, adds extra steps) and that Zamzar (above) gives better results.

Note that searching for word combinations like PDF export gets a lot of false hits - mainly exporting to PDF. Also very many commercial programs. So try this search:

export OR convert pdf-to freeware -demo -free-trial images formatted OR layout

Commercial programs (apart from Adobe Acrobat)

Question: are there free trial versions that do what we need? Help by trying them out. (These programs are not guaranteed - do some Googling to make sure they're safe, and/or make sure you've got good anti-spyware and anti-virus.)

These are not ideal, as 1. we can't invite everybody to help out without paying lots of money or stretching/breaking the licensing agreements, 2. they usually take an extra step, via Word, and 3. They're only for Windows.

But for reference (in case of desperation):

OCR

When a PDF file (or other format) is image based rather than text-based, this may be helpful. See User talk:LeissKG for a discussion of this technique.

If the other techniques above are successful, then OCR should probably not be used, as it will inevitably introduce some errors. It seems likely to be more difficult as well.[verification needed]

2. Convert from formatted text to MediaWiki

  • Use wikEd, or
  • Open the Word or RTF document in OpenOffice (version 2.3 or higher), then under the File menu[verification needed] choose Export, then choose MediaWiki format.

It may be that wikEd is better for HTML files and OpenOffice is better for Word/rtf files (and Word/rtf files converted from PDF).[verification needed]

Manual formatting - old method

This is not recommended, but if you have problems with the other methods and need to try it, see Help:Porting PDF files to MediaWiki (old method, manual formatting).

Images

Images must be saved and uploaded.

  • Until now, this has been done as described at Help:Porting PDF files to MediaWiki (old method, manual formatting) #Transfer the images. There may be easier ways now, but there are still useful info and tips there, e.g. don't try too hard to match the layout of the original... PDF's are fixed size, while the layout of the wiki article will flex based on several variables. So invest some energy in layout, but don't overdo it.
  • In PDF-to-HTML conversion the images will be output in the same folder. (However, with Zamzar, each page's images are turned into a single image taking up the whole page - the text fits around it.)
  • In PDF-to-Word conversion the images will be integrated in the document.
  • Acrobat: Images are apparently saved automatically during file export:

Question: Which of the formats include tags to indicate image location?

Cookies help us deliver our services. By using our services, you agree to our use of cookies.