to dirprocess: working with pdfs                                       rev 18 oct 2018

Category: tech


.......................................................
extract pages from pdf

    $ pdftk book.pdf cat 90-99 output ch11.pdf
        works great. retains formatting and margins fine.
        $ sudo apt-get install pdftk
        https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/

    other methods:
       tried print as pdf, selecting pages - margins got
          very wide and text very small.





.......................................................
add text to pdf - works great, as of oct 2018

    (online) PDFEscape
       reviews on wikipedia are from 2008.
       website looks current.
       https://www.pdfescape.com/
       tried it 18 oct 2018
       wow. great!


    ..............................
    other options,  as of oct 2018

      Xournal
  
      Master PDF Editor
  
      PDF-XChange Editor
  
      uPdf - 
        $ sudo add-apt-repository ppa:atareao/updf
        $ sudo apt-get update
        $ sudo apt-get install -y updf
        Then fix a bug by editing 2 lines in a Python script.
           - https://askubuntu.com/questions/87419/how-can-i-add-text-and-images-for-example-a-signature-to-a-pdf
  
      (online) PDF Buddy
  
      (online) PDFZen
  
      (online) dochub - have to log in.
         18 oct 2018
         "Almost all the pdfs I've tried were however corrupted when imported."
  
      libreoffice: 
         tried it 18 oct 2018
         open in Draw, click on tools to add text, images.
         tried it - document text overflowed right margin,
           text added ok. export to pdf. opened, looked same,
           text was added, but bad formatting was saved as well.
        https://itsfoss.com/edit-pdf-files-ubuntu-linux/
        [2017]
       
  resources:
    * https://www.techwalla.com/articles/how-to-add-text-to-a-pdf-file
    * https://askubuntu.com/questions/87419/how-can-i-add-text-and-images-for-example-a-signature-to-a-pdf


_______________________________________________________
since: 18 oct 2018
-- 0 --