• lime!@feddit.nu
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    1
    ·
    edit-2
    60 minutes ago

    $ pandoc doc.pdf -o doc.txt

    Edit: welp, pandoc can’t do that. pdftotext it is.

    • mexicancartel@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      5 hours ago
      magick file.jpg file.html
      

      Imagemagick be converting anything into anything (Actually in this case, it make an html file and a png file which is referenced in html file and html page displays it)

      • lime!@feddit.nu
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 hours ago

        not really a good way to get the text out of a pdf though. then again, turns out neither is pandoc.