• lime!
    link
    fedilink
    English
    14
    edit-2
    1 month ago

    $ pandoc doc.pdf -o doc.txt

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

    • @[email protected]
      link
      fedilink
      English
      2
      edit-2
      2 months 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!
        link
        fedilink
        English
        22 months ago

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

      • lime!
        link
        fedilink
        English
        22 months ago

        damn it, you’re right. should probably have checked that…