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

Technology

34862 readers
26 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

all 6 comments
sorted by: hot top controversial new old
[–] 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...

[–] bruhbeans@lemmy.ml 3 points 2 years ago (1 children)

I want this too. Calibre hurts my eyeballs and soul, it's so ugly and clunky.

[–] ree@lemmy.ml 4 points 2 years ago

you can convert epub to pdf with pandoc, but the other way around i'm not sûre it's possible. Pdf destroy all formating

[–] albert@lemmy.sysctl.io 3 points 2 years ago

What's wrong with Calibre? I do the same. I only use it for CLI ebook converting.

[–] holdengreen@lemmygrad.ml 1 points 2 years ago

I've struggled with this a lot.-