LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   edit pdf in linux (https://www.linuxquestions.org/questions/linux-software-2/edit-pdf-in-linux-462831/)

sailu_mvn 07-12-2006 06:26 AM

when i am using ps2ascii, its giving me an unrecoverable error saying it does not contain text. Actually, teh header of my pdf is an image

majalee 07-12-2006 06:30 AM

if it is ur own project and you have created the PDF file why can't you change the source itself rather than to change the PDF file.

aaditya

sailu_mvn 07-12-2006 06:32 AM

aaditya its my project report sent in pdf by my superiors. I should be able to edit it.Dont divert the topic. I want to edit a pdf and am curious to search for a solution.

majalee 07-12-2006 06:42 AM

sailaja,

if you have to edit the pdf file anyway, why don't you try verypdf editor in windows. ur aim is to edit the pdf file, do it. why should you bother whether you are doing it in linux/windows ?

aaditya

sailu_mvn 07-12-2006 06:43 AM

its not that. We have a requirement to resolve aaditya..

d1l2w3 07-12-2006 10:03 AM

kword can edit pdf's.
However, it saves the pdf as a kword document.
You may be able to move it into openoffice and save it as a pdf.

nx5000 07-12-2006 10:10 AM

pdftk
vi (with the proper plugin on the webpage of pdftk)

MoMule 07-12-2006 10:35 AM

PDF Problems
 
So you want to edit PDF's under Linux.

Well you can, and you can't...

Winehq states that in version 7.0 of Adobe Acrobat you can indeed edit pdf files. However, going into the comments section of 7.0, you get this:
---------------------------------------------------------------------------------
Description
Acrobat 7 offers very nice interface enhancements and tweaks that make it much more convenient to use than older versions (e.g. the remapped search bar and ability to dock it where you choose). It also includes editing functions that are currently not available on Linux using any of the open source applications - these include highlighting, adding notes, creating text boxes and editing text that can be vary useful particularly to researchers desiring to make notes and highlight text in studies they download on-line.

---------------------------------------------------------------------------------

...but the reviewer did not specifically state if editing of pdf files was tested.

So you can (potentially) edit .pdf files under Linux using Wine (free) and Abobe Acrobat 7.0 (non-free).

Deion "Mule" Christopher

sailu_mvn 07-12-2006 11:00 PM

i have adapted another procedure.
I opened the pdf in the gimp image editor and then edit the pdf there and save it as png. Then again open that png in openoffice draw and export the same as pdf. This way i am able to do edit on pdf. But, when more than one page is there in the pdf, the first page is displayed fine.The other pages have junk data.i dont know why.As per my thought this is due to some font problem in gimp.Hopefully yes.Do i need to install some plugins for gimp for the fonts?

pdftk did not work for me. Well, there is an edit option still it does not work with images.

Advice me with a solution.

Thanks in advance

majalee 07-12-2006 11:32 PM

dear sailaja,

good try. i tried ur suggestion and tried to modify a PDF file. I was able to load all the pages of the PDF file in GIMP. but u said that all pages other than the first page had junk data. i did not encounter that problem.

but u have to be careful when editing pdf files. first thing is the resolution. u have to choose proper resolution before editing the pdf file. bcoz if u don't, then when u take a printout of the PDF file, it will be messed up bcoz of the resolution. and sometimes if are trying to edit some text, then you might not have some fonts available in gimp and this is where the pdf file might look messy.

aaditya

note to d1l2w3 : you cannot open a pdf file in kword.

sailu_mvn 07-12-2006 11:37 PM

yes the resolution while opening a pdf should be perfect around. But when i try to open multiple pages, the gimp asks resolution only for the first page. I dont know about the other pages. Thats y am getting junk I hope. Tell me one thing.Please try to open a pdf containing table and then tell me what you get. That would be helpful aaditya.

majalee 07-13-2006 12:01 AM

sailaja,

when u open a pdf file using gimp, you will get a pop-up window with the title 'load postscript' in which u can set the following things :
1. resolution, 2.height, 3.width, 4.pages : etc... by default, the resolution is 100 and height and width are A4 and pages:1-99. i was able to open pdf files with a resolution of 300. but when i tried 600, gimp had a problem of cache. it said it did not have enough room for a tile.

i tried opening a pdf file (im gimp) having a table, i did not encounter any problem. i also opened a 5 page technical document containing text, graphs, images and tables. it opened all the pages without any problem. i am using gimp version 1.2.3

aaditya

sailu_mvn 07-13-2006 12:08 AM

am using gimp 2.0.
Its getting problem when it has tables.
I dont know why....

majalee 07-13-2006 01:11 AM

had no problem even with gimp 2.0.1

aaditya

sailu_mvn 07-13-2006 01:23 AM

i have opened another pdf i dont see any trouble. The problem is when i try to open our technical document, I am getting this problem.


All times are GMT -5. The time now is 12:00 AM.