(→‎Images: more poitns)
(→‎Images: rearrange)
Line 40: Line 40:


==Images==
==Images==
Images must be saved and uploaded. How is this usually done?
Images must be saved and uploaded.  
* This has been done as described at [[Help:Porting PDF files to MediaWiki (old method, manual formatting) #Transfer the images]] - however, there may be easier ways.
* 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-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.  
* In PDF-to-Word conversion the images will be integrated in the document.  
*Are images saved automatically during file export? It appears so for [http://help.adobe.com/en_US/Acrobat/8.0/Standard/help.html?content=WS58a04a822e3e50102bd615109794195ff-7ef2.html exporting to HTML/XML with Acrobat], at least. Do any of the formats include tags to indicate image location?
* Acrobat: Images are apparently saved automatically during file export:
*[http://help.adobe.com/en_US/Acrobat/8.0/Professional/help.html?content=WS58a04a822e3e50102bd615109794195ff-7eeb.html Export PDFs as (formated) text with Acrobat] - help.adobe.com. Note: "Images in the PDF are saved by default in JPEG format." Is their location saved? Is there a way of smoothing the process of putting the image in right place in the wiki page?
**  [http://help.adobe.com/en_US/Acrobat/8.0/Standard/help.html?content=WS58a04a822e3e50102bd615109794195ff-7ef2.html Exporting to HTML/XML with Acrobat], at least.  
** [http://help.adobe.com/en_US/Acrobat/8.0/Professional/help.html?content=WS58a04a822e3e50102bd615109794195ff-7eeb.html Exporting PDFs as (formated) text with Acrobat] - help.adobe.com. Note: "Images in the PDF are saved by default in JPEG format." Is their location saved? Is there a way of smoothing the process of putting the image in right place in the wiki page?
 
'''Question''': Which of the formats include tags to indicate image location?


[[Category:Porting]]
[[Category:Porting]]

Revision as of 12:55, 29 January 2008

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

  • 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...)
  • In the non-free Adobe Acrobat there is an option to save to Word format[1] - but apparently not in the free Adobe Reader. (If you have access to the larger non-free program Adobe Acrobat - v 5.0 or higher should work[2] - please try this and let us know here if it works. Your workplace, university or school may be able to give you access to it. In the free program, (in Linux and Windows version) it seems to only offer plain text.
  • Use wikEd - this doesn't work yet, as the formatting is not saved when pasting into the edit box. Are there PDF readers or editors (or any other program which can open these files) which allow the formatting to be copied and pasted?

Freeware & free online services

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

  • Zamzar - 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 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 - tends to be slow - if it works at all.
  • Free PDF to Word Doc Converter - reviews and comments[3] suggest that this is "nagware" (i.e. freeware hassles you, adds extra steps) and that Zamzar (above) gives better results.

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]

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.

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.