I ripped a lot of xhtml files from a crappy ebook reader online, how do combine these into a pdf?

    • Cousin Mose@lemmy.hogru.ch
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      3 months ago

      In a production web app I use Gotenberg. It’s definitely overkill for the task at hand, but if you find yourself doing this often I would highly recommend it. It’s dead easy to convert HTML (and I imagine XHTML) to PDF.

    • deegeese@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 months ago

      Surely you can figure out how to use existing libraries for this task, or is there something you’re stuck on?