LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-11-2008, 07:29 PM   #1
?xunil
LQ Newbie
 
Registered: Mar 2008
Posts: 24

Rep: Reputation: 15
Question elinks and pdfs


i would like to open pdf files with elinks, but i am not sure...

1. what syntax i should use when prompted by elinks?
2. what is a good (light) utility to use?

i have tried pdftohtml, pdftotext, and fbgs but have not been successful in opening a document. i have been using the demo document at... pdftohtml.sourceforge.net ...for my testing. the syntax i have been using is something like this...

xterm -e pdftotext %

or

xterm -e fbgs %

any thoughts?

thanks,
j
 
Old 03-12-2008, 01:05 PM   #2
ararus
Member
 
Registered: Mar 2008
Location: UK
Distribution: Slackware
Posts: 56

Rep: Reputation: 15
Personally, I tend to download pdf files (with wget) and view them locally rather than opening them directly. Once you've downloaded it, it's obviously much quicker to open it locally rather than re-downloading it every time you need to refer back to it (well, I suppose it doesn't matter if you never read it again). I also use pdftotext to convert to text for easy grepping (btw, the -layout option will preserve the layout of the text as much as possible, much better than the default output).

As for viewing (in a GUI), xpdf is light and pretty good. The download page has both source and binary packages. Check your distro packages before you download it though, you may have it already.

Last edited by ararus; 03-12-2008 at 01:09 PM.
 
Old 03-12-2008, 07:41 PM   #3
?xunil
LQ Newbie
 
Registered: Mar 2008
Posts: 24

Original Poster
Rep: Reputation: 15
ok i think i have solved most of it, i used...

pdftohtml % %.html && elinks -remote "openURL(%.html, new-tab)"

...only problem is it does not open in a new tab, and sometimes does not work.

any thoughts?

j
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Use Keyboard for Typing Charachters in Elinks? Blyiss Linux - Software 2 02-25-2007 12:01 AM
Slackware 10.2 installing ELINKS bobby_hawk Slackware 6 08-05-2006 06:24 PM
Using JavaScript in Elinks corbis_demon Linux - Software 0 03-21-2006 07:48 AM
Elinks: zgv and other MIME handlers crackpipe Linux - Software 0 03-18-2006 12:12 PM
Elinks: javascript problem ashesh Linux - General 1 07-21-2003 02:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration