Home > brede > brede_str_pdf2txt.m

brede_str_pdf2txt

PURPOSE ^

brede_str_pdf2txt - Convert PDF file to text

SYNOPSIS ^

function O = brede_str_pdf2txt(filename, varargin)

DESCRIPTION ^

 brede_str_pdf2txt    - Convert PDF file to text

       function O = brede_str_pdf2txt(filename, varargin)

       Input:    filename   PDF filename

       Property: Output     [ string ] 

       Output:   O          String with PDF as text

       This function uses the pdftotext program from the Unix command
       line to convert a PDF file to a text. This program will only
       work on UNIX/Linux. 

       The pdftotext is invoked as:

            pdftotext -raw HugdahlK2000Effects.pdf

       This might not always work correctly. An other approach is to
       use Acroread: 

            acroread -toPostScript HugdahlK2000Effects.pdf

       and then ps2ascii or pstotext. See also BREDE_STR_PS2TXT.

       Example:
         s = brede_str_pdf2txt('HugdahlK2000Effects.pdf')

       See also BREDE, BREDE_STR, BREDE_STR_PS2TXT.

 $Id: brede_str_pdf2txt.m,v 1.2 2003/07/08 15:31:39 fnielsen Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 27-Nov-2009 18:11:22 by m2html © 2005