this post was submitted on 25 Aug 2022
13 points (100.0% liked)

Technology

34448 readers
291 users here now

This is the official technology community of Lemmy.ml for all news related to creation and use of technology, and to facilitate civil, meaningful discussion around it.


Ask in DM before posting product reviews or ads. All such posts otherwise are subject to removal.


Rules:

1: All Lemmy rules apply

2: Do not post low effort posts

3: NEVER post naziped*gore stuff

4: Always post article URLs or their archived version URLs as sources, NOT screenshots. Help the blind users.

5: personal rants of Big Tech CEOs like Elon Musk are unwelcome (does not include posts about their companies affecting wide range of people)

6: no advertisement posts unless verified as legitimate and non-exploitative/non-consumerist

7: crypto related posts, unless essential, are disallowed

founded 5 years ago
MODERATORS
 

I don’t use #calibre for #ebook management or reading. The only reason I have it is for converting files from #epub to #pdf and vice versa. Does anyone know of any other tool which can do the same? Preferably commandline. #foss #linux #gnu #libre_software #free_software #reading #read

you are viewing a single comment's thread
view the rest of the comments
[–] kixik@lemmy.ml 7 points 2 years ago* (last edited 2 years ago)

Calibre has CLI as well, if the GUI is really offensive. On Artix, part of pacman -Ql calibre:

calibre /usr/bin/calibre
calibre /usr/bin/calibre-complete
calibre /usr/bin/calibre-customize
calibre /usr/bin/calibre-debug
calibre /usr/bin/calibre-parallel
calibre /usr/bin/calibre-server
calibre /usr/bin/calibre-smtp
calibre /usr/bin/calibredb
calibre /usr/bin/ebook-convert
calibre /usr/bin/ebook-device
calibre /usr/bin/ebook-edit
calibre /usr/bin/ebook-meta
calibre /usr/bin/ebook-polish
calibre /usr/bin/ebook-viewer
calibre /usr/bin/fetch-ebook-metadata
calibre /usr/bin/lrf2lrs
calibre /usr/bin/lrfviewer
calibre /usr/bin/lrs2lrf
calibre /usr/bin/markdown-calibre
calibre /usr/bin/web2disk
calibre /usr/lib/
calibre /usr/lib/calibre/
calibre /usr/lib/calibre/calibre/
...

Although ebook-convert shows on its man page as converting from one epub format to another, it can as well convert to pdf. I don't know if it's possible to convert from pdf to epub, but if the calibre GUI's does it, perhaps some of calibre's CLIs can do it as well.

Pandoc can also convert from epub to pdf, though my experience with pandoc as a very basic user is that the results, are not of the quality I'd expect, but again, that is without using special arguments, css, and stuff, perhaps advanced users can get the best out of pandoc...