MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Import pdf problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg85441] Import pdf problem
  • From: Mark Fisher <particlefilter at gmail.com>
  • Date: Sun, 10 Feb 2008 05:23:28 -0500 (EST)

Hi all,

I'm importing data from pdf documents on a web site. This works well
most of the time. But for a few of the pdfs, Mathematica "barfs" and
does not return either the "Pages" or the "Plinatext". (I am only
really interest in the "Plaintext".) Instead it produces error
messages such as "Expected PDF object" and "Expected array operator
argument", etc.

Here are actual examples. First, one that works fine:

Import["http://www.cmegroup.com/daily_bulletin/Section09_Interest_\
Rate_And_Energy_Futures_2008017.pdf", "Rules"]

Next, one that does not work fine:

Import["http://www.cmegroup.com/daily_bulletin/Section09_Interest_\
Rate_And_Energy_Futures_2008016.pdf", "Rules"]

Finally, one that really bums out Mathematica (it produces a Runtime
error from Visual C++):

Import["http://www.cmegroup.com/daily_bulletin/Section09_Interest_\
Rate_And_Energy_Futures_2008022.pdf", "Rules"]

Note that Adobe has no problem opening and reading the ones that give
Mathematica problems.

Presumably, this behavior is a bug. Have others encountered such
problems with other pdf files? (FYI, I'm using version 6 for Windows.)

--Mark


  • Prev by Date: RE: Where to put ConvexHull3D.m
  • Next by Date: Re: Re: How should I start with mathematica?
  • Previous by thread: Re: Import syntax question
  • Next by thread: Re: Import pdf problem