WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Ways to edit pdf  (Read 8403 times)

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Ways to edit pdf
« on: February 12, 2012, 10:28:30 PM »
these are the methods that I know:
-libreoffice, work but  not with good style
-pdfedit no longer updated, but I can not even compile
-scribus has anyone tried? the source is a bit big and I'm afraid of not being able to compile
-kwrite (do not believe it until I see it, and I do not see it ever since I haven't kde)
-flpseed kwrite (do not believe it until I see it, and I do not see him ever since I have kde)

Who can help me? I've never succeeded in my entire career as linux user

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: Ways to edit pdf
« Reply #1 on: February 13, 2012, 04:05:32 AM »
there are two ways:
with some tools you can edit the inner structure of the pdf... f.e. you can change the plain text.
you could edit, retrieve or transform pdf with the help of pdftk (it's in the repository).
other tools help you to change a pdf like a grafic file... f.e. you can open single pages of a pdf file in gimp, change the grafic content, also text in a grafic manner and later you save it as a grafic-file or you export it again in a new pdf.
and there is pdfedit:
https://en.wikipedia.org/wiki/PDFedit

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: Ways to edit pdf
« Reply #2 on: February 13, 2012, 06:06:04 AM »
Abiword too, but all the text editors are lossy with opening a pdf. It's just not an editable format, sadly.
The only barriers that can stop you are the ones you create yourself.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Ways to edit pdf
« Reply #3 on: February 13, 2012, 06:26:40 AM »
Abiword too, but all the text editors are lossy with opening a pdf. It's just not an editable format, sadly.

If it is not an embedded image but an ordinary pdf file, it is let's say a program written in text format describing presentation of document. It is editable for example on Windows. This just a pity that no usable LINUX tool. But it is not the problem of format.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: Ways to edit pdf
« Reply #4 on: February 13, 2012, 09:10:41 AM »
I didn't know that, which program lets you do that on Windows?
The only barriers that can stop you are the ones you create yourself.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Ways to edit pdf
« Reply #5 on: February 13, 2012, 09:25:22 AM »
I didn't know that, which program lets you do that on Windows?

Acrobat :)
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: Ways to edit pdf
« Reply #6 on: February 13, 2012, 09:35:49 AM »
Heh, I thought there was an actual free app ;)
The only barriers that can stop you are the ones you create yourself.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Ways to edit pdf
« Reply #7 on: February 13, 2012, 09:51:09 AM »
PDFill
Infix PDF Editor
PDF24

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Ways to edit pdf
« Reply #8 on: February 14, 2012, 12:55:02 AM »
@netnomad: I'm downloading pdftk although I do not think will work for me.
As I said before, I can not compile PDFedit.
for the rest I would not be forced to rewrite the pdf from 0 :)

@curaga, i install abiword and the plugin but if I open the pdf shows nothing more than a series of blank pages with some nonsense-characters

@for the rest, I would try to remain independent and free to use libre tool, maybe it's a utopia, but I hope to do that :P

doing research I found this: http://live.gnome.org/OCRFeeder
Is in python, there are many dependencies and then I have to use tesseract (which is in the repositories).

I have not much time and I do not know if I'll make it, but as soon as I can do some testing.

in the meantime are still welcome tips.



Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Ways to edit pdf
« Reply #9 on: February 14, 2012, 02:31:28 AM »
I was looking for the missing libraries ocrfeeder:
pyenchant http://packages.python.org/pyenchant/
unpaper http://unpaper.berlios.de/
Python Imaging Sane ?!?!!? I find nothing over packets of other distros but no site to download!
almost certainly the barier is my poor English, you could help me find the archive?

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Ways to edit pdf
« Reply #10 on: February 14, 2012, 06:57:07 AM »
Code: [Select]
tc@box:~/ocrfeeder-0.7.7$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to disable maintainer-specific portions of Makefiles... yes
checking for a Python interpreter with version >= 2.5... python
checking for python... /usr/local/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages
checking python module: gtk... yes
checking python module: pygtk... yes
checking python module: gtkspell... yes
checking python module: goocanvas... yes
checking python module: enchant... yes
checking python module: sane... no
configure: error: failed to find required module sane
tc@box:~/ocrfeeder-0.7.7$

please help me!  :P (I was hoping it was enough just pil or hplip, but nothing)

Offline beerstein

  • Hero Member
  • *****
  • Posts: 530
Re: Ways to edit pdf
« Reply #11 on: February 15, 2012, 02:56:44 AM »
Hi: I found a shareware PDF editor in german, but the thing is pretty self explaining.

here is the URL:
http://www.chip.de/downloads/PDF-Editor_30688199.html
t(w)o be(ers) or not t(w)o be(ers) that is the question

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Ways to edit pdf
« Reply #12 on: February 15, 2012, 04:29:10 AM »
Thank you beerstein, but I'd be able to make this ocrfeeder, is uncomfortable for me having to change the system, and besides if I could get it to work there would be benefits you can imagine.
I'm asking anyone for that dependency, it is possible that it does not exist?

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Ways to edit pdf
« Reply #13 on: February 15, 2012, 07:06:38 AM »
maybe this is the library : http://pypi.python.org/pypi/pysane/2.0.1
but:
Code: [Select]
tc@box:~/pysane-2.0.1$ python ./setup.py install
running install
running build
running build_py
running build_ext
building '_sane' extension
gcc -pthread -fno-strict-aliasing -march=i486 -mtune=i686 -O3 -pipe -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I../libImaging -I/usr/local/include/python2.7 -c _sane.c -o build/temp.linux-i686-2.7/_sane.o
_sane.c:26:21: fatal error: Imaging.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
tc@box:~/pysane-2.0.1$

actually I do not find imaging.h library in the system, only source of PIL, I have ask to juanito.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Ways to edit pdf
« Reply #14 on: February 15, 2012, 11:43:50 PM »
Hi vinnie
That does not contain the required header file. This might be what you are looking for:
http://www.archlinux.org/packages/extra/i686/python-imaging/files/
Click on the  Back to Package  link.

    [EDIT]: Changed  "does"  to  "does not"
« Last Edit: February 16, 2012, 08:27:00 AM by Rich »