[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

This is off-topic? perhaps.

Run pdftotext when the --raw option. In Emacspeak (out of svn)
use command  emacspeak-wizrds-pdf-open and it will do the right
thing in terms of how pdftotext is run.

>>>>> "Kalyan" == Kalyan Mukherjea <kalyan.infinity@gmail.com> writes:
    Kalyan> Hello, I am not sure that this is the right place to
    Kalyan> ask this question since it does not really concern
    Kalyan> the way in which Emacspeak works; however I cannot
    Kalyan> imagine any person other than a blind Emacspeaker
    Kalyan> coming across thisphenomenon: it is not really a
    Kalyan> "problem".
    Kalyan> I regularly receive mathematics research preprints
    Kalyan> from correspondents usually either as pdf or the raw
    Kalyan> LaTeX file.  The latter do not pose a problem for
    Kalyan> deciphering. But I found out very quickly through the
    Kalyan> VM feature of converting pdf to text that `pdftotxg'
    Kalyan> gets foxed by mathematics and so I usually write back
    Kalyan> asking for the LaTeX file.
    Kalyan> A few days ago I received from a friend an article
    Kalyan> which he found (on perhaps) written by a great
    Kalyan> Russian mathematician. It was a pdf file but since it
    Kalyan> contained almost no formulae I enjoyed listening to
    Kalyan> the attachment being read out. But it is a long paper
    Kalyan> 38 pages!
    Kalyan> So I saved it and then did text conversion using
    Kalyan> pdftotxt. The result was curious to say the least!
    Kalyan> I opened the file mannin.txt and did C-xl
    Kalyan> (count-lines-page) and was shocked to hear 47 lines
    Kalyan> 0+47!
    Kalyan> As soon as I moved the cursor from the first line
    Kalyan> which had the title, I was stopped by a query like:
    Kalyan> Read this 367 long line Y N?
    Kalyan> Reading the paper was impossible -- trying to find a
    Kalyan> phrase using C-s is also interrupted by such queries.
    Kalyan> So I set column-fill to 70 and paragraph by paragraph
    Kalyan> did a column-fill (M-q). Now I could search out page
    Kalyan> 34 using C-s but when I did C-x w I was told
    Kalyan> something like 3000 lines but C-x l still gave
    Kalyan> something like 45 +3.
    Kalyan> Saving the file works fine in the sense that these
    Kalyan> very long lines are gone and so one can read
    Kalyan> line-by-line, find places by C-s etc.
    Kalyan> But the contradictory answers given by C-x w and C-x
    Kalyan> l still persists.
    Kalyan> Is this a Emacs (21.3) problem. It is not a "problem"
    Kalyan> for me --- just that I am going crazy trying to
    Kalyan> figure this out!
    Kalyan> Sorry for this noise.
    Kalyan> Kalyan the web
    Kalyan> -----------------------------------------------------------------------------
    Kalyan> To unsubscribe from the emacspeak list or change your
    Kalyan> address on the emacspeak list send mail to
    Kalyan> "emacspeak-request@cs.vassar.edu" with a subject of
    Kalyan> "unsubscribe" or "help"

Best Regards,

Email:  raman@users.sf.net
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: tv.raman.tv@gmail.com
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:    irc://irc.freenode.net/#emacs

To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@cs.vassar.edu" with a
subject of "unsubscribe" or "help"

If you have questions about this archive or had problems using it, please send mail to:

priestdo@cs.vassar.edu No Soliciting!

Emacspeak List Archive | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog