Wowerenga Epub: chida chowerengera mafayilo a epub kuchokera ku terminal

werengani-epub-on-linux

Hay anthu ambiri omwe amawerenga tsiku lililonse mabuku ama digito pamakompyuta awo, pazida zawo zam'manja komanso owerenga ma ebook, mapiritsi ndi zina zotero.

M'malo osungira ovomerezeka a Linux Mapulogalamu osiyanasiyana operekedwa pakuwerenga ndikuwongolera ma ebook amapezeka.

Zina mwazotchuka kwambiri ndi Caliber, zomwe zimaloleza ngakhale kuti mabuku a digito amalumikizidwa ndi owerenga ebook.

Mabuku apakompyuta pano ambiri a iwo amagawidwa pansi pa mtundu wa EPUB kapena ePub (chidule cha mawu achingerezi kufalitsa kwa Electronic) yomwe ndi njira yotseguka yoyeserera kuti muwerenge zolemba ndi zithunzi. Kuchokera EPUB3 imaperekanso mwayi wolumikizana ndi mawu.

Mtundu wa ePub ndi owerenga ambiri amathandizira izi:

  • Chikalata choperekedwanso: konzani mawu pazenera linalake
  • Zosintha zokhazikika - Zomwe zilipo kale zitha kukhala zothandiza pamitundu ina yazinthu zopangidwa mwaluso kwambiri, monga mabuku azithunzi omwe amangolembedwera pazowonjezera zazikulu, monga mapiritsi.
  • Monga tsamba lawebusayiti la HTML, mtunduwo umathandizira zithunzi ndi ma raster okhala pakati.
  • Zolemba patsamba
  • Ndime zowunikidwa ndi zolemba.
  • Laibulale yomwe imasunga mabuku ndipo imatha kusaka.
  • Ma fonti omwe angasinthidwe, kusintha mawu ndi utoto wakumbuyo
  • Kuthandizira kagawo kakang'ono ka MathML
  • Digital Rights Management - Itha kukhala ndi Digital Rights Management (DRM) ngati chosankha

About ePub

Monga tanena kale, pali mapulogalamu ambiri omwe titha kugwiritsa ntchito powerenga mabuku athu amagetsi pazida zathu zilizonse zamagetsi.

Iliyonse ili ndi mawonekedwe ake ndi machitidwe omwe opanga amapereka Izi kwa ogwiritsa ntchito.

Ambiri mwa mapulogalamuwa amakonda kupereka zinthu zambiri, chifukwa chake sizomwe nthawi zambiri ambiri amafuna 'kuti athe kuwerenga'.

Kapenanso ku mapulogalamu awa, atha kugwiritsa ntchito terminal kuti awerenge mabuku a digito ndi pulogalamu ya ePub, chida chotseguka cholembedwa ku Python.

Kuwerenga ebook pa terminal kumatha kukhala, mwachitsanzo, kwa anthu omwe ali ndi kompyuta yokhala ndi zochepa zokha kapena ngakhale pomwe wogwiritsa ntchito sakufunanso kuyika phukusi lalikulu kuti angowerenga buku.

Kuti muchite izi, njira yabwino kwambiri ndi chida cha ePub, chomwe chimatilola kuti tiwone mosavuta ndikuwerenga mabuku molunjika pa terminal.

wowerenga epub

Momwe mungayikitsire owerenga epub pa Ubuntu ndi zotengera zake?

Kwa anthu omwe ali ndi chidwi chofuna kukhazikitsa chida ichi chomwe chidzawalole kuti athe kuwerenga epub pamalo awo, ayenera kutsatira njira izi.

Kuti mugwiritse ntchito zida za epub, muyenera kukhazikitsa pulogalamu ya python-BeautifulSoup.

Phukusili likupezeka m'magawo ambiri a Linux, chifukwa cha Ubuntu ndi zotengera zake simuyenera kukhala ndi vuto ndi kukhazikitsa kwake.

Ndikokwanira kuti mutsegule malo osungira makina anu ndi Ctrl + Alt + T ndipo muyenera kuyikapo lamulo ili:

sudo apt-get install python-beautifulsoup

Chidachi chikangotsitsidwa, tsopano tiyenera kupeza pulogalamu ya owerenga epub, chifukwa ndikwanira kuti tizitsitsa kuchokera ku github.

Mu terminal tifunika kulemba lamulo lotsatirali:

git clone https://github.com/rupa/epub.git

Timalowa foda yomwe imangotsitsidwa ndi

cd epub

Ndipo okonzeka tsopano titha kugwiritsa ntchito pulogalamuyi kuwerenga mafayilo athu a epub kuchokera ku terminal.

Kuti muwerenge e-book kuchokera ku terminal, ingogwiritsani ntchito lamulo lotsatirali, ndikuwonjezera njira ya fayilo ya epub.

python epub.py /ruta/a/tu/archivo

Momwe mungagwiritsire ntchito chida cha epub kuwerenga ma ebook pa terminal?

Kugwiritsa ntchito chida ichi ndikosavuta, muyenera kungotsegula fayilo yomwe mukufuna kuti muwerenge ndikukwanitsa kuchita zina mu terminal, mutha kugwiritsa ntchito makiyi awa:

  • Esc, q: Tulukani pa chikalatacho
  • Tab, Kumanzere, Mtsinje Wakumanja: kusinthana pakati pamawonedwe ndi machaputala
  • Pamwamba: mzere umodzi mmwamba
  • Pansi: mzere umodzi pansi
  • Tsamba Kumtunda: tsamba limodzi
  • PgDown: tsamba limodzi pansi
  • PgUp: tsamba limodzi mmwamba

Zomwe zili m'nkhaniyi zikutsatira mfundo zathu za malamulo okonzekera. Kuti mufotokoze cholakwika dinani Apa.

Khalani oyamba kuyankha

Siyani ndemanga yanu

Anu email sati lofalitsidwa. Amafuna minda amalembedwa ndi *

*

*

  1. Wotsogolera pazosankhazi: Miguel Ángel Gatón
  2. Cholinga cha deta: Control SPAM, kasamalidwe ka ndemanga.
  3. Kukhazikitsa: Kuvomereza kwanu
  4. Kulumikizana kwa zomwe zafotokozedwazo: Zomwezo siziziwululidwa kwa anthu ena kupatula pakukakamizidwa mwalamulo.
  5. Zosunga: Zosungidwa ndi Occentus Networks (EU)
  6. Ufulu: Nthawi iliyonse mutha kuchepetsa, kuchira ndikuchotsa zidziwitso zanu.