• 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
      1 month 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
        21 month ago

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

    • @stetech
      link
      11 month ago

      I thought pandoc didn’t support from PDF, only to?!

      • lime!
        link
        fedilink
        English
        21 month ago

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

        • @stetech
          link
          11 month ago

          Don’t worry, I didn’t know either and had to check to check too :P