Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I need a simple html editor to edit .htlm files converted from .pdf files. Because some icons are converted to strange codes. I don't expect running EMCS to do this simple job. Please advise.
Can I run Text Editor to do the job? If YES, then how?
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
If you are overwhelmed with Quanta, try Kate. Kate is basically the editor window of Quanta. Quanta offers more features like project management and upload management.
I have bluefish and kompozer running here. Actually what I need is to convert .pdf files (e-document) to .html files for easy reading. So I can read forward and backward with a few clicks. That is my purpose, nothing else.
The aforementioned software can convert .pdf to .html. But the icons, such as bullet, arrow, etc., are converted to codes. I need changing the codes back to icons which I can but have to do it manually, one by one.
"Find & Replace" can't work. Because I can't insert their icons on the "Find & Replace" window. Therefore it will take me lengthy time completing the correction. Furthermore I have more than 10 .pdf files to be converted to .html files. Each document has more than 30 pages. That is my background story.
Bluefish, anjuta, and many others if you need a gui. I generally use nano on the cli.
It should be scriptable.
$ egrep -r -i "stuff" ./*.html
to find what has "stuff".
$ cat file.html | sed 's/stuff/newstuff/' | tee newfile.html
Always best to keep the original UNTIL you're sure that it did what you "expected" it to do. Although you could just use | more instead of tee. Although a file lets you use an editor with easy / fast scrolling and/or a better font. Is that an O or an 0? An I, l, |, 1 or just my cursor? U or V or W or ||? Bear in mind regular expression aka regex. So any non-alpha's and non-numerics probably need an escape \. But the syntax is 's/old/new/' to swap something for another thing with sed.
Bluefish, anjuta, and many others if you need a gui. I generally use nano on the cli.
It should be scriptable.
$ egrep -r -i "stuff" ./*.html
to find what has "stuff".
$ cat file.html | sed 's/stuff/newstuff/' | tee newfile.html
Always best to keep the original UNTIL you're sure that it did what you "expected" it to do. Although you could just use | more instead of tee. Although a file lets you use an editor with easy / fast scrolling and/or a better font. Is that an O or an 0? An I, l, |, 1 or just my cursor? U or V or W or ||? Bear in mind regular expression aka regex. So any non-alpha's and non-numerics probably need an escape \. But the syntax is 's/old/new/' to swap something for another thing with sed.
Hi Shadow_7,
Thanks for your advice.
Before proceeding further I expect to clarify follows first;
I ran
$ pdftohtml spss.pdf
It generates 3 files;
Code:
spss.html
spss_ind.html
spsss.html
Reading spsss.html with text editor it display;
Code:
....
...
• You need to use options or procedures that are not available using interactive mode. <br>
....
...
Browsing spsss.html it displays;
Code:
....
...
• You need to use options or procedures that are not available using interactive mode.
....
...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.