Home

formátu PDF - calibre User Manual

image

Contents

1. T T n ERIALIZABLE FIELDS SOCIAL METADATA FIELDS union USER METADATA FIELDS union PUBLICATION METADATA FIELDS union CALIBRE METADATA FIELDS union DEVICE METADATA FIELDS frozenset device collections formats cover data these are rebuilt when needed Using general program mode For more complicated template programs it is sometimes easier to avoid template syntax all the and characters instead writing a more classical looking program You can do this in calibre by beginning the template with program In this case no template processing is done The special variable is not set It is up to your program to produce the correct results One advantage of program mode is that the brackets are no longer special For example it is not necessary to use f and when using the template function Another advantage is that program mode templates are compiled to Python and can run much faster than templates in the other two modes Speed improvement depends on the complexity of the templates the more complicated the template the more the improvement Compilation is turned off or on using the tweak compile gpm templates Compile General Program Mode templates to Python The main reason to turn off compilation is if a compiled
2. CALIBRE IGNORE SYSTEM THEME Zp sob Ze Calibre bude ignorovat v echny syst mov moduly stylu Ot a nam sto toho pou ije sv j vestav n modul stylu U ite n pro vy e en p d zp soben ch syst mov m modulem Qt kter je nekompatibiln s verz Ot dodanou s Calibre CALIBRE SHOW DEPRECATION WARNINGS Zp sob e Calibre vytiskne varov n o neschv len do stdout U ite n pro v voj e Calibre SYSFS PATH Pou ijte pokud je sysfs p ipojeno n kde jinde ne sys http proxy Pou ito v Linuxu pro zad n proxy HTTP 91 http www computerhope com issues ch000549 htm A http www dowdandassociates com blog content howto set an environment variable in mac 0s x launchd plist 1 10 P izp soben Calibre 217 U ivatelsk p ru ka Calibre Vyd n 2 46 0 1 10 3 Vylep en Vylep en jsou mal zm ny kter m ete zadat pro ur en r zn ch aspekt chov n Calibre M ete je zm nit v P edvolby gt Roz en gt Vylep en V choz hodnoty pro vylep en jsou zopakov ny n e usr bin env python2 vim fileencoding UTF 8 ts 4 sw 4 sta et sts 4 ai license GPL v3 copyright 2010 Kovid Goyal lt kovid kovidgoyal net gt __docformat__ restructuredtext en pog Contains various tweaks that affect calibre behavior Only edit this file if you know what you are doing If you delete this
3. book convert demo zip epub vv authors Kovid Goyal language en levell toc X4 G8class tit Note that because this file explores the potential of EPUB most of the advanced formatting is not going to work on readers less capable than calibre s built in EPUB viewer Convert ODT documents calibre can directly convert ODT OpenDocument Text files You should use styles to format your document and minimize the use of direct formatting When inserting images into your document you need to anchor them to the paragraph images anchored to a page will all end up in the front of the conversion To enable automatic detection of chapters you need to mark them with the build in styles called Heading 1 Heading 2 Heading 6 Heading 1 equates to the HTML tag lt h1 gt Heading 2 to lt h2 gt etc When you convert in calibre you can enter which style you used into the Detect chapters at box Example If you mark Chapters with style Heading 2 you have to set the Detect chapters at box to h h2 e Fora nested TOC with Sections marked with Heading 2 and the Chapters marked with Heading 3 you need to enter h h2 h h3 On the Convert TOC page set the Level 1 TOC box to h h2 and the Level 2 TOC box to h h3 Well known document properties Title Keywords Description Creator are recognized and calibre will use the first image not to small and
4. Vrac et zec vytvo en spojen m parametr Vr cen hodnota je spu t na na fet zecl P ry p edpona et zec jsou p id v ny na konec hodnoty dokud je v sledn et zec krat ne max et zecl je vr cen dokonce i kdy je et zecl del ne max M ete p edat tolik p r p edpona et zec kolik si p ejete strlen a class calibre utils formatter functions BuiltinStrlen strlen a vrac d lku et zce p edanou jako parametr substr et zec po tek konec class calibre utils formatter functions BuiltinSubstr substr et zec po tek konec vrac po te n a koncov znaky et zce Prvn znak v et zci je nult znak Pokud je konec z porn pak ozna uje kolik znak po tat zprava Pokud je konec nula pak ozna uje posledn znak Nap klad substr 12345 1 0 vrac 2345 a substr 12345 1 1 vrac 234 swap around comma hodnota class calibre utils formatter functions BuiltinSwapAroundComma swap around comma hodnota zad v se hodnota v podob B A vrac A B Toto je neju ite n j pro p evod jmen z form tu p jmen jm no na jm no p jmen Pokud zde nen rka funkce vrac hodnotu nezm n nou transliterate a class calibre utils formatter functions BuiltinTransliterate transliterate a Vrac et zec v latince vytvo en p ibli n m odhadem zvuku slov ve zdrojov m e
5. title The hyphens will be included only if the book has a series index which it will have only if it has a series Notes you must include the character if you want to use a prefix or a suffix You must either use no characters or both of them using one as in ield is not allowed It is OK not to provide any text for one side or the other such as in series Using title is the same as using title Second formatting Suppose you wanted to ensure that the series_index is always formatted as three digits with leading zeros This would do the trick series index 0 gt 3s Three digits with leading zeros If instead of leading zeros you want leading spaces use series index gt 3s Three digits with leading spaces For trailing zeros use series index 0 lt 3s Three digits with trailing zeros If you use series indices with sub values e g 1 1 you might want to ensure that the decimal points line up For example you might want the indices 1 and 2 5 to appear as 01 00 and 02 50 so that they will sort correctly To do this use series index 0 gt 5 2f Five characters consisting of two digits with leading zeros a decimal point If you want only the first two letters of the data use author sort 2 Only the first two letter of the author sort name The calibre template language comes from python and for more details o
6. Regular expression to remove quote and multi variant tags Eg quote endquote quote credit quote credit title etc These are usually removed by story feature removal as they are usually within them but not always The quotation removed is always AFAICT in the article text as well but a 2nd copy is placed in a quote tag to draw attention to it The quote class tags may or may not appear in div s quote reg exp xquote x Regular expression to remove hidden and variant tags Eg hidden The purpose of these is unclear they seem to be an internal link to a section within the article but the text of the link Eg Continue reading the main story never seems to be displayed anyway Removed to avoid clutter The hidden class tags may or may not appear in div s hidden reg exp xhidden x Regular expression to remove comment and variant tags Eg comment introduction Used on the site to display text about registered users entering comments comment reg exp comment Regular expression to remove form and variant tags Eg comment form Used on the site to allow registered BBC users to fill in forms typically for entering comments about an article form reg exp xform x Extra things to remove due to the addition of blq content in keep only tags f lt div class story actions gt Used on sports pages for email and print story actions r
7. from calibre plugins some name some module import some object P edpona calibre plugins mus b t v dy p tomn some name poch z z n zvu pr zdn ho textov ho souboru some module odkazuje na soubor some module py uvnit souboru zip Pamatujte e toto importov n je pr v tak v konn jako oby ejn importy Pythonu Uvnit souboru zip m ete vytv et bal ky a podbal ky modul py jako byste to d lali norm ln definov n m init py v ka d m podadres i a v echno by m lo prost fungovat N zev kter pou ijete pro some name zad glob ln obor n zv sd len v emi moduly tak e by m l b t co nejjedine n j Ale nezapome te e to mus b t platn identifik tor Pythonu pouze abecedn znaky slice a podtr tko init py Jako p edt m soubor kter definuje t du modulu main py Tento soubor obsahuje skute n k d kter d l n co u ite n ho ui py Tento soubor definuje sou st rozhran modulu images icon png Ikona pro tento modul about txt Textov soubor s informacemi o modulu translations Slo ka obsahuj c soubory mo s p eklady u ivatelsk ho rozhran va eho modulu do r zn ch jazyk Pod vejte se n e na podrobnosti Nyn se pod vejme na k d http calibre ebook com downloads helloworld plugin zip 80http calibre ebook com downloads interface demo plugin zip 172 Kapitola 1 Odd ly U ivatelsk p ru ka
8. Also in the News http feeds bbci co uk news also in the news rss xml Newsbeat T UOLTok ThE http www bbc co uk newsbeat rss xml tp newsrss bbc co uk rss newsonline uk edition programmes click online Blog Nick Robinson Political Editor http feeds bbci co uk news orrespondent Blog Mark D Arcy Parliamentary Correspondent http feeds bbci ch uk news cor Blog Robert Peston Business Editor http feeds bbci co uk news orrespondent Blog Steph Blog Rory C anie Flanders Economics Editor http feeds bbci co uk fnews correspi llan Jones Technology correspondent http feeds bbci co uk news c Sport Front Page http newsrss bbc co uk rss sportonline uk edition front page r Football http newsrss bbc co uk rss sportonline_uk_edition football rss xml Cricket http newsrss bbc co uk rss sportonline uk edition cricket rss xml Rugby Union Rugby Leagu Tennis h http newsrss bbc co uk rss sportonline_uk_edition rugby_union rss e http newsrss bbc co uk rss sportonline_uk_edition rugby_league rs ttp newsrss bbc co uk rss sportonline uk edition tennis r s xml Golf http newsrss bbc co uk rss sportonline uk edition golf rss xml Motorsport Boxing h Athletics http newsrss bbc co uk rss sportonline uk edition motorsport rss xm ttp newsrss bbc co uk rss sportonline u
9. bles ftit U ivatelsk p ru ka Calibre Vyd n 2 46 0 Now concatenate all the bits together The switch picks between initials and shortened depending on whether there is a space in stripped We then add the brackets around s index if it is not empty Finally add the title As this is the last function in the program its value will be returned strcat switch stripped tyst initials shortened field series test s index strcat s index field title Se SE SE OSH dk Plugboard expression Template special_title Destination field title It would be possible to do the above with no custom columns by putting the program into the template box of the plugboard However to do so all comments must be removed because the plugboard text box does not support multi line editing It is debatable whether the gain of not having the custom column is worth the vast increase in difficulty caused by the program being one giant line User defined Template Functions You can add your own functions to the template processor Such functions are written in python and can be used in any of the three template programming modes The functions are added by going to Preferences gt Advanced gt Template Functions Instructions are shown in that dialog Special notes for save send templates Special processing is applied when a template is used in a save to disk or send to devic
10. IGNORECASE dict dict ok oce ok eoe AAA AAA AAA AAA KKK KKK AAA KKK RB BG B BG x amp xt AR x Regular expressions for remove tags koe eoe AK KKK KKK e e e KKK KK KK x x x KK x AG x Bn B BG R KK Regular expression to remove share help and variant tags The share help class is used by the site for a variety of sharing type links Eg Facebook deliciou twitter email Removed to avoid page clutter share help reg exp xshare xhelp x Regular expression to remov mbedded hyper and variant tags This class is used 1 display links to other BBC News articles on the same similar subject mbedded hyper reg exp xembedxed hyper Regular expression to remove hypertabs and variant tags This class is used to display a tab bar at the top of an article which allows the user to switch to an article viewed on the same page providing further info in depth analysis an editorial a correspondant s blog entry and such like The ability to handle a tab bar of this nature is currently beyond the scope of this recipe and possibly of Calibre itself not sure about that TO DO check hypertabs reg exp hyper tabs Regular expression to remove story feature and variant tags Eg story feature story feature related narrow story feature wide story feature narrow f This class is used to add additional info boxes or small lists ou
11. key string capwords feed title div articles key ans append key elif div class in story story headline a div find a href True if not a continue url re sub r a href nex 40 Kapitola 1 Oddily ArticleLink c side sea U ivatelsk p ru ka Calibre Vyd n 2 46 0 url pagewanted all title self tag to string a use alt True strip description pubdate strftime a td b summary div find True attrs class summary if summary description self tag_to_string summary use_alt False feed key if key is not None else Uncategorized if not articles has_key feed articles feed if not podcasts in url articles feed append dict title title url url date pubdate description description content ans self sort_index_by ans The Front Page 1 Dining In Dining Out 1 ans key articles key for key in ans if articles has_key key return ans def preprocess_html self soup refresh soup find meta http equiv refresh if refresh is None return soup content refresh get content partition 2 raw self browser open http www nytimes com content read return BeautifulSoup raw decode cp1252 replace V tomto p edpisu vid me n kolik nov ch funkc Nejd ve m me timefmt a d b SY To nastav zobrazen as na
12. 1 2 P id v n obl ben ch webov ch str nek se zpr vami 27 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Recipe source code python class AdvancedUserRecipe1206419520 BasicNewsRecipe title u The BBC oldest article 7 max articles per feed 100 no stylesheets True feeds u News Front Page u http newsrss bbc co uk rss newsonli def print version self url return url replace http http newsvote bbc co uk mpapps pagetools Nov verze vypad docela dob e Pokud jste perfekcionista budete si cht t p e st dal odd l kter se zab v skute nou pravou sta en ho obsahu Kr jen a sek n Calibre obsahuje velice v konn a pru n mo nosti pokud jde o zach zen se sta en m obsahem Abychom v m p r z nich uk zali poj me se znovu pod vat na na eho star ho p tele na p edpis BBC str nka 27 P i pohledu na zdrojov k d HTML p r l nk tiskov verze vid me e maj pati ku kter neobsahuje dn u ite n informace obsa en v div class footer div Toto m e b t odebr no p id n m remove tags dict name div attrs class footer k p edpisu A nakonec nahrad me n kter z CSS kter jsme d ve zak zali na m vlastn m CSS kter je vhodn pro p evod na e knihu extra css headline font size x large Mn fact padding top 10pt Pomoc t c
13. caption display block font size 80 font style italic FIN cap caption caption img caption span display block text align byl byd byline img byline name byline title author name author positioli correspondent portrait img byline lead in name bbc role di play block text align center font size 80 font style italic margin lpx auto Story date published font size 80 table width 1002 td img display block margin 5px auto ul padding top 10px ol padding top 10px li padding top 5px padding bottom 5px hl text align center font size 175 font weight bold h2 text align center font size 150 font weight bold h3 text align center font size 125 font weight bold h4 h5 h6 text align center font size 100 font weight bold Remove various tag attributes to improve the look of the ebook pages remove attributes border cellspacing align cellpadding colspan valign vspace hspace alt width height Remove the admittedly rarely used line breaks br which sometimes cause a section of the ebook to start in an unsightly fashion or more frequently a br will muck up the formatting of a correspondant s byline lt br gt and lt br clear gt are far more frequently used on the table formatted style of pages and really spoil the look of the eboo
14. d u ivatelsk rozhran editoru M mnoho u ite n ch metod kter jsou pops ny ve t d calibre gui2 tweak book boss Boss str nka 281 Nakonec je zde self current container coz je odkaz na knihu upravovanou jako objekt calibre ebooks oeb polish container Container str nka 273 Zn zor uje knihu jako ko lekci jej ch z kladn ch soubor HTML CSS nebo obr zk a m pohodln metody pro prov d n mnoha u ite n ch v c Objekt kontejneru a r zn u ite n funkce n stroj kter mohou b t znovu pou ity v k du va eho modulu jsou 182 Kapitola 1 Odd ly the stylesh U ivatelsk p ru ka Calibre Vyd n 2 46 0 pops ny v API Documentation for the ebook editing tools str nka 273 P id v n p eklad do va eho modulu V echny et zce u ivatelsk ho rozhran ve sv m modulu m ete m t p elo eny a zobrazeny v jak mkoliv jazyce kter je nastaven pro hlavn u ivatelsk rozhran Calibre Prvn m krokem je proj t zdrojov k d sv ho modulu a ozna it v echny et zce viditeln u ivatelem jako p elo iteln jejich obklopen m Nap klad action spec My plugin None My plugin is cool None Pak pou ijte n jak program pro vygenerov n soubor po ze zdrojov ho k du va eho dopl ku M l by b t jeden soubor po pro ka d jazyk do kter ho chcete p ekl dat Nap klad cs po pro e tinu de po pro n m inu fr po pro
15. db object self db set marked ids matched ids Tell the GUI to search for all marked records self gui search setEditText marked true self gui search do_search 176 Kapitola 1 Oddily U ivatelsk p ru ka Calibre Vyd n 2 46 0 def view self View the most recently added book most recent most recent id Non db self db new api for book id timestamp in db all field for timestamp db all book ids iteritems if most recent is None or timestamp most recent most recent timestamp most recent id book id if most recent id is not None Get a reference to the View plugin view plugin self gui iactions View Ask the view plugin to launch the viewer for row number view plugin view calibre books most recent id def update metadata self rra Set the metadata in the files in the selected book s record to match the current metadata in the database FET from calibre ebooks metadata meta import set metadata from calibre gui2 import error dialog info dialog Get currently selected books rows self gui library_view selectionModel selectedRows if not rows or len rows 0 return error_dialog self gui Cannot update metadata No books selected show True Map the rows to book ids ids list map self gui library_view model id rows db self db new_api for book_id in ids Get the current metadata for this book from the
16. kazov ho dku 234 limit calibredb list volba p kazov ho dku 235 limit 1 calibredb search volba p kazov ho dku 244 line height ebook convert volba p kazov ho dku 248 line width w calibredb list volba p kazov ho dku 235 linearize tables ebook convert volba p kazov ho dku 248 list fields 1 calibredb set metadata volba p kazov ho dku 238 list plugins l calibre customize volba p kazov ho dku 230 list recipes ebook convert volba p kazov ho dku 245 localhost 1 calibre smtp volba p kazov ho dku 233 rf bookid ebook meta volba p kazov ho dku 254 lrs lrs2lrf volba p kazov ho dku 258 margin bottom ebook convert volba p kazov ho dku 248 margin left ebook convert volba p kazov ho dku 248 margin right ebook convert volba p kazov ho dku 248 margin top ebook convert volba p kazov ho dku 248 match regexp web2disk volba p kazov ho dku 259 max cover calibre server volba p kazov ho dku 232 max files n web2disk volba p kazov ho dku 259 max opds items calibre server volba p kazov ho dku 232 max opds ungrouped items calibre server volba p kazov ho dku 232 max recursions r web2disk volba p kazov ho dku 259 max toc links ebook convert volba p kazov ho dku 251 minimum
17. objects self magnify stylesheet container parsed name factor container dirty name Tell the container that we have changed the stylesheet 1 9 Kurzy 181 U ivatelsk p ru ka Calibre Vyd n 2 46 0 elif media type in OEB DOCS A HTML file Parsed HTML files are 1lxml elements for style tag in container parsed name xpath local name style if style tag text and style tag get type None in None text c We have an inline CSS style tag parse it into a stylesheet object sheet container parse_css style_tag text self magnify_stylesheet sheet factor style tag text serialize sheet text css pretty print True container dirty name Tell the container that we have chang for elem in container parsed name xpath x style Process inline style attributes block container parse css elem get style is declaration True self magnify declaration block factor elem set style force unicode block getCssText separator u def magnify stylesheet self sheet factor Magnify all fonts in the specified stylesheet by the specified factor for rule in sheet cssRules rulesOfType CSSRule STYLE RULE self magnify declaration rule style factor def magnify declaration self style factor Magnify all fonts in the specified style declaration by the specified factor val style getPropertyValue font
18. ru ka Calibre Vyd n 2 46 0 definovan pouze dodate n mi pr zdn mi znaky jsou zm n ny styly aby se zajistilo Ze nebudou zobrazeny ve spojen s konci str nek Replace scene breaks Pokud je tato volba konfigurov na pak Calibre nahrad zna ky p eru en p b hu kter najde nahrazovac m textem zadan m u ivatelem Pamatujte pros m Ze n kter ozdobn znaky nemus b t podporo v ny na v ech tec ch za zen Obecn byste se m li vyhnout pou v n zna ek HTML Calibre zahod jak koliv zna ky a pou ije p edem definovan zna en Zna ky lt hr gt tj vodorovn ry a zna ky lt img gt jsou v jimky Vodorovn ry mohou b t voliteln zad ny styly pokud se rozhodnete p idat vlastn styl nezapome te zahrnout nastaven ky width jinak bude informace stylu zahozena M ete pou t zna ky obr zk ale Calibre neposkytuje mo nost p idat obr zek b hem p evodu to mus b t provedeno po faktick m pou it funkce Upravit knihu P klad zna ky obr zku po p evodu um st obr zek do slo ky Images uvnit souboru epub lt img style width 10 src Images scenebreak png gt sues P klad vodorovn ry se styly hr style width 20 padding top lpx border top 2px ridge black border bottom 2px groove black Remove unnecessary hyphens Calibre analyzuje ve ker obsah rozd len spojovn ky v dokumentu kdy j
19. smarten punctuation 249 sr1 replace 250 srl search 250 sr2 replace 250 sr2 search 250 sr3 replace 250 sr3 search 250 start reading at 251 subset embedded fonts 249 tags 252 timestamp 252 title 252 title sort 252 toc filter 251 toc threshold 251 toc title 247 unsmarten punctuation 249 use auto toc 251 verbose v 252 version 246 ebook edit volba p kazov ho dku detach 253 help h 253 version 253 ebook meta volba p kazov ho dku author sort 253 authors a 253 book producer k 253 category 253 comments c 253 cover 253 date d 254 from opf 254 get cover 254 help h 254 identifier 254 index i 254 isbn 254 language 1 254 Irf bookid 254 publisher p 254 rating r 254 series s 254 tags 254 title t 254 title sort 254 to opf 254 version 254 ebook polish volba p kazov ho dku compress images 1 255 cover c 255 embed fonts e 255 help h 255 jacket j 255 opf o 255 remove jacket 255 remove unused css u 255 smarten punctuation p 255 subset fonts f 255 verbose 256 version 256 ebook viewer volba p kazov ho dku continue 256 debug javascript 256 detach 256 full screen f 256 help h 256 open at 256 raise window 256 version 256
20. strlen a Returns the length of the string passed as the argument substr str start end returns the start th through the end th characters of str The first character in str is the zero th character If end is negative then it indicates that many characters counting from the right If end is zero then it indicates the last character For example substr 12345 1 0 returns 2345 andsubstr 12345 1 1 returns 234 subtract x y returns x y Throws an exception if either x or y are not numbers today return a date string for today This value is designed for use in format date or days between but can be manipulated like any other string The date is in ISO format template x evaluates x as a template The evaluation is done in its own context meaning that varia bles are not shared between the caller and the template evaluation Because the and characters are special you must use for the character and for the character they are converted automatically For exam ple template title_sort will evaluate the template title sort and return its value Note also that prefixes and suffixes the Iprefixlsuffix syntax cannot be used in the argument to this function when using template program mode Function classification Reference for all built in template language functions Here we document all the built in functions available in the calibre template language Every
21. tka velikosti p sma Jedna z nejhez ch funkc p i ten e knih je schopnost snadno upravit velikost p sma aby vyhovovalo jednotliv m pot eb m a sv teln m podm nk m Calibre m propracovan algoritmy aby zajistilo e v echny produkovan knihy maj jednotn velikosti p sma bez ohledu na to jak velikosti p sma jsou zad ny ve vstupn m dokumentu YY vis ways XA Z kladn velikost p sma dokumentu je nejb n j velikost p sma v tomto dokumentu t j velikost v t sti textu v tomto dokumentu Kdy zad te Z kladn velikost p sma Calibre automaticky p im en zm n m tko v ech velikost p sma v dokumentu tak e nejb n j velikost p sma se stane zadanou z kladn velikost p sma a ostatn m velikostem p sma bude p im en upraveno m tko V b rem v t z kladn velikosti p sma m ete p sma v dokumentu zv t it a naopak Kdy nastav te z kladn velikost p sma m li byste pro dosa en nejlep ch v sledk tak nastavit kl velikosti p sma Oby ejn Calibre automaticky zvol z kladn velikost p sma vhodnou pro v stupn profil kter jste zvolili viz Nasta ven str nky str nka 60 Toto v ak zde m ete p epsat pokud pro v s v choz nastaven nen vhodn 58 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 Volba Kl velikosti p sma v m umo uje ur it jak se m n nez kladn v
22. tomno pouze z historick ch d vod version zobrazit slo verze programu a ukon it with library Pou t knihovnu um st nou v zadan cest calibre customize calibre customize options P izp sobit Calibre na ten m extern ch modul Kdykoliv predate parametry calibre customize kter obsahuj mezery uzav ete parametry uvozovkami Na p klad C n jak cesta s mezerami options add plugin a P idat modul zad n m cesty k souboru zip kter ho obsahuje 1 11 Rozhran p kazov ho dku 229 U ivatelsk p ru ka Calibre Vyd n 2 46 0 build plugin b Pro v voj e modul Cesta k adres i kde vyv j te modul Tento p kaz automaticky zabal modul a aktualizuje ho v Calibre customize plugin P izp sobit modul Zadejte n zev modulu a et zec s pravami odd len mi rkou disable plugin Zak zat uveden modul enable plugin Povolit uveden modul help h zobrazit tuto zpr vu n pov dy a ukon it list plugins 1 Vypsat v echny nainstalovan moduly remove plugin r Odebrat vlastn modul podle jm na Nem dn vliv na vestav n moduly version zobrazit slo verze programu a ukon it calibre debug calibre debug options R zn rozhran p kazov ho dku u ite n pro lad n Calibre Bez voleb spou t tento p kaz vlo en p eklada 2 x Pythonu M ete
23. v jednoduch p edpisy 10 15 dk k du pro ka dou str nku se zpr vami Abyste se nau ili jak vytvo it p edpisy pro vlastn zdroje zpr v pod vejte se na P id v n obl ben ch webov ch str nek se zpr vami str nka 23 Akce Na st zpr vy m t i varianty p stupn kliknut m prav m tla tkem my i na tla tko 1 Napl novat stahov n zpr v Umo uje v m napl novat stahov n z v mi vybran ch zdroj zpr v ze seznamu stovek dostupn ch Pl nov n m e b t nastaveno jednotliv pro ka d zdroj zpr v kter vyberete a pl nov n je flexibiln co v m umo uje vybrat konkr tn dny v t dnu nebo po et dn mezi stahov n m 2 P idat vlastn zdroj zpr v Umo uje v m vytvo it jednoduch p edpis pro stahov n zpr v z vlastn str nky se zpr vami ke kter m chcete m t p stup Vytv en p edpisu m e b t tak jednoduch jako zad n adresy URL informa n ho kan lu RSS nebo m ete b t v ce p edpisuj c vytvo en m k du zalo en m na Pythonu pro tuto lohu V ce informac naleznete na P id v n obl ben ch webov ch str nek se zpr vami str nka 23 3 St hnout v echny napl novan zdroje zpr v Zp sob e Calibre okam it za ne stahovat v echny zdroje zpr v kter jste napl novali Knihovna Akce Library v m umo uje vytv et p ep nat mezi p ejmenov vat nebo odeb rat knihovny Calibre v m umo uje
24. 2 46 0 Vrac device name device version software version on device mime type The tuple can opti onally have a fifth element which is a drive information dictionary See usbms driver for an example get driveinfo Return the driveinfo dictionary Usually called from get device information but if loading the driveinfo is slow for this driver then it should set SLOW DRIVEINFO In this case this method will be called by calibre after the book lists have been loaded Note that it is not called on the device thread so the driver should cache the drive info in the books method and this function should return the cached data card prefix end session True Return a 2 element list of the prefix to paths on the cards If no card is present None is set for the card s prefix E G place place2 None place2 place None None None total space end session True Get total space available on the mountpoints 1 Hlavn pam t 2 Memory Card A 3 Memory Card B Vrac A 3 element list with total space in bytes of 1 2 3 If a particular device doesn t have any of these locations it should return 0 free space end session True Get free space available on the mountpoints 1 Hlavn pam t 2 Karta A 3 Karta B Vrac A 3 element list with free space in bytes of 1 2 3 If a particular device doesn t have any of these locations it should return 1 books oncard None end session True Return a lis
25. How can I help get my device supported in calibre str nka 109 My device is not being detected by calibre str nka 109 My device is non standard or unusual What can I do to connect to it str nka 109 How does calibre manage collections on my SONY reader str nka 110 Can I use both calibre and the SONY software to manage my reader str nka 110 How do I use calibre with my iPad iPhone iPod touch str nka 111 How do I use calibre with my Android phone tablet or Kindle Fire HD str nka 112 Can I access my calibre books using the web browser in my Kindle or other reading device str nka 113 I get the error message Failed to start content server Port 8080 not free on 0 0 0 0 str nka 113 I cannot send emails using calibre str nka 113 Why is my device not detected in linux str nka 114 My device is getting mounted read only in linux so calibre cannot connect to it str nka 114 Why does calibre not support collections on the Kindle or shelves on the Nook str nka 114 I am getting an error when I try to use calibre with my Kobo Touch Glo etc str nka 115 I transferred some books to my Kindle using calibre and they did not show up str nka 115 What devices does calibre support calibre can directly connect to all the major and most of the minor ebook reading devices smarthphones tablets etc In addition using the Connect to folder function you can use it with any ebook reader that e
26. The type of this plugin Used for categorizing plugins in the GUI initialize Called once when calibre plugins are initialized Plugins are re initialized every time a new plugin is added Also note that if the plugin is run in a worker process such as for adding books then the plugin will be initialized for every new worker process Perform any plugin specific initialization here such as extracting resources from the plugin zip file The path to the zip file is available as self plugin_path Note that self site customization is not available at this point config widget Implement this method and save settings str nka 195 in your plugin to use a custom configu ration dialog rather then relying on the simple string based default customization This method if implemented must return a QWidget The widget can have an optional method validate that takes no arguments and is called immediately after the user clicks OK Changes are applied if and only if the method returns True If for some reason you cannot perform the configuration at this time return a tuple of two strings message details these will be displayed as a warning dialog to the user and the process will be aborted save settings config widget Save the settings specified by the user with config widget Parametry config widget The widget returned by config widget str nka 195 do user config parent None This method shows a configuration dialog fo
27. U ivatelsk p ru ka Calibre Vyd n 2 46 0 to support these kinds of devices class calibre devices interface DevicePlugin plugin path Nadt dy calibre customize Plugin str nka 194 Defines the interface that should be implemented by backends that communicate with an ebook reader FORMATS Irf rtf pdf txt Ordered list of supported formats VENDOR ID VENDOR ID can be either an integer a list of integers or a dictionary If it is a dictionary it must be a dictionary of dictionaries of the form integer vendor id product id list of BCDs PRODUCT ID 0 An integer or a list of integers BCD None BCD can be either None to not distinguish between devices based on BCD or it can be a list of the BCD numbers of all devices supported by this driver THUMBNAIL HEIGHT 68 Height for thumbnails on the device THUMBNAIL COMPRESSION QUALITY 75 Width for thumbnails on the device Setting this will force thumbnails to this size not preserving aspect ratio If it is not set then the aspect ratio will be preserved and the thumbnail will be no higher than THUMBNAIL HEIGHT Compression quality for thumbnails Set this closer to 100 to have better quality thumbnails with fewer compression artifacts Of course the thumbnails get larger as well WANTS UPDATED THUMBNAILS False Set this to True if the device supports updating cover thumbnails during sync booklists Se
28. U ivatelsk p ru ka Calibre Vyd n 2 46 0 Kovid Goyal December 11 2015 Obsah 1 Odd ly 3 1 1 Grafick u ivatelsk rozhran 4 130 moe k aa boje ee bebe kd 6 Bobek Ee disk 3 1 2 P id v n obl ben ch webov ch str nek se zpr vami lees 23 1 3 Prohl e e kmho 5x4 R4 xS SEARS ED ee OER EOS SS 52 WA Prevod e knihy i uuo ko hob mom RR BARE RE RED Se ROSE SRDS BAe SE 4s 55 1 5 pravae knih 221g bk X GR GA EORR E P 4 RES RU OR edk bok ES Pee RS 71 L6 Porovn n e knih p s soppa ER dp A A emo olovo e brod RC XD RR e de s 100 17 pravametadatre knihy veis teeren ete eya HEY dx be ee E RO 102 1 8 Nej ast j dotazy lt o soio aniic Be zla a Ge nl Er RR Ba Bee A ES AS 105 n Mq Cv 126 1 10 P izp soben Calibre oe 13 s db Revo A POR dub PLA RUE Se eee Lda d 193 111 Rozhran p kazov ho dk os 6 4 yo RU OUR 9 EAS SR ER a ee E dB A 228 132 Nastaven v vojov ho prost ed calibre 2 44 44 RR RR mA UR bou P nek a 260 1 13 Slov pojm s noe zn ho se r B body debet E ope Jasuo ale Gp oed OR pool Apos deas 282 Rejst k modul Pythonu 285 Rejst k 287 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Calibre je spr vce knihovny e knih M e zobrazovat p ev d t a katalogizovat e knihy ve v t in hlavn ch form t e knih M e tak komunikovat s mnoha tec mi za zen mi e knih M e p ej t na internet a na st metadata pro va e k
29. contains hodnota vzor text p i shod text p i neshod class calibre utils formatter functions BuiltinContains contains hodnota vzor text p i shod text p i neshod kontroluje zda pole obsahuje shody pro vzor regul r n ho v razu Vrac text p i shod pokud jsou nalzeny shody jinak vrac text p i neshod ifempty hodnota text p i pr zdn class calibre utils formatter functions BuiltinIfempty ifempty hodnota text p i pr zdn vrac hodnotu pokud hodnota nen pr zdn jinak vrac text p i pr zdn test hodnota text p i nepr zdn m text p i pr zdn m class calibre utils formatter functions BuiltinTest test hodnota text p i nepr zdn m text p i pr zdn m vrac text p i nepr zdn m pokud pole nen pr zdn jinak vrac text p i pr zdn m Iterating over values first non empty hodnota hodnota class calibre utils formatter functions BuiltinFirstNonEmpty first non empty hodnota hodnota vrac prvn hodnotu kter nen pr zdn Pokud jsou v echny hodnoty pr zdn pak je vr cena pr zdn hodnota M ete m t tolik hodnot kolik chcete lookup hodnota vzor pole vzor pole jinak pole class calibre utils formatter functions BuiltinLookup lookup hodnota vzor pole vzor pole jinak pole jako switch krom toho e parametry jsou n zvy pol metadat ne text Hodnota vhodn ho pole bude na tena a pou ita Pamatujte e p
30. dn knihy Pokud chcete vytvo it pln duplik t v etn v ech knih pak jednodu e pou ijte n stroje va eho syst mu soubor ke zkop rov n slo ky knihovny Kdykoliv p ed te parametry calibredb kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami 1 11 Rozhran p kazov ho dku 243 U ivatelsk p ru ka Calibre Vyd n 2 46 0 help h zobrazit tuto zpr vu n pov dy a ukon it version zobrazit slo verze programu a ukon it embed metadata calibredb embed metadata options book id Aktualizovat metadata ve skute n ch souborech knih ulo en v knihovn Calibre z metadat v datab zi Calibre Nor m ln jsou metadata aktualizov na pouze p i exportov n soubor z Calibre tento p kaz je u ite n pokud chcete aby byla metadata aktualizov na na m st Pamatujte e r zn form ty soubor podporuj r zn mno stv meta dat K aktualizaci metadat ve v ech knih ch m ete pro book id pou t speci ln hodnotu all M ete tak zadat mnoho identifik tor knih odd len ch mezerami a rozsah identifik tor odd len ch spojovn ky Nap klad calib redb embed metadata 1 2 10 15 23 Kdykoliv p ed te parametry calibredb kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami help h zobrazit tuto zpr vu n pov dy a ukon it only
31. e kurzor v editoru bude um st n nad prvek na kter jste kliknuli Pokud kliknete na odkaz sm uj c na jin soubor v knize bude tento soubor automaticky otev en panelu prav a n hledu Automatickou synchronizaci pozice a iv ho n hledu zm n m ete vypnout pomoc tla tek pod panelem n hledu K iv aktualizaci panelu n hledu doch z pouze tehdy pokud aktivn nep ete v editoru abyste nebyli ru eni nebo zpomalov n ek n m na vykreslen n hledu Panel n hledu v m ukazuje jak bude text vypadat p i zobrazen Panel n hledu v ak nen n hradou za skute n tes tov n va knihy ve skute n m tec m za zen Je jak v ce tak m n schopn ne skute n te ka Bude tolerovat chyby a nedbal zna en mnohem l pe ne v t ina tec ch za zen Tak nezobraz okraje str nek konce str nek a vlo en p sma kter pou vaj aliasy n zvu p sma Pou vejte panel n hledu p i pr ci na knize ale jakmile skon te zkontrolujte ji ve skute n m tec m za zen nebo softwarov m emul toru Pozn mka Panel n hledu nepodporuje vlo en p sma pokud n zev p sma uvnit souboru p sma neodpov d n zvu v pravidle CSS font face M ete pou t n stroj Zkontrolovat knihu pro rychl nalezen a opravu jak chkoliv takov ch probl mov ch p sem Rozd lov n soubor HTML Jedno mo n ne tak z ejm pou it panelu n hledu je rozd len d
32. fetch ebook metadata volba p kazov ho dku 257 auto reload calibre server volba prikazov ho radku 232 base dir d web2disk volba p kazov ho dku 259 base font size ebook convert volba p kazov ho dku 247 book producer ebook convert volba p kazov ho dku 251 book producer k ebook meta volba p kazov ho dku 253 build plugin b calibre customize volba p kazov ho dku 229 categories T calibredb list categories volba p kazov ho dku 242 category ebook meta volba p kazov ho dku 253 change justification ebook convert volba p kazov ho dku 247 chapter ebook convert volba p kazov ho dku 250 chapter mark ebook convert volba p kazov ho dku 250 command c calibre debug volba p kazov ho dku 230 comments ebook convert volba p kazov ho dku 252 comments c ebook meta volba p kazov ho dku 253 compress images 1 ebook polish volba p kazov ho dku 255 continue ebook viewer volba p kazov ho dku 256 cover ebook convert volba p kazov ho dku 252 ebook meta volba p kazov ho dku 253 cover C calibredb add volba p kazov ho dku 236 ebook polish volba p kazov ho dku 255 fetch ebook metadata volba p kazov ho dku 257 csv C calibredb check library volba p kazov ho dku 242 calibredb list categories volba p
33. log packets If true the packet stream to from the device is logged report progress Function that is called with a progress number between 0 and 100 for various tasks If it is called with 1 that means that the task does not have any progress information detected device Device information from the device scanner can handle windows device id debug False Optional method to perform further checks on a device to see if this driver is capable of handling it If it is not it should return False This method is only called after the vendor product ids and the bcd have matched so it can do some relatively time intensive checks The default implementation returns True This method is called only on windows See also can handle str nka 205 Parametry device info On windows a device ID string On Unix a tuple of vendor id product id bca can handle device info debug False Unix version of can handle windows str nka 205 Parametry device info Isa tuple of vid pid bcd manufacturer product serial number open connected device library uuid Perform any device specific initialization Called after the device is detected but before any other functions that communicate with the device For example For devices that present themselves as USB Mass storage devices this method would be responsible for mounting the device or if the device has been automounted for finding out where it has been mounted The method
34. odkaz ukazuje Files Filte Files Filter Words Words Images w 4 td 31 E Image Times used Size KB 4 Resolution v Style Rules index split 002 html 4 elements m s 1 Characters Characters td class 1200 x 1600 lt td class td 4 block_36 31 3 31 437 cover imagejpg 4 td 5 4 block 2 2 5 block 36 back png 128x128 5 td 41 5 td 43 X block 11 3 1 4 52 128x128 td 2 5 calibrei 5 block 21 Forward png v v vvvvvvvvxevvvvv uw 5 i Ped 3 4 2 1 49 2x32 6 block 8 dot green png 6 td 38 P 6 td 35 5 1 0 30 12x12 gt 6 block 3 imaget aif 147 rules 0 unused Qclose Sort by Counts Name Ascending Q Refresh Qnefresh Esae Esae close 1 5 9 Speci ln funkce v editoru k du Editor HTML v Calibre je velice v konn M mnoho funkc d ky kter m je prava HTML a CSS jednodu Zv razn n syntaxe Editor HTML m velice propracovan zv razn n syntaxe Funkce zahrnuj Text uvnit zna ek pro tu n p smo kurz vu a nadpisy jsou tu n nebo kurz vou B hem pohybu kurzorem p es HTML jsou odpov daj c zna ky HTML zv razn ny Neplatn HTML je zv razn no erven m podtr en m Pravopisn chyby v textu uvnit zna ek HTML a atributy jako jsou n zvy jsou zv razn ny Kontrola pravopisu je schopn rozpoznat jazyk na z klad hodnoty atributu lang aktu ln zna ky a cel
35. polo ky neznamen to e to nen nr s m o sob Nap klad kniha m e m t nr Historie ale ne Historie Vojensk Jak hledat knihy kter maj pouze Historie Mechanismus hled n prohl e e t tku v pokud m polo ka pod zen polo ky Pokud ano klepnut na polo ku pro b hne 5 hled n mi nam sto norm ln ch t Prvn je norm ln zelen plus kter v m zobraz knihy pouze s t mto nrem nap Historie Druh je dvojit plus zobrazeno v e kter v m uk e knihy s t mto nrem a v emi pod nry nap Historie a Historie Vojensk T et je norm ln erven minus kter v m uk e knihy bez tohoto p esn ho nru tvrt je dvojit minus kter v m uk e knihy bez tohoto nru nebo pod nr P t je zp t na za tek bez ozna en co znamen dn hled n Omezen Pokud hled te nr pak k tomu vytvo te ulo en hled n m ete pou t pole omezit na pro vytvo en virtu ln knihovny knih s t mto nrem To je u ite n pokud chcete prov st dal hled n v r mci nru nebo spravovat nebo aktualizovat metadata knih v nru V pokra ov n na eho p kladu m ete vytvo it ulo en hled n s n zvem His torie Japonsk nejd ve kliknut m na nr Japonsk v prohl e i t tk pro z sk n hled n do pole hled n zad n m 130 Kapitola 1 Odd ly U iva
36. Calibre ovl da e postaven na USBMS z n j d d ebooks K dy t kaj c se p evodu a metadat ebook Vhodn m v choz m bodem je bal ek calibre ebooks conversion cli kter poh n p kaz ebook convert Proces p evodu je ovl d n skrze conversion plumber K dy nez visl na form tu jsou v bal ku ebooks oeb naopak k dy z visl na form tu se nach zej v ebooks format name ten z pis a stahov n metadat je v bal ku ebooks metadata Conversion happens in a pipeline for the structure of the pipeline see vod str nka 56 The pipeline consists of an input plugin various transforms and an output plugin The code that constructs and dri ves the pipeline is in plumber py The pipeline works on a representation of an ebook that is like an unzipped epub with manifest spine toc guide html content etc The class that manages this re presentation is OEBBook in ebooks oeb base The various transformations that are applied to the book during conversions live in oeb transforms py And the input and output plugins live in conversion plugins x py Ebook editing happens using a different container object It is documented in API Documentation for the ebook editing tools str nka 273 db The database back end See Dokumentace API pro rozhran datab ze str nka 267 for the interface to the calibre library e content server library server is the calibre Content Server
37. Druh sv tov v lka by mohly b t v Historie Vojensk Knihy Davida Weber o Honor Harringtonov by mohly b t v Sci fi Vojenska a ostatn tak v Sci fi Vesm rn opera Jakmile nr existuje tj alespo jedna kniha m tento nr m ete ho snadno pou t na dal knihy p eta en m knih ze zobrazen knihovny na nr kter chcete aby knihy m ly Z nry m ete tak pou t v editorech metadat v ce o tomto n e Nastaven Te m e va e ot zka zn t Jak se tohle v echno d je Jsou t i kroky 1 vytvo te vlastn sloupec 2 ekn te Calibre Ze tento nov sloupec m b t pova ov n za hierarchii a 3 p idejte nry Vlastn sloupec vytvo te obvykl m zp sobem pomoc P edvolby gt P idat sv vlastn sloupce Tento p klad pou v oenre jako n zev vyhled v n a nr jako z hlav sloupce Typ sloupce je rkami odd len text jako jsou t tky zobrazen v prohl e i t tk Create a custom column Quick create ISBN Formats Modified Date Yes No Taas Series Rating Lookup name genre Column heading Genre Column type Comma separated text like tags shown in the tag browser v Pak po restartov n Calibre mus te ct Calibre Ze sloupec m byt pova ov n za hierarchii P ejd te do P edvolby gt Vzhled gt Prohl e t tk a zadejte n zev vyhled v n zanr do pole
38. If you are writing a plugin for the ebook editor you get the current container for the book being edited like this from calibre gui2 tweak book import current container container current container if container is None report error No book has been opened yet The Container object class calibre ebooks oeb polish container Container rootpath opfpath log clone data None A container represents an Open EBook as a directory full of files and an opf file There are two important concepts The root directory This is the base of the ebook AII the ebooks files are inside this directory or in its sub directories Names These are paths to the books files relative to the root directory They always contain POSIX separators and are unquoted They can be thought of as canonical identifiers for files in the book Most methods on the container object work with names Names are always in the NFC unicode normal form Clones the container object supports efficient on disk cloning which is used to implement checkpoints in the ebook editor In order to make this work you should never access files on the filesystem directly Instead use raw data str nka 275 or open str nka 275 to read write to component files in the book When converting between hrefs and names use the methods provided by this class they assume all hrefs are quoted abspath to name fullpath root None Convert an absolute path to a canonica
39. In this case you can ask calibre to restore your books by doing a right click on the calibre icon in the toolbar and selecting Library Maintenance gt Restore database The list of books in calibre is blank In order to understand why that happened you have to understand what a calibre library is At the most basic level a calibre library is just a folder Whenever you add a book to calibre that book s files are copied into this folder arranged into sub folders by author and title Inside the calibre library folder at the top level you will see a file called metadata db This file is where calibre stores the metadata like title author rating tags etc for every book in your calibre library The list of books that calibre displays is created by reading the contents of this metadata db file There can be two reasons why calibre is showing a empty list of books 55 http calibre ebook com demo tutorials 54http blog calibre ebook com 2011 11 calibre custom columns html 118 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 Your calibre library folder changed its location This can happen if it was on an external disk and the drive letter for that disk changed Or if you accidentally moved the folder In this case calibre cannot find its library and so starts up with an empty library instead To remedy this do a right click on the calibre icon in the calibre toolbar and select Switch create library Click
40. LoadModule wsgi module modules mod wsgi so P esn postup povolen modulu wsgi se bude li it v z vislosti na va instalaci Apache Jakmile budete m t povolen moduly proxy p idejte n sleduj c pravidla do httpd conf nebo pokud pou v te virtu ln hostitele tak do konfigura n ho souboru p slu n ho virtu ln ho hostitele WSGIScriptAlias calibre var www localhost cgi bin calibre wsgi adapter py Zm te cestu k calibre wsgi adapter py podle toho kam jste ho d ve ulo ili ujist te se Ze k n mu m Apache p stup To je v e nyn budete schopni p istupovat k serveru s obsahem calibre pod URL calibre ve sv m serveru Apache Pozn mka Pro dal n pov du k pou v n mod wsgi v Apache se pod vejte na mod wsgi 1 9 6 Psan vlastn ch modul pro roz en funkc Calibre Calibre m velice modul rn proveden T m v echny funkce jsou ve form modul Moduly jsou pou ity pro p evod stahov n zpr v a koliv ty jsou nazv ny p edpisy r zn komponenty u ivatelsk ho rozhran p ipojen k r zn m za zen m zpracov n soubor p i jejich p id v n do calibre a tak d le Kompletn seznam v ech vestav n ch modul m ete z skat v Icalibrel v P edvolby gt Moduly Zde v s nau me jak vytvo it vlastn moduly pro p id n nov ch funkc do Calibre 7 http code google com p modwsgi wiki WhereToGetHelp 17
41. Pou ijte pro lad n vstupn ho modulu analyzo V sledek p edzpracov n a p evodu na XHTML v stupu ze vstupn ho modulu Pou ijte pro lad n v no rozpozn v n struktury struktura Po rozpozn n struktury ale p ed vyhlazen m CSS a p evodem velikosti p sma Pou ijte pro lad n p evodu velikosti p sma a transformace CSS zpraco T sn p ed t m ne je e kniha p ed na v stupn mu modulu Pou ijte pro lad n v stupn ho modulu v no Pokud chcete trochu upravit vstupn dokument p ed t m ne ho nech te Calibre p ev st to nejlep co m ete ud lat je upravit soubory v podadres i vstup pak je zazipovat a pou t soubor zip jako vstupn form t pro n sleduj c p evody Abyste to ud lali pou ijte dialogov okno Upravit metadata pro p id n souboru zip jako form tu pro knihu a pak v lev m horn m rohu dialogov ho okna p evodu vyberte ZIP jako vstupn form t Tento dokument se bude zab vat hlavn r zn mi transformacemi kter pracuj na polotovaru XHTML a jak je ovl dat Na konci je n kolik konkr tn ch tip pro ka d vstupn nebo v stupn form t 1 4 2 Vzhled a chov n Obsah prava m tka velikosti p sma str nka 58 Mezery mezi odstavci str nka 59 Dodate n CSS str nka 60 R zn str nka 60 Tato skupina voleb ur uje r zn aspekty vzhledu a chov n p eveden e knihy prava m
42. Source install on Linux In addition to using the above technigue if you do a source install on Linux you can also directly import calibre as follows import init calibre import calibre print calibre version It is essential that you import the init calibre module before any other calibre modules packages as it sets up the interpreter to run calibre code 1 12 9 API documentation for various parts of calibre Dokumentace API pro rozhran datab ze This API is thread safe it uses a multiple reader single writer locking scheme You can access this API like this from calibre library import db db db Path to calibre library folder new api If you are in a calibre plugin that is part of the main calibre GUI you get access to it like this instead db self gui current db new api class calibre db cache Cache backend An in memory cache of the metadata db file from a calibre library This class also serves as a threadsafe API for accessing the database The in memory cache is maintained in normal form for maximum performance SQLITE is simply used as a way to read and write from metadata db robustly All table rea ding sorting searching caching logic is re implemented This was necessary for maximum performance and flexibility add books books add duplicates True apply import tags True preserve uuid False run hooks True dbapi None Add the specified books to the library Books should be a
43. author link map ALL METADATA FIELDS SOCIAL METADATA FIELDS union PUBLICATION METADATA FIELDS union BOOK STRUCTURE FIELDS union USER METADATA FIELDS union DEVICE METADATA FIELDS union CALIBRE METADATA FIELDS All fields except custom fields 158 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 STANDARD METADATA FIELDS SOCIAL METADATA FIELDS union PUBLICATION METADATA FIELDS union BOOK STRUCTURE FIELDS union DEVICE METADATA FIELDS union CALIBRE METADATA FIELDS T Metadata fields that smart update must do special processing to copy SC_FIELDS_NOT_COPIED frozenset title title sort authors author sort author sort map cover data tags languages identifiers Metadata fields that smart update should copy only if the source is not None SC FIELDS COPY NOT NULL frozenset lpath size comments thumbnail Metadata fields that smart update should copy without special handling SC COPYABLE FIELDS SOCIAL METADATA FIELDS union PUBLICATION METADATA FIELDS union BOOK STRUCTURE FIELDS union DEVICE METADATA FIELDS union CALIBRE METADATA FIELDS SC FIELDS NOT COPIED union SC FIELDS COPY NOT NULL
44. cover margins atribut ca libre web feeds news BasicNewsRecipe 48 create action metoda ca libre gui2 tweak book plugin Tool 280 create inline toc v modulu ca libre ebooks oeb polish toc 279 create menu action metoda ca libre gui2 actions InterfaceAction 213 create widget metoda ca libre customize PreferencesPlugin 215 CSS 282 current container atribut ca libre gui2 tweak book plugin Tool 280 currently editing atribut ca libre gui2 tweak book boss Boss 281 metoda ca libre ebooks metadata book base Metadata 156 customization help metoda calibre customize Plugin 195 customize context menu metoda ca libre customize ViewerPlugin 217 customize_ui metoda calibre customize ViewerPlugin 217 D data_for_find_identical_books libre db cache Cache 268 data for has book metoda calibre db cache Cache 268 debug managed device detection metoda libre devices interface DevicePlugin 204 decode metoda calibre ebooks oeb polish container Container metoda ca ca 274 deepcopy metoda ca libre ebooks metadata book base Metadata 156 default cover metoda ca libre web feeds news BasicNewsRecipe 44 delay atribut calibre web feeds news BasicNewsRecipe 48 298 Rejst k U ivatelsk p ru ka Calibre Vyd n 2 46 0 delete books metoda ca libre devices interface DevicePlugin 207 delete custom book data metoda
45. div style font size x small gt lt p style float left gt TITLE lt p gt lt p style float right lt i gt AUTHOR lt This will display the title at the left and the author at the right in a font size smaller than the main text You can also use the current section in templates as shown below lt p style text align right gt SI ECTION lt p gt SECTION is replaced by whatever the name of the current section is These names are taken from the metadata Table of Contents in the document the PDF Outline If the document has no table of contents then it will be replaced by empty text If a single PDF page has multiple sections the first section on the page will be used You can even use javascript inside the header and footer templates for example the following template will cause page numbers to start at 4 instead of 1 lt p id pagenum style text align center p script document getElementById pagenum innerHTML Pozn mka When adding headers and footers make sure you set the page top and bottom margins to large enough values under the Page Setup section of the conversion dialog Printable Table of Contents You can also insert a printable Table of Contents at the end of the PDF that lists the page numbers for every section This is very useful if you intend to print out the PDF to paper If you wish to use the PDF on an electronic device then the PDF Outline
46. ebook convert volba p kazov ho dku 248 remove plugin r calibre customize volba p kazov ho dku 230 remove unused css u ebook polish volba p kazov ho dku 255 replace scene breaks ebook convert volba p kazov ho dku 249 replace whitespace calibredb export volba p kazov ho dku 239 report r calibredb check library volba p kazov ho dku 242 restriction calibre server volba p kazov ho dku 232 run plugin r calibre debug volba p kazov ho dku 231 search s calibredb catalog volba p kazov ho dku 239 calibredb list volba p kazov ho dku 235 search replace ebook convert volba p kazov ho dku 250 separator calibredb list volba p kazov ho dku 235 separator S calibredb list categories volba p kazov ho dku 243 series ebook convert volba p kazov ho dku 252 series S calibredb add volba p kazov ho dku 236 ebook meta volba p kazov ho dku 254 series index ebook convert volba p kazov ho dku 252 series index S calibredb add volba p kazov ho dku 236 shutdown running calibre s calibre volba p kazov ho dku 229 calibre debug volba p kazov ho dku 231 single dir calibredb export volba p kazov ho dku 239 smarten punctuation ebook convert volba p kazov ho dku 249 smarten punctuatio
47. ech te kami odd len ch polo ek pak pro ka dou takovou polo ku extrahov n m komponent od po te n index po kone n index a pak zkombinov n m v sledk zp t dohromady Prvn komponenta v te kami odd len m seznamu m index nula Pokud je index z porn pak se po t od konce seznamu Jako speci ln p klad je koncov index nula pova ov n za d lku seznamu P klady pou vaj c re im z kladn ablony a p edpokl daj c e hodnota genre A B C ge nre subitems 0 1 vrac A genre subitems 0 2 vrac A B genre subitems 1 0 vrac B C P ed 152 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 pokl daj c e hodnota genre A B C D E F genre subitems 0 1 vrac A D genre subitems 0 2 vrac A B D E sublist hodnota po te n index kone n index odd lova class calibre utils formatter functions BuiltinSublist sublist hodnota po te n index kone n index odd lova interpretuje hodnotu jako seznam polo ek odd len odd lova em vrac nov seznam vytvo en od polo ky po te n index po kone n index Prvn polo ka je slo nula Pokud je index z porn pak se po t od konce seznamu Jako speci ln p klad je koncov index nula pova ov n za d lku seznamu P klady pou vaj c re im z kladn ablony a p edpokl daj c e sloupec t tky kter
48. ete parametry uvozovkami Nap klad C n jak cesta s mezerami append a Pokud sloupec ukl d v ce hodnot p idat zadan hodnoty k existuj c m nam sto jejich nahrazen help h zobrazit tuto zpr vu n pov dy a ukon it version zobrazit slo verze programu a ukon it 1 11 Rozhran p kazov ho dku 241 U ivatelsk p ru ka Calibre Vyd n 2 46 0 restore database calibredb restore database options Obnovit tuto datab zi z metadat ulo en ch v souborech OPF v ka d m adres i knihovny Calibre To je u ite n pokud byl v soubor meatadata db po kozen VAROV N Tento p kaz znovu pln vygeneruje va i datab zi Ztrat te v echna ulo en hled n u ivatelsk kata logy z suvn panely ulo en nastaven p evodu pro knihu a vlastn p edpisy Obnoven metadata budou pouze tak p esn jako to co je nalezeno v souborech OPF Kdykoliv p ed te parametry calibredb kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami help h zobrazit tuto zpr vu n pov dy a ukon it really do it r Opravdu prov st obnoven P kaz nebude spu t n pokud nen zad na tato volba version zobrazit slo verze programu a ukon it check library calibredb check library options Prov st n kter kontroly souborov ho syst mu p edstavuj c ho knihovnu Hl e
49. evod P ejd te na P edvolby gt Panely n stroj a p idejte Upravit obsah na hlavn panel n stroj Pak sta vybrat knihu kterou chcete upravit a kliknout na tla tko Upravit obsah Prvn volba je Vynutit pou it automaticky generovan ho obsahu Za krtnut m t to volby m ete nechat Calibre p epsat jak koliv nalezen obsah v metadatech vstupn ho dokumentu automaticky vygenerovan m V choz zp sob jak m vytvo en automaticky vygenerovan ho obsahu funguje je ten e Calibre nejd ve zkus p idat v echny rozpoznan kapitoly do vygenerovan ho obsahu Jak p izp sobit rozpozn v n kapitol m ete zjistit ve v e uveden m odd lu Rozpozn v n struktury str nka 62 Pokud nechcete zahrnout rozpoznan kapitoly do vygenerovan ho obsahu za krtn te volbu Nep id vat rozpoznan kapitoly do obsahu Pokud bylo rozpozn no m n kapitol ne je hodnota Mezn hodnota kapitol Calibre pak p id do obsahu v echny hypertextov odkazy kter najde ve vstupn m dokumentu Toto asto funguje dob e na mnoha vstupn ch dokumentech kter obsahuj hypertextov odkazy obsahu hned na za tku Volba Po et odkaz m e b t pou ita k ovl d n tohoto chov n Pokud je nastavena na nulu nejsou p id ny dn odkazy Pokud je nastavena na slo v t ne nula je p id n nanejv e tento po et odkaz Calibre automaticky vyfiltruje duplicity z generovan ho obsahu Pokud v ak j
50. f C ste n vlo it zadan p smo Pou ijte po t to volb pro p ed n volby programu pro ste n vkl d n p sem test build Testovat bin rn moduly v sestaven version zobrazit slo verze programu a ukon it viewer w Spustit prohl e e knih v re imu lad n 1 11 Rozhran p kazov ho dku 231 U ivatelsk p ru ka Calibre Vyd n 2 46 0 calibre server calibre server options Spustit server s obsahem Calibre Server s obsahem Calibre vystav va i knihovnu Calibre na internet V choz roz hran v m umo uje proch zez knihovnu Calibre podle kategori M ete tak p istupovat k rozhran optimalizova n mu pro mobiln prohl e e na mobile a k rozhran na z klad OPDS pro pou it se tec mi aplikacemi na opds Rozhran OPDS je ohl eno p es BonJour automaticky Kdykoliv p ed te parametry calibre server kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami options auto reload Automaticky znovu na st server p i zm n zdrojov ho k du Nemus fungovat ve v ech prost ed ch daemonize Spustit proces na pozad jako d mon Nem Z dny vliv na okna develop V voj sk re im Server se automaticky restartuje p i zm n ch soubor a dod soubory k du html css js ze syst mu soubor nam sto ze syst mu prost edk Calibre help
51. fetch ebook metadata volba p kazov ho dku 257 timeout t calibre server volba p kazov ho dku 232 calibre smtp volba p kazov ho dku 233 web2disk volba p kazov ho dku 259 timestamp ebook convert volba p kazov ho dku 252 title ebook convert volba p kazov ho dku 252 title t calibredb add volba p kazov ho dku 236 ebook meta volba p kazov ho dku 254 fetch ebook metadata volba p kazov ho dku 257 title sort ebook convert volba p kazov ho dku 252 ebook meta volba p kazov ho dku 254 to dir calibredb export volba p kazov ho dku 239 to lowercase calibredb export volba p kazov ho dku 239 to opf ebook meta volba p kazov ho dku 254 toc filter ebook convert volba p kazov ho dku 251 toc threshold ebook convert volba p kazov ho dku 251 toc title ebook convert volba p kazov ho dku 247 unsmarten punctuation ebook convert volba prikazov ho radku 249 url prefix calibre server volba p kazov ho dku 232 use auto toc ebook convert volba p kazov ho dku 251 username calibre server volba p kazov ho dku 233 username u calibre smtp volba p kazov ho dku 234 verbose ebook polish volba p kazov ho dku 256 Irf2lrs volba p kazov ho dku 257 Irfviewer volba p kazov ho dku 258 Irs2Irf volba p kazo
52. file size of the book 1 10 P izp soben Calibre 209 U ivatelsk p ru ka Calibre Vyd n 2 46 0 4 datetime a UTC time tuple 5 path path on the device to the book 6 thumbnail can be None thumbnail is either a str bytes object with the image data or it should have an attribute image path that stores an absolute platform native path to the image 7 tags a list of strings can be empty supports collections Return True if the device supports collections for this book list add book book replace metadata Add the book to the booklist Intent is to maintain any device internal metadata Return True if booklists must be sync ed remove book book Remove a book from the booklist Correct any device metadata at the same time get collections collection attributes Return a dictionary of collections created from collection attributes Each entry in the dictionary is of the form collection name list of books The list of books is sorted by book title except for collections created from series in which case se ries index is used Parametry collection attributes A list of attributes of the Book object USB Mass Storage based devices The base class for such devices is calibre devices usbms driver USBMS str nka 211 This class in turn inherits some of its functionality from its bases documented below A typical basic USBMS based driver looks like this from calibre devices usb
53. form ty CSV XML help h zobrazit tuto zpr vu n pov dy a ukon it ids i C rkami odd len seznam identifik tor datab ze pro katalog Pokud je deklarov no search str nka 239 je ignorov no V choz v e 1 11 Rozhran p kazov ho dku 239 U ivatelsk p ru ka Calibre Vyd n 2 46 0 search s Filtrovat v sledky podle vyhled vac ho dotazu Pro form t vyhled vac ho dotazu se pod vejte do dokumentace souvisej c s hled n m v u ivatelsk p ru ce V choz dn filtrov n sort by V stupn pole podle kter ch adit Dostupn pole author sort id rating size timestamp title sort V choz id Pou ije se na v stupn form ty CSV XML verbose v Zobrazit podrobn v stupn informace U ite n pro lad n version zobrazit slo verze programu a ukon it saved searches calibredb saved searches options list calibredb saved searches add name search calibredb saved searches remove name Spravovat ulo en hled n v datab zi Pokud se pokus te p idat dotaz s n zvem kter ji existuje bude nahrazen Kdykoliv p ed te parametry calibredb kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami help h zobrazit tuto zpr vu n pov dy a ukon it version zobrazit slo verze programu a ukon it add custom column calibredb add custom
54. ho dku base dir d 259 delay 259 dont download stylesheets 259 encoding 259 filter regexp 259 help h 259 match regexp 259 max files n 259 max recursions r 259 timeout t 259 verbose 259 version 259 WINDOWS_CARD_A_MEM atribut libre devices usbms device Device 211 WINDOWS CARD B MEM atribut libre devices usbms device Device 211 WINDOWS MAIN MEM atribut libre devices usbms device Device 211 windows sort drives metoda libre devices usbms device Device 211 ca 308 Rejst k
55. knihovnu nam sto pln knihovny p ejit m na P edvolby gt Sd len po s ti Aktu ln hled n m ete rychle pou t jako do asnou virtu ln knihovnu kliknut m na tla tko Virtu ln knihovna a zvolen m polo ky aktu ln hled n V echny virtu ln knihovny m ete zobrazit jako karty nad seznamem knih To je obzvl ikovn pokud chcete velice asto p ep nat mezi virtu ln mi knihovnami Klikn te na tla tko Virtu ln knihovna a vyberte Zobrazit virtu ln knihovny jako karty Karty m ete p euspo dat p eta en m a zav en m t ch kter nechcete vid t Zav en karty mohou b t obnoveny kliknut m prav m tla tkem my i na panel karet Pou v n dodate n ch omezen Knihy zobrazen ve virtu ln knihovn m ete d le omezit pomoc Dodate n ch omezen Dodate n omezen je v mi d ve vytvo en ulo en hled n kter m e b t pou ito na aktu ln virtu ln knihovnu pro dal omezen zobrazen ch knih ve virtu ln knihovn Nap klad ekn me e m te virtu ln knihovnu pro knihy se t tkem Historick rom n a ulo en hled n kter v m ukazuje nep e ten knihy M ete kliknout na tla tko Virtu ln knihovna a zvolit volbu Dodate n omezen pro zobrazen pouze nep e ten ch historick ch rom n Abyste se nau ili o ulo en ch hled n ch pod vejte se na Ukl d n hled n str nka 13 1 10 P izp soben Cali
56. kozen odkazy v pro v s vhodn m form tu abyste je opravili 3 http extensions libreoffice org extension center getCategories Dictionary amp getCompatibility any amp sort on positive ratings 90 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 Uspo d n soubor do slo ek podle typu P i prav ch soubor EPUB kter jste odn kud z skali asto zjist te e soubory uvnit EPUB jsou uspo d ny na hodile v r zn ch podslo k ch Tento n stroj v m umo uje automaticky p esunout v echny soubory do podslo ek na z klad jejich typ P stupn je to pomoc N stroje gt Uspo dat do slo ek Pamatujte e tento n stroj pouze m n zp sob jak m jsou soubory uspo d ny uvnit EPUB ale nem n to jak jsou zobrazeny v Prohl e i soubor Importov n soubor v jin ch form tech e knih ne EPUB Editor obsahuje schopnost p mo importovat soubory v n kter ch jin ch form tech e knih jako nov EPUB ani by pro ly pln m p evodem To je obzvl u ite n pro p m vytvo en soubor EPUB z va ich ru n upraven ch soubor HTML M ete to ud lat pomoc Soubor gt Importovat soubor HTML nebo DOCX jako novou knihu Function Mode for Search amp Replace in the Editor The Search amp Replace tool in the editor support a function mode In this mode you can combine regular expressions see V e o pou v n regul rn ch v raz
57. kter jste vytvo ili V pokra ov n na eho p kladu pokud chcete ke knize p i adit nov nr Komiks s pod nrem Superhrdinov otev eli byste Upravit metadata pro tuto knihu komiks kniha zvolili kartu Vlastn metadata a pak zadali Komiks Superhrdinov jak je zobrazeno na n sleduj c m obr zku ignorujte ostatn vlastn sloupce Basic metadata Custom metadata num w my enum2 x Na Genre Comics Superheroes E mybool s Yes ser mydate Undefined v Set mydate to today Clear mydate Po proveden v e uveden ho uvid te v prohl e i t tk 1 9 Kurzy 129 U ivatelsk p ru ka Calibre Vyd n 2 46 0 ou e o Z n uw nm TT 5 Thrillers eme x Od te pro pou it tohoto nov ho nru na knihu pravd podobn komiksu m ete bu p et hnout knihu na nru nebo ho p idat do knihy pomoc pravy metadat p esn stejn m zp sobem jak je provedeno v e Hled n 4 10 History TT 1 Japanese T 7 Military T 4 Roman TT 5 Mysteries Nejsnadn j zp sob hled n nr je pomoc prohl e e t tk kliknut m na nr kter chcete vid t Kliknut m na nr s pod zen mi polo kami v m zobraz knihy s t mto nrem a se v emi pod zen mi nry To v ak m e vyvolat ot zku Jen proto e m nr pod zen
58. kter se nepoda ilo odeslat timeout t Casovy limit pro p ipojen verbose v V ce podrobnost version zobrazit slo verze programu a ukon it COMPOSE MAIL Volby pro naps n e mailu Ignorovat pokud text nen zad n attachment a Soubor p ipojen k e mailu subject s P edm t e mailu 1 11 Rozhran p kazov ho dku 233 U ivatelsk p ru ka Calibre Vyd n 2 46 0 SMTP RELAY Volby pro pou it serveru p enosu SMTP pro odes l n po ty Calibre se pokus odeslat e mail p mo pokud nen zad no relay encryption method e Metoda ifrov n pou it p i p ipojov n k p enosu Mo nosti jsou TLS SSL a Z dn V choz je TLS VARO V N V b r volby dn je vysoce nezabezpe en password p Heslo pro p enos port Port pro p ipojen k serveru p enosu V choz je pou t 465 pokud je metoda ifrov n SSL jinak 25 relay r Server p enosu SMTP pou it pro odesl n e mailu username u U ivatelsk jm no pro p enos calibredb calibredb command options arguments calibredb is the command line interface to the calibre database It has several sub commands documented below Glob ln volby str nka 234 list str nka 235 add str nka 235 remove str nka 236 add format str nka 237 remove format str nka 237 show metadata str nka 237 set metadata str nka 2
59. lt body gt lt html gt Vestav n funkce XPath name N zev aktu ln zna ky contains contains s1 s2 vrac true pokud sl obsahuje s2 re test re test zdroj vzor p znaky vrac true pokud et zec zdroj odpov d regul rn mu v razu vzor Obzvl u ite n p znak je i porovn n je pak bez rozli en mal ch a velk ch p smen Dobr z klady syntaxe pro regul rn v razy m ete nal zt na syntaxe regexp 1 9 3 The calibre template language The calibre template language is used in various places It is used to control the folder structure and file name when saving files from the calibre library to the disk or eBook reader It is also used to define virtual columns that contain data from other columns and so on The basic template language is very simple but has very powerful advanced features The basic idea is that a template consists of text and names in curly brackets that are then replaced by the corresponding metadata from the book being processed So for example the default template used for saving books to device in calibre is author_sort title title authors 7https docs python org 2 7 library re html 1 9 Kurzy 133 pter or U ivatelsk p ru ka Calibre Vyd n 2 46 0 For the book The Foundation by Isaac Asimov it will become Asimov Isaac The Foundation The Foundation Isaac Asimov The slashes are text
60. map id world map The dynamic maps don t seem to work during ebook creation TO DO Investigate map reg exp xmap x Remove social bookmarking variation called socialBookMarks social bookmarks reg exp social bookmarks x Remove page navigation tools like search email print called blq mast blq mast reg exp blq xmast Remove sharesb I think this is a generic sharing class It seems to appear alongside socialBookMarks whenever that appears I am removing it as well under the assumption that it can appear alone as well sharesb reg exp xsharesb x Remove class o The worst named user created css class of all time The creator should immediately be fired I ve seen it used to hold nothing at all but with 20 or so empty lines in it Also to hold a single link to another article Whatever it was designed to do it is not wanted by this recipe Exact match only o reg exp o Remove promotopbg and promobottombg link lists Have decided to use two reg expressions to make removing this and variants robust promo top reg exp promotopbg x promo bottom reg exp xpromobottombg Remove nlp provides heading for link lists Requires an exact match due to risk of matching those letters in something needed unless I s a variation of nlp used at a later date nlp reg exp nlp Remove mva provides e
61. n a nahrazen s ostatn mi zm nami 104 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 Hromadn stahov n metadat Pokud chcete st hnout metadata pro v ce knih najednou klikn te prav m tla tkem my i na tla tko Upravit metadata a vyberte St hnout metadata M ete si zvolit st hnout pouze metadata pouze ob lky nebo oboj 1 8 Nej ast j dotazy Obsah Ebook Format Conversion str nka 105 Device Integration str nka 108 Library Management str nka 115 R zn str nka 119 1 8 1 Ebook Format Conversion Obsah What formats does calibre support conversion to from str nka 105 Jak jsou nejlep zdrojov form ty pro p evod str nka 106 P evedl jsem PDF soubor ale v sledn soubor m r zn probl my str nka 106 How do I convert my file containing non English characters or smart guotes str nka 106 What s the deal with Table of Contents in MOBI files str nka 106 The covers for my MOBI files have stopped showing up in Kindle for PC Kindle for Android iPad etc str nka 107 Jak p evedu kolekci HTML soubor v ur it m po ad str nka 107 The EPUB I produced with calibre is not valid str nka 108 How do I use some of the advanced features of the conversion tools str nka 108 What formats does calibre support conversion to from calibre supports the conversion of many input formats to many outpu
62. p pona pou ije form t p edponu a p ponu na hodnotu stejn m zp sobem jak bylo provedeno v ablon jako series index 05 2f Nap klad n sleduj c vytv stejn o v stup jako v e uveden ablona program finish formatting field series index 05 2f format date hodnota form t et zce class calibre utils formatter functions BuiltinFormatDate format date hodnota form t et zce form tuje hodnotu co mus b t datum pomoc form t et zce vrac et zec K dy form tov n jsou d den jako slo bez vodn nuly 1 a 31 dd den jako slo s vodn nulou 01 a 31 ddd zkr cen lokalizovan n zev dne nap Pon aZ Ned dddd dlouh lokalizovan n zev dne nap Pond l aZ Ned le M m s c jako slo bez vodn nuly 1 a 12 MM m s c jako slo s vodn nulou 01 a 12 MMM zkr cen lokalizovan n zev m s ce nap Led a Pro MMMM dlouh lokali zovan n zev m s ce nap Leden a Prosinec yy rok jako dvoum stn slo 00 a 99 yyyy rok jako ty m stn slo h hodiny bez vodn nuly 0 a 11 nebo 0 a 23 v z vislosti na dop odp hh hodiny s vodn nulou 00 a 11 nebo 00 a 23 v z vislosti na dop odp m minuty bez vodn nuly 0 a 59 mm minuty s vodn nulou 00 a 59 s sekundy bez vodn nuly 0 a 59 ss sekun
63. pad pot eby jsou vlo eny pr zdn dky a tak d le Pamatujte e zkr lov n tak automaticky oprav po kozen HTML nebo CSS Proto pokud nechcete aby byly provedeny jak koliv automatick opravy pou ijte nejd ve n stroj Zkontrolovat knihu pro opravu v ech probl m a teprve pak spus te zkr len P stupn pomoc N stroje gt Zkr lit v echny soubory Pozn mka V HTML m e m t jak koliv text v znamov pr zdn znaky podle sm rnice CSS o pr zdn ch znac ch Proto by mohlo zkr len zm nit vykreslen HTML Aby se tomu zabr nilo pokud je to mo n algoritmus zkr len zkr luje pouze zna ky na rovni blok kter obsahuj jin zna ky na rovni blok Tak e nap klad text uvnit zna ky lt p gt nebude m t zm n ny pr zdn znaky Ale zna ka lt body gt kter obsahuje pouze dal zna ky lt p gt a lt div gt bude zkr lena To m e n kdy znamenat e ur it soubor nebude zkr len m ovlivn n proto e nem dn vhodn zna ky na rovni blok V takov ch p padech m ete zkusit r zn n stroje zkr len kter jsou m n opatrn nap klad klid HTML Tidy http infohound net tidy _ Vlo it vlo en obsah Norm ln je v e knih ch obsah odd len od hlavn ho textu a je obvykle p stupn prost ednictv m speci ln ho tla tka nebo nab dky Obsah ve tec m za zen e knih M ete tak nechat Calibre auto
64. r norm ln ch znak Tato volba je nam sto toho ponech line height V ka dku v bodech Ur uje mezery mezi za sebou n sleduj c mi dky textu Plat pouze pro prvky kter nedefinuj svou vlastn v ku dku Ve v t in p pad je u ite n j volba minim ln v ka dku Ve v choz m 2x4 nastaven se neprov d dn zpracov n v ky dku linearize tables N kter chybn navr en dokumenty pou vaj tabulky pro ovl d n rozlo en textu na str nce P i p evodu maj tyto dokumenty asto text kter vyb h mimo str nku a jin artefakty Tato volba extrahuje obsah z tabulek a zobraz ho v lin rn tvaru margin bottom Nastavit doln okraj v bodech V choz je 5 0 Nastaven na hodnotu men ne nula zp sob Ze se nenastav dn okraje bude zachov no nastaven okraj v p vodn m dokumentu Pozn mka 72 bod je 1 palec margin left Nastavit lev okraj v bodech V choz je 5 0 Nastaven na hodnotu men ne nula zp sob Ze se nenastav dn okraje bude zachov no nastaven okraj v p vodn m dokumentu Pozn mka 72 bod je 1 palec margin right Nastavit prav okraj v bodech V choz je 5 0 Nastaven na hodnotu men ne nula zp sob Ze se nenastav dn okraje bude zachov no nastaven okraj v p vodn m dokumentu Pozn mka 72 bod je 1 palec margin top Nastavit horn okraj v bode
65. rac zna kou ote v rac zna ky jsou lt zna ka gt uzav rac zna ky jsou lt zna ka gt co je v tomto p pad jednodu e n sledu j c lt b gt Pod vejte se do dobr p ru ky k HTML nebo se zeptejte ve f ru pokud si v tomto bod nejste jisti Po te n zna ku lze popsat pomoc lt b gt uzav rac zna ku pomoc lt b gt tak e bychom mohli odstranit v e mezi t mito zna kami pomoc lt b gt lt b gt Ale pou it tohoto v razu by byl patn n pad proto e odstra uje v e co je uzav eno zna kami lt b gt kter mimochodem vykresl uzav en text tu n m p smem a vsa te se e 7http www mobileread com forums showthread php 75594 166 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 t mto zp sobem odstran me sti knihy M sto toho zahr te i za tek uzav en ho et zce tak e regul rn v raz bude lt b gt s Vygeneroval s ABC stAmber s LIT lt b gt Ns s kvantifik tory jsou zde zahrnuty nam sto v slovn ho pou it mezer jak je vid t v et zci aby byly zachyceny v echny variace et zce kter by mohly nastat Nezapome te zkontrolovat co Calibre odstran kdy testuje nov v raz abyste se ujistili Ze neodstran te dn sti kter chcete zachovat Pokud zkontrolujete pouze jeden v skyt m e v m uniknout neshoda n kde jinde v textu Tak pamatujte e kdybyste omylem odstranili
66. raz o a v raz nahrazen o V M bude v sledek o ko i ce zlobiv Pro v ce informac o zp tn ch odkazech se pod vejte na V e o pou v n regul rn ch v raz v Calibre str nka 163 views Jeden u ite n vzor p edpokl dejme e chcete zm nit velikost p smen cel ho pole Nejsnadn j zp sob jak to ud lat je pou t znakov re im ale p edpokl dejme d le e chcete pou t re im regul rn ho v razu Vyhled vac v raz by m l b t v raz nahrazen by m l b t V a m la by b t vybr na po adovan funkce zm ny velikosti p smen A kone n v re imu regul rn ho v razu m ete kop rovat hodnoty z jednoho pole do druh ho Sta aby se zdrojov a c lov pole li ilo Kopie m e nahradit c lov pole p ed adit se poli p idat na za tek nebo se p ipojit k poli p idat na konec Za krt vac pol ko pou t rku k calibre aby p idalo nebo nep idalo rku mezi text a c lov pole v re imech p ed azen a p ipojen Pokud je c l v cen sobn nap t tky pak nem ete zru it za krtnut tohoto pol ka Hledat a nahradit je provedeno po pou it v ech ostatn ch zm n metadat na ostatn ch kart ch To m e v st k ur it mu zmatku proto e testovac pole zobraz informace p ed ostatn mi zm nami ale operace bude pou ita po ostatn ch zm n Pokud m te jak koliv pochybnosti o tom co se stane nem chejte hled
67. recipes see P id v n obl ben ch webov ch str nek se zpr vami str nka 23 abort article msg None Call this method inside any of the preprocess methods to abort the download for the current article Useful to skip articles that contain inappropriate content such as pure video articles abort recipe processing msg Causes the recipe download system to abort the download of this recipe displaying a simple feedback message to the user add toc thumbnail article src Call this from populate article metadata with the src attribute of an lt img gt tag from the article that is ap propriate for use as the thumbnail representing the article in the Table of Contents Whether the thumbnail is actually used is device dependent currently only used by the Kindles Note that the referenced image must be one that was successfully downloaded otherwise it will be ignored classmethod adeify images soup If your recipe when converted to EPUB has problems with images when viewed in Adobe Digital Editions call this method from within postprocess html str nka 46 canonicalize internal url url is_link True Return a set of canonical representations of ur 1 The default implementation uses just the server hostname and path of the URL ignoring any query parameters fragments etc The canonical representations must be unique across all URLs for this news source If they are not then internal links may be resolved incorrectly Param
68. ru ka Calibre Vyd n 2 46 0 Managing component files in a container calibre ebooks oeb polish replace replace links container link map frag mapz function lambda replace in opf False Replace links to files in the container Will iterate over all files in the container and change the specified links in them Parametry link map A mapping of old canonical name to new canonical name For example images old png images new png e frag map A callable that takes two arguments name anchor and returns a new anchor This is useful if you need to change the anchors in HTML files By default it does nothing e replace in opf If False links are not replaced in the OPF file calibre ebooks oeb polish replace rename files container file map Rename files in the container automatically updating all links to them Parametry file map A mapping of old canonical name to new canonical name for example text chapterl html chapterl html calibre ebooks oeb polish replace get recommended folders container names Return the folders that are recommended for the given filenames The recommendation is based on where the majority of files of the same type are located in the container If no files of a particular type are present the recommended folder is assumed to be the folder containing the OPF file Pretty printing and auto fixing parse errors calibre ebooks oeb polish pretty fix html container raw F
69. s datem p ed ur it m po tem dn Nap klad date gt 10daysago date lt 45daysago Aby se zabr nilo p padn m probl m m s p elo en mi et zci p i pou v n neanglick verze Calibre jsou v dy dostupn et zce today yesterday thismontha daysago Ty nejsou p elo en Takto m ete hledat knihy kter maj form t o ur it velikosti size gt 1 1M Will find books with a format larger than 1 1MB size lt 1K Will find books with a format smaller than 1KB Data a seln pole podporuj rela n oper tory rovn se gt v t ne gt v t ne nebo rovno lt men ne lt men ne nebo rovno a nen rovno Pole hodnocen jsou pova ov na za seln Nap klad hled n rating gt 3 nalezne v echny knihy s hodnocen m 3 nebo vy m M ete hledat po et polo ek v pol ch s v ce hodnotami jako jsou t tky Tato hled n za naj znakem pak pou ijte stejnou syntaxi jako seln pole Nap klad abyste na li v echny knihy s v ce ne 4 t tky pou ijte tags 1t 4 Abyste na li v echny knihy s p esn 10 t tky pou ijte tags 10 2https docs python org 2 library re html 12 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 Indexy s ri jsou vyhledateln Pro standardn s rie je n zev hled n series index Pro vlastn sloupce s ri po
70. subject s 233 timeout t 233 username u 234 verbose v 233 version 233 calibre customize modul 193 calibre customize conversion modul 200 calibre db cache modul 267 calibre devices interface modul 202 calibre ebooks metadata book base modul 155 calibre ebooks metadata sources base modul 198 calibre ebooks oeb polish container modul 273 calibre ebooks oeb polish cover modul 278 calibre ebooks oeb polish css modul 279 calibre ebooks oeb polish jacket modul 277 calibre ebooks oeb polish pretty modul 277 calibre ebooks oeb polish replace modul 277 calibre ebooks oeb polish split modul 278 calibre ebooks oeb polish toc modul 279 calibre gui2 tweak_book boss modul 281 calibre gui2 tweak book plugin Tool modul 279 calibre utils formatter functions modul 146 calibre web feeds news modul 43 calibredb add volba p kazov ho dku authors a 236 cover c 236 duplicates d 236 empty e 236 help h 236 identifier I 236 isbn i 236 languages l 236 one book per directory 1 236 recurse r 236 series s 236 series index S 236 tags T 236 title t 236 version 236 calibredb add custom column volba pr kazov ho r dku display 240 help h 240 is multiple 240 version 240 calibredb add format volba p kazov ho dku dont replace 237 help h 237 version 23
71. uje velikost soubor p sem polovi n velikosti soubor p sem jsou b n Nap klad pokud kniha pou v konkr tn p smo pro nadpisy pak ste n vkl d n zmen toto p smo aby obsahovalo pouze znaky p tomn v nadpisech v knize Nebo pokud kniha vlo verze p sma pro tu n p smo a kurz vu ale texty tu n m p smem a kurz vou jsou pom rn vz cn nebo pln chyb pak m e b t tu n p smo 1 11 Rozhran p kazov ho dku 255 U ivatelsk p ru ka Calibre Vyd n 2 46 0 a kurz va bu zmen eno nebo pln odebr no Jedin nev hoda ste n ho vkl d n p sem je ta e pokud se pozd ji rozhodnete p idat dal text do sv ch knih nov p idan text nemus b t pokryt podmno inou p sma verbose Vytv podrobn j v stup u ite n pro lad n version zobrazit slo verze programu a ukon it ebook viewer ebook viewer options file Zobrazit e knihu Kdykoliv p ed te parametry ebook viewer kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami options continue Pokra ovat ve ten d ve otev en knihy debug javascript Vypsat v straha javascriptu a zpr vy konzole do konzole detach Odpojit od d c ho termin lu pokud n jak je pouze pro Linux full screen f Pokud je zad no okno prohl e e se pokus p i spu t n otev
72. v n a nahrazov n Soubor mus obsahovat st dav dky regul rn ho v razu n sledovan vzorem nahrazen co m e b t pr zdn dek Regul rn v raz mus m t syntaxi Python Regex a soubor mus m t k dov n UTF 8 srl replace Nahrazen kter m nahradit text nalezeny pomoc sr1 search srl search Hledan vzor regul rn v raz kter m b t nahrazen pomoc sr1 replace sr2 replace Nahrazen kter m nahradit text nalezen pomoc sr2 search sr2 search Hledan vzor regul rn v raz kter m b t nahrazen pomoc sr2 replace sr3 replace Nahrazen kter m nahradit text nalezeny pomoc sr2 search sr3 search Hledan vzor regul rn v raz kter m b t nahrazen pomoc sr3 replace Detekce Struktury Nastaven autodetekce struktury dokumentu chapter V raz XPath pro rozpozn n nadpis kapitol V choz nastaven je pova ovat zna ky lt h1 gt nebo lt h2 gt ob sahuj c slova chapter kapitola book kniha section odd l prologue prolog epilogue epilog nebo part st za nadpisy kapitol stejn jako jak koliv zna ky s class chapter t da kapitola Pou it v raz mus vyhodnotit seznam prvk Pro zak z n rozpozn v n kapitol pou ijte v raz Dal n pov du k pou v n t to funkce naleznete v kurzu XPath v u ivatelsk p ru ce Calibre chapter mark Zadej
73. which is put into the template where it appears For example if your template is author sort Some Important Text title title authors For the book The Foundation by Isaac Asimov it will become Asimov Isaac Some Important Text The Foundation The Foundation Isaac Asimov You can use all the various metadata fields available in calibre in a template including any custom columns you have created yourself To find out the template name for a column simply hover your mouse over the column header Names for custom fields columns you have created yourself always have a as the first character For series type custom fields there is always an additional field named seriesname index that becomes the series index for that series So if you have a custom series field named my series there will also be a field named tmyseries index In addition to the column based fields you also can use formats A list of formats available in the calibre library for a book identifiers select isbn The ISBN number of the book If a particular book does not have a particular piece of metadata the field in the template is automatically removed for that book Consider for example author sort series title series index If a book has a series the template will produce Asimov Isaac Foundation Second Foundation 3 and if a book does not have a series Asimov Isaac S
74. zn p tomn n stroje a funkce kter v m umo n efektivn prov st konkr tn koly P http html net tutorials html X http html net tutorials css 1 5 prava e knih 73 U ivatelsk p ru ka Calibre Vyd n 2 46 0 74 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 1 5 2 Prohl e soubor Files Browser LU Text W titlepage xhtml index split O00 htrml index split 001 htmL index split 002 html index split 004 hEtmL index split 005 html index split 006 html index split 007 htmL cad i FS Styles page styles css stylesheet css v Z Images back png W cover image jpa dot green png Forward png image1 giF T Fonts Ubuntu Bold EtF Ubuntu BoldlEalic EEF 5 prava SKRIN Italic ttF Ubuntu Regular ttF 75 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Prohl e soubor v m poskytuje p ehled o r zn ch souborech uvnit knihy kterou upravujete Soubory jsou uspo d ny podle kategorie s textov mi soubory HTML naho e n sledovan mi soubory ablon styl CSS obr zky a tak d le Jednodu e poklepejte na soubor pro spu t n jeho pravy prava je podporov na pro soubory HTML CSS a obr zky Po ad textov ch soubor je stejn v jak m by byly zobrazeny pokud byste etli knihu V echny ostatn soubory jsou uspo d ny abecedn P ejet m my nad polo kou m ete vid t
75. 001 html index split 002 htmL E index split 004 html index split 005 htmL index split 006 html index split 007 htmL n fs Styles page styles css stylesheet css Y QA images back png W cover imagejpg dot green png Forward png image giF M T Fonts Ubuntu Ubuntu Bold ttF Bolditalic ttF Ubuntu Italic ttf Ubuntu Regular ttf Ubuntu Mono Regular ttf V Miscellaneous calibre 1 14 created by Kovid Goyal lt xml version i 0 encoding utf 8 html xmlns http www w3 org 1999 xhtml lt head gt lt title gt DOCX Demo lt title gt lt link href stylesheet css rel stylesheet type text css gt link href page styles css rel stylesheet type text css gt lt head gt lt body class calibre gt lt p class block1 gt Miscellaneous structural elements you can add to your document like footnotes endnotes dropcaps and the like lt p gt lt h2 id id Toc359077858 class block4 gt Footnotes Janp Endnotes lt h2 gt p class blocki gt Footnotes lt sup class calibre3 gt lt sup id back_note_1 class noteref gt lt a href index split 006 htmlinote 1 title 1 class calibre8 gt 1 lt a gt lt sup gt lt sup gt and endnotes lt sup calibre3 gt lt sup id back note 2 class noteref gt lt a href index split 907 html note_2 title 2 class calibre8 gt 2 lt a gt lt sup gt lt sup gt are automatically recognized and both are convert
76. 156 libre db cache Cache 270 get all user metadata metoda ca get images metoda ca libre ebooks metadata book base Metadata libre customize conversion InputFormatPlugin Rejst k 301 U ivatelsk p ru ka Calibre Vyd n 2 46 0 201 get item id metoda calibre db cache Cache 270 get item ids metoda calibre db cache Cache 270 get item name metoda calibre db cache Cache 270 get masthead title metoda ca libre web feeds news BasicNewsRecipe 44 get masthead url metoda ca libre web feeds news BasicNewsRecipe 44 get metadata metoda ca libre customize MetadataReaderPlugin 197 get_metadata metoda calibre db cache Cache 270 get_next_series_num_for metoda ca libre db cache Cache 270 get_obfuscated_article metoda ca libre web feeds news BasicNewsRecipe 45 get_option metoda ca libre devices interface DevicePlugin 209 get proxy metadata metoda calibre db cache Cache 270 get recommended folders v modulu libre ebooks oeb polish replace 277 get standard metadata metoda libre ebooks metadata book base Metadata 156 get title tokens metoda libre ebooks metadata sources base Source 198 get usage count by id metoda libre db cache Cache 270 get user blacklisted devices metoda libre devices interface DevicePlugin 208 get user metadata metoda libre ebooks metadata book base Metadata 156 guess type metoda ca lib
77. 240 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 version zobrazit slo verze programu a ukon it custom columns calibredb custom columns options Vypsat dostupn vlastn sloupce Zobraz popisky sloupc a identifik tory Kdykoliv p ed te parametry calibredb kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami details d Zobrazit podrobnosti pro ka d sloupec help h zobrazit tuto zpr vu n pov dy a ukon it version zobrazit slo verze programu a ukon it remove custom column calibredb remove custom column options label Odebrat vlastn sloupec identifikovan popiskem Dostupn sloupce m ete zobrazit p kazem custom columns Kdykoliv p ed te parametry calibredb kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami force f NepoZadovat potvrzen help h zobrazit tuto zpr vu n pov dy a ukon it version zobrazit slo verze programu a ukon it set custom calibredb set custom options column id value Nastavit hodnotu vlastn ho sloupce pro knihu identifikovanou identifik torem Seznam identifik tor m ete z skat pomoc p kazu search Seznam n zv vlastn ch sloupc m ete z skat pomoc p kazu custom columns Kdykoliv p ed te parametry calibredb kter obsahuj mezery uzav
78. Dahak Series index 1 Title Mutineers Moon Output Dahak 01 Mutineers Moon Series Berserkers Series Index 4 Title Berserker Throne Output Bers kers 04 Berserker Throne Series Meg Langslow Mysteries Series Index 3 Title Revenge of the Wrought Iron Flamingos Output MLM 03 Revenge of the Wrought Iron Flamingos The following program produces the same results as the original recipe using only one custom column to hold the results of a program that computes the special title value Custom column Name fspecial title Template the following with all leading spaces removed program compute th quivalent of the composite fields and store them in local varia stripped re field series A The An st shortened shorten stripped 4 4 initials re stripped Nw Nw NS c NSIS N1 Format the series index Ends up as empty if there is no series index Note that leading and trailing spaces will be removed by the formatter SO we cannot add them here We will do that in the strcat below Also note that because we are in program mode we can freely use curly brackets in strings something we cannot do in template mode S index template series_index 0 gt 2 0f print stripped shortened initials s index 160 Kapitola 1 Odd ly Template stripped_series lookup s initials shortened series series index 0 gt 2 0f
79. Git e Setup ssh keys for authentication to GitHub as described here Generating SSH keys Go to https github com kovidgoyal calibre and click the Fork button n a Terminal do git clone git github com lt username gt calibre git git remote add upstream https github com kovidgoyal calibre git Replace lt username gt above with your github username That will get your fork checked out locally You can make changes and commit them whenever you like When you are ready to have your work merged do a git push and go to https github com lt username gt calibre and click the Pull Request button to generate a pull request that can be merged You can update your local copy with code from the main repo at any time by doing git pull upstream You should also keep an eye on the calibre development forum Before making major changes you should discuss them in the forum or contact Kovid directly his email address is all over the source code 102 hitps bugs launchpad net calibre 103 https bugs launchpad net calibre 104https github com 105 https help github com articles set up git 106https help github com articles generating ssh keys 107 http www mobileread com forums forumdisplay php f 240 262 Kapitola 1 Oddily U ivatelsk p ru ka Calibre Vyd n 2 46 0 1 12 3 Windows development environment Pozn mka You must also get the
80. Library Management Obsah What formats does calibre read metadata from str nka 115 Where are the book files stored str nka 115 How does calibre manage author names and sorting str nka 116 Why doesn t calibre let me store books in my own directory structure str nka 117 Why doesn t calibre have a column for foo str nka 118 Can I have a column showing the formats or the ISBN str nka 118 How do I move my calibre library from one computer to another str nka 118 The list of books in calibre is blank str nka 118 I am getting errors with my calibre library on a networked drive NAS str nka 119 What formats does calibre read metadata from calibre reads metadata from the following formats CHM LRF PDF LIT RTF OPF MOBI PRC EPUB FB2 IMP RB HTML In addition it can write metadata to LRF RTF OPF EPUB PDF MOBI Where are the book files stored When you first run calibre it will ask you for a folder in which to store your books Whenever you add a book to calibre it will copy the book into that folder Books in the folder are nicely arranged into sub folders by Author and 1 8 Nej ast j dotazy 115 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Title Note that the contents of this folder are automatically managed by calibre do not add any files folders manually to this folder as they may be automatically deleted If you want to add a file associated to a particular bo
81. Now what about using functions and formatting in the same field Suppose you have an integer custom column called my int that you want to see with leading zeros as in 003 To do this you would use a format of 0 gt 3s However by default if a number integer or float equals zero then the field produces the empty value so zero values will produce nothing not 000 If you really want to see 000 values then you use both the format string and the i fempt y function to change the empty value back to a zero The field reference would be myint 0 gt 3s ifempty 0 Note that you can use the prefix and suffix as well If you want the number to appear as 003 or 000 then use the field myint 0 gt 3s ifempty 0 1 Using functions in templates template program mode The template language program mode differs from single function mode in that it permits you to write template ex pressions that refer to other metadata fields modify values and do arithmetic It is a reasonably complete programming language You can use the functions documented above in template program mode See below for details Beginning with an example assume that you want your template to show the series for a book if it has one otherwise show the value of a custom field genre You cannot do this in the basic language because you cannot make reference to another metadata field within a template expression In program mode you can The following
82. P i p ed n jednoho n zvu vr t funkce nezpracovan bajty tohoto souboru nebo None pokud n zev nebyl v souboru zip nalezen Pokud p ed te v ce ne jeden n zev pak vrac slovn k mapuj c n zvy na bajty Pokud n zev nen nalezen nebude p tomen ve vr cen m slovn ku get icons name or list of names Pohodln obal pro get resources kter vytvo objekty QIcon z nezpracovan ch bajt vr cen ch get resources Pokud n zev nen v souboru zip nalezen odpov da j c QIcon bude nulov Povolen u ivatelsk konfigurace va eho modulu Abyste povolili u ivatel m konfigurovat v modul mus te definovat ve sv z kladn t d modulu t i metody is customizable config widget a save settings jak je uvedeno n e def is customizable self pre This method must return True to enable customization via Preferences gt Plugins aE i return True def config_widget self PET Implement this method and meth save settings in your plugin to use a custom configuration dialog This method if implemented must return a QWidget The widget can have an optional method validate that takes no arguments and is called immediately after the user clicks OK Changes are applied if and only if the method returns True If for some reason you cannot perform the configuration at this time return a tuple of two strings message details these will be displayed as a warning dialog to t
83. Page u http newsrss bbc co uk rss newsonli def print version self url return url replace http http newsvote bbc co uk mpapps pagetools Ve v e uveden m def print version self url definuje metodu kter je vol na Calibre pro ka d l nek url je URL p vodn ho l nku print version d l to e vezme tuto URL a nahrad ji novou URL kter odkazuje na tiskovou verzi l nku Abyste se nau ili v ce o Pythonu pod vejte se na kurz Nyn klikn te na tla tko P idat nebo aktualizovat p edpis a va e zm ny budou ulo eny Znovu st hn te e knihu M li byste m t mnohem lep e knihu Jeden z probl m s novou verz je e p sma na tiskov verzi webov str nky jsou p li mal To je automaticky opraveno p i p evodu na e knihu ale i po procesu opravy bude velikost p sma nab dek a naviga n ho panelu p li velk vzhledem k textu l nku Abychom to opravili provedeme n jak dal p izp soben v dal m odd le Nahrazov n styl l nku V p edchoz m odd le jsme vid li e velikost p sma pro l nky z tiskov verze BBC byla p li mal Ve v t in webov ch str nek v etn BBC je tato velikost p sma nastavena pomoc ablon styl CSS M eme zak zat na t n t chto ablon styl p id n m dku no stylesheets Tru P edpis nyn vypad takto 3http www python org 4https docs python org 2 tutorial
84. Pou it tiskov verze bbc co uk str nka 26 Nahrazov n styl l nku str nka 27 Kr jen a sek n str nka 28 P klad ze skute n ho ivota str nka 40 Tipy pro v voj nov ch p edpis str nka 42 Dal ten str nka 43 Dokumentace API str nka 43 1 2 1 pln automatick na t n Pokud je v zdroj zpr v dostate n jednoduch Calibre m e b t schopn z skat ho pln automaticky pot ebujete jen zadat URL Calibre shrom d v echny informace pot ebn ke sta en zdroje zpr v do p edpisu Abyste ekli Calibre o zdroji zpr v mus te pro to vytvo it p edpis Poj me se pod vat na n jak p klady Blog Calibre Blog Calibre je blog p sp vk kter popisuj mnoho u ite n ch funkc Calibre jednoduch m a p stupn m zp sobem pro nov u ivatele Calibre Pro sta en tohoto blogu do e knihy spol h me na informa n kan l RSS blogu http blog calibre ebook com feeds posts default URL RSS jsem z skal pod v n m se pod Subscribe to dole na str nce blogu a v b rem Posts gt Atom Aby Calibre st hlo informa n kan ly a p evedlo je na e knihu m li byste kliknout prav m tla tkem my i na tla tko Na st zpr vy a pak na polo ku nab dky P idat vlastn zdroj zpr v a pak na tla tko guilabel Nov p edpis M lo by se otev t dialogov okno podobn tomu n e zobrazen mu 24 Kapitol
85. TOC h h1l Level 2 TOC h h2 Toto bude m t za v sledek automaticky generovan dvou rov ov obsah kter vypad jako Chapter 1 Section 1 1 Section 1 2 Chapter 2 Section 2 1 Varov n Ne v echny form ty podporuj v ce rov ov obsahy Table of Contents Jako prvn v stupn form t zkuste EPUB Pokud ten funguje skuste form t vlastn ho v b ru 1 4 8 Po it obr zku jako n zvu kapitol p konverzi HTML vstupn ch dokument P edpokl dejme e chcete pou t obr zek jako n zev kapitoly ale st le chcete aby Calibre bylo pro v s schopno automaticky generovat obsah z n zv kapitol Pou ijte n sleduj c zna en HTML abyste toho dos hli html body lt h2 gt Chapter 1 lt h2 gt lt p gt chapter 1 text lt p gt lt h2 title Chapter 2 gt lt img src chapter2 jpg gt lt h2 gt lt p gt chapter 2 text lt p gt lt body gt lt html gt Nastavte Obsah I rovn na h h2 Pak pro druhou kapitolu Calibre vezme n zev z hodnoty atributu title zna ky lt h2 gt proto e zna ka nem dn text 1 4 9 Pou v n atribut zna ek pro dod n textu pro polo ky v obsahu Pokud m te obzvl dlouh n zvy kapitol a chcete m t v obsahu zkr cen verze m ete pou t atribut n zvu abyste toho dos hli nap klad html body lt h2 title Chapter 1 gt Chapter 1 Some very long title lt h2 gt lt p gt
86. The number argument is the number of the current match When you run Replace All every successive match will cause replace to be called with an increasing number The first match has number 1 The file name argument This is the filename of the file in which the current match was found When searching inside marked text the file name is empty The file name is in canonical form a path relative to the root of the book using as the path separator The metadata argument This represents the metadata of the current book such as title authors language etc Itis an object of class ca1ibre ebooks metadata book base Metadata str nka 155 Useful attributes include title authors a list of authors and language the language code The dictionaries argument This represents the collection of dictionaries used for spell checking the current book It s most useful method is dictionaries recognized word which will return True if the passed in word is recognized by the dictionary for the current book s language The data argument This a simple python dict When you run Replace All every successive match will cause replace to be called with the same dict as data You can thus use it to store arbitrary data between invocations of replace during a Replace All operation 34https docs python org 2 7 library re html match objects 94 Kapitola 1 Oddily U ivatelsk p ru ka Calibre Vyd n 2 46 0 The functions argument T
87. To nap klad zp sob e v n kter ch v stupn ch form tech bude u obr zk automaticky zm n na velikost aby se p izp sobily obrazovce Tak e zvolte profil za zen kter m podobnou velikost obrazovky va emu za zen 1 4 4 Heuristick zpracov n Heuristick zpracov n poskytuje celou adu funkc kter mohou b t pou ity pro pokus o rozpozn n a opravu b n ch probl m ve patn form tovan ch vstupn ch dokumentech Pou ijte tyto funkce pokud v vstupn dokument trp patn m form tov n Proto e tyto funkce spol haj na b n vzory uv domte si e v n kter ch p padech m e volba v st k hor m v sledk m tak to pou vejte opatrn Nap klad n kolik z t chto voleb odebere v echny entity pevn ch mezer nebo mohou zahrnovat fale n pozitivn shody souvisej c ch s funkc Enable heuristic processing Tato volba aktivuje f zi heuristick ho zpracov n p evodn ho et zce Calibre Mus to b t povoleno aby byly pou ity r zn d l funkce Unwrap lines Povolen t to volby zp sob e se Calibre pokus rozpoznat a opravit tvrd pevn konce dk exis tuj c ch v dokumentu pomoc interpunk n ch vod tek a d lky dku Calibre se nejd ve pokus rozpoznat zda pevn konce dk existuj pokud se zd e neexistuj Calibre se nepokus zru it zalomen dk Koeficient sys 24 zru en zalomen dku m e b t zm
88. U ite n funkce ablon str nka 131 B n ud van po adavky pro podskupiny jako nry jsou Podskupina nap nr mus obsahovat ukazovat na knihy ne kategorie knih To odli uje podskupiny od u ivatelsk ch kategori Calibre e Kniha m e b t ve v ce podskupin ch nrech To odli uje podskupiny od fyzick ch slo ek soubor Podskupiny nry mus tvo it hierarchii podskupiny mohou obsahovat podskupiny x M44 t tky v m poskytuj prvn dva Kdy ozna te knihu t tkem nru m ete pak pou t prohl e t tk nebo hledat Y abyste na li knihy s t mto nrem co je prvn Mnoho knih m e m t stejn t tek t tky to je druh Probl m je e t tky nevyhovuj t et mu po adavku Neposkytuj hierarchii 4 TT Genre 14 x T 10 History MT c Japanese TT o Military TT o Roman TT 3 Alternate History T 2 Military T 5 Space Opera T 5 Thrillers T m mwratinn 71 wien an 16 17 Be moe SMS e mo me Ce cg SSP C Funkce hierarchie Calibre v m poskytuje t et schopnost vid t nry ve stromu a schopnost snadno hledat knihy v nry nebo pod nru Nap klad p edpokl dejme e va e struktura nr je podobn n sleduj c Genre History Japanese ilitary Roman Mysteries English Vampire Science Fiction Alternate History Military Space Ope
89. Vybrat p edchoz kartu virtu ln knihovny N nebo F3 Naj t dal knihu kter odpov d aktu ln mu hled n funguje pouze pokud je zapnuto zv raz o Shift N nebo Shift F3 Naj t p edchoz knihu kter odpov d aktu ln mu hled n funguje pouze pokud je zapnuto zv Ctrl D St hnout metadata a ob lky Ctrl R Restartovat Calibre Ctrl Shift R Restartovat Calibre v rezimu lad ni Shift Ctrl E P idat pr zdn knihy do Calibre Ctrl M P epnout stav ozna en nebo neozna en pro vybran knihy Q Otev t automaticky otev ran Rychl zobrazen pro zobrazen knih v souvisej c ch s ri ch St tc Shift 0 Zam it na otev en panel Rychl ho zobrazen Shift S Prov st hled n v panelu Rychl ho zobrazen Ctrl 0 Ukon it Calibre 1 2 P id v n obl ben ch webov ch str nek se zpr vami Calibre m v konn pru n a snadno pou iteln rozhran pro stahov n zpr v z internetu a jejich p evodu do e knihy N sleduj c v m za pomoci p klad uk e jak z skat zpr vy z r zn ch webov ch str nek K pochopen jak pou vat rozhran n sledujte p klady ve vypsan m po ad n e 1 2 P id v n obl ben ch webov ch str nek se zpr vami 23 U ivatelsk p ru ka Calibre Vyd n 2 46 0 pln automatick na t n str nka 24 Blog Calibre str nka 24 bbc co uk str nka 26 e P izp soben procesu na t n str nka 26
90. able to create your own functions to process text in arbitrary ways The Smarten Punctuation tool in the editor leaves individual hyphens alone so you can use the this function to replace them with em dashes To create a new function simply click the Create Edit button to create a new function and copy the python code from below def replace match number file name metadata dictionaries data functions args 4kwargs return match group replace replace 3 https docs python org 2 7 1 5 Uprava e knih 91 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Every Search amp Replace custom function must have a unique name and consist of a python function named replace that accepts all the arguments shown above For the moment we wont worry about all the different arguments to replace function Just focus on the mat ch argument It represents a match when running a search and replace Its full documentation in available here match group simply returns all the matched text and all we do is replace hyphens in that text with em dashes first replacing double hyphens and then single hyphens Use this function with the find regular expression gt lt gt lt And it will replace all hyphens with em dashes but only in actual text and not inside HTML tag definitions The power of function mode using a spelling dictionary to fix mis hyphenated words Often e
91. all m e b t pou ito pro v b r v ech pol for machine Generovat v stup ve form tu JSON kter je vhodn j pro strojn anal zu Zp sob e ka dku a volby odd lova e budou ignorov ny help h zobrazit tuto zpr vu n pov dy a ukon it limit Maxim ln po et v sledk k zobrazen V choz v e line width w Maxim ln amp fka jednoho f dku ve vystupu Vychoz nastaven pro urcen velikosti obrazovky prefix P edpona pro v echny cesty k soubor m V choz je absolutn cesta do slo ky knihovny search s Filtrovat v sledky podle vyhled vac ho dotazu Pro form t vyhled vac ho dotazu se pod vejte do dokumentace souvisej c s hled n m v u ivatelsk p ru ce V choz je neprov d t dn filtrov n separator et zec pou it pro odd len pol V choz je mezera sort by Pole podle kter ho adit v sledky Dostupn pole author sort authors comments cover formats identifiers isbn languages last modified pubdate publisher rating series series index size tags timestamp title uuid V choz id version zobrazit slo verze programu a ukon it add calibredb add options filel file2 file3 P idat zadan soubory jako knihy do datab ze M ete tak zadat adres e pod vejte se na volby souvisej c s n sle duj c m adres em 1 11 Rozhran p kazov ho dku 23
92. all books having the tag t ag that are older than the specified time tag comparison is case insensitive 272 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 Parametry e delta A timedelta object or None If None then all ids with the tag are returned must have tag If not None the list of matches will be restricted to books that have this tag must have authors A list of authors If not None the list of matches will be rest ricted to books that have these authors case insensitive user categories for books book ids proxy metadata map None Return the user categories for the specified books proxy metadata map is optional and is useful for a performance boost in contexts where a ProxyMetadata object for the books already exists It should be a mapping of book ids to their corresponding ProxyMetadata objects API Documentation for the ebook editing tools The ebook editing tools consist of a calibre ebooks oeb polish container Container str nka 273 object that represents a book as a collection of HTML resource files and various tools that can be used to perform operations on the container All the tools are in the form of module level functions in the various calibre ebooks oeb polish modules You obtain a container object for a book at a path like this from calibre ebooks oeb polish container import get container container get container Path to book file tweak mode True
93. alternative is to use the free OpenOffice Open your doc file in OpenOffice and save it in OpenOffice s format odt calibre can directly convert odt files Convert TXT documents TXT documents have no well defined way to specify formatting like bold italics etc or document structure like paragraphs headings sections and so on but there are a variety of conventions commonly used By default calibre attempts automatic detection of the correct formatting and markup based on those conventions TXT input supports a number of options to differentiate how paragraphs are detected Paragraph Style Auto Analyzes the text file and attempts to automatically determine how paragraphs are defined This option will generally work fine if you achieve undesirable results try one of the manual options Paragraph Style Block Assumes one or more blank lines are a paragraph boundary This is the first This is the second paragraph Paragraph Style Single Assumes that every line is a paragraph This is the first This is the second This is the third Paragraph Style Print Assumes that every paragraph starts with an indent either a tab or 2 spaces Paragraphs end when the next line that starts with an indent is reached This is the first This is the second This is the third Paragraph Style Unformatted Assumes that the document has no formatting but does use hard line breaks Punctuation and
94. and check if the dictionary recognizes the composite word if it does the original words are replaced by the hyphen free composite word Note that one limitation of this technique is it will only work for mono lingual books because by default dictionaries recognized uses the main language of the book Auto numbering sections Now we will see something a little different Suppose your HTML file has many sections each with a heading in an lt h2 gt tag that looks like h2 Some text lt h2 gt You can create a custom function that will automatically number these headings with consecutive section numbers so that they look like lt h2 gt 1 Some text lt h2 gt def replace match number file name metadata dictionaries data functions xargs 4kwargs section number d number return match group 1 section number match group 2 33https docs python org 2 7 library re html match objects 92 Kapitola 1 Oddily U ivatelsk p ru ka Calibre Vyd n 2 46 0 Ensure that when running over multiple files the files are processed in the order in which they appear in the book replace file order spine Use it with the find expression s lt h2 lt gt x gt lt h2 gt Place the cursor at the top of the file and click Replace all This function uses another of the useful extra arguments to replace the number argument When doing a Replace All
95. ar guments are field metadata names not text The value of the appropriate field will be fetched and used Note that because composite columns are fields you can use this function in one composite field to use the value of some other composite field This is extremely useful when constructing variable save paths more later re pattern replacement return the field after applying the regular expression All instances of pattern are replaced with replacement As in all of calibre these are python compatible regular expressions select key interpret the field as a comma separated list of items with the items being of the form id value Find the pair with the id equal to key and return the corresponding value This function is particularly useful for extracting a value such as an isbn from the set of identifiers for a book shorten left chars middle text right chars Return a shortened version of the field consisting of left chars characters from the beginning of the field followed by middle text followed by right chars characters from the end of the string Left chars and right chars must be integers For example assume the title of the book is Ancient English Laws in the Times of Ivanhoe and you want it to fit in a space of at most 15 characters If you use title shorten 9 5 the result will be Ancient E nhoe If the field s length is less than left chars right chars the length of middle text then the f
96. avoids the extra lookup to get the field object field for name book id default value None Return the value of the field name for the book identified by book id If no such book exists or it has no defined value for the field name or no such field exists then default value is returned default value is not used for title title sort authors author sort and series index This is because these always have values in the db default value is used for all custom columns The returned value for is multiple fields are always tuples even when no values are found in other words default value is ignored The exception is identifiers for which the returned value is always a dict The returned tuples are always in link order that is the order in which they were created field ids for name book id Return the ids as a tuple for the values that the field name has on the book identified by book id If there are no values or no such book or no such field an empty tuple is returned find identical books mi search restrictionzu book ids None Finds books that have a superset of the authors in mi and the same title title is fuzzy matched See also data for find identical books str nka 268 format book id fmt as file False as path False preserve filename False Return the ebook format as a bytestring or None if the format doesn t exist or we don t have permission to write to the ebook file Parametry e as file If T
97. book list being displayed in calibre changes Currently values for loc are library main card and cardb This method should enable disable this action and its sub actions as appropriate for the location library changed db Called whenever the current library is changed Parametry db The LibraryDatabase corresponding to the current library gui layout complete Called once per action when the layout of the main GUI is completed If your action needs to make changes to the layout they should be done here rather than in initialization complete initialization complete Called once per action when the initialization of the main GUI is completed shutting down Called once per plugin when the main GUI is in the process of shutting down Release any used resources but try not to block the shutdown for long periods of time Vrac False to halt the shutdown You are responsible for telling the user why the shutdown was halted class calibre customize InterfaceActionBase args kwargs Nadt dy calibre customize Plugin str nka 194 load actual plugin gui This method must return the actual interface action plugin object Preferences Plugins class calibre customize PreferencesPlugin plugin path Nadt dy calibre customize Plugin str nka 194 A plugin representing a widget displayed in the Preferences dialog 214 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 This plug
98. book plugin 279 toolbar button popup mode atribut ca libre gui2 tweak book plugin Tool 280 total space metoda ca libre devices interface DevicePlugin 206 touched fields atribut ca libre ebooks metadata sources base Source 198 type atribut calibre customize Plugin 194 type atribut calibre customize ViewerPlugin 216 U upload books metoda ca libre devices interface DevicePlugin 206 upload cover metoda ca libre devices usbms driver USBMS 211 URL 283 USBMS t da v calibre devices usbms driver 211 use embedded content atribut ca libre web feeds news BasicNewsRecipe 51 use_javascript_to_login atribut ca libre web feeds news BasicNewsRecipe 52 user categories for books metoda ca libre db cache Cache 273 user feedback after callback atribut ca libre devices interface DevicePlugin 204 UserAnnotation atribut ca libre devices interface DevicePlugin 203 V VENDOR ID atribut ca libre devices interface DevicePlugin 203 version atribut calibre customize Plugin 194 ViewerPlugin t da v calibre customize 216 VIRTUAL BOOK EXTENSION MESSAGE atribut calibre devices interface DevicePlugin 203 VIRTUAL BOOK EXTENSIONS atribut ca libre devices interface DevicePlugin 203 volba p kazov ho dku dont notify gui 234 ibrary path 234 W WANTS UPDATED THUMBNAILS atribut ca libre devices interface DevicePlugin 203 web2disk volba p kazov
99. ca libre db cache Cache 268 description atribut calibre customize Plugin 194 description atribut calibre customize PreferencesPlugin 215 description atribut ca libre web feeds news BasicNewsRecipe 48 detect managed devices metoda ca libre devices interface DevicePlugin 204 Device t da v calibre devices usbms device 210 DevicePlugin t da v calibre devices interface 203 dirty metoda calibre ebooks oeb polish container Container 274 do user config metoda calibre customize Plugin 195 dont add to atribut ca libre gui2 actions InterfaceAction 213 dont remove from atribut ca libre gui2 actions InterfaceAction 213 download metoda ca libre web feeds news BasicNewsRecipe 44 download cover metoda ca libre ebooks metadata sources base Source 200 drop event metoda ca libre gui2 actions InterfaceAction 213 E ebook convert volba p kazov ho dku asciiize 247 author sort 251 authors 251 base font size 247 book producer 251 change justification 247 chapter 250 chapter mark 250 comments 252 cover 252 debug pipeline d 252 disable dehyphenate 249 disable delete blank paragraphs 249 disable fix indents 249 disable font rescaling 247 disable format scene breaks 249 disable italicize common cases 249 disable markup chapter headings 249 disable remove fake margins 250 disabl
100. calibre devices usbms device Device open hasanimplementation of this function that should serve as a good example for USB Mass storage devices This method can raise an OpenFeedback exception to display a message to the user Parametry e connected device The device that we are trying to open It is a tuple of vendor id product id bcd manufacturer name product name device serial number However some devices have no serial number and on windows only the first three fields are present the rest are None library uuid The UUID of the current calibre library Can be None if there is no library for example when used from the command line eject Un mount eject the device from the OS This does not check if there are pending GUI jobs that need to communicate with the device NOTE That this method may not be called on the same thread as the rest of the device methods post yank cleanup Called if the user yanks the device without ejecting it first set progress reporter report progress Set a function to report progress information Parametry report progress Function that is called with a 96 progress number between 0 and 100 for various tasks If it is called with 1 that means that the task does not have any progress information get device information end session True Ask device for device information See L DeviceInfoQuery 1 10 P izp soben Calibre 205 U ivatelsk p ru ka Calibre Vyd n
101. calibre ebooks oeb polish container Contametr author tokens 274 FileTypePlugin t da v calibre customize 196 filter css v modulu calibre ebooks oeb polish css 279 filter regexps atribut ca libre web feeds news BasicNewsRecipe 49 find identical books metoda calibre db cache Cache 269 fix all html v modulu ca libre ebooks oeb polish pretty 277 fix html v modulu calibre ebooks oeb polish pretty 277 for viewer atribut ca libre customize conversion InputFormatPlugin 201 format metoda calibre db cache Cache 269 format abspath metoda calibre db cache Cache 269 156 get annotations metoda ca libre devices usbms device Device 211 get article url metoda ca libre web feeds news BasicNewsRecipe 44 metoda ca libre ebooks metadata sources base Source 198 get book url metoda ca libre ebooks metadata sources base Source 199 get book url name metoda ca libre ebooks metadata sources base Source 199 get book urls metoda ca libre ebooks metadata sources base Source 199 get browser metoda ca libre web feeds news BasicNewsRecipe 44 get cached cover url metoda ca libre ebooks metadata sources base Source 199 format field metoda ca get categories metoda calibre db cache Cache 270 libre ebooks metadata book base Metadata get collections metoda ca 157 libre devices interface BookList 210 format hash metoda cal
102. calibre gui2 actions InterfaceAction 213 add annotation to library metoda libre devices usbms device Device 211 add book metoda calibre devices interface BookList 210 add books metoda calibre db cache Cache 267 ca add_books_to_metadata t dn metoda ca libre devices interface DevicePlugin 207 add custom book data metoda ca libre db cache Cache 267 add file metoda ca libre ebooks oeb polish container Container 273 add format metoda calibre db cache Cache 267 add name to manifest metoda ca libre ebooks oeb polish container Container 274 add or replace jacket v modulu libre ebooks oeb polish jacket 277 add savepoint metoda libre gui2 tweak book boss Boss 281 add toc thumbnail metoda libre web feeds news BasicNewsRecipe 43 adeify images t dn metoda libre web feeds news BasicNewsRecipe 43 all book ids metoda calibre db cache Cache 268 all field for metoda calibre db cache Cache 268 all field ids metoda calibre db cache Cache 268 ca ca ca all_field_keys metoda ca abort_article metoda ca libre ebooks metadata book base Metadata libre web feeds news BasicNewsRecipe 156 43 all_field_names metoda calibre db cache Cache 268 abort_recipe_processing metoda ca all non none fields metoda ca libre web feeds news BasicNewsRecipe libre ebooks metadata book base Metadata 43 156 abspath to name me
103. calibre m schopnost zobrazit matematiku vlo enou do e knih soubory ePub a HTML M ete s zet matematiku p mo pomoc TeX MathML nebo AsciiMath Prohl e calibre k tomuto pou v vynikaj c knihovnu MathJax Toto je stru n kurz vytv en e knih s matematikou kter funguj dob e s prohl e em calibre Zjednodu en soubor HTML s matematikou M ete zapsat matematiku vlo enou uvnit souboru zjednodu en ho HTML a prohl e calibre ji vykresl se spr vnou sazbou matematiky V p kladu n e pou v me pro matematiku z pis TeX Uvid te e m ete pou t norm ln p kazy TeX s mal m upozorn n m Ze ampersandy a znaky men ne a v t ne mus b t zaps ny jako Ramp amp lt a amp gt v uveden m po ad Prvn krok je ct calibre e toto bude obsahovat matematiku To ud l te p id n m n sleduj c ho fragmentu k du do odd lu lt head gt souboru HTML script type text x mathjax config script To je v e nyn m ete ps t matematiku jak byste to ud lali v souboru tex Nap klad zde jsou Lorentzovy rovnice lt h2 gt The Lorenz Eguations lt h2 gt lt p gt begin align dot x samp Nsigma y x W dot y samp rho x y xz NN dot z samp beta z xy end align lt p gt Tento fragment vypad jako n sleduj c sn mek obrazovky v prohl e i calibre Kompletn soubor HTML s v ce rovnicemi a vlo
104. calibre show the user a simple message instead of an error call abort_recipe_processing str nka 43 populate_article_metadata article soup first Called when each HTML page belonging to article is downloaded Intended to be used to get ar ticle metadata like author summary etc from the parsed HTML soup param article A object of class calibre web feeds Article If you change the summary remember to also change the text_summary param soup Parsed HTML belonging to this article param first True iff the parsed HTML is the first page of the article postprocess book oeb opts log Run any needed post processing on the parsed downloaded e book Parametry oeb An OEBBook object opts Conversion options postprocess html soup first fetch This method is called with the source of each downloaded HTML file after it is parsed for links and images It can be used to do arbitrarily powerful post processing on the HTML It should return soup after processing it Parametry e soup A BeautifulSoup instance containing the downloaded HTML first fetch True if this is the first page of an article preprocess html soup This method is called with the source of each downloaded HTML file before it is parsed for links and images It is called after the cleanup as specified by remove tags etc It can be used to do arbitrarily powerful pre processing on the HTML It should return soup after processing it soup A BeautifulSo
105. chapter 1 text p lt h2 title Chapter 2 gt Chapter 2 Some other very long title lt h2 gt lt p gt chapter 2 text p body html Nastavte Obsah I rovn na h h2 8title Pak Calibre vezme n zvy z hodnot atribut tit le zna ek lt h2 gt nam sto pou it textu uvnit zna ky Pamatujte na koncov t it le ve v razu XPath tento formul m ete pou t abyste ekli Calibre aby z skalo text z jak hokoliv atributu chcete 1 4 10 Jak jsou volby nastaveny nebo ulo eny pro p evod There are two places where conversion options can be set in calibre The first is in Preferences gt Conversion These settings are the defaults for the conversion options Whenever you try to convert a new book the settings set here will 1 4 P evod e knihy 65 U ivatelsk p ru ka Calibre Vyd n 2 46 0 be used by default You can also change settings in the conversion dialog for each book conversion When you convert a book calibre remembers the settings you used for that book so that if you convert it again the saved settings for the individual book will take precedence over the defaults set in Preferences You can restore the individual settings to defaults by using the Restore to defaults button in the individual book conversion dialog You can remove the saved settings for a group of books by selecting all the books and then clicking the edit metadata button to bring up the bulk metad
106. compile promo top reg exp re IGNORECASE dict name div trs class re compile promo bottom reg exp re IGNORECASE dict name div trs class re compile nlp_reg_exp re IGNORECASE dict name div dict name div dict name div dict name div dict name div dict trs class re compile mva or mvb reg exp re 1GNORECASE trs class re compile mvtb reg exp re IGNORECASE trs class re compile blq toplink reg exp re IGNORECASE trs class re compile prods services 01 reg exp re IGNORE trs class re compile prods services 02 reg exp re IGNORE trs class re compile blq misc 01 reg exp re IGNORECASE 9 VO 9 0 900 009 Ct Cb oct ck CD oe MT ort name div 1 2 P id v n obl ben ch webov ch str nek se zpr vami 37 U ivatelsk p ru ka Calibre Vyd n 2 46 0 dict name div attrs class re compile blq misc 02 reg exp re dict name div attrs class re compile puffbox reg exp re IGN dict attrs class re compile sibtbg reg exp re IGNORECASE dict attrs class re compile storyextra reg exp re IGNORECASE Uses url to create and return the printer friendly version of the url In other words the print this page address of the page There are 3 types of urls used in the BBC site s rss feeds There is just 1 type for
107. computer running calibre If you have changed the port the calibre content server is running on you will have to change 8080 as well to the new port The local IP address is the IP address you computer is assigned on your home network A quick Google search will tell you how to find out your local IP address Now click Save and you are done If you get timeout errors while browsing the calibre catalog in Stanza try increasing the connection timeout value in the stanza settings Go to Info gt Settings and increase the value of Download Timeout Pomoc iBooks Start the Safari browser and type in the IP address and port of the computer running the calibre server like this http 192 168 1 2 8080 Replace 192 168 1 2 with the local IP address of the computer running calibre If you have changed the port the calibre content server is running on you will have to change 8080 as well to the new port The local IP address is the IP address you computer is assigned on your home network A quick Google search will tell you how to find out your local IP address You will see a list of books in Safari just click on the epub link for whichever book you want to read Safari will then prompt you to open it with iBooks 4 http www mobileread com forums showthread php t 65809 1 8 Nej ast j dotazy 111 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Pomoc USB kabelu a iTunes Use the Connect to iTunes me
108. daj polo ce Jako pokra ov n v e uveden ho p kladu kliknut na Isaaca Asimova zobraz knihy od tohoto autora Nov kliknut na polo ku zm n to co je zobrazeno v z vislosti na tom zda m polo ka pod zen polo ky viz podkategorie a hierarchick polo ky n e Jako pokra ov n p kladu s Isaacem Asimovem nov kliknut na Isaaca Asimova omez seznam knih na ty kter nejsou od Isaaca Asimova T et kliknut odebere omezen a zobraz v echny knihy Pokud podr te kl vesu Ctrl nebo Shift a kliknete na v ce polo ek pak jsou vytvo ena omezen na z klad v ce polo ek Nap klad byste mohli dr et kl vesu Ctrl a kliknout na t tky Historick a Evropa pro nalezen knih o d jin ch Evropy Prohl e t tk funguje sestavov n m vyhled vac ch v raz kter jsou automaticky zad v ny do panelu hled n D v n se na to co Prohl e t tk generuje je dobr zp sob zji t n jak vytvo it z kladn vyhled vac v razy Polo ky v Prohl e i t tk maj ste n barevn ikony Mno stv barev z vis na pr m rn m hodnocen knih v dan 18 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 kategorii Tak e nap klad pokud knihy od Isaaca Asimova maj pr m rn ty i hv zdi ky bude ikona pro Isaaca Asimova v Prohl e i t tk barevn ze 4 5 M ete p ejet my nad ikonou abyste vid li pr m rn ho
109. disk str nka 8 P ipojit nebo sd let str nka 9 Odebrat knihy str nka 9 P idat knihy Add books Akce P idat knihy m edm variant p stupn ch kliknut m prv m tla tkem my i na tla tko 1 P idat knihy z jednoho adres e Otev e dialogov okno v b ru soubor a umo n zadat kter knihy v adres i by m ly b t p id ny Tato akce je kontextov z visl t j Ze z vis na tom kter katalog str nka 10 jste vybrali Pokud jste vybrali Knihovnu budou knihy p id ny do knihovny Pokud jste vybrali te ku e knih budou knihy nahr ny do za zen a tak d le 2 P idat knih z adres v etn podadres Jedna kniha na adres p edpokl d e ka d soubor e knihy je stejn kniha v jin m form tu Umo uje v m zvolit adres Adres a v echny jeho podadres e jsou prohled ny rekurzivn a v echny nalezen e knihy jsou p id ny do knihovny Calibre p edpokl d e ka d adres obsahuje jednu knihu V echny soubory e knih v adres i jsou pova ov ny za stejnou knihu v jin ch form tech Tato akce je opak akce Ulo it na disk str nka 8 t j m ete Ulo it na disk odstranit knihy a znovu je p idat bez ztr ty informac krom data toto p edpokl d e jste nezm nili dn nastaven pro akci Ulo it na disk 3 P idat knihy z adres v etn podadres V ce knih na adres p edpokl d e ka d soubor e knihy j
110. dotazy 125 U ivatelsk p ru ka Calibre Vyd n 2 46 0 How do I run calibre from my USB stick A portable version of calibre is available here How do I run parts of calibre like news download and the content server on my own linux server First you must install calibre onto your linux server If your server is using a modern linux distro you should have no problems installing calibre onto it Pozn mka calibre needs GLIBC gt 2 13 and libstdc gt 6 0 17 If you have an older server you will either need to compile these from source or use calibre 1 48 which requires only GLIBC 2 10 In addition although the calibre command line utilities do not need a running X server some of them do require the X server libraries to be installed on your system This is because the use Qt which links against these libraries If you get an ImportError about some Qt modules you are likely missing some X libraries You can run the calibre server via the command opt calibre calibre server with library path to the library you want to share You can download news and convert it into an ebook with the command opt calibre ebook convert Title of news source recipe outputfile epub If you want to generate MOBI use outputfile mobi instead and use output profile kindle You can email downloaded news with the command opt calibre calibre smtp Ileave figuring out the exact command lin
111. e Calibre vytv kopie soubor kter do n j p id v te Va e p vodn soubory z stanou nedot en Rozhran je rozd leno do r zn ch odd l Akce str nka 3 P edvolby str nka 10 Katalogy str nka 10 Hled n a azen str nka 11 Rozhran hled n str nka 11 Ukl d n hled n str nka 13 Virtu ln knihovny str nka 15 Odhadov n metadat z n zv soubor str nka 15 Podrobnosti o knize str nka 16 Prohl e t tk str nka 18 M ka ob lek str nka 20 Prohl e ob lek str nka 21 Rychl zobrazen str nka 21 lohy str nka 22 Kl vesov zkratky str nka 22 1 1 1 Akce p ee we A 9 O F Add books Edit metadata Convert books Send to device Library Device Fetch news Save to disk Conectar Remove books Help Preferences Panel n stroj akc poskytuje vhodn zkratky k b n pou van m akc m Pokud kliknete prav m tla tkem my i na tla tka m ete prov st varianty v choz akce Pamatujte pros m e panel n stroj akc bude vypadat m rn odli n v z vislosti na tom zda m te k po ta i p ipojenou te ku e knih U ivatelsk p ru ka Calibre Vyd n 2 46 0 P idat knihy str nka 4 Upravit metadata str nka 5 P ev st knihy str nka 5 Zobrazit str nka 6 Odeslat do za zen str nka 6 Na st zpr vy str nka 7 Knihovna str nka 7 Za zen str nka 8 Ulo it na
112. edit file metoda calibre gui2 tweak book boss Boss 281 eject metoda calibre devices interface DevicePlugin 205 embed metadata metoda calibre db cache Cache 268 encoding atribut calibre web feeds news BasicNewsRecipe 48 exists metoda calibre ebooks oeb polish container Container 274 extra_css atribut calibre web feeds news BasicNewsRecipe 48 extract readable article metoda ca libre web feeds news BasicNewsRecipe 44 F fast field for metoda calibre db cache Cache 269 feeds atribut calibre web feeds news BasicNewsRecipe 48 fetch ebook metadata volba p kazov ho dku authors a 257 cover c 257 help h 257 isbn i 257 opf o 257 timeout d 257 title t 257 verbose v 257 version 257 field for metoda calibre db cache Cache 269 field ids for metoda calibre db cache Cache 269 file type atribut calibre customize conversion OutputFormatPlugin 202 file types atribut calibre customize CatalogPlugin 197 file types atribut calibre customize conversion InputFormatPlugin 200 file types atribut calibre customize FileTypePlugin 196 300 Rejst k U ivatelsk p ru ka Calibre Vyd n 2 46 0 file types atribut calibre customize MetadataReaderPlugin 196 file types atribut calibre customize MetadataWriterPlugin 197 filename callback metoda libre devices usbms device Device 211 ca filesize metoda
113. expression works 4series ifempty field genre The example shows several things program mode is used if the expression begins with and ends with Anything else is assumed to be single function the variable stands for the field the expression is operating upon series in this case functions must be given all their arguments There is no default value For example the standard built in functi ons must be given an additional initial parameter indicating the source field which is a significant difference from single function mode white space is ignored and can be used anywhere within the expression e constant strings are enclosed in matching quotes either or The language is similar to functional languages in that it is built almost entirely from functions A statement is a function An expression is a function Constants and identifiers can be thought of as functions returning the value indicated by the constant or stored in the identifier The syntax of the language is shown by the following grammar 138 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 constant string string number identifier sequence of letters or characters function identifier statement statement expression identifier constant function assignment assignment identifier expression statement expressio
114. fields are laid out using two columns If False one column is used metadata single use 2 cols for custom fields True Order of custom column s in edit metadata Controls the order that custom columns are listed in edit metadata single and bulk The columns listed in the tweak are displayed first and in the order provided Any columns not listed are dislayed after the listed ones in alphabetical order Do note that this tweak does not change the size of the edit widgets Putting comments widgets in this list may result in some odd widget spacing when using two column mode Enter a comma separated list of custom field lookup names as in metadata edit custom column order genre mytags fetc metadata edit custom column order 2 The number of seconds to wait before sending emails The number of seconds to wait before sending emails when using a public email server like gmx hotmail gmail Default is 5 minutes Setting it to lower may cause the server s SPAM controls to kick in making email sending fail Changes will take effect only after a restart of calibre public_smtp_relay_delay 301 The maximum width and height for covers saved in the calibre library All covers in the calibre library will be resized preserving aspect ratio to fit within this size This is to prevent slowdowns caused by extremely large covers maximum_cover_size 16
115. file it will be recreated from defaults pur Auto increment series index The algorithm used to assign a book added to an existing series a series number New series numbers assigned using this tweak are always integer values except if a constant non integer is specified Possible values are next First available integer larger than the largest existing number first free First available integer larger than 0 next free First available integer larger than the smallest existing number last free First available integer smaller than the largest existing number Return largest existing 1 if no free number is found const Assign the number 1 always no change Do not change the series index a number Assign that number always The number is not in quotes Note that 0 0 can be used here series index auto increment next series index auto increment next fr series index auto increment 16 5 Set the use series auto increment tweak when importing tweak to True to use the above values when importing adding books If this tweak is set to False the default then the series number will be set to 1 if it is not explicitly set during the import If set to True then the series index will be set according to the series index auto increment setting Note that the use series auto increment tweak when importing tweak is used only when a value is not provided during import If the importing regular expression pro
116. for toolbar True ac QAction get icons myicon png Do something if for toolbar We want the toolbar button to have a popup menu menu QMenu ac setMenu menu menu addAction Do something else subaction menu addAction And another Register a keyboard shortcut for this toolbar action be careful to do this for only one of the toolbar action or the menu action not both self register shortcut ac some unique name default keys Ctrl K return ac Viz tak Method register shortcut str nka 280 Controlling the editor s user interface The ebook editor s user interface is controlled by a single global Boss object This has many useful methods that can be used in plugin code to perform common tasks class calibre gui2 tweak book boss Boss parent notify None add savepoint msg Create a restore checkpoint with the name specified as msg apply container update to gui mark as modified True Update all the components of the user interface to reflect the latest data in the current book container Parametry mark as modified If True the book will be marked as modified so the user will be prompted to save it when quitting close editor name Close the editor that is editing the file specified by name commit all editors to container Commit any changes that the user has made to files open in editors to the container You should call this method before performing any actions on the cu
117. formats f Aktualizovat metadata pouze v souborech zadan ho form tu Zadejte v cekr t pro v ce form t Ve v choz m nastaven jsou aktualizov ny v echny form ty version zobrazit slo verze programu a ukon it search calibredb search options search expression Vyhledat v knihovn zadan hledan v raz vracej c rkami odd len seznam identifik tor knih odpov daj c hle dan mu v razu V stupn form t je u ite n pro z soben jin ch p kaz kter p ij maj seznam identifik tor jako vstup Hledan v raz m e b t cokoliv z v konn ho jazyka vyhled vac ch dotaz Calibre nap klad author asimov title robot Kdykoliv predate parametry calibredb kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami help h zobrazit tuto zpr vu n pov dy a ukon it limit 1 Maxim ln po et v sledk k navr cen V choz je v echny v sledky version zobrazit slo verze programu a ukon it 244 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 ebook convert ebook convert vstupni soubor vystupni soubor volby P eve te e knihu z jednoho form tu do jin ho vstupn soubor je vstup a vystupni soubor je v stup Oba mus b t zad ny jako prvn dva parametry p kazu V stupn form t e knihy je odhadnut z p ponou vystupni soubor vystupni soubor
118. francouz tinu a tak d le K tomu m ete pou t program Poedit Tyto soubory po po lete sv m p ekladatel m Jakmile je dostanete zp tky zkompilovat je do soubor mo K tomu m ete znovu pou t Poedit nebo prost ud lejte calibre debug c from calibre translations msgfmt import main main filename po Soubory mo um st te do slo ky translations ve sv m modulu Posledn m krokem je jednodu e zavolat funkci load translations na za tku soubor py va eho modulu Z v kon nostn ch d vod byste m li volat tuto funkci pouze v t ch souborech py kter skute n maj p elo iteln et zce Tak e v typick m modulu u ivatelsk ho rozhran byste ji volali na za tku ui py alene init py P eklady sv ch modul m ete otestovat zm nou jazyka u ivatelsk ho rozhran v Calibre pod P edvolby gt Vzhled nebo spu t n m Calibre takto CALIBRE OVERRIDE LANG de calibre Nahra te de k dem jazyka kter chcete otestovat Rozhran API modulu Jak jste si mo n v imli v e modul Calibre je t da V Calibre existuj r zn t dy pro r zn typy modul Podrobnosti o ka d t d v etn z kladn t dy v ech modul lze nal zt v API Documentation for plugins str nka 193 V modul t m ur it bude pou vat k d z Calibre Abyste zjistili jak naj t r zn kousky funkc v z kladn m k du Calibre p e t te si
119. function is implemented as a class in python and you can click the source links to see the source code in case the documentation is insufficient The functions are arranged in logical groups by type 1 9 Kurzy 143 U ivatelsk p ru ka Calibre Vyd n 2 46 0 144 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 1 9 Kurzy list re seznam zdroj odd lova zahrnout vr cen voliteln nahradit str nka 152 Arithmetic str nka 146 add x y str nka 146 divide x y str nka 146 multiply x y str nka 146 subtract x y str nka 146 Boolean str nka 146 and hodnota hodnota str nka 146 nebo hodnota hodnota str nka 146 not hodnota str nka 146 Date functions str nka 146 days between datuml datum2 str nka 146 today str nka 146 Formatting values str nka 147 finish formatting hodnota form t p edpona p pona str nka 147 format date hodnota form t et zce str nka 147 format number hodnota ablona str nka 147 human readable hodnota str nka 147 Get values from metadata str nka 147 approximate formats str nka 147 author links val separator pair separator str nka 147 author sorts val separator str nka 148 booksize str nka 148 current library name str nka 148 current library path str nka 148 f
120. html If instead you want the order to be A html B html C html D html then you must tell calibre to add your files in breadth first order Do this by going to Preferences gt Plugins and customizing the HTML to ZIP plugin The EPUB produced with calibre is not valid calibre does not guarantee that an EPUB produced by it is valid The only guarantee it makes is that if you feed it valid XHTML 1 1 CSS 2 1 it will output a valid EPUB calibre tries hard to ensure that EPUBs it produces actually work as intended on a wide variety of devices a goal that is incompatible with producing valid EPUBs and one that is far more important to the vast majority of its users If you need a tool that always produces valid EPUBs calibre is not for you This means that if you want to send a calibre produced EPUB to an online store that uses an EPUB validity checker you have to make sure that the EPUB is valid yourself calibre will not do it for you in other words you must feed calibre valid XHTML CSS as the input documents How do use some of the advanced features of the conversion tools You can get help on any individual feature of the converters by mousing over it in the GUI or running ebook convert dummy html epub hata terminal A good place to start is to look at the following demo file that demonstrates some of the advanced features html demo zip 1 8 2 Device Integration Obsah What devices does calibre support str nka 108
121. in calibre when it is open Close it before starting calibre Constant Guard Protection by Xfinity causes crashes in calibre You have to manually allow calibre in it or uninstall Constant Guard Protection 57http download calibre ebook com 1 48 0 58 http www mobileread com forums forumdisplay php f 166 1 8 Nej ast j dotazy 121 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Spybot Search amp Destroy blocks calibre from accessing its temporary files breaking viewing and converting of books You are using a Wacom branded USB mouse There is an incompatibility between Wacom mice and the graphics toolkit calibre uses Try using a non Wacom mouse On some 64 bit versions of Windows there are security software settings that prevent 64 bit calibre from working properly If you are using the 64 bit version of calibre try switching to the 32 bit version If the crashes happen specifically when you are using a file open dialog like clicking on the Add Books button or the Save to Disk button then you may have an issue with the windows file open dialogs on your computer Some calibre users have reported that uninstalling the SpiderOak encrypted backup software also fixes these crashes If you do not wish to uninstall SpiderOak you can also turn off Enable OS integration in the SpiderOak preferences If none of the above apply to you then there is some other program on your computer that is interfering with c
122. input or output are available in the conversion dialog under their own section for example TXT Input or EPUB Output Convert Microsoft Word documents calibre can automatically convert docx files created by Microsoft Word 2007 and newer Just add the file to calibre and click convert make sure you are running the latest version of calibre as support for docx files is very new Pozn mka There is a demo docx file that demonstrates the capabilities of the calibre conversion engine Just download it and convert it to EPUB or AZW3 to see what calibre can do calibre will automatically generate a Table of Contents based on headings if you mark your headings with the Heading 1 Heading 2 etc styles in Word Open the output ebook in the calibre viewer and click the Table of Contents button to view the generated Table of Contents Older doc files For older doc files you can save the document as HTML with Microsoft Word and then convert the resulting HTML file with calibre When saving as HTML be sure to use the Save as Web Page Filtered option as this will produce clean HTML that will convert well Note that Word produces really messy HTML converting it can take a long time so be patient If you have a newer version of Word available you can directly save it as docx as well 2http calibre ebook com downloads demos demo docx 66 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 Another
123. interpunkci Odeb r n nepou van ch pravidel CSS Odebere v echna nepou van pravidla CSS ze ablon styl a zna ek lt style gt N kter knihy vytvo en pomoc v rob n ch ablon mohou m t velk po et nadbyte n ch pravidel CSS kter neodpov daj dn mu skute n mu obsahu Tato nadbyte n pravidla mohou zpomalit te ky kter je musej v echny zpracovat P stupn pomoc N stroje gt Odebrat nepou van pravidla CSS 1 5 prava e knih 81 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Opravit HTML Tento n stroj jednodu e p ev d HTML kter nem e b t analyzov no jako XML na dob e vytvo en XML U e knih je velice b n e nemaj dob e vytvo en XML tak e tento n stroj jednodu e automatizuje proces opravy takov ho HTML N stroj funguje anal zou HTML pomoc algoritmu HTMLS algoritmus pou it ve v ech modern ch prohl e ch a pot p eveden m v sledek na XML Uv domte si e automatick opravy mohou n kdy m t neintuitivn v sledky Pokud tomu d v te p ednost m ete pou t v e prob ran n stroj Zkontrolovat knihu k nalezen a ru n oprav probl m v HTML P stupn pomoc N stroje gt Opravit HTML Zkr lov n soubor Tento n stroj se pou v pro automatick form tov n v ech soubor HTML a CSS tak aby vypadali p kn K d je automaticky odsazen tak e je p kn azen v p
124. je rkami odd len obsahuj c A B C tags sublist 0 1 vrac A tags sublist 1 0 vrac C tags sublist 0 1 vrac A B Other assign id val class calibre utils formatter functions BuiltinAssign assign id val p i ad val k id pak vrac val id mus b t identifik tor ne v raz print a b class calibre utils formatter functions BuiltinPrint print a b vyp e parametry do standardn ho v stupu Pokud nespust te Calibre z p kazov dky calibre debug g v stup p jde do ern d ry Recursion eval template class calibre utils formatter functions BuiltinEval eval template vyhodnocuje ablonu p ed v m stn prom nn ty prifazen nam sto metadat knihy Toto umo uje pomoc zpracov n ablony vytvo it slo it v sledky z m stn ch prom nn ch Proto e znaky a jsou speci ln mus te pou t pro znak a pro znak jsou p evedeny automaticky Pamatujte tak na to e p edpony a p pony syntaxe lprefixlsuffix nemohou b t pou ity v parametru t to funkce p i pou it re imu ablony programu template x class calibre utils formatter functions BuiltinTemplate template x vyhodnocuje x jako Sablonu Vyhodnocen se prov d ve vlastn m kontextu co znamen e prom nn nejsou sd leny mezi volajicim a vyhodnocen m ablony Proto e znaky a jsou speci ln mus te pou t pro
125. jsou ignorov na Vylou en knihy Excluded books Name Field Value 1 Catalogs Tags v Catalog v 2 Archived Books Status v Archived v 40 gt Pravidla vylou en v m umo uj zadat knihy kter nebudou katalogizov ny Zatr tko v prvn m sloupci povol pravidlo N zev je n zev pravidla kter zad te Pole je bu St tky nebo vlastn sloupec z va knihovny Hodnota je obsah Pole kter porovnat Kdy je pravidlo p edpony spln no kniha bude vylou ena z generovan ho katalogu Vy v e uveden m p kladu byla zad na dv pravidla vylou en 1 Pravidlo Katalogy ur uje e jak koliv kniha se t tkem Katalog bude vylou ena z generovan ho katalogu 2 Pravidlo Archivovan knihy ur uje e jak koliv kniha s hodnotou Archivov no ve vlastn m sloupci guilabel Stav bude vylou ena z generovan ho katalogu Jsou vyhodnocov na v echna pravidla pro ka dou knihu Zak zan nebo ne pln pravidla jsou ignorov na Vylou en nry Excluded genres Tags to exclude regex I e Results of regex Amazon Freebie Project Gutenberg Test Kdy je generov n katalog jsou t tky ve va datab zi pou ity jako nry Nap klad m ete pou t t tky Rom n a Literatura faktu Tyto t tky se stanou nry ve vygenerovan m katalogu s knihami vypsan mi pod jejich p slu n mi seznamy nr na z klad sv ch p i azen ch t tk 2 x47
126. ka odpov d pokud se hledan et zec objev kdekoliv v ozna en ch metadatech Jsou dostupn dal dva druhy vyhled v n vyhled v n rovnosti a vyhled v n pomoc regul rn ch v raz lt http en wikipedia org wiki Regular expression gt Vyhled v n rovnosti jsou ozna ena p id n m p edpony symbolu rovnosti hledan mu et zci Nap klad dotazu tag science bude odpov dat science ale ne science fiction nebo hard science Vyhled v n pomoc re gul rn ch v raz jsou ozna ena p id n m p edpony vlnovky hledan mu et zci Mohou b t pou ity jak koliv regul rn v razy kompatibiln s Pythonem Pamatujte e zp tn lom tka pou van pro uvozen speci ln ch znak v regul rn ch v razech mus b t dvojit proto e jednoduch zp tn lom tka budou odebr na b hem anal zy dotazu Na p klad pro porovn n prost ch z vorek mus te zadat Vyhled v n pomoc regul rn ch v raz jsou vyhled v n typu obsahuje pokud v raz neobsahuje kotvy Pokud pot ebujete hledat et zec s rovn tkem nebo vlnovkou na za tku p idejte p ed et zec zp tn lom tko Uzav ete hledan et zce uvozovkami 7 pokud et zec obsahuje z vorky nebo mezery Nap klad pro hle d n t tku Science Fiction byste museli hledat tag science fiction Pokud hled te tag science fiction najdete v echny knihy se t tkem science a
127. kazov ho dku 243 customize plugin calibre customize volba p kazov ho dku 230 daemonize calibre server volba p kazov ho dku 232 date d ebook meta volba p kazov ho dku 254 debug device driver d 287 U ivatelsk p ru ka Calibre Vyd n 2 46 0 calibre debug volba p kazov ho dku 230 debug javascript ebook viewer volba p kazov ho dku 256 debug pipeline d ebook convert volba p kazov ho dku 252 default programs calibre debug volba p kazov ho dku 230 delay web2disk volba p kazov ho dku 259 detach calibre volba p kazov ho dku 229 ebook edit volba p kazov ho dku 253 ebook viewer volba p kazov ho dku 256 details d calibredb custom columns dku 241 develop calibre server volba p kazov ho dku 232 diff calibre debug volba p kazov ho dku 230 disable dehyphenate ebook convert volba pr kazov ho f dku 249 disable delete blank paragraphs ebook convert volba p kazov ho dku 249 disable fix indents ebook convert volba p kazov ho dku 249 disable font rescaling ebook convert volba p kazov ho dku 247 disable format scene breaks ebook convert volba p kazov ho dku 249 disable hyphenation Irfviewer volba p kazov ho dku 258 disable italicize common cases ebook convert volba p kazov ho
128. letter for calibre to use it See the de vice plugin Preferences gt Plugins gt Device Plugins gt User Defined and Preferences Miscellaneous Get information to setup the user defined device for more infor mation Note that if you are using the user defined plugin for a device normally detected by a builtin calibre plugin you must disable the builtin plugin first so that your user defined plugin is used instead 37http calibre ebook com bugs 38 http www mobileread com forums showthread php t 1 18559 http calibre ebook com download 4https bugs launchpad net calibre 1 8 Nej ast j dotazy 109 U ivatelsk p ru ka Calibre Vyd n 2 46 0 How does calibre manage collections on my SONY reader When calibre connects with the reader it retrieves all collections for the books on the reader The collections of which books are members are shown on the device view When you send a book to the reader calibre will add the book to collections based on the metadata for that book By default collections are created from tags and series You can control what metadata is used by going to Preferences gt Plugins gt Device Interface plugins and customizing the SONY device interface plugin If you remove all values calibre will not add the book to any collection Collection management is largely controlled by the Metadata management option found at Preferences gt Import Export gt Sending bo
129. line height ebook convert volba p kazov ho dku 248 new server calibre debug volba p kazov ho dku 231 no chapters in toc ebook convert volba p kazov ho dku 251 no default epub cover ebook convert volba p kazov ho dku 246 no svg cover ebook convert volba p kazov ho dku 246 no update check calibre volba p kazov ho dku 229 one book per directory 1 calibredb add volba p kazov ho dku 236 only formats f calibredb embed metadata volba p kazov ho dku 244 open at ebook viewer volba p kazov ho dku 256 opf o ebook polish volba p kazov ho dku 255 fetch ebook metadata volba p kazov ho dku 257 outbox o calibre smtp volba p kazov ho dku 233 output o Irf2lrs volba p kazov ho dku 257 Irs2lrf volba p kazov ho dku 258 output profile ebook convert volba p kazov ho dku 245 page breaks before ebook convert volba p kazov ho dku 250 password calibre server volba p kazov ho dku 232 290 Rejst k U ivatelsk p ru ka Calibre Vyd n 2 46 0 password p calibre smtp volba p kazov ho dku 234 paths calibre debug volba p kazov ho dku 231 pidfile calibre server volba p kazov ho dku 232 port calibre smtp volba p kazov ho dku 234 port p calibre server volba p kazov
130. list of articles from the list of feeds returned by BasicNewsRecipe get feeds str nka 44 Return a list of Feed objects parse index This method should be implemented in recipes that parse a website instead of feeds to generate a list of articles Typical uses are for news sources that have a Print Edition webpage that lists all the articles in the current print edition If this function is implemented it will be used in preference to BasicNewsRecipe parse feeds str nka 45 It must return a list Each element of the list must be a 2 element tuple of the form feed title list of articles 16http www crummy com software BeautifulSoup bs3 documentation html 1 2 P id v n obl ben ch webov ch str nek se zpr vami 45 for loading t U ivatelsk p ru ka Calibre Vyd n 2 46 0 Each list of articles must contain dictionaries of the form title article title urbt URL of print version date The publication date of the article as a string description A summary of the article content The full article can be an empty string Obsolete do not use instead save the content to a temporary file and pass a file path to temp file html as the URL For an example see the recipe for downloading The Atlantic In addition you can add author for the author of the article If you want to abort processing for some reason and have
131. m e b t tak speci ln ho form tu EXT kde EXT je p pona v stupn ho souboru V tomto p pad je n zev v stupn ho souboru odvozen od n zvu vstupn ho souboru Pamatujte e n zvy soubor nesm za nat poml kou A kone n pokud vystupni soubor nem dnou p ponu pak je s n m zach zeno jako s adres em a do tohoto adres e je zaps na otev en e kniha OEB sest vaj c ze soubor HTML Tyto soubory jsou soubory kter by oby ejn byly p ed ny v stupn mu modulu Po zad n vstupn ho a v stupn ho souboru m ete p izp sobit p evod zad n m r zn ch voleb Dostupn volby z vis na typech vstupn ch a v stupn ch soubor Pro z sk n n pov dy k nim zadejte vstupn a v stupn soubor a pou ijte volbu h plnou dokumentaci syst mu p evodu najdete na P evod e knihy str nka 55 Kdykoliv p ed te parametry ebook convert kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami Volby a v choz hodnoty pro zm nu voleb z vis na vstupn m i v stupn m form tu tak e byste je m li v dy zkontro lovat pomoc ebook convert myfile input format myfile output format h N e jsou volby kter jsou spole n pro v echny p evody n sledovan volbami konkr tn mi pro ka d vstupn a v stupn form t e Volby Vstupu str nka 246 e Volby V stupu str nka 246 Vzhled str nka 247 Heuristick Z
132. many strategies to debug calibre code Using print statements This is Kovid s favorite way to debug Simply insert print statements at points of interest and run your program in the terminal For example you can start the GUI from the terminal as calibre debug g Similarly you can start the ebook viewer as calibre debug w path to file to be viewed The ebook editor can be started as calibre debug t path to be edited Using an interactive python interpreter You can insert the following two lines of code to start an interactive python session at that point from calibre import ipython ipython locals When running from the command line this will start an interactive Python interpreter with access to all locally defined variables variables in the local scope The interactive prompt even has TAB completion for object properties and you can use the various Python facilities for introspection such as dir type repr etc Using the python debugger as a remote debugger You can use the builtin python debugger pdb as a remote debugger from the command line First start the remote debugger at the point in the calibre code you are interested in like this from calibre rpdb import set trace set trace Then run calibre either as normal or using one of the calibre debug commands described in the previous section Once the above point in the code is reached calibre w
133. median line length are used to attempt to re create paragraphs Formatting Style Auto Attempts to detect the type of formatting markup being used If no markup is used then heuristic formatting will be applied Formatting Style Heuristic Analyzes the document for common chapter headings scene breaks and italicized words and applies the appropriate html markup during conversion Formatting Style Markdown calibre also supports running TXT input though a transformation prepro cessor known as markdown Markdown allows for basic formatting to be added to TXT documents such as bold italics section headings tables lists a Table of Contents etc Marking chapter hea dings with a leading and setting the chapter XPath detection expression to h h1 is the easiest way to have a proper table of contents generated from a TXT document You can learn more about the markdown syntax at daringfireball Formatting Style None Applies no special formatting to the text the document is converted to html with no other changes 2http daringfireball net projects markdown syntax 1 4 P evod e knihy 67 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Convert PDF documents PDF documents are one of the worst formats to convert from They are a fixed page size and text placement format Meaning it is very difficult to determine where one paragraph ends and another begins calibre will try to unwrap paragraphs using a conf
134. metadata ToC A metadata ToC is a ToC that is not part of the book text and is typically accessed by some special button on a reader For example in the calibre viewer you use the Show Table of Contents button to see this ToC This ToC cannot be styled by the book creator How it is represented is up to the viewer program In the MOBI format the situation is a little confused This is because the MOBI format alone amongst mainstream ebook formats does not have decent support for a metadata ToC A MOBI book simulates the presence of a metadata ToC by putting an extra content ToC at the end of the book When you click Goto Table of Contents on your Kindle it is to this extra content ToC that the Kindle takes you Now it might well seem to you that the MOBI book has two identical ToCs Remember that one is semantically a content ToC and the other is a metadata ToC even though both might have exactly the same entries and look the same One can be accessed directly from the Kindle s menus the other cannot When converting to MOBI calibre detects the metadata ToC in the input document and generates an end of file ToC in the output MOBI file You can turn this off by an option in the MOBI Output settings You can also tell calibre whether to put it and the start or the end of the book via an option in the MOBI Output settings Remember this ToC is semantically a metadata ToC in any format other than MOBI it cannot not be part of the text The fact that
135. must never be deleted from the container Depends on the ebook file format names that need not be manifested Set of names that are allowed to be missing from the manifest Depends on the ebook file format open name mode u rb Open the file pointed to by name for direct read write Note that this will commit the file if it is dirtied and remove it from the parse cache You must finish with this file before accessing the parsed version of it again or bad things will happen opf The parsed OPF file opf_get_or_create name Convenience method to either return the first XML element with the specified name or create it under the opf package element and then return it if it does not already exist opf_version The version set on the OPF s package element opf xpath expr Convenience method to evaluate an XPath expression on the OPF file has the opf and dc namespace prefixes pre defined parsed name Return a parsed representation of the file specified by name For HTML and XML files an Ixml tree is re turned For CSS files a cssutils stylesheet is returned Note that parsed objects are cached for performance If you make any changes to the parsed object you must call dirty str nka 274 so that the container knows to update the cache See also replace str nka 276 1 12 Nastaven v vojov ho prost ed calibre 275 U ivatelsk p ru ka Calibre Vyd n 2 46 0 raw data name decode True n
136. obsahuj c slovo fiction v kter chkoliv metadatech Vytvo it pokro il vyhled vac dotazy m ete snadno pomoc dialogov ho okna Pokro il hled n kter otev ete kliknut m na tla tko cO Pole dostupn pro vyhled v n jsou tag title author publisher series series index rating cover comments format identifiers date pubdate search size a vlastn sloupce Pokud je p ipojeno za zen bude p i hled n v zobrazen knihovny Calibre dostupn pole ondevice Abyste na li n zev hled n ve skute nosti nazvan n zev vyhled v n pro vlastn sloupec p eje te my nad z hlav m sloupce v zobrazen knihovny Syntaxe pro hled n dat je pubdate gt 2000 1 Will find all books published after Jan 2000 date 2000 1 3 Will find all books added to calibre before 3 Jan 2000 pubdate 2009 Will find all books published in 2009 Pokud je datum dvojzna n je pro porovn n data pou ito aktu ln n rodn prost ed Nap klad v n rodn m prost ed mm dd yyy je 2 1 2009 interpretov no jako 1 no 2009 V n rodn m prost ed dd mm yyyy je interpretov no jako 2 led 2009 Jsou dostupn n kter speci ln et zce dat et zec today se p evede na dne n datum a je jak koliv et zce yesterday a thismonth nebo p elo en ekvivalenty v aktu ln m jazyce tak funguj Nav c et zec daysago tak p elo en m e b t pou it pro porovn n
137. of devices managing a blacklist of devices a list of ejected devices and so forth calibre will periodically call the detect managed devices method and if it returns a detected device calibre will call open open will be called every time a device is returned even is previous calls to open failed therefore the driver must maintain its own blacklist of failed devices Similarly when ejecting calibre will call eject and then assuming the next call to de tect managed devices returns None it will call post yank cleanup SLOW DRIVEINFO False If set the True calibre will call the get driveinfo str nka 206 method after the books lists have been loaded to get the driveinfo ASK TO ALLOW CONNECT False If set to True calibre will ask the user if they want to manage the device with calibre the first time it is detected If you set this to True you must implement get device uid str nka 208 and ignore connected device str nka 208 and get user blacklisted devices str nka 208 and set user blacklisted devices str nka 208 user feedback after callback None Set this to a dictionary of the form title title msg msg det msg detailed msg to have calibre popup a message to the user after some callbacks are run currently only upload books Be careful to not spam the user with too many messages This variable is checked after every callback so only set it when you really need to is usb connected
138. on an entry to change the text Q cancel w OK N stroj Upravit obsah zobraz aktu ln Obsah pokud existuje vlevo Jednodu e poklepejte na jakoukoliv polo ku pro zm nu jej ho textu M ete tak p euspo dat polo ky p eta en m nebo pomoc tla tek vpravo U knih kter nemaj ji existuj c Obsah v m n stroj d v r zn mo nosti automatick ho vygenerov n obsahu z textu M ete ho vygenerovat z nadpis v dokumentu z odkaz z jednotliv ch soubor a tak d le Jednotliv polo ky m ete upravit kliknut m na n a pak kliknut m na tla tko Zm nit um st n na kter tato po lo ka ukazuje To otev e mal n hled knihy jednodu e p esu te kurzor my i nad panel zobrazen knihy a klikn te na um st n kam chcete aby polo ka ukazovala Tlust zelen ra v m uk e um st n Klikn te na OK jakmile jste spokojeni s um st n m 1 5 prava e knih 79 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Select a destination for the Table of Contents entry titlepage xhtml index split 000 html Footnotes 8 Endnotes Here you can choose a destination For index E 003 html Footnotes and endnotes are the Table of Contents entry to point EMA automatically recognized and both are to First choose a file from the book Index Spur OOS DE Eee 5 in the left most panel The File will index split 004 html converted to endnotes with backlinks For openi
139. on the parsed book 1 10 P izp soben Calibre 201 U ivatelsk p ru ka Calibre Vyd n 2 46 0 gui configuration widget parent get option by name get option help db book id None Called to create the widget used for configuring this plugin in the calibre GUI The widget must be an instance of the PluginWidget class See the builtin input plugins for examples class calibre customize conversion OutputFormatPlugin args Nadt dy calibre customize Plugin str nka 194 OutputFormatPlugins are responsible for converting an OEB document OPF HTMD into an output ebook The OEB document can be assumed to be encoded in UTF 8 The main action happens in convert str nka 202 file type None The file type extension without leading period that this plugin outputs common options set lt calibre customize conversion OptionRecommendation object at 0x7f137193c850 gt Options shared by all Input format plugins Do not override in sub classes Use opt ions str nka 202 instead Every option must be an instance of Opt ionRecommendation options set Options to customize the behavior of this plugin Every option must be an instance of OptionRecommendation recommendations set A set of 3 tuples of the form option name recommended value recommendation level convert oeb book output input plugin opts log Render the contents of oeb book which is an instance of calibre ebooks oeb OEBBook to th
140. one author with a rather strange name Plugboards affect the metadata written into the book when it is saved to disk or written to the device Plugboards do not affect the metadata used by save to disk and send to device to create the file names Instead file names are constructed using the templates entered on the appropriate preferences window Helpful Tips You might find the following tips useful Create a custom composite column to test templates Once you have the column you can change its template simply by double clicking on the column Hide the column when you are not testing Templates can use other templates by referencing a composite custom column n a plugboard you can set a field to empty or whatever is equivalent to empty by using the special template This template will always evaluate to an empty string The technique described above to show numbers even if they have a zero value works with the standard field series index 162 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 1 9 4 V e o pou v n regul rn ch v raz v Calibre Regul rn v razy jsou funkce pou van na mnoha m stech v Calibre pro prov d n propracovan ho zpracov n obsahu e knihy a metadat Tento kurz je m rn vod do problematiky pou v n regul rn ch v raz v Calibre Obsah Nejd ve mal varov n a mal povzbuzen str nka 163 Kde v Calibre m ete pou
141. order atribut ca libre web feeds news BasicNewsRecipe 51 rewind savepoint metoda ca libre gui2 tweak book boss Boss 282 RSS 282 run metoda calibre customize CatalogPlugin 197 run metoda calibre customize FileTypePlugin 196 run javascript metoda ca libre customize ViewerPlugin 217 S safe read lock atribut calibre db cache Cache 271 sanitize callback metoda ca libre devices usbms device Device 211 sanitize path components metoda ca libre devices usbms device Device 211 save book metoda ca libre gui2 tweak book boss Boss 282 save original format metoda calibre db cache Cache 212 save_settings metoda calibre customize Plugin 195 t dn metoda ca libre devices interface DevicePlugin 207 scale news images atribut ca libre web feeds news BasicNewsRecipe 51 atribut ca libre web feeds news BasicNewsRecipe 51 search metoda calibre db cache Cache 272 serialize item metoda ca libre ebooks oeb polish container Container 276 set all user metadata metoda ca libre ebooks metadata book base Metadata 156 set conversion options metoda libre db cache Cache 272 set cover metoda calibre db cache Cache 272 set cover v modulu calibre ebooks oeb polish cover 278 ca set driveinfo name metoda ca libre devices interface DevicePlugin 208 set field metoda calibre db cache Cache 272 set identifier metoda ca li
142. ovou kartu B ve te ce e knih 4 Odeslat konkr tn form t do Vybran knihy jsou p eneseny do vybran ho lo i t v za zen ve form tu kter zad te m Vysunout za zen Odpoj za zen od Calibre 6 Nastavit v choz akci odesl n do za zen Umo uje v m zadat kter z voleb 1 a 5 nad nebo 7 pod bude v choz akc kdy kliknete na hlavn tla tko 7 Odeslat a odstranit z knihovny Vybran knihy jsou p eneseny do zvolen ho lo i t v za zen a pak odstra n ny z knihovny 8 Na st pozn mky experiment ln P enese pozn mky kter jste si ud lali k e knize ve va em za zen k metadat m koment knihy v knihovn Calibre N zev souboru a strukturu slo ek soubor odeslan ch do za zen m ete ovl dat nastaven m ablony v P edvolby gt Import a export gt Odes l n knih do za zen Tak se pod vejte na The calibre template language str nka 133 6 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 Na st zpr vy Fetch news y Akce Na st zpr vy stahuje zpr vy z r zn ch webov ch str nek a p ev d je na e knihu kterou m ete st ve sv te ce e knih Oby ejn je nov vytvo en e kniha p id na do va knihovny e knih ale pokud je v dob dokon en stahov n p ipojena te ka e knih zpr vy jsou tak automaticky nahr ny do te ky Akce Na st zpr vy pou
143. p kazov ho dku 242 index 1 ebook meta volba p kazov ho dku 254 input encoding ebook convert volba p kazov ho dku 246 input profile ebook convert volba prikazov ho radku 245 insert blank line ebook convert volba p kazov ho dku 248 insert blank line size ebook convert volba p kazov ho dku 248 insert metadata ebook convert volba p kazov ho dku 250 inspect mobi m calibre debug volba p kazov ho dku 231 Rejst k 289 U ivatelsk p ru ka Calibre Vyd n 2 46 0 is multiple calibredb add custom column volba p kazov ho dku 240 isbn ebook convert volba p kazov ho dku 252 ebook meta volba p kazov ho dku 254 isbn 1 calibredb add volba p kazov ho dku 236 fetch ebook metadata volba p kazov ho dku 257 item count i calibredb list categories volba p kazov ho dku 243 jacket j ebook polish volba p kazov ho dku 255 keep ligatures ebook convert volba p kazov ho dku 248 language ebook convert volba p kazov ho dku 252 language l ebook meta volba p kazov ho dku 254 languages l calibredb add volba p kazov ho dku 236 levell toc ebook convert volba p kazov ho dku 251 level2 toc ebook convert volba p kazov ho dku 251 level3 toc ebook convert volba p kazov ho dku 251 library path volba p
144. p ru ka Calibre Vyd n 2 46 0 avg_rating the average rating of all the books referencing this item sort the sort value For authors this is the author_sort for that author category the category e g authors series that the item is in Note that the r in front of the is necessary if there are backslashes characters in the template It doesn t hurt anything to leave it there even if there aren t any backslashes categories collapsed name template r first sort shorten 4 0 last sort shorten 4 0 categories collapsed rating template r first avg rating 4 2f ifempty 0 last avg categories collapsed popularity template r first count d last count d t Control order of categories in the tag browser Change the following dict to change the order that categories are displayed in the tag browser Items are named using their lookup name and will be sorted using the number supplied The lookup name stands for all names that otherwise do not appear Two names with the same value will be sorted using the default order the one used when the dict is empty Example tag browser category order series 1 tags 2 x 3 resulting in the order series tags then everything else in default order ag browser category order x 1 Specify columns to sort the booklist by on startup Provide a set of columns to be sorted on when calibre starts
145. plugin is already not accepting connections then do nothing This method can be called on the GUI thread A driver that implements this method must be thread safe get option opt string default None Return the value of the option indicated by opt string This method can be called when the plugin is not started Return None if the option does not exist This method can be called on the GUI thread A driver that implements this method must be thread safe set option opt string opt value Set the value of the option indicated by opt string This method can be called when the plugin is not started This method can be called on the GUI thread A driver that implements this method must be thread safe is running Return True if the plugin is started otherwise false This method can be called on the GUI thread A driver that implements this method must be thread safe synchronize with db db book id book metadata first call Called during book matching when a book on the device is matched with a book in calibre s db The method is responsible for syncronizing data from the device to calibre s db if needed The method must return a two value tuple The first value is a set of calibre book ids changed if calibre s database was changed or None if the database was not changed If the first value is an empty set then the metadata for the book on the device is updated with calibre s metadata and given back to the device but no GUI refres
146. r 242 csv c 243 help h 243 item_count i 243 quote q 243 separator s 243 version 243 width w 243 calibredb remove volba p kazov ho dku help h 236 version 237 calibredb remove custom column volba p kazov ho dku force f 241 help h 241 version 241 calibredb remove format volba p kazov ho dku help h 237 version 237 calibredb restore database volba p kazov ho dku help h 242 really do it r 242 version 242 calibredb saved searches volba p kazov ho dku calibredb search volba p kazov ho dku help h 244 limit 1 244 version 244 calibredb set custom volba pr kazov ho r dku append a 241 help h 241 version 241 calibredb set metadata volba p kazov ho dku field f 238 help h 238 list fields 1 238 version 238 calibredb show metadata volba p kazov ho dku as opf 237 help h 237 version 237 can be disabled atribut calibre customize Plugin 194 CAN DO DEVICE DB PLUGBOARD atribut ca libre devices interface DevicePlugin 203 can get multiple covers atribut ca libre ebooks metadata sources base Source 198 can handle metoda ca libre devices interface DevicePlugin 205 can handle windows metoda ca libre devices interface DevicePlugin 205 CAN SET METADATA atribut ca libre devices interface Device
147. sada Zkratky d c sekvence kter jsme vid li d ve mohou b t tak dopln ny XD znamen jak koli ne seln znak tak e je ekvivalentem 0 9 Jak u jste asi uhodli ostatn zkratky mohou b t dopln ny pomoc p slu n ho velk ho p smena nam sto mal ho Tak e kdy se vr t me k p kladu lt p gt gt z p edchoz sti m ete nyn vid t e pou it sada znak se pokus porovnat jak koliv znak krom uzav rac hlov z vorky Ale kdy budu m t n kolik r zn ch et zc kter chci porovnat zkomplikuje se to Nebojte se Zivot je po d jednoduch Vezm me si tento p klad Kniha kterou p ev d te m naps n N zev na ka d lich str nce a Autor na ka d sud str nce V tisku to vypad skv le e jo Ale v e knize je to otravn M ete seskupit cel v razy do norm ln ch z vorek a znak v m umo n porovnat bu v raz s jeho pravou nebo levou stranou Toto zkombinujte a m te hotovo Je to na v s p li Dob e nejd ve seskup me v razy pro sud a lich str nky tak e z sk me N zev Autor jako na e dva pot ebn v razy Nyn v ci zjednodu me pomoc svisl ry ho pruhu znak se naz v svisl ra Pokud pou ijete v raz N zev Autor dostanete shodu bu pro N zev na lich ch str nk ch nebo pro Autor na sud ch str nk ch No nebylo to jednoduch Svislou ru m ete samoz ej
148. set of standard metadata fields rrr All fields must have a NULL value represented as None for simple types an empty list dictionary for complex types and None None for cover data pre SOCIAL METADATA FIELDS frozenset tags Ordered list rating A floating point number between 0 and 10 comments A simple HTML enabled string series A simple string series index A floating point number Of the form schemel valuel scheme2 value2 For example isbn s 123456789 doz s xxxx css identifiers Se SHE cH cH 1 Ead The list of names that convert to identifiers when in get and set rog TOP LEVEL IDENTIFIERS frozenset VSB 1 PUBLICATION METADATA FIELDS frozenset t 3tle title must never be None Should be Unknown Pseudo field that can be set but if not set is auto generated from title and languages title sort authors Ordered list Must never be None can be Unknown author sort map Map of sort strings for each author Pseudo field that can be set but if not set is auto generated from authors and languages author sort book producer timestamp f Dates and times must be timezone aware pubdate 1 9 Kurzy 157 U ivatelsk p ru ka Calibre Vyd n 2 46 0 last modified rights So far only known publication type is periodical calibre If None mean
149. seznam m podobu azen autora 1 val separator azen autora 2 atd Hodnoty azen autora v tomto seznamu jsou ve stejn m po ad jako auto i knihy Pokud chcete kolem val separator mezery tak je zahr te do et zce odd lova e booksize class calibre utils formatter functions BuiltinBooksize booksize vrac hodnotu pole velikost Tato funkce funguje pouze v grafick m rozhran Pokud chcete pou t tuto hodnotu v ablon ch ulo en na disk nebo odesl n do za zen pak mus te vytvo it vlastn Sloupec se staven z jin ch sloupc pou t funkci v ablon toho sloupce a pou t hodnotu toho sloupce ve sv ablon ulo en nebo odesl n current library name class calibre utils formatter functions BuiltinCurrentLibraryName current library name vrac posledn n zev v cest k aktu ln knihovn Calibre Tato funkce m e b t vol na v re imu ablony programu pomoc ablony current library name current library path class calibre utils formatter functions BuiltinCurrentLibraryPath current library path vrac cestu k aktu ln knihovn Calibre Tato funkce m e b t vol na v re imu ablony programu pomoc ablony current library path field name class calibre utils formatter functions BuiltinField field name vrac pole metadata pojmenovan podle name formats modtimes form t data class calibre utils formatter functions Builtin
150. single feed in the BBC feeds max_articles_per_feed 100 The max age of articles which may be downloaded from each feed This is specified in days note fractions of days are allowed Eg 2 5 2 and a half days My default of 1 5 days is the last 36 hours the point at which I ve decided news becomes old news but be warned this is not so good for the blogs technology magazine etc and sports feeds You may wish to extend this to 2 5 but watch out ebook creation time will increase as well Setting this to 30 will get everything AFAICT as long as max articles per feed remains set high except for Click which is v low volume and its currently oldest article is 4th Feb 2011 oldest article 1 5 Number of simultaneous downloads 20 is consistantly working fine on the BBC News feeds with no problems Speeds things up from the defualt of 5 If you have a lot of feeds and or have increased oldest article above 2 then you may wish to try increasing simultaneous downloads to 25 30 Or of course if you are in a hurry I ve not tried beyond 20 S imultaneous downloads 20 Timeout for fetching files from the server in seconds The default of f 120 seconds seems somewhat excessive timeout 30 The format string for the date shown on the ebook s first page List of all values http docs python org library time html Default in n
151. size if not val return see if the font size contains a number num re search r 0 9 val if num is not None num num group val val replace num f float num x factor style setProperty font size val We should also be dealing with the font shorthand property and font sizes specified as non numbers but those are left as exercises for the reader Poj me si rozebrat main py Vid me e definuje jeden n stroj s n zvem Zv t it p sma Tento n stroj po d u iva tele o slo a vyn sob v echny velikosti p sem v knize t mto slem Prvn d le it v c je n zev n stroje kter mus te nastavit na n jak relativn jedine n et zec proto e bude pou it jako kl pro tento n stroj Dal m d le it m vstupn m bodem je calibre gui2 tweak book plugin Tool create action str nka 280 Tato metoda vytvo objekty QAction kter se zobraz v panelu n stroj modul a nab dce modulu Tak to voliteln p i ad kl vesovou zkratku kterou si u ivatel m e p izp sobit Spu t n sign l z OAction je spo jen s metodou ask user kter se zept u ivatele na n sobitel velikosti p sma a pak spust k d zv t en K d zv t en k d je dob e okomentov n a pom rn jednoduch Hlavn mi v cmi na kter pamatujte je to e jste z skali odkaz na okno editoru jako self gui a Boss editoru jako self boss Boss je ob jekt kter
152. soubor OPF Kdykoliv p ed te parametry calibredb kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami field f Pole k nastaven Form t je field name value nap klad field str nka 238 tags tagl tag2 Pou ijte list fields str nka 238 pro z sk n seznamu v ech n zv pol Tuto volbu m ete zadat v cekr t pro nastaven v ce pol Pozn mka Pro jazyky mus te pou t k dy jazyka ISO639 nap cs pro e tinu en pro angli tinu fr pro francouz tinu atd Pro identifik tory je syntaxe field str nka 238 identi fiers isbn XXXX doi YYY Y Y Pro pole logick ch hodnot ano ne pou ijte pravda a nepravda nebo ano a ne help h zobrazit tuto zpr vu n pov dy a ukon it list fields 1 Vypsat n zvy pol metadat kter mohou b t pou ita s volbou field str nka 238 version zobrazit slo verze programu a ukon it export calibredb export options ids Exportovat knihy zadan identifik tory rkami odd len seznam do syst mu soubor Operace exportu ukl d v echny form ty knihy jej ob lku a metadata do souboru opf Identifika n sla m ete z skat z p kazu search Kdykoliv p ed te parametry calibredb kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami all Exportovat v echny knihy v datab zi ignorovat seznam identifik
153. sre 1 12 Nastaveni vyvojov ho prostiedi calibre 261 U ivatelsk p ru ka Calibre Vyd n 2 46 0 To update a branch to the latest code use the command git pull no edit Submitting your changes to be included If you only plan to make a few small changes you can make your changes and create a merge directive which you can then attach to a ticket in the calibre bug tracker To do this make your changes then run git commit am Comment describing your changes git format patch origin master stdout my changes This will create a my changes file in the current directory simply attach that to a ticket on the calibre bug tracker Note that this will include a the commits you have made If you only want to send some commits you have to change origin master above To send only the last commit use git format patch HEAD 1 stdout my changes To send the last n commits replace with n for example for the last 3 commits git format patch HEAD 3 stdout my changes Be careful to not include merges when using HEAD n If you plan to do a lot of development on calibre then the best method is to create a GitHub account Below is a basic guide to setting up your own fork of calibre in a way that will allow you to submit pull requests for inclusion into the main calibre repository Setup git on your machine as described in this article Setup
154. string 1 if the value is empty otherwise returns the empty string This function works well with test or first non empty You can have as many values as you want e list difference listl list2 separator return a list made by removing from list any item found in list2 using a case insensitive compare The items in ist and list2 are separated by separator as are the items in the returned list e list equals listl sepl list2 sep2 yes val no val return yes val if list and list2 contain the same items otherwise return no val The items are determined by splitting each list using the appropriate separator character sep or sep2 The order of items in the lists is not relevant The compare is case insensitive e list intersection listl list2 separator return a list made by removing from list any item not found in ist2 using a case insensitive compare The items in list and list2 are separated by separator as are the items in the returned list list re src list separator include re opt replace Construct a list by first sepa rating src list into items using the separator character For each item in the list check if it matches include re If it does then add it to the list to be returned If opt replace is not the empty string then apply the replacement before adding the item to the returned list e list re group sro list separator include re search re template for group 1 for group 2 Like l
155. string This function works well with test or first non empty You can have as many values as you want add x y returns x y Throws an exception if either x or y are not numbers assign id val assigns val to id then returns val id must be an identifier not an expression approximate formats return a comma separated list of formats that at one point were associated with the book There is no guarantee that the list is correct although it probably is This function can be called in template program mode using the template approximate formats Note that format names are always uppercase as in EPUB author links val separator pair separator returns a string containing a list of authors and that author s link values in the form authorl val separator authorllink pair separator author2 val separator author2link etc An author is separated from its link value by the val separator string with no added spaces author linkvalue pairs are separated by the pair separator string argument with no added spaces It is up to you to choose separator strings that do not occur in author names or links An author is included even if the author link is empty author sorts val separator returns a string containing a list of author s sort values for the authors of the book The sort is the one in the author metadata different from the author sort in books The returned list has the form author sort 1 val separator author sort 2 etc T
156. stroje kontroly pravopisu mohli byste p ij t o zm ny proveden v editoru P id v n nov ch slovn k Kontrola pravopisu obsahuje vestav n slovn ky pro angli tinu a pan l tinu Vlastn slovn ky m ete nainstalovat pomoc pravy gt P edvolby gt Nastaven editoru gt Spravovat pravopisn slovn ky Kontrola pravopisu m e pou t slovn ky z programu LibreOffice ve form tu oxt Tyto slovn ky si m ete st hnout z Repozit e roz en LibreOf fice Vkl d n speci ln ch znak Znaky kter jsou obt n napsat m ete vlo it pomoc n stroje pravy gt Vlo it speci ln znak Ten v m zobraz v echny znaky Unicode jednodu e klikn te na znak kter chcete zadat Pokud p i kliknut podr te kl vesu Ctrl okno se samo zav e po vlo en vybran ho znaku Tento n stroj m e b t pou it k vlo en speci ln ch znak do hlavn ho textu nebo do jak koliv jin oblasti u ivatelsk ho rozhran jako je nap klad n stroj Hledat a nahradit Proto e existuje spousta znak m ete definovat sv Obl ben znaky kter budou zobrazeny jako prvn Jednodu e klikn te prav m tla tkem my i na znak pro jeho ozna en jako obl ben ho M ete tak kliknout prav m tla tkem my i na znak v obl ben ch pro jeho odebr n z obl ben ch A kone n m ete p euspo dat po ad znak v obl ben ch kliknut m na tla tko P euspo dat obl ben a p et
157. supports restoring to defaults True Set to True iff the restore to defaults method is implemented restore defaults desc u Obnovit nastaven xed na v xfdchoz xed hodnoty Mus xedte kliknout na Poulu017ekxedi The tooltip for the Restore to defaults button restart critical False If True the Preferences dialog will not allow the user to set any more preferences Only has effect if commit returns True genesis gui Called once before the widget is displayed should perform any necessary setup Parametry gui The main calibre graphical user interface initialize Should set all config values to their initial values the values stored in the config files restore defaults Should set all config values to their defaults 1 10 P izp soben Calibre 215 U ivatelsk p ru ka Calibre Vyd n 2 46 0 commit Save any changed settings Return True if the changes require a restart False otherwise Raise an AbortCommit exception to indicate that an error occurred You are responsible for giving the user fe edback about what the error is and how to correct it refresh gui gui Called once after this widget is committed Responsible for causing the gui to reread any changed settings Note that by default the GUI re initializes various elements anyway so most widgets won t need to use this method class calibre gui2 preferences ConfigWidgetBase parent None Base class that contains code to easily add standard c
158. t katalogu AZW3 EPUB nebo MOBI V poli N zev katalogu zadejte n zev kter bude pou it pro vygenerovan katalog Pokud ji existuje katalog se stejn m n zvem a form tem bude nahrazen nov vytvo en m katalogem S6http www mathjax org 1 9 Kurzy 187 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Send catalog to device automatically Helo l Apoly Povolen Odeslat katalog do za zen automaticky st hne po dokon en vygenerovan katalog do p ipojen ho za zen Zahrnut odd ly Included sections v Authors v Titles Y Series Y Genres v Recently Added Y Descriptions Odd ly povolen zatr tkem budou zahrnuty do generovan ho katalogu e Auto i v echny knihy se azen podle autora zobrazen ve form tu seznamu Knihy bez s ri jsou vyps ny p ed knihami v s rii e N zvy v echny knihy se azen podle n zvu zobrazen ve form tu seznamu e S rie v echny knihy kter jsou sou st s rie se azen podle n zvu zobrazen ve form tu seznamu 2x2 e Z nry jednotliv nry zobrazen v seznamu se azen podle autora a s rie Ned vno p idan v echny knihy se azen v obr cen m chronologick m po ad Seznam obsahuje knihy p i dan za posledn ch 30 dn pak v pis p idan ch knih po m s c ch zvo e Popisy podrobn str nka popisu pro ka dou knihu v etn n hledu ob lky a koment Se azeno podle autora s
159. t na celou obrazovku help h zobrazit tuto zpr vu n pov dy a ukon it open at Pozice na kter otev t zadanou knihu Pozice je um st n zobrazen v lev m horn m rohu prohl e e raise window Pokud je zad no okno prohl e e se pokus p i spu t n zobrazit v pop ed version zobrazit slo verze programu a ukon it fetch ebook metadata fetch ebook metadata options Na st metadata knihy z online zdroj Mus te zadat alespo n zev autory nebo ISBN Kdykoliv predate parametry fetch ebook metadata kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami 256 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 options authors a Auto i knihy cover c Zadejte n zev souboru Pokud existuje ob lka bude do n j ulo ena Bez t to volby nebude sta ena dn ob lka help h zobrazit tuto zpr vu n pov dy a ukon it isbn i ISBN knihy opf o V stup metadat ve form tu OPF nam sto textu iteln ho pro lov ka timeout d Casov limit v sekund ch V choz je 30 title t N zev knihy verbose v Vypsat protokol do konzole stderr version zobrazit slo verze programu a ukon it lrf21rs lrf2lrs book lrf P ev st soubor LRF na soubor LRS XML s k dov n m UTF 8 Kdykoliv predate parametry 1rf21lrs kter obs
160. t regul rn v razy str nka 163 Co to u v ech v udy je regul rn p kaz str nka 163 Zaj m v s vysv tlen str nka 164 To nezn tak patn Co d l str nka 164 Par dn Za n to d vat smysl str nka 164 No tyto speci ln znaky jsou velice elegantn a tak ale co kdy chci porovnat te ku nebo otazn k str nka 165 Ale kdy budu m t n kolik r zn ch et zc kter chci porovnat zkomplikuje se to str nka 165 Zapomn l jsi str nka 166 Na za tku jsi kal e existuje zp sob aby regul rn v raz nerozli oval mal a velk p smena str nka 166 Mysl m e te u za n m ty regul rn v razy ch pat Jak je pou iju v Calibre str nka 166 P evody str nka 166 P id v n knih str nka 167 Hromadn prava metadat str nka 167 Pod kov n str nka 167 Nejd ve mal varov n a mal povzbuzen Toto bude nevyhnuteln pon kud technick ostatn regul rn v razy jsou technick m n strojem pro to technick z le itosti Budu muset pou t n jak argon a pojmy kter se mohou zd t slo it a spletit Budu se sna it vysv tlit tyto pojmy co nejjasn ji ale opravdu nen mo n obej t se bez jejich pou it Jak ji bylo e eno nenechte se odra dit dn m argonem proto e se sna m vysv tlit v echno nov A zat mco samotn regul rn v razy v m m ou p ipadat jako
161. template does not work in which case please file a bug report The following example is a program mode implementation of a recipe on the MobileRead forum Put series into the title using either initials or a shortened form Strip leading articles from the series name any For example for the book The Two Towers in the Lord of the Rings series the recipe gives LotR 02 The Two Towers Using standard templates the recipe requires three custom columns and a plugboard as explained in the following The solution requires creating three composite columns The first column is used to remove the leading articles The second is used to compute the shorten form The third is to compute the initials form Once you have these columns the plugboard selects between them You can hide any or all of the three columns on the library view 1 9 Kurzy 159 U ivatelsk p ru ka Calibre Vyd n 2 46 0 First column Name fstripped series Template series re A The An s Second column the shortened form Name shortened Template fstripped series shorten 4 4 Third column the initials form Name finitials Template stripped_series re s s s1 1 Plugboard expression Destination field title his set of fields and plugboard produces Series The Lord of the Rings Series index 2 itle The Two Towers Output LotR 02 The Two Towers Series
162. the books list Choices open viewer do nothing edit cell edit metadata Selecting anything other than open viewer has the side effect of disabling editing a field using a single click Default open_viewer Example doubleclick_on_library_view do_nothing You can also control whether the book list scrolls horizontal per column or per pixel Default is per column 224 Kapitola 1 Oddily U ivatelsk p ru ka Calibre Vyd n 2 46 0 doubleclick on library view open viewer horizontal scrolling per column True Language to use when sorting Setting this tweak will force sorting to use the collating order for the specified language This might be useful if you run calibre in English but want sorting to work in the language where you live Set the tweak to the desired ISO 639 1 language code in lower case You can find the list of supported locales at http publib boulder ibm com infocenter iseries v5r3 topic nls rbagsicusortsequencetd Default locale_for_sorting id use the language calibre displays in Example locale for sorting fr sort using French rules Example locale for sorting nb sort using Norwegian rules locale for sorting Number of columns for custom metadata in the edit metadata dialog Set whether to use one or two columns for custom metadata when editing metadata one book at a time If True then the
163. the little blue icon to select the new location of your calibre library and click OK If you don t know the new location search your computer for the file metadata db Your metadata db file was deleted corrupted In this case you can ask calibre to rebuild the metadata db from its backups Right click the calibre icon in the calibre toolbar and select Library maintenance gt Restore database calibre will automatically rebuild metadata db am getting errors with my calibre library on a networked drive NAS Do not put your calibre library on a networked drive A filesystem is a complex beast Most network filesystems lack various filesystem features that calibre uses Some don t support file locking some don t support hardlinking some are just flaky Additionally calibre is a single user application if you accidentally run two copies of calibre on the same networked library bad things will happen Finally different OSes impose different limitations on filesystems so if you share your networked drive across OSes once again bad things will happen Consider using the calibre Content Server to make your books available on other computers Run calibre on a single computer and access it via the Content Server or a Remote Desktop solution If you must share the actual library use a file syncing tool like DropBox or rsync instead of a networked drive If you are using a file syncing tool it is essential that you make sure that both calibre
164. the standard news while there are 2 used for sports feed urls Note Sports urls are linked from regular news feeds Eg News Home when there is a major story of interest to everyone So even if no BBC sports feeds are added to feeds the logic of this method is still needed to avoid blank missing empty articles which have an index title and then no body Skok SK che Sb he che Gb k def print version self url Handle sports page urls type 01 if url find go rss sport1 1 temp url url replace go rss Handle sports page urls type 02 elif url find go rss int news sportl 1 temp url url replace go rss int news Handle regular news page urls else temp url url replace go rss int news Always add print true to the end of the url print url temp url print true return print url Remove articles in feeds based on a string in the article title or url Code logic written by Starsonl7 posted in Recipes Re usable code thread in post with title Remove articles from feed see url http www mobileread com forums showpost php p 1165462 amp postcount 6 Many thanks and all credit to Starsonl7 Starson17 s code has obviously been altered to suite my requirements def parse feeds self Call parent s method feeds BasicNewsRecipe parse feeds self Loop through all feeds for feed in feeds Loop t
165. the windows PnP id strings This can be None string list of strings or compiled regex WINDOWS CARD B MEM None String identifying the second card of the device in the windows PnP id strings This can be None string list of strings or compiled regex OSX MAIN MEM VOL PAT None Used by the new driver detection to disambiguate main memory from storage cards Should be a regular expression that matches the main memory mount point assigned by OS X MAX PATH LEN 250 The maximum length of paths created on the device NEWS IN FOLDER True Put news in its own folder windows sort drives drives Called to disambiguate main memory and storage card for devices that do not distinguish between them on the basis of WINDOWS CARD NAME For e g The EB600 sanitize callback path Callback to allow individual device drivers to override the path sanitization used by create upload path filename callback default mi Callback to allow drivers to change the default file name set by create upload path sanitize path components components Perform any device specific sanitization on the path components for files to be uploaded to the device get annotations path map Resolve path map to annotation map of files found on the device add annotation to library db db id annotation Add an annotation to the calibre library class calibre devices usbms cli CLI cass calibre devices usbms driver USBMS plugin path Nadt dy calibre devic
166. thus they cannot be embedded calibre shows only TrueType and OpenType fonts found on your system You can obtain many such fonts on the web Simply download the ttf otf files and add them to the Library Fonts directory in your home directory 56http www mobileread com forums forumdisplay php f 228 120 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 calibre is not starting on Windows There can be several causes for this If you are on Windows XP or on a computer with a processor that does not support SSE2 such as AMD processors from before 2003 try installing calibre version 1 4877 calibre 2 0 and newer use Qt 5 which is known to be incompatible with Windows XP machines and reguires SSE2 Simply un install calibre and then install version 1 48 doing so will not affect your books settings If you get an error about calibre not being able to open a file because it is in use by another program do the following Uninstall calibre Reboot your computer Re install calibre But do not start calibre from the installation wizard Temporarily disable your antivirus program disconnect from the Internet before doing so to be safe Look inside the folder you chose for your calibre library If you see a file named metadata db delete it Start calibre From now on you should be able to start calibre normally If you get an error about a Python function terminating unexpectedly after up
167. title title authors co ulo knihy do podadres e podle autora s n zvy soubor obsahu j c mi n zev a autora Dostupn ovl dac prvky jsou author sort authors id isbn languages last modified pubdate publisher rating series series index tags timestamp title timefmt Form t ve kter m zobrazovat data 96d den b m s c 96m slo m s ce Y rok V choz je b Y to dir Exportovat knihy do zadan ho adres e V choz je to lowercase P ev st cesty na mal p smena version zobrazit slo verze programu a ukon it catalog calibredb catalog path to destination CSV EPUB MOBI XML options Exportovat katalog ve form tu zadan m roz en m path to destination Volby d jak jsou polo ky zobrazeny v ge nerovan m v stupn m katalogu Kdykoliv p ed te parametry calibredb kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami fields Pole pro v stup p i za azen knih do datab ze M l by b t rkami odd len seznam pol Dostupn pole all title title sort author sort authors comments cover formats id isbn library name ondevice pubdate pub lisher rating series index series size tags timestamp uuid languages identifiers nav c u ivatelem vytvo en vlastn pole P klad ields title authors tags V choz all Pou ije se na v stupn
168. to build ToC from found else Add an entry corresponding to this match to the Table of Contents if toc not in data The entries are stored in the data object which will persist for all invocations of this function during a Replace All operation data toc tag name anchor text match group 1 replace entities match group 2 repl ce entities 1 data toc append file name tag name anchor text return match group We don t want to make any actual changes so return the Ensure that we are called once after the last match is found so we can output the ToC replace call after last match True Ensure that when running over multiple files this function is called the files are processed in the order in which they appear in the book replace file order spine And use it with the find expression 1 5 prava e knih 93 original mati U ivatelsk p ru ka Calibre Vyd n 2 46 0 lt h 12 id 9 42 gt 1 lt gt Run the search on All text files and at the end of the search a window will popup with Debug Output from your function which will have the HTML Table of Contents ready to be pasted into toc html The function above is heavily commented so it should be easy to follow The key new feature is the use of another useful extra argument to the replace function the data object The data object is a python dict that p
169. tor dont asciiize Oby ejn Calibre p evede v echny neanglick znaky na anglick ekvivalenty pro n zvy soubor VAROV N Pokud toto vypnete m ete za t chyby p i ukl d n v z vislosti na tom jak dob e syst m soubor do kter ho ukl d te podporuje unicode Zad n tohoto p ep na e vypne toto chov n dont save cover Oby ejn Calibre ulo ob lku do samostatn ho souboru spole n se skute n mi soubory e knih Zad n tohoto p ep na e vypne toto chov n dont update metadata Oby ejn Calibre aktualizuje metadata v uloZenych souborech z toho co je v knihovn Calibre Zpomal ukl d n na disk Zad n tohoto p ep na e vypne toto chov n 238 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 dont write opf Oby ejn Calibre zap e metadata do samostatn ho souboru OPF spole n se skute n mi soubory e knih Za d n tohoto p ep na e vypne toto chov n formats rkami odd len seznam form t pro ulo en pro ka dou knihu Ve v choz m nastaven jsou ukl d ny v echny dostupn form ty help h zobrazit tuto zpr vu n pov dy a ukon it replace whitespace Nahradit pr zdn znaky podtrZ tky single dir Exportovat v echny knihy do jednoho adres e template ablona pro ovl d n n zvu souboru a adres ov struktury ukl dan ch soubor V choz je au thor_sort
170. v ce nebo m n zna ek ne jste doopravdy cht li Calibre se pokus opravit po kozen k d po proveden odstran n P id v n knih Dal v c ke kter m ete pou t regul rn v razy je extrahov n metadat z n zv soubor Tuto funkci m ete naj t v sti nastaven P id v n knih Je zde speci ln funkce M ete pou t n zvy pol pro pole metadat na p klad P lt titlesgt by znamenalo e Calibre pou ije tuto st et zce jako n zev knihy Povolen n zvy pol jsou uvedeny v oknech spole n s dal m p kn m testovac m polem P klad ekn me e chcete importo vat spoustu soubor s n zvem jako je Klasick texty Bo sk komedie Dante Alighieri mobi Samoz ejm e tu u ve sv knihovn m te proto e v ichni milujeme klasickou italskou poezii nebo Sci fi eposy Trilogie Nadace Isaac Asimov epub To je samoz ejm sch ma n zv ze kter ho by Ca libre nevyextrahovalo dn smyslupln data standardn v raz pro extrahov n metadat je P lt title gt P author 1 Regul rn v raz kter by tu fungoval by byl a zA Z P lt title gt P lt author gt Pamatujte e uvnit skupiny pro pole metadat mus te pou t v razy k popisu toho emu pole skute n odpov d A tak pamatujte e p i pou it testovac ho pole kter Calibre poskytuje mus te p idat p ponu souboru k testovan mu souboru jinak n
171. values in the dict get all standard metadata make copy return a dict containing all the standard field metadata associated with the book get all user metadata make copy return a dict containing all the custom field metadata associated with the book get user metadata field make copy return field metadata from the object if it is there Otherwise return None field is the key name not the label Return a copy if requested just in case the user wants to change values in the dict 156 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 set all user metadata metadata store custom field metadata into the object Field is the key name not the label set user metadata field metadata store custom field metadata for one column into the object Field is the key name not the label template to attribute other ops Takes a list src dest src dest evaluates the template in the context of other then copies the result to self dest This is on a best efforts basis Some assignments can make no sense smart update other replace metadata False Merge the information in other into self In case of conflicts the information in other takes precedence unless the information in other is NULL format field key series with index True Returns the tuple display name formatted value to html A HTML representation of this object calibre ebooks metadata book base STANDARD METADATA FIELDS The
172. vodn str nce vytvo en e knihy aby byl ve form tu Day Day Number Month Year Pod vejte se na t imefmt str nka 51 Pak vid me skupinu sm rnic pro vy i t n sta en ho HTML remove tags before dict name hl remove tags after dict id footer remove tags Tyto odeberou v e p ed prvn zna kou lt h1 gt a v e za prvn zna kou jej id je footer Pod vejte se na remove tags str nka 50 remove tags before str nka 51 remove tags after str nka 50 Dal zaj mav funkce je needs subscription True def get browser self needs subscription True k Calibre e tento p edpis pot ebuje u ivatelsk jm no a heslo pro p stup k obsahu To zp sob e Calibre po d o u ivatelsk jm no a heslo kdykoliv se pokus te pou t tento p edpis K d v calibre web feeds news BasicNewsRecipe get browser str nka 44 skute n provede p ihl en na webovou str nku NYT Jakmile se p ihl s te Calibre pou ije stejnou p ihl enou instance prohl e e k na ten cel ho obsahu Pod vejte se na automatizace k porozum n k du v get browser Dal novou funkc je metoda calibre web feeds news BasicNewsRecipe parse index str nka 45 Jej lohou je p ej t na http www nytimes com pages todayspaper index html a na st seznam l nk Shttp wwwsearch sourceforge net mechanize 1 2 P id v n obl ben ch we
173. vytvo it tolik knihoven kolik budete cht t Mohli byste nap klad vytvo it knihovnu pro sci fi knihovnu pro nau nou literaturu knihovnu pro ciz jazyk knihovnu pro projekt nebo jakoukoliv strukturu kter vyhovuje va im pot eb m Knihovny jsou nejvy organiza n struktura v Calibre Ka d knihovna m svou vlastn sadu knih t tk kategori a z kladn um st n lo i t 1 P epnout nebo vytvo it knihovnu Umo uje v m a p ipojit se k ji existuj c knihovn Calibre v ji n m um st n b vytvo it pr zdnou knihovnu v nov m um st n nebo c p esunout aktu ln knihovnu do nov zadan ho um st n Rychl p epnut Umo uje v m p ep nat mezi knihovnami kter byly registrov ny nebo vytvo eny v Calibre P ejmenovat knihovnu Umo uje v m p ejmenovat knihovnu Odstranit knihovnu Umo uje v m odregistrovat knihovnu z Calibre U KB U N lt n zev knihovny gt Akce 5 6 atd v m poskytuje okam it p stup k p epnut mezi v ce knihovnami kter jste vytvo ili nebo p ipojili Tento seznam obsahuje pouze 5 nej ast ji pou van ch knihoven Pro kompletn seznam pou ijte nab dku Rychl p epnut 6 dr ba knihovny Umo uje v m zkontrolovat v aktu ln knihovn probl my s konzistenc dat a obnovit datab zi aktu ln knihovny ze z loh 1 1 Grafick u ivatelsk rozhran 7 U ivatelsk p ru ka Calibre Vyd n
174. vytvo it v stup kter je co nejv ce iteln pro lov ka Nemus to m t dn vliv na n kter v stupn moduly toc title N zev pro vygenerovany vloZeny obsah Vzhled Volby nastaven vzheldu v stupu asciiize P ek dovat znaky unicode do ASCII Pou vejte opatrn proto e to nahrad znaky unicode za ASCII Nap klad to nahrad Muxaus I op6au p za Michail Gorba ov Tak pamatujte Ze v p padech kdy je v ce zastoupen znaku nap klad znaky spole n pro n tinu a japon tinu bude pou ito zastoupen podle aktu ln ho jazyku rozhran Calibre base font size Z kladn velikost p sma v bodech V echny velikosti p sma ve vytvo en knize budou m t upraven m tko na z klad t to velikosti V b rem v t velikosti m ete zv t it p sma ve v stupu a naopak Ve v choz m nastaven je z kladn velikost p sma zvolena na z klad v mi zvolen ho v stupn ho profilu change justification Zm nit zarovn n textu Hodnota doleva p evede v echen text zarovnan do bloku ve zdroji na text zarov nan vlevo tj nezarovnan Hodnota do bloku p evede v echen nezarovnan text na zarovnan Hodnota p vodn v choz nezm n zarovn n ve zdrojov m souboru Pamatujte e pouze n kter v stupn form ty podporuj zarovn n disable font rescaling yyy Zak zat v echny pravy m tka velikost p sma em
175. with good aspect ratio as the cover image There is also an advanced property conversion mode which is activated by setting the custom property opf metadata Yes or No type to Yes in your ODT document File gt Properties gt Custom Properties If this property is detected by calibre the following custom properties are recognized opf authors overrides document creator titlesort authors authorsort publisher pubdate isbn language series Seriesindex O O O OC Fh Fh Fh Fh o O O O O O 0 0 0 0 O o O O Fh Fh Fh Fh Fh In addition to this you can specify the picture to use as the cover by naming it op cover right click Picture gt Options gt Name in the ODT If no picture with this name is found the smart method is used As the cover detection might result in double covers in certain output formats the process will remove the paragraph only if the only content is the cover from the document But this works only with the named picture To disable cover detection you can set the custom property op nocover Yes or No type to Yes in advanced mode 26http calibre ebook com downloads demos demo epub 27http calibre ebook com downloads demos demo zip 1 4 P evod e knihy 69 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Converting to PDF The first most important setting to decide on when converting to PDF is the page size By default calibre u
176. works fine so use that if necessary but auto detecting with None is working fine so stick with that for robustness encoding None Sets whether a feed has full articles embedded in it The BBC feeds do not use_embedded_content Fals Removes empty feeds why keep them remove_empty_feeds Tru Create a custom title which fits nicely in the Kindle title list Requires import time above class declaration and replacing title with custom_title in conversion_options right column only Example of string below BBC News 14 Nov 2011 f custom title BBC News time strftime d b Y rr Conversion options for advanced users but don t forget to comment out the current conversion options below Avoid setting linearize tables as that plays havoc with the old style table based pages conversion options title title comments description tags s bags language language 32 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 publisher publisher authors publisher smarten punctuation True Kp conversion options smarten punctuation True Specify extra CSS overrides ALL other CSS IE Added last extra css body font family verdana helvetica sans serif introduction first font weight bold cross head font weight bold font size 125 cap
177. 0 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 Obsah Anatomie modulu Calibre str nka 171 Modul u ivatelsk ho rozhran str nka 172 init py str nka 173 ui py str nka 174 main py str nka 175 Z sk n zdroj ze souboru zip modulu str nka 178 Povolen u ivatelsk konfigurace va eho modulu str nka 178 Moduly pro pravu knihy str nka 180 main py str nka 180 P id v n p eklad do va eho modulu str nka 183 Rozhran API modulu str nka 183 Lad n modul str nka 183 Dal p klady modul str nka 184 Sd len va eho modulu s ostatn mi str nka 184 Pozn mka Toto plat pouze pro vyd n Calibre gt 0 8 60 Anatomie modulu Calibre Modul Calibre je velice jednoduch je to prost soubor zip kter obsahuje n jak k d Pythonu a jak koliv jin zdroje jako soubory obr zk vy adovan modulem Bez dal ch okolk se poj me pod vat na z kladn p klad wes P edpokl dejme Ze m te instalaci Calibre kterou pou v te pro vlastn publikaci r zn ch elektronick ch dokument ve form tech EPUB a MOBI Cht li byste aby v echny soubory generovan v Calibre m li vydavatele nastaven ho jako Hello World zde je n vod jak to ud lat Vytvo te soubor s n zvem init py toto je speci ln n zev a mus b t v dy pou it pro hlavn soubor va eho modulu
178. 1 Grafick u ivatelsk rozhran 5 U ivatelsk p ru ka Calibre Vyd n 2 46 0 pro omezen knihy kter maj b t ulo eny do katalogu Nav c pokud vyberete v ce knih pomoc my i budou do katalogu p id ny pouze tyto knihy Pokud generujete katalog ve form tu e knihy jako je EPUB MOBI nebo AZW3 p t kdy p ipoj te svou te ku e knih bude katalog automaticky odesl n do za zen Pro v ce informac o tom jak katalogy funguj si p e t te Vytv en katalog AZW3 EPUB MOBI str nka 187 Zobrazit View z Akce Zobrazit zobraz knihu v programu prohl e e e knih Calibre m vestav n prohl e pro mnoho form t e knih Pro ostatn form ty pou v v choz aplikace opera n ho syst mu Kter form ty by se m ly otev rat vnit n m prohl e em m ete nastavit pomoc P edvolby gt Chov n Pokud m kniha v ce ne jeden form t m ete zobrazit ur it form t kliknut m prav m tla tkem my i na tla tko Odeslat do za zen Send to device Akce Odeslat do za zen m osm variant kter jsou p stupn kliknut m prav m tla tkem my i na tla tko 1 Odeslat do hlavn pam ti Vybran knihy jsou p eneseny do hlavn pam ti te ky e knih 2 Odeslat na pam ovou kartu A Vybran knihy jsou p eneseny na pam ovou kartu A ve te ce e knih 3 Odeslat na pam ovou kartu B Vybran knihy jsou p eneseny na pam
179. 1 a 5 read metadata from opf m C st metadata ze zadan ho souboru OPF Metadata na ten z tohoto souboru p ep jak koliv metadata ve zdrojov m souboru series Nastavit s rii do kter tato e kniha pat series index Nastavit po ad knihy v t to s rii tags Nastavit t tky pro knihu M l by to b t seznam odd len rkami t imest amp Nastavit asov raz tko knihy nikde se ji nepou v title Nastavit n zev title sort Verze n zvu pou it p i azen Lad n Volby pom haj c s lad n m p evodu debug pipeline d Ulo it v stup z rozd ln ch f z p evodn ho et zce do zadan ho adres e U ite n pokud si nejste jisti v jak f zi zpracov n p evodu se objevuje chyba verbose v Urove podrobnosti Zadejte v cekr t pro v t podrobnost Zad n dvakr t bude m t za n sledek plnou po drobnost jednou st edn podrobnost a nulakr t nejmen podrobnost 252 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 ebook edit ebook edit opts path to ebook name of file inside book Spustit n stroj Calibre pro pravu knihy Voliteln m ete tak zadat n zvy soubor uvnit knihy kter budou auto maticky otev eny pro pravu Kdykoliv p ed te parametry ebook edit kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezer
180. 2 46 0 Pozn mka Metadata o va ich e knih ch nap n zev autor a t tky jsou ulo eny v jednom souboru ve slo ce knihovny Calibre nazvan metadata db Pokud se tento soubor po kod velice vz cn ud lost m ete ztratit me tadata Na t st Calibre automaticky z lohuje metadata pro ka dou jednotlivou knihu ve slo ce knihy jako soubor OPF Pou it m akce Obnovit datab zi pod v e popsanou dr bou knihovny pro v s m e Calibre znovu sestavit soubor metadata db z jednotliv ch soubor OPF M ete kop rovat nebo p esouvat knihy mezi r zn mi knihovnami jakmile budete m t nastavenou v ce ne jednu knihovnu kliknut m prav m tla tkem my i na knihu a v b rem akce Kop rovat do knihovny Za zen Device Akce Za zen v m umo uje zobrazit knihy v hlavn pam ti nebo na pam ov ch kart ch va eho za zen nebo vysunout za zen odpojit ho od Calibre Tato ikona se automaticky zobraz na hlavn m panelu n stroj Calibre kdy p ipoj te podporovan za zen M ete na ni kliknout abyste vid li knihy ve sv m za zen M ete tak p et hnout knihy ze sv knihovny Calibre na ikonu abyste je p enesli do sv ho za zen A naopak m ete p et hnout knihy ze sv ho za zen na ikonu knihovny na panelu n stroj abyste p enesli knihy ze sv ho za zen do knihovny Calibre Ulo it na disk Save to disk tla tko Akce Ulo i
181. 38 export str nka 238 catalog str nka 239 saved searches str nka 240 add custom column str nka 240 custom columns str nka 241 remove custom column str nka 241 set custom str nka 241 restore database str nka 242 check library str nka 242 list categories str nka 242 backup metadata str nka 243 clone str nka 243 embed metadata str nka 244 search str nka 244 Glob ln volby dont notify gui Neupozor ovat spu t n grafick rozhran Calibre pokud je n jak e se datab ze zm nila Pou vejte opatrn proto e to m e v st k po kozen datab ze 234 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 library path Cesta ke knihovn Calibre V choz je pou t cesta ulo enou v nastaven list calibredb list options Vypsat knihy dostupn v datab zi Calibre Kdykoliv p ed te parametry calibredb kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami ascending Se adit v sledky ve vzestupn m po ad fields f Pole k zobrazen p i v pisu knih v datab zi M l by to b t rkami odd len seznam pol Dostupn pole au thor sort authors comments cover formats id identifiers isbn languages last modified pubdate publisher rating series series index size tags timestamp title uuid V choz title authors Speci ln pole
182. 5 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Kdykoliv p ed te parametry calibredb kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami authors a Nastavit autory p idan ch knih cover c Nastavit pou itou ob lku pro p idanou knihu duplicates d P idat knihy do datab ze i kdy ji existuj Porovn n je prov d no na z klad n zv knih empty e P idat pr zdnou knihu kniha bez form t help h zobrazit tuto zpr vu n pov dy a ukon it identifier I Nastavit identifik tory pro tuto knihu nap I asin XXX I isbn YYY isbn i Nastavit ISBN p idan ch knih languages 1 C rkami odd len seznam jazyk nejlep je pou t k dy jazyka ISO639 i kdy mohou b t rozpozn ny tak n kter n zvy jazyk one book per directory 1 P edpokl dat e ka d adres m pouze jednu logickou knihu a e v echny soubory v n m jsou r zn form ty e knih t to knihy recurse r Zpracovat adres e rekurzivn series s Nastavit s rie p idan ch knih series index S Nastavit slo s rie p idan ch knih tags T Nastavit t tky p idan ch knih title t Nastavit n zev p idan ch knih version zobrazit slo verze programu a ukon it remove calibredb remove ids Odebrat knihy identifikovan identifik tory z datab ze Identifik tory b
183. 5 libre web feeds news BasicNewsRecipe re test 133 50 read backup metoda calibre db cache Cache 271 remove tags after atribut ca Rejst k 305 U ivatelsk p ru ka Calibre Vyd n 2 46 0 libre web feeds news BasicNewsRecipe 50 remove tags before atribut ca libre web feeds news BasicNewsRecipe 51 remove unused css v modulu ca libre ebooks oeb polish css 279 rename metoda calibre ebooks oeb polish container Contasaer settings 276 rename files v modulu libre ebooks oeb polish replace 277 rename items metoda calibre db cache Cache 271 ca replace metoda calibre cbooks oeb polish container Contasoatk news images to device 276 replace links metoda ca libre ebooks oeb polish container Container 276 replace links v modulu ca libre ebooks oeb polish replace 277 reguires version atribut ca libre web feeds news BasicNewsRecipe 51 reset metoda calibre devices interface DevicePlugin 204 resolve internal links atribut ca libre web feeds news BasicNewsRecipe 51 restart critical atribut ca libre gui2 preferences ConfigWidgetInterface 213 restore book metoda calibre db cache Cache 271 restore defaults metoda ca libre gui2 preferences ConfigWidgetInterface 215 restore defaults desc atribut ca libre gui2 preferences ConfigWidgetInterface 215 restore original format metoda ca libre db cache Cache 271 reverse article
184. 50 2200 Where to send downloaded news When automatically sending downloaded news to a connected device calibre will by default send it to the main memory By changing this tweak you can control where it is sent Valid values are main carda cardb Note that if there isn t enough free space available on the location you choose the files will be sent to the location with the most free space send_news_to_device_location main What interfaces should the content server listen on By default the calibre content server listens on 0 0 0 0 which means that it accepts IPv4 connections on all interfaces You can change this to for example 127 0 0 1 to only listen for connections from the local machine or nbles htm 1 10 P izp soben Calibre 225 U ivatelsk p ru ka Calibre Vyd n 2 46 0 to to listen to all incoming IPv6 and IPv4 connections this may not work on all operating systems server listen on 0 0 0 0 Unified toolbar on OS X If you enable this option and restart calibre the toolbar will be unified with the titlebar as is normal for OS X applications However doing this has various bugs for instance the minimum width of the toolbar becomes twice what it should be and it causes other random bugs on some systems so turn it on at your own risk unified title toolbar on osx False Save original file when converti
185. 7 calibredb backup metadata volba p kazov ho dku all 243 help h 243 version 243 calibredb catalog volba p kazov ho dku fields 239 help h 239 ids i 239 search s 230 sort by 240 verbose v 240 version 240 calibredb check library volba p kazov ho dku CSv c 242 help h 242 ignore extensions e 242 ignore names n 242 report r 242 version 242 calibredb clone volba p kazov ho dku help h 243 version 244 calibredb custom columns volba p kazov ho dku details d 241 help h 241 version 241 calibredb embed metadata volba p kazov ho dku help h 244 only formats f 244 version 244 296 Rejst k U ivatelsk p ru ka Calibre Vyd n 2 46 0 calibredb export volba p kazov ho dku all 238 dont asciiize 238 dont save cover 238 dont update metadata 238 dont write opf 238 formats 239 help h 239 replace whitespace 239 single dir 239 template 239 timefmt 239 to dir 239 to lowercase 239 version 239 calibredb list volba p kazov ho dku ascending 235 fields f 235 for machine 235 help h 235 limit 235 line width w 235 prefix 235 search s 235 separator 235 sort by 235 version 235 calibredb list_categories volba p kazov ho dku categories
186. 8 for machine calibredb list volba p kazov ho dku 235 force f calibredb remove custom column volba p kazo v ho dku 241 fork f calibre smtp volba p kazov ho dku 233 formats calibredb export volba p kazov ho dku 239 from opf ebook meta volba p kazov ho dku 254 full screen f ebook viewer volba p kazov ho dku 256 get cover ebook meta volba p kazov ho dku 254 gui g calibre debug volba p kazov ho dku 231 gui debug calibre debug volba p kazov ho dku 231 help h calibre volba p kazov ho dku 229 calibre customize volba p kazov ho dku 230 calibre debug volba p kazov ho dku 231 calibre server volba p kazov ho dku 232 calibre smtp volba p kazov ho dku 233 calibredb add volba p kazov ho dku 236 calibredb add custom column volba p kazov ho dku 240 calibredb add format volba p kazov ho dku 237 calibredb backup metadata volba p kazov ho dku 243 calibredb catalog volba p kazov ho dku 239 calibredb check library volba p kazov ho dku 242 calibredb clone volba p kazov ho dku 243 calibredb custom columns volba p kazov ho dku 241 calibredb embed metadata volba p kazov ho dku 244 calibredb export volba p kazov ho dku 239 calibredb list volba p kazov ho dku 235 calibredb list categories
187. BI V b r knih do katalogu str nka 187 Zahrnut odd ly str nka 188 P edpony str nka 188 Vylou en knihy str nka 189 Vylou en nry str nka 189 Dal volby str nka 190 Vlastn ob lky katalogu str nka 191 Dodate n zdroje n pov dy str nka 191 V b r knih do katalogu Pokud chcete katalogizovat celou svou knihovnu odeberte v hlavn m okn jak koliv krit ria hled n nebo filtrov n Pokud m te vybr nu jednu knihu v echny knihy ve va knihovn budou kandid ti na zahrnut do generovan ho katalogu Jednotliv knihy mohou b t vylou eny r zn mi krit rii pro v ce informac se pod vejte na odd l Vylou en nry str nka 189 n e Pokud chcete katalogizovat pouze n co z va knihovny m te dv volby Vytvo te v b r v ce knih kter chcete katalogizovat Pokud je v hlavn m okn calibre vybr na v ce ne jedna kniha budou katalogizov ny pouze vybran knihy Y M Pou ijte pole Hledat nebo Prohl e t tk pro filtrov n zobrazen ch knih Budou katalogizov ny pouze vy bran knihy Pro zah jen generov n katalogu vyberte polo ku nab dky P ev st knihy gt Vytvo it katalog knih ve va knihovn calibre Generate catalog for 19 books Catalog options E book options Catalog format EPUB v Catalog title existing catalog with the same title will be replaced My Books Ve Volby katalogu vyberte jako form
188. Calibre Vyd n 2 46 0 init__ py Nejd ve povinn init py pro definov n metadat modulu The class that all Interface Action plugin wrappers must inherit from from calibre customize import InterfaceActionBase class InterfacePluginDemo InterfaceActionBase bor This class is a simple wrapper that provides information about the actual plugin class The actual interface plugin class is called InterfacePlugin and is defined in the ui py file as specified in the actual plugin field below The reason for having two classes is that it allows the command line calibre utilities to run without needing to load the GUI libraries KE m name Interface Plugin Demo description An advanced plugin demo supported platforms windows osx linux author Kovid Goyal version 1 0 0 minimum calibre version 0 7 53 This field defines the GUI plugin class that contains all the code that actually does something Its format is module path class name The specified class must be defined in the specified module actual plugin calibre plugins interface demo ui InterfacePlugin def is customizable self Evo This method must return True to enable customization via Preferences gt Plugins Fr return True def config widget self Fr Implement this method and meth save settings in your plugin to use a custom configuration dialog This method if implemented must return a QW
189. Container 275 manifest id map atribut ca libre ebooks oeb polish container Container 213 manifest_type_map atribut ca libre ebooks oeb polish container Container 215 mark as cover v modulu ca libre ebooks oeb polish cover 278 mark as titlepage v modulu ca libre ebooks oeb polish cover 278 masthead url atribut ca libre web feeds news BasicNewsRecipe 49 match regexps atribut ca libre web feeds news BasicNewsRecipe 49 max articles per feed atribut ca libre web feeds news BasicNewsRecipe 49 MAX PATH LEN atribut ca libre devices usbms device Device 211 merge v modulu calibre ebooks oeb polish split 278 Metadata t da v calibre ebooks metadata book base 155 metadata for field metoda libre ebooks metadata book base Metadata 156 MetadataReaderPlugin t da v calibre customize 196 ca Rejst k 303 U ivatelsk p ru ka Calibre Vyd n 2 46 0 MetadataWriterPlugin t da v calibre customize 197 mi atribut calibre ebooks oeb polish container Container 275 minimum_calibre_version atribut libre customize Plugin 194 multisort metoda calibre db cache Cache 271 multisplit V modulu calibre ebooks oeb polish split 278 Ca N name atribut calibre customize Plugin 194 name atribut calibre gui2 actions InterfaceAction 212 name atribut calibre gui2 tweak_book plugin Tool 280 name 133 name_order atribut ca libr
190. FormatsModtimes formats modtimes form t data vrac rkami odd len seznam dvojte kami odd len ch polo ek p edsta vuj c ch asy pravy pro form ty knihy Parametr form t data ur uje jak m b t datum form tov no Pro po drobnosti se pod vejte na funkci date format M ete pou t funkci select pro z sk n asu pravy konkr tn ho form tu Pamatujte e n zvy form tu jsou v dy velk mi p smeny jako v EPUB formats paths class calibre utils formatter functions BuiltinFormatsPaths formats paths vrac rkami odd len seznam dvojte kami odd len ch polo ek p edstavuj c ch cel cesty k form t m knihy M ete pou t funkci select pro z sk n cesty ke konkr tn mu form tu Pamatujte e n zvy form tu jsou v dy velk mi p smeny jako v EPUB 148 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 formats sizes class calibre utils formatter functions BuiltinFormatsSizes formats sizes vrac rkami odd len seznam dvojte kami odd len ch polo ek p edstavuj c ch velikosti form t knihy v bajtech M ete pou t funkci select pro z sk n velikosti pro konkr tn form t Pamatujte e n zvy form tu jsou v dy velk mi p smeny jako v EPUB has cover class calibre utils formatter functions BuiltinHasCover has cover vrac Ano pokud m kniha ob lku jinak vrac pr zdn et zec language codes et zce ja
191. Frozen set of ids for all values in the field name all field names field Frozen set of all fields names should only be used for many one and many many fields author data author ids None Return author data as a dictionary with keys name sort link If no authors with the specified ids are found an empty dictionary is returned If author ids is None data for all authors is returned author sort from authors authors Given a list of authors return the author sort string for the authors preferring the author sort associated with the author over the computed string books for field name item id Return all the books associated with the item identified by item id where the item belongs to the field name Returned value is a set of book ids or the empty set if the item or the field does not exist copy cover to book id dest use hardlink False Copy the cover to the file like object dest Returns False if no cover exists or dest is the same file as the current cover dest can also be a path in which case the cover is copied to it if and only if the path is different from the current path taking case sensitivity into account copy format to book id fmt dest use hardlink False Copy the format fmt to the file like object dest If the specified format does not exist raises NoSuchFormat error dest can also be a path in which case the format is copied to it iff the path is different from the current path taking case sens
192. IG DIRECTORY Nastav adres kde jsou ulo en konfigura n soubory CALIBRI Ea TEMP DIR Nastav do asn adres pou van Calibre CALIBRE CACHE DIRECTORY Nastav adres kter Calibre pou v pro ukl d n trval ch dat do mezi pam ti mezi relacemi T CALIBRE OVERRIDE DATABASE PATH Umo n v m zadat plnou cestu k metadata db Pomoc t to prom nn m ete m t metadata db v jin m um st n ne ve slo ce knihovny U ite n pokud je va e slo ka knihovny na s ov jednotce kter nepodporuje uzamyk n souboru v vojov ho prost ed calibre str nka 260 CALIBRE DEVELOP FROM Pou ito pro spu t n z v vojov ho prost ed Calibre Pod vejte se na Nastaven CALIBRE OVERRIDE LANG Pou ito pro vynucen jazyka pou it ho rozhran m k d jazyka ISO 639 CALIBRE TEST TRANSLATION Pou ito pro testov n souboru p ekladu po m la by to b t cesta k souboru po CALIBRE NO NATIVE FILEDIALOGS Zp sob Ze Calibre nepou v nativn dialogov okna souboru pro v b r soubor nebo adres Nastavte na 1 pro povolen zv CALIBRE NO NATIVE MENUBAR Zp sob Ze Calibre nevytv nativn glob ln nab dku v Ubuntu Unity a podobn ch desktopov ch prost ed Linux Nab dka je m sto toho um st na do okna jako obvykle
193. Kategorie s hierarchick mi polo kami Stiskn te Pou t a jste hotovi s nastaven m 128 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 X du calibre Preferences Look and Feel fo 2 9 y Apply Cancel T45 Look and Feel d Restore defaults lli Main Interface W Book Details Tag Browser Ll Cover Browser Column coloring Tags browser category partitioning method By first letter v Collapse when more items than 100 Categories not to partition v Show average ratings in the tags browser M series text tags fenum2 genre ic Y Use alternating row colors in the Tag Browser Categories with hierarchical items calibre version 0 9 4 created by Kovid Goyal V tuto chv li nejsou v tomto sloupci dn nry Zb v n m posledn krok jak pou t nr na knihu nr v Ca libre neexistuje dokud se neobjev alespo u jedn knihy Pro nau en se jak poprv pou t nr mus me p ej t na podrobnosti o tom jak nr vypad v metadatech knihy Hierarchie v c je vystav na vytvo en m polo ky skl daj c se z fr z odd len ch te kami V pokra ov n p kladu se nrem by tyto polo ky byly Historie Vojensk Mysteri zn Up t Sci fi Vesm rn opera atd Tud pro vytvo en nov ho nru vyberete knihu kter by m la m t tento nr upravte jej metadata a zadejte nov nr do sloupce
194. Mo n pou v te ur it t tky pro jin ely mo n ozna en p e ten knihy nebo t tek v hranat ch z vork ch jako je Amazon Freebie pro ozna en zdroje knihy Regul rn v raz Vylou en nry v m umo uje zadat t tky 1 9 Kurzy 189 U ivatelsk p ru ka Calibre Vyd n 2 46 0 kter nechcete pou t jako nry v generovan m katalogu V choz regul rn v raz vylou en vylou jak koliv t tky ve form t tek stejn jako vylou v choz t tek pro p e ten knihy aby nebyly pou ity jako nry v generovan m katalogu V regul rn m v razu m ete tak pou t p esn n zev t tku Nap klad Amazon Freebie nebo Projekt Gutenberg Pokud chcete vypsat v ce p esn ch t tk k vylou en vlo te mezi n znak svisl ry Amazon Freebie Projekt Gutenberg Z X4 Y Y V sledky regul rn ho v razu zobraz kter t tky budou vylou eny p i sestavov n katalogu na z klad t tk ve va datab zi a regul rn ho v razu kter jste zadali V sledky jsou aktualizov ny jak m n te regul rn v raz Dal volby Other options Catalog cover Generate new cover Use existing cover Extra Description note Last Read v Thumb width 1 00 inch B Merge with Comments Author Bio v Before After Y Include Separator Ob lka katalogu ur uje zda generovat novou ob lku nebo pou t existuj c
195. Most readers do not support this You should complain to the manufacturer about it and hopefully if enough people complain things will change In the meantime you can insert the metadata including comments into a Jacket page at the start of the ebook by using the option to Insert metadata as page at start of book during conversion The option is found in the Structure Detection section of the conversion settings Note that for this to have effect you have to convert the book If your book is already in a format that does not need conversion you can convert from that format to the same format Another alternative is to create a catalog in ebook form containing a listing of all the books in your calibre library with their metadata Click and hold the convert button to access the catalog creation tool And before you ask no you cannot have the catalog link directly to books on your reader http drmfree calibre ebook com about drm 124 Kapitola 1 Oddily U ivatelsk p ru ka Calibre Vyd n 2 46 0 How do I get calibre to use my HTTP proxy By default calibre uses whatever proxy settings are set in your OS Sometimes these are incorrect for example on Windows if you don t use Internet Explorer then the proxy settings may not be up to date You can tell ca libre to use a particular proxy server by setting the http proxy environment variable The format of the variable is http username password servername you s
196. Plugin 203 canonicalize internal url metoda ca libre web feeds news BasicNewsRecipe 43 capabilities atribut ca libre ebooks metadata sources base Source 198 card prefix metoda ca libre devices interface DevicePlugin 206 CatalogPlugin t da v calibre customize 197 category atribut calibre customize PreferencesPlugin 25 category order atribut ca libre customize PreferencesPlugin 215 center navbar atribut ca libre web feeds news BasicNewsRecipe 47 change font v modulu ca libre ebooks oeb polish fonts 279 changed signal atribut ca libre gui2 preferences ConfigWidgetInterface 215 clean downloaded metadata metoda ca libre ebooks metadata sources base Source help h 240 198 version 240 cleanup metoda ca Rejst k 297 U ivatelsk p ru ka Calibre Vyd n 2 46 0 libre web feeds news BasicNewsRecipe 43 CLI t da v calibre devices usbms cli 211 cli main metoda calibre customize Plugin 196 cli options atribut calibre customize CatalogPlugin 197 clone browser metoda ca libre web feeds news BasicNewsRecipe 43 close editor metoda ca libre gui2 tweak book boss Boss 281 commit metoda ca libre ebooks oeb polish container Container 274 commit metoda ca libre gui2 preferences ConfigWidgetInterface 215 commit all editors to container metoda ca libre gui2 tweak book boss Boss 281 commit item meto
197. Pokud je v knize nalezena existuj c ob lka je nahrazena N stroj se tak automaticky postar o spr vn ozna en soubor ob lek jako ob lek v OPF Vkl d n odkazovan ch p sem P stupn pomoc N stroje gt Vlo it odkazovan p sma Tento n stroj najde v echna p sma odkazovan v knize a pokud ji nejsou vlo ena vyhled je ve va em po ta i a vlo je do knihy pokud jsou nalezena Ujist te se e m te pot ebn autorsk pr va pro vkl d n komer n licencovan ch p sem ne to ud l te ste n vkl d n p sem P stupn pomoc N stroje gt ste n vlo it p sma Tento n stroj zmen v echna p sma v knize tak aby obsahovala pouze glyfy pro text skute n p tomn v knize Toto b n zmen velikost soubor p sem o asi 50 Je v ak t eba si uv domit e jakmile jsou p sma vlo ena ste n tak pokud p id te nov text jeho znaky nejsou p tomn v ste n vlo en m p smu p smo nebude pro nov text fungovat Tak e toto d lejte pouze jako posledn krok ve va em pracovn m postupu Vylep en interpunkce P evede poml ky t i te ky uvozovky v cen sobn spojovn ky atd v prost m textu na jejich typograficky spr vn ekvivalenty Pamatujte e algoritmus m e n kdy generovat nespr vn v sledky obzvl t pokud jde o jednoduch uvozovky na za tku zkr cen ch tvar P stupn pomoc N stroje gt Vylep it
198. TML a metadat kter m ete upravovat pomoc stan dardn ch n stroj pro pravu HTML a pot znovu sestav soubor z upraven ho HTML Ned l dn dodate n zm ny v HTML na rozd l od pln ho p evodu pomoc Calibre gui g Spustit grafick rozhran s povolen m lad n m V stup lad n je vyti t n do stdout a stderr gui debug Spustit grafick rozhran s konzol lad n protokolov n do zadan cesty Pouze pro vnit n pou it pro spu t n grafick ho rozhran v re imu lad n pou ijte volbu g help h zobrazit tuto zpr vu n pov dy a ukon it inspect mobi m Zkontrolovat soubory MOBI v zadan ch cest ch new server Run the new calibre content server Any options specified after a will be passed to the server paths V stup cest pot ebn ch pro nastaven prost ed Calibre py console p Spustit konzoli Pythonu reinitialize db Znovu inicializovat SOLite datab zi Calibre v zadan cest U ite n pro obnoven po po kozen datab ze run plugin r Spustit modul poskytuj c rozhran p kazov ho dku Nap klad calibre debug r P idat knihy souborl option1 V echno za bude p ed no modulu jako parametry shutdown running calibre s Zp sob vypnut spu t n ch instanc Calibre Pamatujte e pokud m te spu t n lohy budou bez upozorn n p eru eny tak e to pou vejte opatrn subset font
199. The argument is None if saved sort history is to be used otherwise it is a list of column order pairs Column is the lookup search name found using the tooltip for the column Order is 0 for ascending 1 for descending For example set it to authors 0 title 0 to sort by title within authors ort columns at startup None Control how dates are displayed Format to be used for publication date and the timestamp date A string controlling how the publication date is displayed in the GUI d the day as number without a leading zero 1 to 31 dd the day as number with a leading zero 01 to 31 ddd the abbreviated localized day name e g Mon to Sun dddd the long localized day name e g Monday to Sunday M the month as number without a leading zero 1 12 MM the month as number with a leading zero 01 12 MMM the abbreviated localized month name e g Jan to Dec MMMM the long localized month name e g January to December yy the year as two digit number 00 99 yyyy the year as four digit number h the hours without a leading 0 0 to 11 or 0 to 23 depending on am pm hh the hours with a leading 0 00 to 11 or 00 to 23 depending on am pm m the minutes without a leading 0 0 to 59 mm the minutes with a leading 0 00 to 59 s the seconds without a leading 0 0 to 59 Ss the seconds with a leading 0 00 to 59 ap use a 12 hour clock instead of a 24 hour clock with ap replaced by the localized str
200. Upravit knihu abyste je dostali do dokonal podoby Pak m ete pou t upravenou e knihu jako vstup pro p evod do jin ch form t v Calibre Tento dokument bude odkazovat hlavn na nastaven p evodu kter naleznete v dialogov m okn p evodu jak je zobrazeno n e V echna tato nastaven jsou tak dostupn prost ednictv m rozhran p kazov ho dku pro p evod zdokumentovan ho v generated en ebook convert V Calibre m ete z skat n pov du k jak mukoliv indi vidu ln mu nastaven podr en m my i nad n m objev se popisek tla tka popisuj c nastaven 2 http www mobileread com forums showthread php t 5 1500 1 4 P evod e knihy 55 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Convert The Cathedral and the Bazaar Musings on Linux and Open Source by an Accidental Revolutionary ODO Input format Output format EPUB v Book Cover Title 1Open Source by an Accidental Revolutionary Author s Eric S Raymond v THE CATHEDRA SS omen m S THE BAZAAR meeer ara cs MUSINGS ON LINUX AND OPEN SOURCE Publisher O Reilly v BY AN ACCIDENTAL REVOLUTIONARY as Tags VAG EN Page Setup Series v Book1 00 gt Structure MT A FOREWORD BY ROB YOUNG CHAIRMAN amp CED OF RED HAT INC Comments A R Table of Open source provides the competitive advantage in the Internet Age According to the August Forrester Contents i e Ao Report 56 percent of IT m
201. Vyd n 2 46 0 1 1 9 Podrobnosti o knize Authors Oscar Wilde Formats EPUB Ids 9781580495806 Tags lit 101 homework Path Click to open SUMMARY This Prestwick House Literary Touchstone Edition includes a glossary and reader s notes to help the modern reader appreciate Wilde s wry wit and elaborate plot twists Oscar Wilde s madcap Farce about mistaken identities secret engagements and lovers entanglements still delights readers Podrobnosti o knize zobrazuj ob lku a v echna metadata pro aktu ln vybranou knihu Mohou b t skryty pomoc 16 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 tla tka v prav m doln m rohu hlavn ho okna Calibre Na jm na autor zobrazen v panelu Podrobnost o knize Ize kliknout ve v choz m nastaven v s p enesou na str nku autora na Wikipedii Toto m e b t upraveno kliknut m prav m tla tkem my i na jm no autora a v b rem Spravovat tohoto autora Podobn pokud st hnete metadata pro knihu panel Podrobnost o knize v m automaticky zobraz odkazy sm uj c na webov str nky pro knihu na Amazonu WorldCatu atd odkud byla metadata sta ena M ete kliknout prav m tla tkem my i na jednotliv form ty e knih v panelu Podrobnost o knize k jejich odstran n porovn n s jejich p vodn mi verzemi ulo en na disk otev en v extern m programu atd Ob lku knihy m ete zm nit jednodu e p eta en m o
202. a tku jsi kal e existuje zp sob aby regul rn v raz nerozli oval mal a velk p smena Ano kal d ky za v nov n pozornosti a p ipomenut M ete ct Calibre jak chcete e it n kter v ci pomoc tzv vlajek Vlajky zahrnete do sv ho v razu pomoc speci ln konstrukce sem p ijdou vlajky kde byste samoz ejm nahradili sem p ijdou vlajky konkr tn mi vlajkami kter chcete Pro ignorov n velikosti p smen je vlajka i tak e zahrnete do sv ho v razu i Tak e test i by porovnal Test tEs TEst a jak koliv p pad variace si dok ete vymyslet Dal u ite n vlajka umo uje aby te ka odpov dala v em libovoln m znak m v etn nov ho dku a to vlajka s Pokud chcete pou t ve v razu v ce vlajek sta je d t do stejn ho z pisu is by ignorovalo velikost p smen a te ka by odpov dala v emu Nez le na tom kterou vlajkou uvedete prvn si by bylo ekvivalentem v e uveden ho Mimochodem dobr m sto pro uv d n vlajek ve va em v razu je bu pln na za tku nebo pln na konci Takto se nezam chaj s ni m jin m Mysl m e te u za n m ty regul rn v razy ch pat Jak je pou iju v Calibre P evody Za n me s nastaven m p evodu co je opravdu elegantn Do sti Hledat a nahradit m ete zadat regul rn v raz kter popisuje et zec kter bude p i p evodu nahrazen Elegan
203. a en m znaku v obl ben ch M ete tak p mo zadat speci ln znaky pomoc kl vesnice Abyste to ud lali zadejte k d Unicode pro znak est n ctkov a pak stiskn te Alt X co p evede d ve zadan k d na odpov daj c znak Nap klad abyste napsali y napsali byste ff a pak A t X Pro zad n pevn mezery byste pou ili a0 a pak A t X pro zad n vodorovn ch t te ek byste pou ili 2026 a Alt X a tak d le A nakonec speci ln znaky m ete zadat pomoc pojmenovan ch entit HTML Nap klad zad n amp nbsp bude nahra zeno pevnou mezerou kdy nap ete st edn k K nahrazen dojde pouze kdy nap ete st edn k Zobrazen kontroly k du Toto zobrazen v m uk e k dov n HTML a CSS kter jsou pou ity na aktu ln prvek Otev ete ho kliknut m prav m tla tkem my i na m sto v panelu n hledu a v b rem Zkontrolovat prvek To v m umo n zobrazit k dov n HTML okam it uvid te jak vliv maj va e zm ny Pamatujte e prava styl ve skute nosti neprov d zm ny obsahu knihy umo uje to pouze rychl experimentov n Schopnost iv pravy uvnit kontroly prvku je ve v voji Kontrola extern ch odkaz Tento n stroj m ete pou t ke kontrole v ech odkaz ve sv knize kter odkazuj na extern webov str nky N stroj se pokus nav t vit ka dou extern odkazovanou webovou str nku a pokud n v t va sel e nahl s v echny po
204. a i po kejte dokud ji Calibre nerozpozn 10 20 sekund a pak klikn te na tla tko Odeslat do za zen Jakmile se ikona p estane znovu ot et odpojte svou te ku a dejte se do ten Pokud jste v p edchoz m kroku nep evedli knihu Calibre ji p evede automaticky do form tu kter mu va e tec za zen rozum Abyste za ali s pokro ilej m pou v n m m li byste si p e st o grafick m u ivatelsk m rozhran str nka 3 Pro je t v t v konnost a v estrannost si projd te generated en cli index Tak shled te u ite n m seznam vsv nej ast j ch dotaz str nka 105 Obsah 1 U ivatelsk p ru ka Calibre Vyd n 2 46 0 2 Obsah KAPITOLA 1 Odd ly 1 1 Grafick u ivatelsk rozhran Grafick u ivatelsk rozhran GUI poskytuje p stup k cel spr v knihovny a funkc m p evod form t e knih Z kladn pracovn postup pro pou v n Calibre je nejd ve p idat knihy do knihovny z va eho pevn ho disku Calibre se automaticky pokus p e st metadata z knih a p idat je do sv vnit n datab ze Jakmile jsou v datab zi m ete na nich prov d t r zn Akce str nka 3 co zahrnuje p evod z jednoho form tu do druh ho p enos do tec ho za zen zobrazen v po ta i a pravu metadat Posledn zm n n zahrnuje pravu ob lky popisu a t tk spole n s ostatn mi podrobnostmi Pamatujte
205. a tento dek v editoru U ite n technika p i porovn v n knih je ct n stroji porovn n aby zkr lil textov soubory a soubory styl ne vypo t rozd ly To m e m t asto za v sledek ist j a snadn ji sledovateln rozd ly Abyste to ud lali klikn te na tla tko Volby vpravo dole a zvolte Zkr lit soubory p ed jejich porovn n m Pamatujte e zkr len m e m t n kdy 1 6 Porovn n e knih 101 U ivatelsk p ru ka Calibre Vyd n 2 46 0 ne douc inky proto e m e zp sobit e jsou neplatn zna ky zm n ny aby byly platn Pomoc tla tka Volby m ete tak zm nit po et dk kontextu zobrazovan ho kolem rozd l Pomoc panelu hled n v doln sti m ete hledat jak koliv text v rozd lech Budete muset zadat ve kter m panelu hledat Lev nebo Prav 1 6 2 Jak spustit n stroj porovn n elem je n kolik zp sob spu t n n stroje Porovn n dvou soubor e knih Otev ete prvn soubor v n stroji prava e knih str nka 71 Nyn klikn te na Soubor gt Porovnat s jinou knihou a zvolte druh soubor mus b t ve stejn m form tu jako prvn Otev e se zobrazen porovn n s upravovan m souborem vpravo a druh m souborem vlevo Porovn n ORIGINAL FMT s FMT Kdy prov d te v calibre p evod z FMT do n ho sam ho p vodn soubor je ulo en jako ORIGINAL FMT Co se zm nilo p evodem m ete
206. a 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 Create a basic news recipe by adding RSS feeds to it For some news sources you will have to use the Switch to advanced mode button below to further customize the fetch process Recipe title My News Source Oldest article 7 day s Max number of articles per feed 100 Feeds in recipe M e m Add feed to recipe Feed title Feed URL qj Add feed save Switch to Advanced mode QiCancel Nejd ve zadejte Blog Calibre do pole N zev p edpisu To bude n zev e knihy kter bude vytvo ena z l nk ve v e uveden ch informa n ch kan lech ve x Dal dv pole Nejstar l nek a Max po et l nk v m umo n kontrolu nad t m kolik l nk by m lo byt sta eno z ka d ho informa n ho kan lu a jsou docela sebevysv tluj c Pro p id n informa n ch kan l do p edpisu zadejte n zev a URL informa n ho kan lu a klikn te na tla tko P idat informa n kan l Jakmile jste p idali informa n kan l jednodu e klikn te na tla tko Ulo it a m te hotovo Zav ete dialogov okno Pro otestov n nov ho p edpisu klikn te na tla tko Na st zpr vy a v podnab dce Vlastn zdroje zpr v klikn te na Blog Calibre Po n kolika minut ch se nov sta en e kniha p sp vk blogu zobraz v hlavn m zobrazen knihovny pokud m te p ipojenou te ku bude um st na do te ky nam sto do knih
207. a 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 Pro p id n dodate n ho form tu pro existuj c knihu m ete ud lat kteroukoliv ze t v c 1 P et hnout soubor na panel podrobnost knihy na prav stran hlavn ho okna 2 Kliknout prav m tla tkem my i na tla tko P idat knihy a zvolit P idat soubory k vybran m z znam m knih 3 Kliknout na erven tla tko P idat form t t to knihy v prav horn oblasti dialogov ho okna Upravit metadata otev en ho akc Upravit metadata str nka 5 Upravit metadata Edit metadata kem my i na tla tko Akce Upravit metadata m ty i varianty kter mohou b t otev eny kliknut m prav m tla t 1 Upravit metadata jednotliv Umo uje v m upravit metadata knih postupn s mo nost na ten metadat v etn ob lek z internetu Tak v m umo uje p idat nebo odebrat konkr tn form ty e knih z knihy 2 Upravit metadata hromadn Umo uje v m upravit b n pole metadat pro velk po ty knih soub n Toto pracuje na v ech knih ch kter jste vybrali v Zobrazen knihovny str nka 11 3 St hnout metadata a ob lky St hne metadata a ob lky pokud jsou dostupn pro knihy kter jste vybrali v seznamu knih 4 Slou it z znamy knih Poskytne v m mo nost slou en metadat a form t dvou nebo v ce z znam knih M ete zvolit bu odstranit nebo ponechat z znamy na kter nebylo kliknuto
208. a 2 element tuple of the form title url If title is None or an empty string the title from the feed is used This method is useful if your recipe needs to do some processing to figure out the list of feeds to download If so override in your subclass get masthead title Override in subclass to use something other than the recipe title get masthead url Return a URL to the masthead image for this issue or None By default it returns the value of the member self masthead url which is normally None If you want your recipe to download a masthead for the e book Dhttps pythonhosted org feedparser V https pythonhosted org feedparser reference entry link html S http wwwsearch sourceforge net mechanize 44 Kapitola 1 Oddily U ivatelsk p ru ka Calibre Vyd n 2 46 0 override this method in your subclass or set the member variable self masthead url before this method is called Masthead images are used in Kindle MOBI files get obfuscated article url If you set articles are obfuscated this method is called with every article URL It should return the path to a file on the filesystem that contains the article HTML That file is processed by the recursive HTML fetching engine so it can contain links to pages images on the web This method is typically useful for sites that try to make it difficult to access article content automatically classmethod image url processor baseurl url Perform some p
209. a 207 and saves all settings to disk classmethod settings Should return an opts object The opts object should have at least one attribute format_map which is an ordered list of formats for the device set_plugboards plugboards pb_func provide the driver the current set of plugboards and a function to select a specific plugboard This method is called immediately before add_books and sync_booklists pb_func is a callable with the following signature def pb_func device_name format plugboards 1 10 P izp soben Calibre 207 U ivatelsk p ru ka Calibre Vyd n 2 46 0 You give it the current device name either the class name or DEVICE PLUGBOARD NAME the for mat you are interested in a real format or device db and the plugboards you were given those by set plugboards the same place you got this method Vrac None or a single plugboard instance set driveinfo name location code name Set the device name in the driveinfo file to name This setting will persist until the file is re created or the name is changed again Non disk devices should implement this method based on the location codes returned by the get device information method prepare addable books paths Given a list of paths returns another list of paths These paths point to addable versions of the books If there is an error preparing a book then instead of a path the position in the returned list for that book s
210. a Calibre Vyd n 2 46 0 2 Odebrat soubory konkr tn ho form tu z vybran ch knih Umo uje v m trvale odebrat soubory e knih konkr tn ho form tu z knih kter jsou vybr ny v seznamu knih 3 Odebrat v echny form ty z vybran ch knih krom Umo uje v m trvale odebrat soubory e knih v ech form t krom zadan ho form tu z knih kter jsou vybr ny v seznamu knih 4 Odebrat v echny form ty z vybran ch knih Umo uje v m trvale odebrat v echny soubory e knih z knih kter jsou vybr ny v seznamu knih Z stanou pouze metadata 5 Odebrat ob lky z vybran ch knih Umo uje v m trvale odebrat v echny soubory obr zk ob lky z knih kter jsou vybr ny v seznamu knih 6 Odebrat odpov daj c knihy ze za zen Umo uje v m odebrat soubory e knih z p ipojen ho za zen kter odpov daj knih m kter jsou vybr ny v seznamu knih Pozn mka Pamatujte e kdy pou ijete Odebrat knihy k odstran n knih z va knihovny Calibre je z znam knihy trvale odstran n ale na Windows a OS X jsou soubory um st ny do ko e To v m umo uje obnovit je pokud si to rozmysl te 1 1 2 P edvolby Preferences Akce P edvolby v m umo uje zm nit zp sob jak m r zn aspekty Calibre funguj M ty i varianty p stupn kliknut m prav m tla tkem my i na tla tko 1 P edvolby Umo uje v m zm nit zp sob jak m r zn aspekty Calibre funguj Klik
211. a ProxyMetadata which tries to get a shared lock There may be other scenarios that trigger this as well This property returns a new lock object on every access This lock object is not recursive for performance and must only be used in a with statement as with cache safe read lock otherwise bad things will happen save original format book id fmt Save a copy of the specified format as ORIGINAL FORMAT overwriting any existing ORIGI NAL FORMAT search query restrictionzu virtual fieldsz None book ids None Search the database for the specified query returning a set of matched book ids Parametry e restriction A restriction that is ANDed to the specified query Note that restrictions are cached therefore the search for a AND b will be slower than a with restriction b virtual fields Used internally virtual fields such as on device to search over book ids If not None a set of book ids for which books will be searched instead of searching all books set conversion options options fmt u PIPE options must be a map of the form book id conversion options set cover book id data map Set the cover for this book data can be either a QImage QPixmap file object or bytestring It can also be None in which case any existing cover is removed set field name book id to val map allow case changez True do path update True Set the values of the field specified by name Returns the set of all book ids tha
212. a feed has full articles embedded in it based on the length of the embedded content If None then the default guessing is used If True then the we always assume the feeds has embedded content and if False we always assume the feed does not have embedded content 1 2 P id v n obl ben ch webov ch str nek se zpr vami 51 U ivatelsk p ru ka Calibre Vyd n 2 46 0 use javascript to login False If you set this True then calibre will use javascript to login to the website This is needed for some websites that reguire the use of javascript to login If you set this to True you must implement the javascript login str nka 45 method to do the actual logging in 1 3 Prohl e e knih calibre obsahuje vestav n prohl e e knih kter um zobrazit v echny hlavn form ty e knih Prohl e je vysoce p izp sobiteln a m mnoho pokro il ch funkc Spu t n prohl e e str nka 52 Navigace v e knize str nka 52 P izp soben vzhledu a chov n va eho z itku ze ten str nka 55 Vyhled v n ve slovn ku str nka 55 Kop rov n textu a obr zk str nka 55 1 3 1 Spu t n prohl e e Jakoukoliv z knih ve sv knihovn calibre m ete zobrazit v b rem knihy a stisknut m tla tka Zobrazit To otev e knihu v prohl e i e knih M ete tak spustit samotn prohl e z nab dky Start ve Windows nebo pomoc p kazu ebook viewer v L
213. a if the database file gets corrupted Given that calibre s mission is to get you to stop storing metadata in filenames and stop using the filesystem to find things the increased robustness afforded by the id numbers is well worth the uglier folder names 1 8 Nej ast j dotazy 117 U ivatelsk p ru ka Calibre Vyd n 2 46 0 If you are still not convinced then I m afraid calibre is not for you Look elsewhere for your book cataloguing needs Just so we re clear this is not going to change Kindly do not contact us in an attempt to get us to change this Why doesn t calibre have a column for foo calibre is designed to have columns for the most frequently and widely used fields In addition you can add any columns you like Columns can be added via Preferences gt Interface gt Add your own columns Watch the tutorial UI Power tips to learn how to create your own columns or read this blog post You can also create virtual columns that contain combinations of the metadata from other columns In the add column dialog use the Quick create links to easily create columns to show the book ISBN or formats You can use the powerful calibre template language to do much more with columns For more details see The calibre template language str nka 133 Can I have a column showing the formats or the ISBN Yes you can Follow the instructions in the answer above for adding custom columns How do I move my calibre libra
214. a p ev st je na kurz vu disable markup chapter headings Rozpoznat neform tovan nadpisy a podnadpisy kapitol Zm nit je na zna ky h2 a h3 Toto nastaven nevytvo obsah ale m e b t pou ito spole n s detekc struktury pro jeho vytvo en disable renumber headings Hled v skyty po sob n sleduj c ch zna ek lt h1 gt nebo lt h2 gt Zna ky jsou p e slov ny aby se zabr nilo roz d len uprost ed nadpis kapitol disable unwrap lines Zru it zalomen dk pomoc interpunkce a jin ch vod tek form tov n enable heuristics Povolit heuristick zpracov n Tato volba mus b t nastavena aby se provedlo jak koliv heuristick zpracov n html unwrap factor M tko pou it k ur en d lky p i kter by m lo b t dku zru eno zalomen Platn hodnoty jsou desetinn sla mezi 0 a 1 V choz je 0 4 t sn pod medi nem d lky dku Pokud by pouze p r dk v dokumentu vy adovalo zru en zalomen m la by b t tato hodnota zmen ena replace scene breaks Nahradit p eru en p b hu zadan m textem Ve v choz m nastaven je pou it text ze vstupn ho dokumentu 1 11 Rozhran p kazov ho dku 249 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Naj t A Nahradit Zm nit text a strukturu dokumentu pomoc vzor definovan ch u ivatelem search replace Cesta k souboru obsahuj c regul rn v razy hled
215. a zadejte do n j n sleduj c k d Pythonu import os from calibre customize import FileTypePlugin class HelloWorld FileTypePlugin name Hello World Plugin Name of the plugin description Set the publisher to Hello World for all new conversions supported platforms windows osx linux Platforms this plugin will run on author Acme Inc The author of this plugin version 1 0 0 The version number of this plugin file types set epub mobi The file types that this plugin will be applied to on postprocess True Run this plugin after conversion is complete minimum calibre version 0 7 53 def run self path to ebook from calibre ebooks metadata meta import get metadata set metadata file open path to ebook r b ext os path splitext path to ebook 1 1 1ower mi get metadata file ext mi publisher Hello World set metadata file mi ext return path to ebook To je v e Pro p id n tohoto k du do Calibre jako modulu sta spustit n sleduj c v adres i ve kter m jste vytvo ili 1 9 Kurzy 171 U ivatelsk p ru ka Calibre Vyd n 2 46 0 init__ py calibre customize b Pozn mka Na OS X jsou n stroje p kazov ho dku uvnit sady calibre nap klad po kud jste nainstalovali Calibre do amp x2F Applications n stroje p kazov ho dku jsou v amp xX2F Applications amp x2F cali
216. age pointed to by cover path Parametry e cover path Either the absolute path to an image file or the canonical name of an image in the book When using an image in the book you must also set options see below report An optional callable that takes a single argument It will be called with infor mation about the tasks being processed options None or a dictionary that controls how the cover is set The dictionary can have entries keep aspect True or False Preserve aspect ratio of covers in EPUB no svg True or False Use an SVG cover wrapper in the EPUB titlepage existing True or False cover path refers to an existing image in the book calibre ebooks oeb polish cover mark as cover container name Mark the specified image as the cover image 278 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 calibre ebooks oeb polish cover mark as titlepage container name move to start True Mark the specified HTML file as the titlepage of the EPUB Parametry move to start If True the HTML file is moved to the start of the spine Working with CSS calibre ebooks oeb polish fonts change font container old name new name None Change a font family from old name to new name Changes all occurrences of the font family in stylesheets style tags and style attributes If the old name refers to an embedded font it is removed You can set new name to None to remove the font family instead of changi
217. ahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami options dont output resources Neukl dat vloZen soubory obr zk a p sem na disk help h zobrazit tuto zpr vu n pov dy a ukon it output o V stupn soubor LRS verbose V ce podrobnost version zobrazit slo verze programu a ukon it 1 11 Rozhran p kazov ho dku 257 U ivatelsk p ru ka Calibre Vyd n 2 46 0 lrfviewer lrfviewer options book lrf st e knihu LRF book Irf Kdykoliv p ed te parametry lrfviewer kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami options disable hyphenation Zak zat d len slov M lo by to v razn zrychlit vykreslov n help h zobrazit tuto zpr vu n pov dy a ukon it profile Profilovat n stroj pro vykreslov n LRF verbose Vypsat v ce informac o procesu vykreslov n version zobrazit slo verze programu a ukon it visual debug Zapnout vizu ln pom cky pro lad n modulu vykreslov n white background Ve v choz m nastaven je pozad skoro b l proto e je to snadn j pro o i Pou ijte tuto volbu aby bylo pozad ist b l lrs21rf lrs2lrf options file lrs Kompilovat soubor LRS na soubor LRF Kdykoliv predate parametry 1rs21rf kter obsahuj mezery uzav ete parametry uvozovka
218. ak vrac hodnota ne Polo ky jsou ur eny rozd len m ka d ho seznamu pomoc p slu n ho znaku odd lova e odd lova l nebo odd lova 2 Po ad polo ek v seznamu nen relevantn Porovn n je bez rozli en mal ch a velk ch p smen list intersection seznam1 seznam2 odd lova class calibre utils formatter functions BuiltinListIntersection list intersection seznaml seznam2 odd lova vrac seznam vytvo en odebr n ze seznaml v ech polo ek nenalezen ch v seznam2 pomoc porovn n bez rozli en mal ch a velk ch p smen Polo ky v seznaml a seznam2 jsou odd leny odd lova em stejn jako polo ky ve vr cen m seznamu list re seznam zdroj odd lova zahrnout vr cen voliteln nahradit class calibre utils formatter functions BuiltinListRe list re seznam zdroj odd lova zahrnout vr cen voliteln nahradit Vytv seznam nejd ve rozd len m seznam zdroj na polo ky pomoc znaku odd lova e Pro ka dou polo ku na seznamu kontroluje zda odpov d zahrnout vr cen Pokud ano pak ji p id na seznam vr cen ch Pokud voliteln nahradit nen pr zdn et zec pak pou ije n hradu p ed p id n m polo ky na seznam vr cen ch list re group src list separator include re search re group 1 template class calibre utils formatter functions BuiltinListReGroup list re group src list separator include re search re group 1 template Jak
219. al non trivial plugin you would probably need to do something based on the settings in prefs prefs main py Skutecn logika pro implementaci dialogov ho okna rozhran uk zkov ho modulu from PyOt5 Ot import ODialog OVBoxLayout OPushButton OMessageBox OLabel from calibre plugins interface demo config import prefs class DemoDialog QDialog def init self gui icon do user config ODialog init self gui self gui gui self do user config do user config The current database shown in the GUI db is an instance of the class LibraryDatabase from db legacy py This class has many many methods that allow you to do a lot of things For most purposes you should use db new api which has a much nicer interface from db cache py self db gui current db self l QVBoxLayout self setLayout self 1 1 9 Kurzy 175 U ivatelsk p ru ka Calibre Vyd n 2 46 0 def def self label QLabel prefs hello world msg self l addWidget self label self setWindowTitle Interface Plugin Demo self setWindowIcon icon self about button QPushButton About self self about button clicked connect self about self l addWidget self about button self marked button QPushButton Show books with only one format in the calibre GUI self self marked button clicked connect self marked self l addWidget self marked button self view button QPushButt
220. alezen hodnota in list hodnota odd lova vzor nalezen hodnota nenalezen hodnota class calibre utils formatter functions BuiltinInList in list hodnota odd lova vzor nalezen hodnota nenalezen hodnota pova uje hodnotu za seznam polo ek odd len ch odd lova em porovn v vzor proti ka d hodnot v seznamu Pokud vzor odpov d hodnot vrac nalezen hodnota jinak vrac nenalezen hodnota list item hodnota po ad odd lova class calibre utils formatter functions BuiltinListitem list item hodnota po ad odd lova interpretuje hodnotu jako seznam polo ek odd len ch odd lovacem vrac polo ku na po ad Prvn polo ka je slo nula Posledn polo ka m e b t vr cena pomoc list item l odd lovac Pokud polo ka nan v seznamu pak je vr cena pr zdn hodnota Odd lova m stejn v znam jako ve funkci count select hodnota kl class calibre utils formatter functions BuiltinSelect select hodnota kl interpretuje hodnotu jako rkami odd len seznam polo ek s polo kami identifik tor hodnota Nejde p r s identifik torem rovnaj c m se kl i a vr t odpov daj c hodnotu str in list hodnota odd lova et zec nalezen hodnota nenalezen hodnota class calibre utils formatter functions BuiltinStrInList str in list hodnota odd lova et zec nalezen hodnota nenalezen hodnota pova uje hodnotu za sezna
221. alibre First reboot your computer in safe mode to have as few running programs as possible and see if the crashes still happen If they do not then you know it is some program causing the problem The most likely such culprit is a program that modifies other programs behavior such as an antivirus a device driver something like RoboForm an automatic form filling app or an assistive technology like Voice Control or a Screen Reader The only way to find the culprit is to eliminate the programs one by one and see which one is causing the issue Basically stop a program run calibre check for crashes If they still happen stop another program and repeat Using the viewer or doing any conversions results in a permission denied error on Windows Something on your computer is preventing calibre from accessing its own temporary files Most likely the permissions on your Temp folder are incorrect Go to the folder file CUsersSNUSERNAMENAppDataNLocal in Windows Explorer and then right click on the file 7emp folder select Properties and go to the Security tab Make sure that your user account has full control for this folder Some users have reported that running the following command in an Administrator Command Prompt fixed their permissions To get an Administrator Command Prompt search for cmd exe in the start menu then right click on the command prompt entry and select Run as Administrator At the command prompt type the following command and pre
222. ami options detach Odpojit od d c ho termin lu pokud n jak je pouze pro Linux help h zobrazit tuto zpr vu n pov dy a ukon it version zobrazit slo verze programu a ukon it ebook meta ebook meta ebook file volby st Zapisovat metadata z do soubor e knih Podporovan form ty pro ten metadat azw azw1 azw3 azw4 cbr cbz chm docx epub fb2 html htmlz imp lit Irf Irx mobi odt oebzip opf pdb pdf pml pmlz pobi prc rar rb rtf snb tpz txt txtz updb zip Podporovan form ty pro z pis metadat azw azw1 azw3 azw4 docx epub fb2 htmlz Irf mobi pdb pdf prc rtf tpz txtz R zn typy soubor podporuj r zn druhy metadat Pokud se pokus te nastavit n jak metadata k typu souboru kter je nepodporuje metadata budou bez upozorn n ignorov na Kdykoliv p ed te parametry ebook meta kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami options author sort Ret zec pou it p i azen podle autora Pokud nen zad n a je zad n autor bude automaticky generov n z autora authors a Nastavit autory V ce autor by m lo b t odd leno znakem amp Jm na autor by m la b t v po ad k estn jm no p jmen book producer k Nastavit nakladatele knihy category Nastavit kategorii knihy comments c Nastavit popis e knihy 1 11 Rozh
223. anagers interviewed at Global 2 500 companies are already using some type of open source software in their infrastructure and another 6 percent will install it in the next two FB2 Input iu S A j S l vears This revaliitinnary madel far eallaharativa v Use cover from source file EPUB Output List of known series You can add new series L s Restore Defaults OK cancel Obsah vod str nka 56 Vzhled a chov n str nka 58 Nastaven str nky str nka 60 Heuristick zpracov n str nka 61 Hledat a nahradit str nka 62 Rozpozn v n struktury str nka 62 Obsah str nka 63 Po it obr zku jako n zvu kapitol p konverzi HTML vstupn ch dokument str nka 65 e Pou v n atribut zna ek pro dod n textu pro polo ky v obsahu str nka 65 Jak jsou volby nastaveny nebo ulo eny pro p evod str nka 65 Format specific tips str nka 66 1 4 1 vod Prvn v c kterou mus te pochopit o syst mu p evodu je to Ze je navr en jako et zec Schematicky to vypad takto 56 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 Input Format Output Plugin Output Format Vstupn form t se nejd ve p evede na XHTML vhodn m vstupn m modulem Toto HTML se pak transformuje V posledn m kroku se zpracovan XHTML p evede na zadan v stupn form t vhodn m v stupn m modulem V sledky p evo
224. and http feeds bbci co uk news scotland rss xml Wales http feeds bbci co uk news wales rss xml N Ireland http feeds bbci co uk news northern ireland rss xml Africa http feeds bbci co uk news world africa rss xml Asia http feeds bbci co uk news world asia rss xml Europe http feeds bbci co uk news world europe rss xml Latin America http feeds bbci co uk news world latin america rss xml 1 2 P id v n obl ben ch webov ch str nek se zpr vami 29 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Middle East US amp Canada Politics Technology Magazine Entertainmen Health h Education Family http feeds bbci co uk news education rss xml Business Special Repo http feeds bbci co uk news world middle_east rss xml http feeds bbci co uk news world us_and_canada rss xml http feeds bbci co uk news politics rss xml lt Science Environment http feeds bbci co uk news science and environment rss xml http feeds bbci co uk news technology rss xml http feeds bbci co uk news magazine rss xml t Arts http feeds bbci co uk news entertainment and arts rss xml ttp feeds bbci co uk news health rss xml http feeds bbci co uk news business rss xml rts http feeds bbci co uk news special reports rss xml
225. and the file syncing tool do not try to access the calibre library at the same time In other words do not run the file syncing tool and calibre at the same time Even with these tools there is danger of data corruption loss so only do this if you are willing to live with that risk In particular be aware that Google Drive is incompatible with calibre if you put your calibre library in Google Drive you will suffer data loss See this thread for details 1 8 4 R zn 55http www mobileread com forums showthread php t 205581 1 8 Nej ast j dotazy 119 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Obsah I want calibre to download news from my favorite news website str nka 120 Why the name calibre str nka 120 Why does calibre show only some of my fonts on OS X str nka 120 calibre is not starting on Windows str nka 121 calibre freezes crashes occasionally str nka 121 Using the viewer or doing any conversions results in a permission denied error on Windows str nka 122 calibre is not starting crashing on OS X str nka 122 St hnul jsem instalacn soubor ale nefunguje str nka 123 My antivirus program claims calibre is a virus trojan str nka 123 How do I backup calibre str nka 123 How do I use purchased EPUB books with calibre or what do I do with acsm files str nka 124 Iam getting a Permission Denied error str nka 124 Can I have
226. andfrss xml tland amp Tayside http feeds bbci co uk news scotland tayside and cem ics http feeds bbci co uk news wales wales politics rs xml http feeds bbci co uk news wales north west wales rss xml http feeds bbci co uk news wales north east wales rss xml http feeds bbci co uk news wales mid wales rss xml http feeds bbci co uk news wales south west wales rss xml http feeds bbci co uk news wales south east wales rss xml Newyddion News in Welsh http feeds bbci co uk newyddion rss xml Gwleidyddia eth http feeds bbci co uk newyddion gwleidyddiaeth rss xml Gogledd Ddwyrain http feeds bbci co uk newyddion gogledd ddwyrain rss xml Gogledd Orl Canolbarth De Ddwyrain De Orllewin lewin http feeds bbci co uk newyddion gogledd orllewinfrss xml http feeds bbci co uk newyddion canolbarth rss xml http feeds bbci co uk newyddion de ddwyrain rss xml http feeds bbci co uk newyddion de orllewin rss xml 30 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 SELECT YOUR USER PREFERENCES Title to use for the ebook title BBC News A brief description for the ebook description u BBC web site ebook created using rss feeds The max number of articles which may be downloaded from each feed I ve never seen more than about 70 articles in a
227. antano reader android lite amp hl en 46https play google com store apps details id com aldiko android amp hl en 4Thttps play google com store apps details id com amazon kindle amp feature related_apps 48 http www multipie co uk calibre companion 112 Kapitola 1 Oddily U ivatelsk p ru ka Calibre Vyd n 2 46 0 Replace 192 168 1 2 with the local IP address of the computer running calibre If your local network supports the use of computer names you can replace the IP address with the network name of the computer If you have changed the port the calibre content server is running on you will have to change 8080 as well to the new port The local IP address is the IP address you computer is assigned on your home network A guick Google search will tell you how to find out your local IP address You can now browse your book collection and download books from calibre to your device to open with whatever ebook reading software you have on your android device Some reading programs support browsing the calibre library directly For example in Aldiko click My Catalogs then to add a catalog then give the catalog a title such as calibre and provide the URL listed above You can now browse the calibre library and download directly into the reading software Can access my calibre books using the web browser in my Kindle or other reading device calibre has a Content Server that exports the books in calibre as a web page You ca
228. as the Page Flip feature The covers for my MOBI files have stopped showing up in Kindle for PC Kindle for Android iPad etc This is caused by a bug in the Amazon software You can work around it by going to Preferences gt Output Options gt MOBI output and setting the Enable sharing of book content option If you are reconverting a previously converted book you will also have to enable the option in the conversion dialog for that individual book as per book conversion settings are saved and take precedence Note that doing this will mean that the generated MOBI will show up under personal documents instead of Books on the Kindle Fire and Amazon whispersync will not work but the covers will It s your choice which functionality is more important to you I encourage you to contact Amazon and ask them to fix this bug The bug in Amazon s software is that when you put a MOBI file on a Kindle unless the file is marked as a Personal document Amazon assumes you bought the book from it and tries to download the cover thumbnail for it from its servers When the download fails it refuses to fallback to the cover defined in the MOBI file This is likely deliberate on Amazon s part to try to force authors to sell only through them In other words Kindle s only display covers for books marked as Personal Documents or books bought directly from Amazon If you send a MOBI file to an e ink Kindle with calibre using a USB connection calibre works arou
229. ata edit dialog near the bottom of the dialog is an option to remove stored conversion settings When you Bulk Convert a set of books settings are taken in the following order last one wins From the defaults set in Preferences gt Conversion From the saved conversion settings for each book being converted if any This can be turned off by the option in the top left corner of the Bulk Conversion dialog From the settings set in the Bulk conversion dialog Note that the final settings for each book in a Bulk Conversion will be saved and re used if the book is converted again Since the highest priority in Bulk Conversion is given to the settings in the Bulk Conversion dialog these will override any book specific settings So you should only bulk convert books together that need similar settings The exceptions are metadata and input format specific settings Since the Bulk Conversion dialog does not have settings for these two categories they will be taken from book specific settings if any or the defaults Pozn mka You can see the actual settings used during any conversion by clicking the rotating icon in the lower right corner and then double clicking the individual conversion job This will bring up a conversion log that will contain the actual settings used near the top 1 4 11 Format specific tips Here you will find tips specific to the conversion of particular formats Options specific to particular format whether
230. aticky generov n z n zvu to opf Zadejte n zev souboru OPF Metadata budou zaps na do souboru OPF version zobrazit slo verze programu a ukon it 254 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 ebook polish ebook polish options input file output file Vylep en knih je cel o dota en va ich pe liv vytv en ch e knih k dokonalosti Vylep en se pokou minimalizovat zm ny vnit n ho k du va e knihy Na rozd l od p evodu ned l n sleduj c neuhlazuje CSS nep ejmenov v soubory nem n velikosti p sma neupravuje okraje atd Ka d akce prov d pouze minim ln sadu zm n pot ebnou pro po adovan efekt Tento n stroj byste m li pou t jako posledn krok p i vytv en e knihy Pamatujte e vylep en funguje pouze u soubor ve form tech AZW3neboEPUB Kdykoliv p ed te parametry ebook polish kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami options compress images i Losslessly compress images in the book to reduce the filesize without affecting image guality cover c Cesta k obr zku ob lky M n ob lku zadanou v e knize Pokud nen p tomna dn ob lka nebo pokud nen ob lka spr vn identifikov na vlo novou ob lku embed fonts e Vlo it v echna p sma na kter je odkazov no v dokumentu a nejsou ji vlo ena To vyhl
231. ats Pamatujte e n zvy form t jsou v dy velk mi p smeny jako v EPUB Tato funkce funguje pouze v grafick m rozhran Pokud chcete pou t tyto hodnoty v ablon ch ulo en na disk nebo odesl n do za zen pak mus te vytvo it vlastn Sloupec sestaven z jin ch sloupc pou t funkci v ablon toho sloupce a pou t hodnotu toho sloupce ve sv ablon ulo en nebo odesl n author links val separator pair separator 1 9 Kurzy 147 U ivatelsk p ru ka Calibre Vyd n 2 46 0 class calibre utils formatter functions BuiltinAuthorLinks author links val separator pair separator vrac et zec obsahuj c seznam autor a hodnoty odkaz na tyto autory ve form authorl val separator authorllink pair separator author2 val separator author2link atd Autor je odd len od sv hodnoty odkazu et zcem val separator bez p idan ch mezer P ry author linkvalue jsou odd leny parametrem et zce pair separator bez p idan ch mezer Je na v s zvolit si et zce odd lova e kter se nevyskytuj ve jm nech autor nebo odkazech Autor je zahrnut i v p pad e odkaz na autora je pr zdn author sorts val separator class calibre utils formatter functions BuiltinAuthorSorts author sorts val separator vrac et zec obsahuj c seznam hodnot azen autor pro autory knihy azen je takov jako v metadatech autora odli n od author sort v knih ch Vr cen
232. ayed in a popup window after the Find replace has completed You saw an example of using print to output an entire table of contents above Choose file order when running on multiple HTML files When you run a Replace All on multiple HTML files the order in which the files are processes depends on what files you have open for editing You can force the search to process files in the order in which the appear by setting the file order attribute on your function like this def replace match number file name metadata dictionaries data functions xargs 4kwargs replace file order spine file order accepts two values spine and spine reverse which cause the search to process multiple files in the order they appear in the book either forwards or backwards respectively Having your function called an extra time after the last match is found Sometimes as in the auto generate table of contents example above it is useful to have your function called an extra time after the last match is found You can do this by setting the call after last match attribute on your function like this def replace match number file name metadata dictionaries data functions args x x 4kwargs replace call after last match True 1 5 prava e knih 95 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Fragmenty The calibre editor supports snippets A snippet is a piece of text that is either re use
233. bed all fonts Vlo it ka d p smo na kter se odkazuje ve vstupn m dokumentu ale je t nen vlo eno Vyhled p sma ve va em syst mu a pokud je nalezen budou vlo ena Vkl d n bude fungovat pouze pokud form t do kter ho p ev d te podporuje vlo en p sma jako jsou EPUB AZW3 DOCX nebo PDF Ujist te se Ze m te spr vnou licenci pro vkl d n p sem pou it ch v tomto dokumentu embed font family Vlo it zadanou rodinu p sem do knihy To ur uje z kladn p smo pou it pro knihu Pokud vstupn dokument ur uje sv vlastn p sma mohou p epsat toto z kladn p smo M ete pou t volbu filtrov n stylu informac pro odebr n p sem ze vstupn ho dokumentu Pamatujte e vkl d n p sem funguje pouze u n kter ch v stupn ch form t hlavn EPUB a AZW3 a DOCX expand css Ve v choz m nastaven pou ije Calibre zjednodu en formul pro r zn vlastnosti css jako jsou okraje odsa zen r me ek atd Tato volba zp sob e se m sto toho pou ije roz en formul Pamatujte e CSS je v dy roz en p i generov n soubor EPUB s v stupn m profilem nastaven m na jeden z profil Nook proto e Nook neovl d zjednodu en CSS extra css Bu cesta k ablon styl CSS nebo nezpracovan CSS Toto CSS bude p ipojeno k pravidl m stylu ze zdrojo v ho souboru tak e m e b t pou ito k p eps n t chto pravidel filter css C rka
234. bf B fraclc frac partial vec mathbf E partial nabla cdot vec mathbf E amp amp 4 pi rho nabla times vec mathbf E M raclcN frac partial vec mathbf B partid nabla cdot vec mathbf B amp amp 0 end align lt p gt lt h2 gt In line Mathematics lt h2 gt lt p gt While display equations look good for a page of samples the ability to mix math and text in a paragraph is also important This expression sqrt 3x 1 1 x 2 is an example of an inline equation As you see equations can be used this way as well without unduly disturbing the spacing between lines p lt h2 gt References to equations h2 lt p gt Here is a reference to the Lorenz Equations ref lorenz Clicking on the equation body html 186 Kapitola 1 Odd ly t samp V l t amp amp number will i U ivatelsk p ru ka Calibre Vyd n 2 46 0 V ce informac Proto e prohl e calibre pou v pro vykreslen matematiky knihovnu MathJax nejlep m sto pro zji t n v ce o matematice v e knih ch a z sk n n pov dy je Webov str nka MathJax 1 9 8 Vytv en katalog AZW3 EPUB MOBI Funkce calibre Vytvo it katalog v m umo uje vytvo it z va knihovny katalog v r zn ch form tech Tento soubor n pov dy popisuje volby za azen do katalogu p i generov n katalogu ve form tech AZW3 EPUB a MO
235. ble expects the value to be a number and returns a string representing that number in KB MB GB etc e ifempty text if the field is not empty return the value of the field Otherwise return text in list separator pattern found val not found val interpret the field as a list of items separated by separator comparing the pattern against each value in the list If the pattern matches a value return found val otherwise return not found val language codes lang strings return the language codes for the strings passed in lang strings The strings must be in the language of the current locale Lang strings is a comma separated list e language strings lang codes localize return the strings for the language codes passed in lang codes If localize is zero return the strings in English If localize is not zero return the strings in the language of the current locale Lang codes is a comma separated list list item index separator interpret the field as a list of items separated by separator returning the index th item The first item is number zero The last item can be returned using list_item 1 separator If 136 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 the item is not in the list then the empty value is returned The separator has the same meaning as in the count function e lookup pattern field pattern field else field like switch except the
236. bo EPUB Pokud logick kniha nem dostupn fmt ned lat nic Kdykoliv p ed te parametry calibredb kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami help h zobrazit tuto zpr vu n pov dy a ukon it version zobrazit slo verze programu a ukon it show metadata calibredb show metadata options id Zobrazit metadata ulo en v datab zi Calibre pro knihu identifikovanou identifik torem Identifik tor je identifika n slo z p kazu search Kdykoliv p ed te parametry calibredb kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami as opf Vypsat metadata v podob OPF XML help h zobrazit tuto zpr vu n pov dy a ukon it 1 11 Rozhran p kazov ho dku 237 U ivatelsk p ru ka Calibre Vyd n 2 46 0 version zobrazit slo verze programu a ukon it set metadata calibredb set metadata options id path to metadata opf Nastavit metadata ulo en v datab zi Calibre pro knihu identifikovanou identifik torem ze souboru OPF metadata opf Identifik tor je identifika n slo z p kazu search M ete z skat rychl chov n pro form t OPF pomoc p ep na e as opf p kazu show metadata M ete tak nastavit metadata jednotliv ch pol pomoc volby field Pokud pou ijete volbu field nen pot eba zad vat
237. books created from scans of printed books contain mis hyphenated words words that were split at the end of the line on the printed page We will write a simple function to automatically find and fix such words import regex from calibre import replace_entities from calibre import prepare_string_for_xml def replace match number file name metadata dictionaries data functions args 4kwargs def replace word wmatch Try to remove the hyphen and replace the words if the resulting hyphen free word is recognized by the dictionary without hyphen wmatch group 1 wmatch group 2 if dictionaries recognized without hyphen return without hyphen return wmatch group Search for words split by a hyphen text replace entities match group 1 1 Handle HTML entities like samp corrected regex sub r w s s wt replace word text flags regex VERSION regex UNI 9 return 5s prepare string for xml corrected Put back required entities Use this function with the same find expression as before namely gt lt gt lt And it will magically fix all mis hyphenated words in the text of the book The main trick is to use one of the useful extra arguments to the replace function dictionaries This refers to the dictionaries the editor itself uses to spell check text in the book What this function does is look for words separated by a hyphen remove the hyphen
238. books that match a search When a virtual library is in effect calibre behaves as though the library contains only the matched books The Tag Browser display only the tags authors series etc that belong to the matched books and any searches you do will only search within the books in the virtual library This is a good Create a virtual library based aC Authors as Publishers Series Way to partition your large library into smaller and easier to work Saved Searches with subsets For example you can use a Virtual Library to only show you books with the Tag Unread or only books by My Favorite Author or only books in a particular series OK cancel Dialogov okno Vytvo it virtu ln knihovnu bylo pro v s vypln no Klikn te na OK a uvid te e byla vytvo ena nov Virtu ln knihovna a automaticky na ni bylo p epnuto tak e ukazuje pouze knihy od vybran ho autora Pokud jde o calibre je to jako kdyby va e knihovna obsahovala pouze knihy od vybran ho autora Na plnou knihovnu m ete kdykoliv p epnout zp t op tovn m kliknut m na tla tko Virtu ln knihovna a v b rem polo ky pojmenovan lt dn gt Virtu ln knihovny jsou zalo eny na hled n Jako z klad virtu ln knihovny m ete pou t jak koliv hled n Virtu ln knihovna bude obsahovat pouze knihy odpov daj c tomuto hled n Nejd ve vepi te hled n kter chcete pou t do panelu hled n nebo sestavte hl
239. bov ch str nek se zpr vami 41 Obituaries U ivatelsk p ru ka Calibre Vyd n 2 46 0 kter se objevuj v dne n ch novin ch I kdy je to slo it j ne jednoduch pou it RSS p edpis vytvo e knihu kter je velice bl zk novin m parse index prov d t k pou it BeautifulSoup pro anal zu webov str nky den ku M ete tak pou t jin modern j analyz tory pokud se v m nel b BeatifulSoup Calibre p ich z s Ixml a html5lib kter jsou doporu en mi analyz tory Pro jejich pou it nahra te vol n index to soup n sleduj c m raw self index to soup url raw True For html5lib import html5lib root html5lib parse raw namespaceHTMLElements False treebuilder lxml For the lxml html 4 parser from lxml import html root html fromstring raw Posledn novou funkc je metoda calibre web feeds news BasicNewsRecipe preprocess html str nka 46 M e b t pou ita k proveden libovoln ch transformac na ka d sta en str nce HTML Zde je pou ita k obejit reklam kter NYT zobrazuje p ed ka d m l nkem 1 2 3 Tipy pro v voj nov ch p edpis Nejlep m zp sobem v voje nov ch p edpis je pou t rozhran p kazov ho dku Vytvo te p edpis pomoc sv ho obl ben ho editoru Pythonu a ulo te ho do souboru myrecipe recipe P pona recipe je vy adov na Pomoc toho
240. br zku na panel podrobnost o knize Pokud si p ejete upravit obr zek ob lky v extern m programu jednodu e na n j klikn te prav m tla tkem my i a zvolte Otev t v programu M ete tak p idat soubory e knihy do aktu ln knihy p eta en m soubor na panel Podrobnost o knize Dvojit kliknut na panel Podrobnost o knize ji otev e v samostatn m automaticky otev en m okn A nakonec m ete p esn p izp sobit jak informace jsou zobrazeny v panelu Podrobnost o knize pomoc P edvolby gt Vzhled gt Podrobnosti o knize 1 1 Grafick u ivatelsk rozhran 17 U ivatelsk p ru ka Calibre Vyd n 2 46 0 1 1 10 Prohl e t tk Find item in tag bro Find Authors 267 Languages 2 Series 135 Formats 22 Publisher 224 Rating 5 News 3 O ob NH uw X le Tags 65 gt IMD Identifiers 12 gt Wh Searches 4 Alter Tag Browser v Prohl e t tk v m umo uje snadno proch zet va i kolekci podle autora t tk s rie atd Pokud kliknete na kte roukoliv polo ku v Prohl e i t tk nap klad jm no autora Isaac Asimov pak je seznam knih na prav stran je omezen aby zobrazoval knihy od tohoto autora M ete kliknout rovn na n zvy kategori Nap klad kliknut na S rie zobraz v echny knihy v kter koliv s rii Prvn kliknut na polo ku omez seznam knih na ty kter obsahuj nebo odpov
241. bre Calibre m vysoce modul rn proveden R zn jeho sti mohou b t upraveny Jak vytvo it p edpisy pro p id n nov ch zdroj online obsahu do Calibre se m ete nau it v odd lu P id v n obl ben ch webov ch str nek se zpr vami str nka 23 Zde se nejd ve nau te jak pou vat prom nn prost ed a vylep en pro p izp soben chov n Calibre a potom jak zadat sv vlastn statick zdroje jako jsou ikony a ablony pro p eps n v choz ho nastaven a nakonec jak pou vat moduly pro p id v n funkc do Calibre Prom nn prost ed str nka 217 Vylep en str nka 218 P eps n ikon ablon atd str nka 227 Vytvo en vlastn ho motivu ikon pro Calibre str nka 228 P izp soben Calibre pomoc modul str nka 228 1 10 1 API Documentation for plugins Defines various abstract base classes that can be subclassed to create powerful plugins The useful classes are 1 10 P izp soben Calibre 193 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Plugin str nka 194 FileTypePlugin str nka 196 Metadata plugins str nka 196 Catalog plugins str nka 197 Metadata download plugins str nka 198 Conversion plugins str nka 200 Device Drivers str nka 202 User Interface Actions str nka 212 Preferences Plugins str nka 214 Viewer plugins str nka 216 Plugin class calibre customize Plugin plugin path A cal
242. bre Pokud jste vytvo ili kr snou sadu ikon a chcete ji sd let s ostatn mi u ivateli Calibre prost ednictv m vestav n ho podpory motiv ikon Calibre m ete snadno zabalit va e ikony do motivu K tomu p ejd te na P edvolby gt R zn gt Vytvo it motiv ikon vyberte slo ku kam jste vlo ili sv ikony obvykle slo ka resources images v konfigu ra n m adres i Calibre jak je pops no v e Pak vypl te metadata motivu a klikn te na OK Vznikne tak soubor zip obsahuj c ikony motivu Ten m ete nahr t na f rum Calibre na Mobileread a j pak zp stupn m v motiv prost ednictv m vestav n ho syst mu motivu ikon Calibre 1 10 6 P izp soben Calibre pomoc modul Calibre m velice modul rn proveden T m v echny funkce jsou ve form modul Moduly jsou pou ity pro p evod stahov n zpr v a koliv ty jsou nazv ny p edpisy r zn komponenty u ivatelsk ho rozhran p ipojen k r zn m za zen m zpracov n soubor p i jejich p id v n do Calibre a tak d le Kompletn seznam v ech vestav n ch modul m ete z skat v Calibre v P edvolby gt Moduly Pro p izp soben a roz en chov n Calibre m ete napsat sv vlastn moduly Architektura modulu v Calibre je velice jednoduch pod vejte se na kurz Psan vlastn ch modul pro roz en funkc Calibre str nka 170 1 11 Rozhran p kazov ho dku Pozn mka Na OS X jsou n stro
243. bre app amp x2F Contents amp x2F console app x2F Contents amp x2F MacoO Modul Hello World m ete st hnout z helloworld_plugin zip Poka d kdy pou ijete Calibre aby p evedlo knihu bude zavol na metoda run modulu a p eveden kniha bude MaM iv kter skute n p id komponentu do u ivatelsk ho rozhran Modul u ivatelsk ho rozhran Tento modul bude rozd len do n kolika soubor aby k d z stal ist Uk e v m jak z skat zdroje soubory obr zk nebo dat ze souboru zip modulu co umo uje u ivatel m konfigurovat v modul jak vytvo it prvky v u ivatelsk m rozhran Calibre a jak p istupovat k a dotazovat se datab ze knih v Calibre Tento modul m ete st hnout z interface demo plugin zip Prvn v c na kterou pamatujte je to e tento soubor zip m v sob mnohem v ce soubor vysv tleno n e v nujte zvl tn pozornost plugin import name interface demo txt plugin import name interface demo txt Pr zdn textov soubor pou it pro umo n n kouzla v ce souborov ho modulu Tento soubor mus b t p tomen ve v ech modulech kter pou vaj v ce ne jeden soubor py M l by b t pr zdn a jeho n zev souboru mus b t ve form plugin import name some name txt P tomnost tohoto souboru v m umo uje importovat k d ze soubor py p tomn ch uvnit souboru zip pomoc p kazu jako je
244. bre as normal Your IDE should now be able to connect to the remote debugger running inside calibre Spu ten libovol ch skript uvnit python prost en Calibre The calibre debug command provides a couple of handy switches to execute your own code with access to the calibre modules calibre debug c some python code 1s great for testing a little snippet of code on the command line It works in the same way as the c switch to the python interpreter calibre debug myscript py can be used to execute your own Python script It works in the same way as passing the script to the Python interpreter except that the calibre environment is fully initialized so you can use all the calibre code in your script To use command line arguments with your script use the form calibre debug myscript py optionl argl The causes all subsequent arguments to be passed to your script 1 12 8 Using calibre in your projects It is possible to directly use calibre functions code in your Python project Two ways exist to do this Binary install of calibre If you have a binary install of calibre you can use the Python interpreter bundled with calibre like this calibre debug path to your python script py arguments to your script 10https docs python org 2 library pdb html debugger commands 266 Kapitola 1 Oddily U ivatelsk p ru ka Calibre Vyd n 2 46 0
245. bre ebooks libre ebooks libre ebooks libre libre libre metadata book base 155 metadata sources base oeb oeb oeb oeb oeb oeb oeb oeb gui2 tweak book boss 281 gui2 tweak book plugin Tool 279 utils formatter functions 146 polish polish polish polish polish polish polish polish web f ds news 43 container 273 cover 278 css 279 jacket 277 pretty 277 replace 277 split 278 toc 279 285 U ivatelsk p ru ka Calibre Vyd n 2 46 0 286 Rejst k modul Pythonu Rejst k Symbols add plugin a calibre customize volba p kazov ho dku 229 add simple plugin calibre debug volba p kazov ho dku 230 all calibredb backup metadata volba p kazov ho dku 243 calibredb export volba p kazov ho dku 238 append a calibredb set custom volba p kazov ho dku 241 as opf calibredb show metadata volba p kazov ho dku 237 ascending calibredb list volba p kazov ho dku 235 asciiize ebook convert volba p kazov ho dku 247 attachment a calibre smtp volba p kazov ho dku 233 author sort ebook convert volba p kazov ho dku 251 ebook meta volba p kazov ho dku 253 authors ebook convert volba p kazov ho dku 251 authors a calibredb add volba p kazov ho dku 236 ebook meta volba p kazov ho dku 253
246. bre ebooks metadata book base Metadata 156 set identifiers metoda ca libre ebooks metadata book base Metadata 156 set library info metoda ca libre devices interface DevicePlugin 208 set metadata metoda ca libre customize MetadataWriterPlugin 197 set metadata metoda calibre db cache Cache 272 set modified metoda ca libre gui2 tweak book boss Boss 282 set option metoda ca libre devices interface DevicePlugin 209 set plugboards metoda ca libre devices interface DevicePlugin 207 set pref metoda calibre db cache Cache 272 set progress reporter metoda ca libre devices interface DevicePlugin 205 set spine metoda ca libre ebooks oeb polish container Container 276 set_user_blacklisted_devices metoda ca 306 Rejst k U ivatelsk p ru ka Calibre Vyd n 2 46 0 libre devices interface DevicePlugin 208 set user metadata metoda ca libre ebooks metadata book base Metadata 157 settings t dn metoda ca libre devices interface DevicePlugin 207 show current diff metoda ca libre gui2 tweak book boss Boss 282 show editor metoda ca libre gui2 tweak book boss Boss 282 shutdown metoda ca libre devices interface DevicePlugin 208 shutting down metoda ca libre gui2 actions InterfaceAction 214 simultaneous downloads atribut ca libre web feeds news BasicNewsRecipe 51 skip_ad_pages metoda ca libre web feed
247. bre server url prefix calibre port 8080 Kl ov parametr je zde url prefix calibre Toto zp sob e server s obsahem bude slou it v em URL s p edponou calibre Abyste to vid li v akci nav tivte ve sv m prohl e i http localhost 8080 calibre M li byste vid t norm ln webovou str nku serveru s obsahem ale nyn pob pod calibre ves Nyn p edpokl dejme e pou v te Apache jako sv j hlavn server Nejd ve povolte moduly proxy v Apache p id n m n sleduj c ho do httpd conf LoadModule proxy module modules mod proxy so LoadModule proxy http module modules mod proxy http so P esn postup povolen modul proxy se bude li it v z vislosti na va instalaci Apache Jakmile budete m t povolen moduly proxy p idejte n sleduj c pravidla do httpd conf nebo pokud pou v te virtu ln hostitele tak do konfigura n ho souboru p slu n ho virtu ln ho hostitele https docs python org 2 library re html 168 Kapitola 1 Oddily U ivatelsk p ru ka Calibre Vyd n 2 46 0 RewriteEngine on RewriteRule calibre http localhost 8080 calibre 1 proxy RewriteRule calibre http localhost 8080 proxy SetEnv force proxy request 1 0 1 SetEnv proxy nokeepalive 1 To je v e nyn budete schopni p istupovat k serveru s obsahem calibre pod URL calibre ve sv m serveru Apache V e zm n n pravid
248. bsahuje metadata o modulu jeho n zev autora verzi atd from calibre customize import EditBookToolPlugin class DemoPlugin EditBookToolPlugin name Edit Book plugin demo version 1 0 0 author Kovid Goyal supported platforms windows osx linux description A demonstration of the plugin interface for the ebook editor minimum calibre version 1 46 0 Jeden modul editoru m e poskytnout v ce n stroj ka d n stroj odpov d jednomu tla tku na panelu n stroj a polo ce v nab dce guilabel Moduly v editoru Ty mohou m t podnab dky v p pad e n stroj m v ce souvisej c ch akc N stroje mus b t v echny definov ny v souboru main py ve va em modulu Ka d n stroj je t da kter d d ze t dy calibre gui2 tweak book plugin Tool str nka 279 Poj me se pod vat na main py z uk z kov ho modulu zdrojov k d je siln komentov n a m l by b t samovysv tluj c Pro v ce informac si p e t te dokumenty API ke t d calibre gqui2 tweak_book plugin Tool str nka 279 main py Zde uvid me definici jednoho n stroje kter se bude n sobit v echny velikosti p sem v knize slem zadan m u iva telem Tento n stroj ukazuje r zn d le it pojmy kter budete pot ebovat p i v voji sv ch vlastn ch modul tak e byste si m li pe liv p e st siln komentovan zdrojov k d import re from PyO
249. calibre devices interface DevicePlugin 206 books for field metoda calibre db cache Cache 268 boss atribut calibre gui2 tweak book plugin Tool 280 Boss t da v calibre gui2 tweak book boss 281 BuiltinAdd t da v calibre utils formatter functions 146 BuiltinAnd t da v calibre utils formatter functions 146 BuiltinApproximateFormats t da v ca libre utils formatter functions 147 BuiltinAssign t da v calibre utils formatter functions 153 BuiltinAuthorLinks t da v ca libre utils formatter functions 147 BuiltinAuthorSorts t da V ca libre utils formatter functions 148 BuiltinBooksize t da V ca libre utils formatter functions 148 BuiltinCapitalize t da V ca libre utils formatter functions 154 BuiltinCmp t da v calibre utils formatter functions 153 BuiltinContains t da V libre utils formatter functions 150 BuiltinCount t da v calibre utils formatter functions 151 ca BuiltinCurrentLibraryName t da V ca libre utils formatter functions 148 BuiltinCurrentLibraryPath t da v ca libre utils formatter functions 148 BuiltinDaysBetween t da v libre utils formatter functions 146 BuiltinDivide t da v calibre utils formatter functions 146 BuiltinEval t da v calibre utils formatter functions 153 Buil nField t da v calibre utils formatter functions 148 ca BuiltinFinishFormatting t da v ca libre utils formatte
250. calibre source code separately as described above Install calibre normally using the Windows installer Then open a Command Prompt and change to the previously checked out calibre code directory For example cd C Users kovid work calibre calibre is the directory that contains the src and resources sub directories The next step is to set the environment variable CALIBRE DEVELOP FROM to the absolute path of the src directory So following the example above it would be C Users kovid work calibre src Here is a short guide 0 to setting environment variables on Windows Once you have set the environment variable open a new command prompt and check that it was correctly set by using the command echo CALIBRE DEVELOP FROM Setting this environment variable means that calibre will now load all its Python code from the specified location That s it You are now ready to start hacking on the calibre code For example open the file SrcNcalibreN init py in your favorite editor and add the line print Hello world near the top of the file Now run the command calibredb The very first line of output should be Hello world You can also setup a calibre development environment inside the free Microsoft Visual Studio if you like following the instructions here 1 12 4 OS X development environment Pozn mka You must also get the calibre source code separatel
251. ccelerators This method must be implemented in sub classes It must return the path to the created OPF file or an OEBBook instance All output should be contained in the current directory If this plugin creates files outside the current directory they must be deleted marked for deletion before this method returns Parametry stream A file like object that contains the input file options Options to customize the conversion process Guaranteed to have attribu tes corresponding to all the options declared by this plugin In addition it will have a verbose attribute that takes integral values from zero upwards Higher numbers mean be more verbose Another useful attribute is input profile that is an instance of calibre customize profiles InputProfile file ext The extension without the of the input file It is guaranteed to be one of the file types supported by this plugin e log Acalibre utils logging Log object All output should use this object accelarators A dictionary of various information that the input plugin can get easily that would speed up the subsequent stages of the conversion postprocess book oeb opts log Called to allow the input plugin to perform postprocessing after the book has been parsed specialize oeb opts log output fmt Called to allow the input plugin to specialize the parsed book for a particular output format Called after postprocess book and before any transforms are performed
252. ccording to weights index is sorted in place Returns index index A list of titles weights A dictionary that maps weights to titles If any titles in index are not in weights they are assumed to have a weight of 0 classmethod tag to string tag use alt True normalize whitespace True Convenience method to take a BeautifulSoup Tag and extract the text from it recursively including any CDATA sections and alt tag attributes Return a possibly empty unicode string use alt If True try to use the alt attribute for tags that don t have any textual content tag BeautifulSoup Tag articles are obfuscated False Set to True and implement get obfuscated article str nka 45 to handle websites that try to make it difficult to scrape content auto cleanup False Automatically extract all the text from downloaded article pages Uses the algorithms from the readability project Setting this to True means that you do not have to worry about cleaning up the downloaded HTML manually though manual cleanup will always be superior auto cleanup keep None Specify elements that the auto cleanup algorithm should never remove The syntax is a XPath expression For example auto cleanup keep div id article image will keep all divs with id article image auto cleanup keep x class important will keep all elements with class important auto_cleanup_keep div id article image span class importa
253. ce name obj Replace the parsed object corresponding to name with obj which must be a similar object i e an Ixml tree for HTML XML or a cssutils stylesheet for a CSS file replace links name replace func Replace all links in name using replace func which must be a callable that accepts a URL and returns the replaced URL It must also have a replaced attribute that is set to True if any actual replacement is done Convenient ways of creating such callables are using the LinkReplacer and LinkRebaser classes serialize item name Convert a parsed object identified by canonical name into a bytestring See parsed str nka 275 set spine spine items Set the spine to be spine items where spine items is an iterable of the form name linear Will raise an error if one of the names is not present in the manifest spine items An iterator yielding canonical name for every item in the books spine See also spine iter str nka 276 and spine items str nka 276 spine iter An iterator that yields item name is linear for every item in the books spine item is the Ixml element name is the canonical file name and is linear is True if the item is linear See also spine names str nka 276 and spine items str nka 276 spine names An iterator yielding name and is linear for every item in the books spine See also spine iter str nka 276 and spine items str nka 276 276 Kapitola 1 Odd ly U ivatelsk p
254. ce Calibre max toc links Maxim ln po et odkaz vlo en ch do obsahu Nastavte 0 pro zak z n V choz je 50 Odkazy jsou p id ny do obsahu pouze pokud bylo rozpozn no m n kapitol ne je mezn hodnota no chapters in toc Nep id vat automaticky rozpoznan kapitoly do obsahu toc filter Odebrat z obsahu polo ky jejich n zvy odpov daj zadan mu regul rn mu v razu Odpov daj c polo ky a v echny jejich pod zen polo ky budou odebr ny toc threshold Pokud je rozpozn no m n ne tento po et kapitol budou odkazy p id ny do obsahu V choz 6 use auto toc Pokud m ji zdrojov soubor obsah je oby ejn pou it p ednostn p ed automaticky generovan m Pomoc tohoto nastaven je v dy pou it ten automaticky generovan Metadata Volby pro nastaven metadat ve v stupu author sort Ret zec pou it p i azen podle autora authors Nastavit autory V ce autor by m lo b t odd leno znaky amp 1 11 Rozhran p kazov ho dku 251 U ivatelsk p ru ka Calibre Vyd n 2 46 0 book producer Nastavit nakladatele knihy comments Nastavit popis e knihy cover Nastavit ob lku na zadan soubor nebo URL isbn Nastavit ISBN knihy language Nastavit jazyk pubdate Nastavit datum vyd n publisher Nastavit vydavatele e knihy rating Nastavit hodnocen M lo by to b t slo mezi
255. ch V choz je 5 0 Nastaven na hodnotu men ne nula zp sob Ze se nenastav dn okraje bude zachov no nastaven okraj v p vodn m dokumentu Pozn mka 72 bod je 1 palec minimum line height Minim ln v ka dku jako procento vypo tan velikosti p sma prvku Calibre zajist e ka d prvek bude m t v ku dku alespo podle tohoto nastaven bez ohledu na to co ur uje vstupn dokument Nastavte na nulu pro zak z n V choz je 120 Pou ijte toto nastaven p ednostn pro p m ur en v ky dku pokud nev te co d l te Nap klad m ete dos hnout textu s dvojit m dkov n m nastaven m na 240 remove paragraph spacing Odebrat mezery mezi odstavci Tak nastav odsazen odstavce na 1 5 em Odebr n mezer nebude fungovat pokud zdrojov soubor nepou v odstavce zna ky lt p gt nebo lt div gt 248 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 remove paragraph spacing indent size Kdy Calibre odeb r pr zdn dky mezi odstavci automaticky nastav odsazen odstavce aby bylo zaji t no snadn rozli en odstavc Tato volba ur uje ku tohoto odsazen v em Pokud nastav te z pornou hodnotu pak bude pou ito odsazen zadan ve vstupn m dokumentu to znamen e Calibre nezm n odsazen smarten punctuation P ev st jednoduch uvozovky poml ky a t i te ky na jejich typografi
256. ch probl m dokument Nap klad n kter p evody mohou zanechat z hlav a z pat str nek v textu Tyto volby pou vaj regul rn v razy aby se pokusily rozpoznat z hlav z pat nebo jin libovoln text a odebrat ho nebo nahradit Nezapome te e pracuj s polotovarem XHTML vytvo en m p evodn m et zcem K dispozici je pr vodce aby v m pomohl p izp sobit regul rn v razy pro v dokument Klikn te na kouzelnou h lku vedle pole v razu a klikn te na tla tko Tesovat po sestaven vyhled vac ho v razu sp n shody budou zv razn ny lut Vyhled v n funguje pomoc regul rn ho v razu Pythonu V echny odpov daj c texty jsou jednodu e odebr ny z dokumentu nebo nahrazeny pomoc vzoru nahrazen Vzor nahrazen je nepovinn pokud z stane pr zdn pak text odpov daj c hledan mu vzoru bude z dokumentu odstran n Dal informace o regul rn ch v razech a jejich syntaxi m ete zjistit v V e o pou v n regul rn ch v raz v Calibre str nka 163 1 4 6 Rozpozn v n struktury Rozpozn v n struktury zahrnuje to Ze se Calibre pokou co nejl pe rozpoznat struktur ln prvky ve vstupn m doku mentu pokud nejsou spr vn zad ny Nap klad kapitoly konce str nek z hlav z pat atd Jak si dok ete p edstavit 62 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 tento proces se velice li knihu od kn
257. ch someone has to pay e If I implement a dialog that downloads the update and launches it instead of going to the website as it does now that would save the most ardent calibre updater at most five clicks a week There are far higher priority things to do in calibre development If you really really hate downloading calibre every week but still want to be up to the latest I encourage you to run from source which makes updating trivial Instructions are available here str nka 260 There are third party automatic updaters for calibre made by calibre users in the calibre forum How is calibre licensed calibre is licensed under the GNU General Public License v3 an open source license This means that you are free to redistribute calibre as long as you make the source code available So if you want to put calibre on a CD with your product you must also put the calibre source code on the CD The source code is available for download You are free to use the results of conversions from calibre however you want You cannot use either code or libraries from calibre in your software without making your software open source For details see The GNU GPL v3 6 http calibre ebook com get involved 65http calibre ebook com bugs S6http calibre ebook com dynamic downloads 67http www mobileread com forums forumdisplay php f 238 68 http download calibre ebook com http www gnu org licenses gpl html 1 8 Nej ast j
258. chno neodpov daj c polo ce v kategorii ozna en jednoduch m erven m znam nkem minus 4 v echno neodpov daj c polo ce v kategorii nebo jej m podkategori m ozna en dv ma erven mi zna m nky minus Je tak mo n vytv et hierarchie uvnit n kter ch textov ch kategori jako jsou t tky s rie a vlastn sloupce Tyto hi erarchie se zobrazuj s mal m troj heln kem umo uj c m skryt podpolo ek Pro pou it hierarchi polo ek v kategorii mus te nejprve p ej t do P edvolby gt Vzhled a zadat n zvy kategori do pole Kategorie s hierarchick mi polo kami Jakmile to ud l te polo ky v t to kategorii kter obsahuj te ky se zobraz pomoc mal ho troj heln ku Nap klad p edpokl dejme e vytvo te vlastn sloupec nazvan nr a ozna te ho e obsahuje hierarchick polo ky Jakmile to ud l te polo ky jako Mysteri zn Thriller a Mysteri zn esky se zobraz jako Mysteri zn s mal m troj heln kem Kliknut na troj heln k zobraz Thriller a esky jako podpolo ky Pro v ce informac se pod vejte na Spr va podskupiny knih nap klad Z nr str nka 126 Hierarchick polo ky polo ek s pod zen mi polo kami pou vaj stejn ty i vyhled v n kliknut m na jako u i vatelsk kategorie Polo ky kter nemaj pod zen polo ky dv z vyhled v n v echno odpov daj c a v echno neodpov
259. ci m ete jednodu e p ej t zp t na plnou knihovnu V nen dn zp sob jak soub n prohledat v ce samostatn ch knihoven Virtu ln knihovna se li od jednoduch ho hled n Hled n pouze omez seznam knih zobrazen ch v seznamu knih Virtu ln knihovna d l toto a nav c tak omezuje polo ky zobrazen v Prohl e i t tk vlevo Prohl e t tk zobraz pouze t tky autory s rie vydavatele atd kter poch zej z knih ve virtu ln knihovn Virtu ln knihovna se tud chov jako skute n knihovna a koliv obsahuje pouze omezenou sadu knih Shttp www mobileread com forums showthread php t 124219 88http www mobileread com forums showthread php t 1 18556 8 http www mobileread com forums forumdisplay php f 236 1 9 Kurzy 191 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Vytv en virtu ln ch knihoven liis Virtual Library Pro pou it virtu ln knihovny klikn te na tla tko Virtu ln knihovna um st n vlevo od panelu hled n a vyberte volbu Vytvo it virtu ln knihovnu Jako prvn p klad vytvo me virtu ln knihovnu kter zobrazuje pouze knihy od ur it ho autora Klikn te na odkaz Auto i jak je uk z no na obr zku n e a zvolte autora kter ho chcete pou t a klikn te na OK X d Create virtual library 2 th Search expression Virtual Libraries Using virtual libraries you can restrict calibre to only show you
260. ck net will remove all URLs that have ads doubleclick net in them Only one of BasicNewsRecipe match regexps str nka 49 Or BasicNewsRecipe filter regexps str nka 49 should be defined ignore duplicate articles None Ignore duplicates of articles that are present in more than one section A duplicate article is an article that has the same title and or URL To ignore articles with the same title set this to ignore duplicate articles title To use URLs instead set it to ignore duplicate articles url To match on title or URL set it to ignore duplicate articles title url keep only tags Keep only the specified tags and their children For the format for specifying a tag see BasicNewsRecipe remove tags str nka 50 If this list is not empty then the body tag will be emptied and re filled with the tags that match the entries in this list For example keep only tags dict id content heading will keep only tags that have an id attribute of content or heading language und The language that the news is in Must be an ISO 639 code either two or three characters long masthead url None By default calibre will use a default image for the masthead Kindle only Override this in your recipe to provide a url to use as a masthead match_regexps List of regular expressions that determines which links to follow If empty i
261. cky spr vn ekvivalenty Pro podrobnosti p ejd te na http daringfireball net projects smartypants subset embedded fonts Podmno ina v ech vlo en ch p sem Ka d vlo en p smo je zmen eno aby obsahovalo pouze glyfy pou it v tomto dokumentu To zmen uje velikost soubor p sem U ite n pokud vkl d te obzvl velk p smo se spoustou nevyu it ch glyf unsmarten punctuation P ev st ozdobn uvozovky poml ky a t i te ky na jejich prost ekvivalenty Heuristick Zpracov n Zm nit text a strukturu dokumentu pomoc b n ch vzor Ve v choz m nastaven zak z no Pou ijte enable heuristics pro povolen Jednotliv akce mohou b t zak z ny pomoc voleb disable disable dehyphenate Analyzovat rozd len slova v cel m dokumentu Samotn dokument je pou it jako slovn k pro ur en zda by m ly b t poml ky zachov ny nebo odebr ny disable delete blank paragraphs Odebrat z dokumentu pr zdn odstavce pokud se vyskytuj mezi v emi ostatn mi odstavci disable fix indents Zm nit odsazen vytvo en z v ce entit pevn mezery na odsazen CSS disable format scene breaks Vlevo zarovnan zna ky p eru en p b hu jsou zarovnan na st ed Nahradit m kk p eru en p b hu kter pou vaj v ce pr zdn ch dk vodorovn mi rami disable italicize common cases Hledat b n slova a vzory kter ozna uj kurz vu
262. closed and will only be removed on interpreter shutdown Use the name member of the returned object to access the full path to the created temporary file Parametry suffix The suffix that the temporary file will have Cli main args This method is the main entry point for your plugins command line interface It is called when the user does calibre debug r Plugin Name Any arguments passed are present in the args variable FileTypePlugin clas calibre customize FileTypePlugin plugin path Nadt dy calibre customize Plugin str nka 194 A plugin that is associated with a particular set of file types file types set Set of file types for which this plugin should be run For example lit mobi prc on import False If True this plugin is run when books are added to the database on postimport False If True this plugin is run after books are added to the database on preprocess False If True this plugin is run just before a conversion on postprocess False If True this plugin is run after conversion on the final file produced by the conversion output plugin run path to ebook Run the plugin Must be implemented in subclasses It should perform whatever modifications are required on the ebook and return the absolute path to the modified ebook If no modifications are needed it should return the path to the original ebook If an error is encountered it should raise an Exception The default i
263. column options label name datatype Vytvo it vlastn sloupec label je n zev sloupce vhodn pro stroje Nem l by obsahovat mezery nebo dvojte ky name je n zev sloupce vhodn pro lidi datatype je jeden z bool comments composite datetime enumeration float int rating series text Kdykoliv p ed te parametry calibredb kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami display Slovn k voleb pro p izp soben jak budou data v tomto sloupci interpretov na Toto je et zec JSON Pro sloupce v tu pou ijte display enum values vall val2 Je mnoho voleb kter mo hou p ij t do prom nn display Volby podle typu sloupce jsou slo en composite template composite sort make category contains html use decorations datum a as date format v et enum values enum colors use decorations cel st plovouc number format text is names use decorations Nejlep zp sob jak naj t z konit kombinace je vytvo it v grafick m rozhran vlastn sloupec vhodn ho typu pak vyhledat v z lo n m OPF knihu ujist te se e byl vytvo en nov OPF od p id n sloupce Uvid te JSON pro display pro nov sloupec v OPF help h zobrazit tuto zpr vu n pov dy a ukon it is multiple Tento sloupec ukl d t tky jako data tj v ce rkami odd len ch hodnot Pou ije se pouze pokud je datov typ text
264. connected metoda ca libre devices interface DevicePlugin 204 iterlinks metoda ca libre ebooks oeb polish container Container 275 J javascript_login metoda ca libre web feeds news BasicNewsRecipe 45 K keep_only_tags atribut ca libre web feeds news BasicNewsRecipe 49 L language atribut calibre web feeds news BasicNewsRecipe 49 library_changed metoda ca libre gui2 actions InterfaceAction 214 load actual plugin metoda ca libre customize Interface ActionBase 214 load fonts metoda calibre customize ViewerPlugin 216 load javascript metoda libre customize ViewerPlugin 216 load resources metoda calibre customize Plugin 195 ca load resources metoda ca libre gui2 actions InterfaceAction 214 location selected metoda ca libre gui2 actions InterfaceAction 214 LRF 283 Irf2lrs volba p kazov ho dku dont output resources 257 help h 257 output o 257 verbose 257 version 257 Irfviewer volba p kazov ho dku disable hyphenation 258 help h 258 profile 258 verbose 258 version 258 visual debug 258 white background 258 Irs2Irf volba p kazov ho dku help h 258 Irs 258 output o 258 verbose 258 version 258 M MANAGES DEVICE PRESENCE atribut ca libre devices interface DevicePlugin 204 manifest has name metoda ca libre ebooks oeb polish container
265. could result in a generic cover image or a not found error identify results keygen fitle None authors None identifiers Return a function that is used to generate a key that can sort Metadata objects by their relevance given a search guery title authors identifiers These keys are used to sort the results of a call to identify str nka 199 For details on the default algorithm see InternalMetadataCompareKeyGen str nka 200 Re implement this function in your plugin if the default algorithm is not suitable identify log result queue abort title None authors None identifiers timeout 30 Identify a book by its title author isbn etc If identifiers s are specified and no match is found and this metadata source does not store all related identifiers for example all ISBNs of a book this method should retry with just the title and author assuming they were specified If this metadata source also provides covers the URL to the cover should be cached so that a subsequent call to the get covers API with the same ISBN special identifier does not need to get the cover URL again Use the caching API for this Every Metadata object put into result queue by this method must have a source relevance attribute that is an integer indicating the order in which the results were returned by the metadata source for this query This integer will be used by compare identify results If the order is unimportant set it to Zero f
266. ct corresponding to name as dirty See also parsed str nka 275 exists name True iff a file corresponding to the canonical name exists Note that this function suffers from the limitati ons of the underlying OS filesystem in particular case in sensitivity So on a case insensitive filesystem this will return True even if the case of name is different from the case of the underlying filesystem file See also has name str nka 274 filesize name Return the size in bytes of the file represented by the specified canonical name Automatically handles dirtied parsed objects See also parsed str nka 275 generate item name id prefix None media type None unique href True Add an item to the manifest with href derived from the given name Ensures uniqueness of href and id automatically Returns generated item get file path for processing name allow modification True Similar to open except that it returns a file path instead of an open file object guess type name Return the expected mimetype for the specified file name based on its extension guide type map Mapping of guide type to canonical name has name name Return True iff a file with the same canonical name as that specified exists Unlike exists str nka 274 this method is always case sensitive href to name href base None Convert an href relative to base to a name base must be a name or None in which case self root is used insert int
267. d Vzhle dem a chov n m v nastaven p evodu Nap klad pro zna ky zarovn n nadpis na st ed pou ijte n sleduj c h2 h3 text align center Renumber sequences of lt h1 gt or lt h2 gt tags N kte vydavatel form tuj nadpisy kapitol pomoc v ce zna ek lt h1 gt nebo lt h2 gt postupn V choz nastaven p evodu Calibre zp sob e takov nadpisy budou rozd leny na dv sti Tato volba p e sluje zna ky nadpis aby se zabr nilo rozd len Delete blank lines between paragraphs Tato volba zp sob e Calibre analyzuje pr zdn dky obsa en v doku mentu Pokud je ka d odstavec prolo en pr zdn m dkem pak Calibre odebere v echny tyto pr zdn od stavce Sekvence v ce pr zdn ch dk budou pova ov ny za p eru en p b hu a budou zachov ny jako jeden odstavec Tato volba se li od volby Odebrat mezery mezi odstavci pod Vzhled a chov n v tom e skute n m n obsah HTML zat mco druh volba m n styly dokumentu Tato volba m e tak odebrat odstavce kter byly vlo eny pomoc volby Calibre Vlo it pr zdn dek Ensure scene breaks are consistently formatted Pomoc t to volby se Calibre pokus rozpoznat b n zna ky p eru en p b hu a zajistit aby byly zarovnan na st ed Zna k m m kk ho p eru en p b hu tj p eru en p b hu 1 4 P evod e knihy 61 U ivatelsk p
268. d often or contains a lot of redundant text The editor allows you to insert a snippet with only a few key strokes For example suppose you often find yourself inserting link tags when editing HTML files then you can simply type a in the editor and press Cont rol J The editor will expand it to a href filename gt lt a gt Not only that the word ilename will be selected with the cursor placed over it so that you can easily type in the real filename using the editor s nifty Automatick dokoncov n str nka 100 feature And once you are done typing the filename press Cont rol J again and the cursor will jump to the position in between the lt a gt tags so you can easily type in the text for the link The snippets system in the editor is very sophisticated there are a few built in snippets and you can create your own to suit your editing style The following discussion of the built in snippets should help illustrate the power of the snippets system Pozn mka You can also use snippets in the text entry fields in the Search and Replace panel however placeholders using Cont rol J to jump around will not work The built in snippets The built in snippets are described below Note that you can override them by creating your own snippets with the same trigger text Inserting filler text Lorem The first built in snippet and the simplest is used to insert filler text into a document The filler text is taken f
269. d pou it pro web CSS CSS ablony styl Cascading Style Sheets je jazyk pou it pro pops n jak by m l b t vykreslen dokument HTML vizu ln stylov n API API rozhran pro programov n aplikac Application Programming Interface je rozhran zdrojov ho k du kter knihovna poskytuje pro podporu po adavk na slu by kter na n j maj b t provedeny po ta ov mi programy 1 https www python org 282 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 LRF LRF Form t e knihy kter je ten te kami e knih SONY URL URL jednotn adresa zdroje Uniform Resource Locator nap klad http example com regexp Regul rn v razy poskytuj stru n a pru n zp sob pro identifikaci et zc zkouma n ho textu jako jsou ur it znaky slova nebo vzory znak Pod vejte se na syntaxi regexp lt https docs python org 2 7 library re html gt pro syntaxi regul rn ch v raz pou van ch v Pythonu 1 13 Slovn k pojm 283 U ivatelsk p ru ka Calibre Vyd n 2 46 0 284 Kapitola 1 Odd ly Rejst k modul Pythonu ca ca ca ca ca ca ca ca ca ca ca ca ca ca ca ca ca cal libre libre libre libr libre ebooks libre ebooks ibr customize 193 customize conversion 200 db cache 267 devices interface 202 198 libre ebooks libre ebooks libre ebooks libre ebooks libre ebooks li
270. d re test chapter book section part s i Tento v raz je pom rn slo it proto e se sna zpracovat velk po et b n ch p pad soub n To znamen e Calibre bude p edpokl dat e kapitoly za naj bu zna kou lt h gt nebo A2 kter obsahuj kter koliv z t chto slov kapitola kniha odd l nebo st nebo kter maj atribut class kapitola Souvisej c mo nost je Ozna en kapitol kter v m umo n ur it co Calibre ud l kdy rozpozn kapitolu Ve v choz m nastaven vlo konec str nky p ed kapitolu M ete ho nechat vlo it linku nam sto nebo nav c ke konci str nky M ete ho tak nechat ned lat nic V choz nastaven pro rozpozn v n konc str nek je x name 2 h1 or name h2 co znamen Ze Calibre ve v choz m nastaven vlo konce str nek p ed ka dou zna ku A1 a lt h2 gt Pozn mka V choz v razy se mohou m nit v z vislosti na vstupn m form tu kter p ev d te R zn V tomto odd lu je n kolik dal ch voleb Insert metadata as page at start of book Jednou ze skv l ch v c na Calibre je to e v m umo uje udr ovat velice kompletn metadata o v ech va ich knih ch nap klad hodnocen t tky koment e atd Tato mo nost vytvo jednoduchou str nku se v emi t mito metadaty a vlo ji do p eveden e knihy obvykle hned za ob lku Berte to jako z
271. da ca libre ebooks oeb polish container Container 274 common options atribut ca libre customize conversion InputFormatPlugin 201 common options atribut ca libre customize conversion OutputFormatPlugin custom field keys 202 compress news images atribut ca libre web feeds news BasicNewsRecipe 47 compress news images auto size atribut ca libre web feeds news BasicNewsRecipe 48 compress news images max size atribut ca libre web feeds news BasicNewsRecipe 48 config help message atribut ca libre ebooks metadata sources base Source 198 config widget atribut ca libre customize PreferencesPlugin 215 config widget metoda calibre customize Plugin 195 config widget t dn metoda ca libre devices interface DevicePlugin 207 ConfigWidgetBase t da v calibre gui2 preferences 216 ConfigWidgetInterface t da v calibre gui2 preferences 215 Container t da v calibre ebooks oeb polish container 273 contains 133 conversion_options atribut libre web feeds news BasicNewsRecipe 48 ca convert metoda calibre customize conversion InputFormatPlugin 201 convert metoda calibre customize conversion OutputFormatPlugin 202 copy_cover_to metoda calibre db cache Cache 268 copy_format_to metoda calibre db cache Cache 268 core_usage atribut ca libre customize conversion InputFormatPlugin 201 cover metoda calibre db cache Cache 268
272. daj c Polo ky v Prohl e i t tk m ete p etahovat na u ivatelsk kategorie pro jejich p id n do t to kategorie Pokud je zdrojem u ivatelsk kategorie podr en kl vesy Shift p i p eta en p esune polo ku do nov kategorie M ete tak p etahovat knihy ze seznamu knih na polo ky v Prohl e i t tk p eta en knihy na polo ku zp sob e polo ka bude automaticky pou ita na p eta enou knihu Nap klad p eta en knihy na Isaaca Asimova nastav autora t to knihy na Isaaca Asimova Jej p eta en na t tek Historick p id t tek Historick do t tk knihy 2x4 V horn sti Prohl e e t tk je panel hled n kter v m umo uje snadno naj t jakoukoliv polo ku v Prohl e i t tk Nav c m ete kliknout prav m tla tkem my i na kteroukoliv polo ku a zvolit jednu z n kolika operac N kter p klady jsou skr t ji p ejmenovat ji nebo otev t dialogov okno Spravovat x kter v m umo uje spravovat polo ky tohoto druhu Nap klad dialogov okno Spravovat autory v m umo uje p ejmenovat autory a ur it jak jsou azena jejich jm na Jak jsou polo ky v Prohl e i t tk azeny m ete ur it pomoc tla tka Upravit Prohl e t tk v doln sti Prohl e e t tk M ete si zvolit se azen podle n zvu pr m rn ho hodnocen nebo obl benosti obl benost je po et knih u polo ky
273. db mi db get_metadata book_id get_cover True cover_as_data True fmts db formats book_id if not fmts continue for fmt in fmts fmt fmt lower Get a python file object for the format This will be either an in memory file or a temporary on disk file ffile db format book_id fmt as_file True ffile seek 0 Set metadata in the format set_metadata ffile mi fmt ffile seek 0 Now replace the file in the calibre library with the updated file We dont use add_format_with_hooks as the hooks were already run when the file was first added to calibre db add_format book_id fmt ffile run_hooks False info dialog self Updated files Updated the metadata in the files of d book s len ids show True def config self self do user config parent self Apply the changes 1 9 Kurzy 177 U ivatelsk p ru ka Calibre Vyd n 2 46 0 self label setText prefs hello world msg Z sk n zdroj ze souboru zip modulu Syst m na t n dopl k Calibre definuje p r vestav n ch funkc kter v m umo uj pohodln z skat soubory ze souboru zip modulu get resources name or list of names Tato funkce by m la b t vol na se seznamem cest k soubor m uvnit souboru zip Nap klad pro p stup k souboru icon png v adres i images v souboru zip byste pou ili images icon png V dy pou vejte lom tko jako odd lova cesty dokonce i ve Win dows
274. de v m vlevo nab dnut seznam soubor Jsou to jednotliv sou bory HTML ablony styl obr zky atd kter tvo obsah knihy Jednodu e poklepejte na soubor pro spu t n jeho bovat zn t Kurz HTML a Kurz CSS Zat mco prov d te v editoru zm ny v HTML nebo CSS bude se vpravo v panelu n hledu zobrazovat iv n hled zm n Pokud jste spokojeni s t m jak vypadaj zm ny kter jste provedli klikn te na tla tko Ulo it nebo pou ijte Soubor gt Ulo it pro ulo en zm n do e knihy Jednou z u ite n ch funkc jsou Kontroln body Ne se pust te do n jak ambici zn sady prav m ete vytvo it kontroln bod Kontroln bod zachov aktu ln stav va knihy pak pokud se v budoucnu rozhodnete e se v m nel b zm ny kter jste provedli m ete se vr tit do stavu kdy jste vytvo ili kontroln bod Abyste vytvo ili kontroln bod pou ijte pravy gt Vytvo it kontroln bod Kontroln body budou pro v s tak automaticky vytvo eny kdykoliv spust te jak koliv automatizovan n stroj jako je glob ln hled n a nahrazov n Funkce kontroln ch bod je dopln k k norm ln mu mechanismu Zp t Znovu p i prav ch jednotliv ch soubor Kontroln body jsou u ite n kdy jsou zm ny rozd leny do v ce soubor v knize Toto je z kladn pracovn postup pro pravy knih Otev ete soubor prove te zm ny zkontrolujte je a ulo te Zbytek t to p ru ky probere r
275. debr n nebo nahrazen m ete pou t n stroj Zkontrolovat knihu Exportov n soubor Soubor zevnit knihy m ete exportovat n kam jinam ve va em po ta i To je u ite n pokud chcete pracovat na souboru izolovan pomoc specializovan ch n stroj Abyste to ud lali jednodu e klikn te prav m tla tkem my i na soubor a zvolte Exportovat Jakmile dokon te pr ci na exportovan m souboru m ete ho znovu importovat do knihy nov m kliknut m prav m tla tkem my i na soubor a v b rem Nahradit souborem co v m umo n nahradit soubor v knize d ve exportova n m souborem P id v n nov ch obr zk p sem atd nebo vytv en nov ch pr zdn ch soubor P idat nov obr zek p smo ablonu styl atd z va eho po ta e do knihy m ete kliknut m na Soubor gt Nov soubor To v m umo n bu importovat soubor kliknut m na tla tko Importovat zdrojov soubor nebo vytvo it nov pr zdn soubor HTML nebo ablonu styl jednodu e zad n m n zvu souboru do pole pro nov soubor M ete tak importovat v ce soubor do knihy najednou pomoc Soubor gt Importovat soubory do knihy Nahrazov n soubor Existuj c soubory v knize m ete snadno nahradit kliknut m prav m tla tkem my i na soubor a v b rem nahradit T m se automaticky aktualizuj v echny odkazy a reference pokud m nahrazuj c soubor jin n zev ne nahrazen soubor Efektiv
276. depending upon whether the field is standard or custom A from a standard field is named for the value in that field the standard series column contains the value Darkover collection name is Darkover A collection derived froma have the name of the field added to the valu For exampl This tweak is Collections on Sonys are named using If the folder does V characters in testlib eone library only applicable if collection derived For example if then the custom field will if a custom series r r column named My Series contains the name Darkover will by default be named Darkover My Series For purpo then th collection ses of this 222 Kapitola 1 Oddily U ivatelsk p ru ka Calibre Vyd n 2 46 0 documentation Darkover is called the value and My Series is called the category If two books have fields that generate the same collection name then both books will be in that collection This set of tweaks lets you specify for a standard or custom field how the collections are to be named You can use it to add a description to a standard field for example Foo Tag instead of the Foo You can also use it to force multiple fields to end up in the same collection For example you could force the values in s
277. der If you still cannot get the installer to work and you are on Windows you can use the calibre portable install which does not need an installer it is just a zip file My antivirus program claims calibre is a virus trojan The first thing to check is that you are downloading calibre from the official website http calibre ebook com download Make sure you are clicking the download links on the left not the advertisements on the right calibre is a very popular program and unscrupulous people try to setup websites offering it for download to fool the unwary If you have the official download and your antivirus program is still claiming calibre is a virus then your antivirus program is wrong Antivirus programs use heuristics patterns of code that look suspicious to detect viruses It s rather like racial profiling calibre is a completely open source product You can actually browse the source code yourself or hire someone to do it for you to verify that it is not a virus Please report the false identification to whatever company you buy your antivirus software from If the antivirus program is preventing you from downloading installing calibre disable it temporarily install calibre and then re enable it How do I backup calibre The most important thing to backup is the calibre library folder that contains all your books and metadata This is the folder you chose for your calibre library when you ran calibre for t
278. development environment Pozn mka You must also get the calibre source code separately as described above calibre is primarily developed on Linux You have two choices in setting up the development environment You can install the calibre binary as normal and use that as a runtime environment to do your development This approach is similar to that used in Windows and OS X Alternatively you can install calibre from source Instructions for setting up a development environment from source are in the INSTALL file in the source tree Here we will address using the binary as a runtime which is the recommended method Install calibre using the binary installer Then open a terminal and change to the previously checked out calibre code directory for example cd home kovid work calibre calibre is the directory that contains the src and resources sub directories The next step is to set the environment variable CALIBRE DEVELOP FROM to the absolute path of the src directory So following the example above it would be home kovid work calibre src How to set environment variables depends on your Linux distribution and what shell you are using Once you have set the environment variable open a new terminal and check that it was correctly set by using the command echo SCALIBRE DEVELOP FROM Setting this environment variable means that calibre will now load all its Python code from the speci
279. devices on system debug False only presence False Return True device info if a device handled by this plugin is currently connected Parametry devices on system List of devices currently connected detect managed devices devices on system force refresh False Called only if MANAGES DEVICE PRESENCE is True Scan for devices that this driver can handle Should return a device object if a device is found This object will be passed to the open method as the connected device If no device is found return None The returned object can be anything calibre does not use it it is only passed to open This method is called periodically by the GUI so make sure it is not too resource intensive Use a cache to avoid repeatedly scanning the system Parametry devices on system Set of USB devices found on the system e force refresh If True and the driver uses a cache to prevent repeated scanning the cache must be flushed debug managed device detection devices on system output Called only if MANAGES DEVICE PRESENCE is True Should write information about the devices detected on the system to output which is a file like object Should return True if a device was detected and successfully opened otherwise False reset key 1 log packets False report progress None detected device None Parametry 204 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 key The key to unlock the device
280. dku 249 disable markup chapter headings ebook convert volba p kazov ho dku 249 disable plugin calibre customize volba p kazov ho dku 230 disable remove fake margins ebook convert volba p kazov ho dku 250 disable renumber headings ebook convert volba p kazov ho dku 249 disable unwrap lines ebook convert volba pr kazov ho f dku 249 display calibredb add custom column volba p kazov ho dku 240 dont asciiize calibredb export volba p kazov ho dku 238 dont download stylesheets web2disk volba p kazov ho dku 259 dont notify gui volba p kazov ho dku 234 dont output resources volba p kazov ho Irf2lrs volba p kazov ho dku 257 dont replace calibredb add format volba p kazov ho dku 237 dont save cover calibredb export volba p kazov ho dku 238 dont split on page breaks ebook convert volba p kazov ho dku 246 dont update metadata calibredb export volba p kazov ho dku 238 dont write opf calibredb export volba p kazov ho dku 238 duplicate links in toc ebook convert volba p kazov ho dku 251 duplicates d calibredb add volba p kazov ho dku 236 edit book t calibre debug volba p kazov ho dku 231 embed all fonts ebook convert volba p kazov ho dku 247 embed font family ebook convert volba p kazov h
281. dno vr tit v echny zm ny Auto matick oprava funguje na z klad anal zy zna en pomoc algoritmu HTMLS kter je vysoce odoln proti 80 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 chyb m a pak p evodem na dob e vytvo en XML Po kozen nebo nezn m styly CSS Je nahl eno jak koliv CSS kter nen platn nebo kter m vlastnosti ne definovan ve standardu CSS 2 1 a n kolik z CSS 3 CSS je kontrolov no ve v ech ablon ch styl vlo en ch atribut styl a zna k ch lt style gt v souborech HTML Nefunk n odkazy Jsou nahl eny odkazy kter ukazuj na soubory uvnit knihy kter chyb Neodkazovan soubory Jsou nahl eny soubory v knize na kter neodkazuje dn jin soubor nebo nejsou v p te i R zn b n probl my v souborech OPF jako jsou duplicitn polo ky p te e nebo manifestu po kozen atributy idref nebo metazna ky ob lek chyb j c po adovan odd ly a tak d le R zn kontroly kompatibility na zn m probl my kter mohou zp sobit nefunk nost knihy ve tec ch za ze n ch P idat ob lku P idat ob lku knize m ete snadno pomoc N stroje gt P idat ob lku To v m umo n vybrat si jako ob lku existuj c obr zek v knize nebo importovat nov obr zek do knihy a ud lat z n j ob lku P i prav soubor EPUB je pro ob lku automaticky vygenerov no obaluj c HTML
282. dnocen viv Polo ky na vn j rovni v Prohl e i t tk jako jsou Auto i a S rie se naz vaj kategorie M ete si vytvo it sv vlastn kategorie nazvan U ivatelsk kategorie kter jsou u ite n pro organizov n polo ek Nap klad m ete pou t Editor u ivatelsk ch kategori klikn te na Upravit Prohl e t tk gt Spravovat autory t tky atd gt Spravovat u i vatelsk kategorie pro vytvo en u ivatelsk kategorie nazvan Ol ben auto i a pak um stit sv obl ben polo ky do kategorie U ivatelsk kategorie mohou m t podkategorie Nap klad u ivatelsk kategorie Obl ben Auto i je podkate gorie Obl ben Mo n tak m te Obl ben S rie v takov m p pad budou pod Obl ben dv podkategorie Podkate gorie mohou b t vytvo eny kliknut m prav m tla tkem my i na u ivatelskou kategorii v b rem P idat podkategorii do a zad n m n zvu podkategorie nebo pomoc Editoru u ivatelsk ch kategori zad n m n zv jako v e uveden p klad Obl ben V u ivatelsk ch kategori ch m ete vyhled vat stejn m zp sobem jako ve vestav n ch kategori ch kliknut m na n P i kliknut 1 v echno odpov daj c polo ce v kategorii ozna en jednoduch m zelen m znam nkem plus 2 v echno odpov daj c polo ce v kategorii nebo jej m podkategori m ozna en dv ma zelen mi zna m nky plus 3 v e
283. du se mohou zna n li it v z vislosti na vstupn m form tu N kter form ty se p ev d j mnohem l pe ne ostatn Seznam nejlep ch zdrojov ch form t pro p evod je dostupn zde str nka 106 Transformace kter se prov d j na v stupu XHTML je m sto kde se odehr v ve ker pr ce Existuj r zn trans formace nap klad pro vlo en metadat knihy jako str nky na za tek knihy pro rozpozn n nadpis kapitol a au tomatick ho vytvo en obsahu pro proporcion ln zm nu velikosti p sma a tak d le Je d le it si zapamatovat e v echny transformace se prov d j na v stupn m XHTML pomoc vstupn ho modulu ne na samotn m vstupn m sou boru Tak e nap klad kdy po d te Calibre aby p evedlo soubor RTF na EPUB tak bude nejd ve vnit n p eveden na XHTML na toto XHTML budou pou ity r zn transformace a pak v stupn modul vytvo soubor EPUB auto maticky vygeneruje v echna metadata obsah a tak d le 1 4 P evod e knihy 57 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Tento proces m ete vid t v akci pou it m volby lad n Sta zadat cestu k adres i pro v stup lad n B hem p evodu Calibre um st XHTML generovan r zn mi f zemi p evodn ho et zce do r zn ch podadres ty i podadres e jsou Tabulka 1 2 F ze p evodn ho et zce Adres Popis vstup Obsahuje v stup HTML ze vstupn ho modulu
284. duces a value for series index or if you are reading metadata from books and the import plugin produces a value than that value will be used irrespective of the setting of the tweak Series index auto increment next use series auto increment tweak when importing False Examples Add separator after completing an author name Should the completion separator be append to the end of the completed text to automatically begin a new completion operation for authors Can be either True or False authors_completer_append_separator False Author sort name algorithm The algorithm used to copy author to author_sort 218 Kapitola 1 Oddily U ivatelsk p ru ka Calibre Vyd n 2 46 0 Possible values are f invert use fn in gt In fn copy copy author to author sort without modification comma use copy if there is a in the name otherwise use invert f nocomma fn in gt In fn without the comma When this tweak is changed the author sort values stored with each author must be recomputed by right clicking on an author in the left hand tags pane selecting manage authors and pressing Recalculate all author sort values The author name suffixes are words that are ignored when they occur at the end of an author name The case of the suffix is i
285. dy s vodn nulou 00 a 59 ap pou t 12hodinovy form t nam sto 24hodinov ho form tu kde je ap nahrazeno lokalizovan m et zcem pro am nebo pm AP pou t 12hodinov form t nam sto 24hodinov ho form tu kde je AP nahrazeno lokalizovan m et zcem pro AM nebo PM iso datum s asem a asovou z nou Mus b t p tomen jedin form t format number hodnota ablona class calibre utils formatter functions BuiltinFormatNumber format number hodnota ablona form tuje slo hodnota pomoc ablony form tov n Pythonu jako je 0 5 2f nebo 0 d nebo 0 5 2f Sou st ablony n zev pole mus b t 0 nula 0 ve v e uve den ch p kladech Pro v ce p klad se pod vejte na jazyk ablony a do dokumentace Pythonu Vrac pr zdn et zec pokud form tov n sel e human readable hodnota class calibre utils formatter functions BuiltinHumanReadable 2x7 human_readable hodnota vrac et zec p edstavuj c slo v KB MB GB atd Get values from metadata approximate_formats class calibre utils formatter functions BuiltinApproximateFormats approximate formats vrac rkami odd len seznam form t kter sv ho asu byly p idru eny ke knize Nen dn z ruka e je tento seznam spr vn a koliv nejsp je Tato funkce m e b t vol na v re imu ab lony programu pomoc ablony approximate form
286. e class calibre ebooks metadata sources base InternalMetadataCompareKeyGen mi source plugin title au thors iden ti fiers Generate a sort key for comparison of the relevance of Metadata objects given a search query This is used only to compare results from the same metadata source not across different sources The sort key ensures that an ascending order sort is a sort by order of decreasing relevance The algorithm is Prefer results that have at least one identifier the same as for the query Prefer results with a cached cover URL Prefer results with all available fields filled in Prefer results with the same language as the current user interface language Prefer results that are an exact title match to the query Prefer results with longer comments greater than 1046 longer Use the relevance of the result as reported by the metadata source s search engine Conversion plugins class calibre customize conversion InputFormatPlugin args Nadt dy calibre customize Plugin str nka 194 InputFormatPlugins are responsible for converting a document into HTML OPF CSS etc The results of the conversion must be encoded in UTF 8 The main action happens in convert str nka 201 file types set Set of file types for which this plugin should be run For example set azw mobi prc 200 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 is image c
287. e str nka 138 and general program mode str nka 159 Many functions use regular expressions In all cases regular expression matching is case insensitive The functions available are listed below Note that the definitive documentation for functions is available in the section Function classification str nka 143 lowercase return value of the field in lower case uppercase return the value of the field in upper case titlecase return the value of the field in title case e capitalize return the value with the first letter upper case and the rest lower case e contains pattern text if match text if not match checks if field contains matches for the regular expression pattern Returns text if match if matches are found otherwise it returns text if no match count separator interprets the value as a list of items separated by separator returning the num ber of items in the list Most lists use a comma as the separator but authors uses an ampersand Examples tags count authors count amp e format number template interprets the value as a number and format that number using a python formatting template such as 0 5 2f or 0 d or 0 5 2f The field name part of the template must be a 0 zero the 0 in the above examples See the template language and python documentation for more examples Returns the empty string if formatting fails e human reada
288. e DevicePlugin 203 opf atribut calibre ebooks oeb polish container Container 275 opf get or create metoda ca libre ebooks oeb polish container Container 275 opf_version atribut ca libre ebooks oeb polish container Container 275 opf xpath metoda ca libre ebooks oeb polish container Container 2775 options atribut calibre customize conversion InputFormatPlugin 201 options atribut calibre customize conversion OutputFormatPlugin 202 options atribut calibre ebooks metadata sources base Source 198 OSX MAIN MEM VOL PAT atribut ca libre devices usbms device Device 211 output encoding atribut ca libre customize conversion InputFormatPlugin 201 OutputFormatPlugin t da v ca libre customize conversion 202 P p edpis 282 parse_feeds metoda ca libre web feeds news BasicNewsRecipe 45 parse index metoda ca libre web feeds news BasicNewsRecipe 45 parsed metoda calibre ebooks oeb polish container Container 215 path sep atribut calibre devices interface DevicePlugin 203 Plugin t da v calibre customize 194 populate article metadata metoda ca libre web feeds news BasicNewsRecipe 46 popup type atribut calibre gui2 actions InterfaceAction 212 304 Rejst k U ivatelsk p ru ka Calibre Vyd n 2 46 0 post yank cleanup metoda libre devices interface DevicePlugin 205 postimport metoda calibre customize FileTypePlugi
289. e file specified by output Parametry output Either a file like object or a string If it is a string it is the path to a directory that may or may not exist The output plugin should write its output into that directory If it is a file like object the output plugin should write its output into the file input plugin The input plugin that was used at the beginning of the conversion pipeline opt s Conversion options Guaranteed to have attributes corresponding to the OptionRe commendations of this plugin log The logger Print debug info messages etc using this specialize css for output log opts item stylizer Can be used to make changes to the css during the CSS flattening process Parametry item The item HTML file being processed stylizer A Stylizer object containing the flattened styles for item You can get the style for any element by stylizer style element gui configuration widget parent get option by name get option help db book id None Called to create the widget used for configuring this plugin in the calibre GUI The widget must be an instance of the PluginWidget class See the builtin output plugins for examples Device Drivers The base class for all device drivers is DevicePlugin str nka 203 However if your device exposes itself as a USBMS drive to the operating system you should use the USBMS class instead as it implements all the logic needed 202 Kapitola 1 Odd ly
290. e lem M Panel iv CSS zobraz v echna pravidla styl kter jsou pou ita na zna ku kterou pr v upravujete Je zobrazen n zev zna ky spole n s jej m slem dku v editoru n sledovan seznamem odpov daj c ch pravidel styl Je to skv l zp sob jak rychle zjistit kter pravidla styl jsou pou ita na jakoukoliv zna ku Zobrazen m tak kliknuteln odkazy mod e kter v s p enesou p mo na m sto kde byl styl definov n pokud chcete prov st jak koliv zm ny v pravidlech stylu Jsou zobrazen pravidla styl kter jsou pou ita p mo na zna ku stejn jako pravidla kter jsou zd d na z nad azen ch zna ek Panelu tak ukazuje jak jsou kone n vypo tan styly pro zna ku Vlastnosti v seznamu kter jsou nahrazeny xx pravidly s vy prioritou jsou zobrazeny p e krtnuty rou 1 5 prava e knih 87 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Panel iv CSS m ete povolit pomoc Zobrazen gt iv CSS 1 5 8 R zn n stroje Je zde n kolik dal ch n stroj kter mohou b t u ite n p i prav ch knihy Zobrazen obsahu Zobrazen obsahu ukazuje aktu ln obsah v knize Poklep n m na jakoukoliv polo ku se v editoru otev e m sto na kter polo ka ukazuje Pro pravu obsahu aktualizaci zobrazen nebo rozbalen a sbalen v ech polo ek m ete kliknout prav m tla tkem my i Toto zobrazen je p stupn
291. e previously checkpointed container is used show editor name Show the editor that is editing the file specified by name sync preview to editor Sync the position of the preview panel to the current cursor position in the current editor 1 13 Slovn k pojm RSS RSS Really Simple Syndication je form t webov ho informa n ho kan lu kter se pou v k publikov n asto aktualizovan ho obsahu jako jsou novinov l nky p sp vky blogu atd Je to form t kter je obzvl vhodn pro ten po ta i a je proto up ednost ovan m zp sob z sk v n obsahu z webu do e knihy Existuje mnoho dal ch form t informa n ch kan l pou van ch na internetu a calibre rozum v t in z nich Zejm na m dobrou podporu pro form t ATOM kter se obvykle pou v pro blogy p edpis P edpis je sada instrukc kter u calibre jak p ev st na e knihu online zdroje zpr v jako jsou asopisy nebo blogy P edpis je v podstat k d Pythonu Jako takov je schopn p ev st na e knihy libovoln slo it zdroj zpr v Na nejjednodu rovni je to pouze sada prom nn ch jako jsou URL kter d vaj calibre dostatek informac pro p ejit na internet a sta en zpr v HTML HTML zna kovac jazyk pro hypertext HyperText Markup Language podmno ina SGML univerz ln zna kovac metajazyk Standard Generalized Markup Language pro elektronick publikov n je konkr tn standar
292. e storyextra so it may not need removing I have no clue what it does other than it contains links Whatever it is it is not part of the article and is not wanted puffbox reg exp puffbox x Remove sibtbg and sibtbgf some kind of table formatting classes sibtbg reg exp sibtbg x Remove storyextra links to relevant articles and external sites storyextra reg exp story xextra remove tags dict name div attrs class re compile story_feature_reg_exp re IGNORECASE dict name div attrs class re compile share_help_reg_exp re 1GNORECASE dict name div attrs class re compile embedded hyper reg exp re IGNORECASI dict name div attrs class re compile hypertabs reg exp re IGNORECASE dict name div attrs class re compile video reg exp re IGNORHCASE dict name div attrs class re compile audio reg exp re IGNORHCASE dict name div attrs class re compile picture gallery reg exp re IGNORECA dict name div attrs class re compile slideshow_reg_exp re IGNORECASE dict name div attrs class re compile guote reg exp re IGNORHCASE dict name div attrs class re compile hidden reg exp re IGNORECASE dict name div attrs class re compile comment reg exp re IGNQRECASE dict name div attrs class re compile story actions reg exp re IGNORECASE dict name div attrs class re compile bookmark lis
293. e None shortcut must be a string None or tuple of shortcuts If None a keyboard shortcut corresponding to the action is not registered If you pass an empty tuple then the shortcut is registered with no default key binding 212 Kapitola 1 Oddily U ivatelsk p ru ka Calibre Vyd n 2 46 0 action add menu False If True a menu is automatically created and added to self gaction action menu clone gaction False If True a clone of self gaction is added to the menu of self gaction If you want the text of this action to be different from that of self qaction set this variable to the new text dont add to frozenset Set of locations to which this action must not be added See a11 locations for a list of possible locations dont remove from frozenset Set of locations from which this action must not be removed See all locations fora list of possible locations action type global Type of action current means acts on the current view global means an action that does not act on the current view but rather on calibre as a whole accepts drops False If True then this InterfaceAction will have the opportunity to interact with drag and drop events See the methods accept enter event meth accept drag move event drop event for details accept enter event event mime data This method should return True iff this interface action is capable of handling the drag event Do not ca
294. e Windows je to obvykle C Program Files Calibre2resources V OS X Applications calibre app Contents Resources resources V Linuxu pokud pou v te bi n rn instala n bal ek z webov str nky Calibre to bude opt calibre resources Tyto cesty se m ou m nit v z vislosti na tom kam si zvol te nainstalovat Calibre yey Soubory v t to slo ce zdroj byste nem li m nit proto e va e zm ny budou p epsa ny p i p t aktualizaci Calibre Nam sto toho p ejd te do P edvolby gt Roz en gt R zn a klikn te na Otev t konfigura n adres Calibre V tomto konfigura n m adres i vytvo te podslo ku nazvanou resources a um st te do n soubory kter chcete p epsat Um st te soubory do p slu n ch podslo ek nap klad obr zky um st te do resources images atd Calibre automaticky weve pou ije p i p t m spu t n v vlastn soubor p ednostn p ed vestav n m Nap klad pokud chcete zm nit ikonu pro akci Odebrat knihy nejd ve byste se pod vali do vestav n slo ky resources a vid li byste e odpov daj c soubor je resources images trash png Pokud m te alternativn ikonu ve form tu PNG nazvanou mytrash png ulo ili byste ji do konfigura n ho adres e jako resources images trash png V echny ikony pou it u ivatelsk m rozhran m Calibre jsou v resources images a jeho podslo k ch 1 10 5 Vytvo en vlastn ho motivu ikon pro Cali
295. e as an exercise for the reader Finally you can add downloaded news to the calibre library with opt calibre calibredb add with library path to library outfile epub Remember to read the command line documentation section of the calibre User Manual to learn more about these and other commands 1 9 Kurzy Zde naleznete kurzy abyste mohli za t pou vat pokro ilej funkce Calibre jako jsou XPath a ablony TRA 1 9 1 Spr va podskupin knih nap klad nr N kte lid si cht j uspo dat knihy ve sv knihovn do podskupin podobn ch podslo k m Nejb n ji ud van d vod je vytvo it hierarchie nr ale je mnoho dal ch Jeden u ivatel po adoval zp sob jak uspo dat u ebnice podle p edm tu a sla kurzu Dal u ivatel cht l sledovat d rky podle p edm tu a p jemce Tato v uka pou ije p klad nru po zbytek tohoto p sp vku Ne budete pokra ovat pamatujte e nemluv me o slo k ch na pevn m disku Podskupiny nejsou slo ky soubor Knihy nebudou nikam kop rov ny Struktura soubor knihovny Calibre nen ovlivn na Nam sto toho p edstavujeme zp sob jak uspo dat a zobrazit podskupiny knih v knihovn Calibre 70http calibre ebook com download portable 126 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 Nastaven str nka 128 Hled n str nka 130 Omezen str nka 130
296. e automatically filled in with whatever you type in the first position when you press Cont rol J The definition for this snippet is Trigger Template lt 1 gt 1 2x lt 1 gt 3 As you can see the first placeholder 1 has been specified twice the second time in the closing tag which will simply copy whatever you type in the opening tag Inserting an arbitrary HTML tag with a class attribute c This is very similar to the insert arbitrary tag example above except that it assumes that you want to specify a class for the tag 1 5 prava e knih 97 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Trigger lt c Template 1 class 2 classname gt 3 lt S1 gt 4 This will allow you to first type the tag name press Cont rol J type the class name press Cont rol J type the contents of the tag and press Cont rol J one last time to jump out of the tag The closing tag will be auto filled Creating your own snippets Snippets really shine because you can create your own to suit your editing style To create your own snippets go to Edit Preferences Editor settings Manage snippets in the editor This will pop up an easy to use dialog to help you create your own snippets Simply click the Add snippet button and you will see a dialog that looks like Create a snippet For help with snippets see the User Manual Name The name of this snippet Trigger The
297. e customize PreferencesPlugin 215 name_to_abspath metoda ca libre ebooks oeb polish container Container 215 name to href metoda ca libre ebooks oeb polish container Container 275 names that must not be changed atribut ca libre ebooks oeb polish container Container 275 names that must not be removed atribut ca libre ebooks oeb polish container Container 275 names that need not be manifested atribut ca libre ebooks oeb polish container Container 215 needs subscription atribut ca libre web feeds news BasicNewsRecipe 49 NEWS IN FOLDER atribut ca libre devices usbms device Device 211 no stylesheets atribut ca libre web feeds news BasicNewsRecipe 49 normalize path tf dn metoda ca libre devices usbms driver USBMS 212 NUKE COMMENTS atribut ca libre devices interface DevicePlugin 203 O oldest article atribut ca libre web feeds news BasicNewsRecipe 50 on import atribut calibre customize FileTypePlugin 196 on postimport atribut ca libre customize FileTypePlugin 196 on postprocess atribut ca libre customize FileTypePlugin 196 on preprocess atribut libre customize FileTypePlugin 196 open metoda calibre devices interface DevicePlugin ca 205 open metoda calibre ebooks oeb polish container Container 275 open book metoda ca libre gui2 tweak book boss Boss 281 OPEN FEEDBACK MESSAGE atribut ca libre devices interfac
298. e jin kniha Umo uje v m zvolit adres Adres a v echny jeho podadres e jsou prohled ny rekurzivn a v echny nalezen e knihy jsou p id ny do knihovny Calibre p edpokl d e ka d adres obsahuje v ce knih V echny soubory e knih se stejn m n zvem v adres i jsou pova ov ny za stejnou knihu v jin ch form tech E knihy s jin mi n zvy jsou p id ny jako jin knihy 4 P idat v ce knih z archivu ZIP nebo RAR Umo uje v m p idat v ce e knih kter jsou ulo eny ve vy bran ch souborech ZIP nebo RAR Je to vhodn zkratka kter zabra uje tomu abyste museli nejd ve rozbalit archiv a potom p idat knihy prost ednictv m jedn ze dvou v e uveden ch voleb 5 P idat pr zdnou knihu Z znam knihy bez form t Umo uje v m vytvo it pr zdn z znam knihy To m e b t pou ito pro n sledn ru n vypln n informac o knize kterou je t nemus te m t ve sv sb rce 6 P idat z ISBN Umo uje v m p idat jednu nebo v ce e knih zad n m jejich ISBN 7 P idat soubory do vybran ch z znam knih Umo uje v m p idat nebo aktualizovat soubory p idru en k existuj c knize ve va knihovn Akce P idat knihy m e st metadata z irok nab dky form t e knih Nav c se pokus odhadnout metadat z n zvu souboru Pod vejte se na odd l Odhadov n metadat z n zv soubor str nka 15 abyste zjistili jak toto konfigurovat 4 Kapitol
299. e metadata list named by name without applying any format ting or sorting and with items separated by separator re group val pattern template for group 1 for group 2 return a string made by applying the regular expression pattern to the val and replacing each matched instance with the string computed by replacing each matched group by the value returned by the corresponding template The original matched value for the group is available as In template program mode like for the template and the eval functions you use for and for The following example in template program mode looks for series with more than one word and uppercases the first word sSeries re group S uppercase I S1 e series sort returns the series sort value e strcat a b can take any number of arguments Returns a string formed by concatenating all the arguments e strcat max max stringl prefix2 string2 Returns a string formed by concatena ting the arguments The returned value is initialized to stringl Prefix string pairs are added to the end of the value as long as the resulting string length is less than max Stringl is returned even if stringl is longer than max You can pass as many prefix string pairs as you wish e strcmp x y lt eq gt does a case insensitive comparison x and y as strings Returns 1t if x lt y Returns eq if x y Otherwise returns gt
300. e pou t SSI nebo propracovan j ho ov ov n Jsou dva hlavn postupy Spu t n serveru s obsahem calibre jako samostatn ho procesu a pou it reverzn proxy k propojen s va m hlavn m serverem nebo spu t n serveru s obsahem v procesu ve va em hlavn m serveru s WSGI P klady n e jsou v echny pro Apache 2 x na Linuxu ale m ly by b t snadno p izp sobiteln na jin platformy Obsah Pou v n reverzn proxy str nka 168 e V r mci procesu str nka 169 Pozn mka Toto plat pouze pro vyd n calibre gt 0 7 25 Pou v n reverzn proxy Reverzn proxy je kdy v norm ln server p ij m p choz po adavky a p ed v je serveru Calibre Pak p e te od pov od serveru Calibre a p ed ji klientovi To znamen e m ete jednodu e spustit server Calibre jako norm ln ani byste se ho sna ili zce integrovat s va m hlavn m serverem a m ete vyu t jak koliv p hodn syst my ov o v n kter m v hlavn server Toto je nejjednodu p stup proto e v m umo uje pou t bin rn instalaci Calibre bez dn ch po adavk na extern z vislosti nebo syst movou integraci N e je p klad jak toho dos hnout s Apache jako va m hlavn m serverem ale bude to fungovat s jak mkoliv serverem kter podporuje reverzn proxy Nejd ve spus te server s obsahem calibre jak je zobrazeno n e cali
301. e renumber headings 249 disable unwrap lines 249 dont split on page breaks 246 duplicate links in toc 251 embed all fonts 247 embed font family 247 enable heuristics 249 epub flatten 246 epub inline toc 246 epub toc at end 246 expand css 247 extra css 247 extract to 246 filter css 247 flow size 246 font size mapping 248 help h 245 html unwrap factor 249 input encoding 246 input profile 245 insert blank line 248 insert blank line size 248 insert metadata 250 isbn 252 keep ligatures 248 language 252 levell toc 251 level2 toc 251 level3 toc 251 line height 248 linearize tables 248 list recipes 245 margin bottom 248 margin left 248 margin right 248 margin top 248 max toc links 251 minimum line height 248 no chapters in toc 251 no default epub cover 246 no svg cover 246 output profile 245 page breaks before 250 prefer metadata cover 250 preserve cover aspect ratio 246 pretty print 247 pubdate 252 publisher 252 rating 252 read metadata from opf m 252 remove first image 250 remove paragraph spacing 248 remove paragraph spacing indent size 248 replace scene breaks 249 search replace 250 series 252 series index 252 Rejst k 299 U ivatelsk p ru ka Calibre Vyd n 2 46 0
302. e tato volba povolena Samotn dokument je pou it jako slovn k pro anal zu To umo uje Calibre p esn odebrat spojovn ky pro jak koliv slova v dokumentu v jak mkoliv jazyce spole n s vymy len mi a nezn m mi v deck mi slovy Prim rn nev hodou je e slova objevuj c se v dokumentu pouze jednou nebudou zm n na Anal za prob h ve dvou pr chodech prvn pr chod analyzuje konce dk dk m je zru eno zalomen pouze pokud v dokumentu slovo existuje s nebo bez spojovn ku Druh pr chod analyzuje v echna slova rozd len spojovn ky v cel m dokumentu spojovn ky jsou odebr ny pokud slovo existuje n kde jinde v dokumentu bez shody Italicize common words and patterns Pokud je povoleno bude Calibre hledat obecn slova a vzory kter ozna uj kurz vu a p evede je na kurz vu P kladem jsou obecn textov z sady jako je slovo nebo fr ze kter by obecn m ly b t kurz vou nap latinsk fr ze jako jsou etc nebo et cetera Replace entity indents with CSS indents N kter dokumenty pou vaj z sadu definov n odsazen textu pomoc entit pevn ch mezer Kdy je tato volba povolena Calibre se pokus rozpoznat tento druh form tov n a p ev st je na 3 odsazen textu pomoc CSS 1 4 5 Hledat a nahradit Tyto volby jsou u ite n p edev m pro p evody dokument PDF nebo p evody OCR i kdy mohou b t tak pou ity pro opravu mnoha konkr tn
303. e template The values of the fields are cleaned replacing characters that are special to file systems with underscores including slashes This means that field text cannot be used to create folders However slashes are not changed in prefix or suffix strings so slashes in these strings will cause folders to be created Because of this you can create variable depth folder structure For example assume we want the folder structure series series_index title with the caveat that if series does not exist then the title should be in the top folder The template to do this is series series_index title The slash and the hyphen appear only if series is not empty The lookup function lets us do even fancier processing For example assume that if a book has a series then we want the folder structure series series index title fmt If the book does not have a series then we want the folder structure genre author sort title fmt If the book has no genre we want to use Unknown We want two completely different paths depending on the value of series To accomplish this we 1 Create a composite field call it AA containing series series_index title Ifthe series is not empty then this template will produce series series_index title 2 Create a composite field call it BB containing genre ifempty Unknown author_sort title This template produces genre author_sort
304. eci ln hodnoty yes no a empty nejsou p elo eny Hierarchick polo ky nap A B C pou vaj roz enou syntaxi pro porovn n po te n ch st hierarchie To se prov d p id n m te ky mezi indik tor p esn shody a text Nap klad dotaz tags A nalezne t tky A a A B ale nenalezne t tky AA nebo AA B Dotaz tags A B nalezne t tky A B a A B C ale ne t tek A Identifik tory nap isbn doi lccn atd tak pou vaj roz enou syntaxi Za prv pamatujte e identifik tor m podobu t ype value jako u isbn 123456789 Roz en syntaxe umo uje zadat nez visle na sob jak typ a hodnotu hledat C sti dotazu typ a hodnota mohou pou t porovn n rovnost obsahuje nebo regul rn v raz P klady identifiers true najde knihy s jak mkoliv identifik torem identifiers false najde knihy bez identifik toru e identifiers 123 bude hledat knihy s jak mkoliv typem maj c m hodnotu obsahuj c 723 identifiers 123456789 bude hledat knihy s jak mkoliv typem maj c m hodnotu rovnaj c se 123456789 identifiers isbn aidentifiers isbn true najde knihy s typem rovnaj c m se isbn maj c m jakoukoliv hodnotu e identifiers isbn false najde knihy s dn m typem rovnaj c m se isbn e identifiers isbn 123 najde knihy s typem rovnaj c m se isbn maj c m hodnotu obsahuj c 123 identifiers isbn 123456789 najde knihy s typem r
305. econd Foundation calibre automatically removes multiple slashes and leading or trailing spaces Advanced formatting You can do more than just simple substitution with the templates You can also conditionally include text and control how the substituted data is formatted First conditionally including text There are cases where you might want to have text appear in the output only if a field is not empty A common case is series and series index where you want either nothing or the two values with a hyphen between them Calibre handles this case using a special field syntax For example assume you want to use the template series series index title If the book has no series the answer will be title Many people would rather the result be simply title without the hyphens To do this use the extended syntax field prefix text suffix text When you use this syntax if field has the value SERIES then the result will be prefix_textSERIESsuffix_text If field has no value then the result will be the empty string nothing the prefix and suffix are ignored The prefix and suffix can contain blanks Do not use subtemplates or functions see below as the prefix or the suffix Using this syntax we can solve the above series problem with the template 134 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 series series index
306. ed p sma ve va em po ta i a pokud jsou nalezena budou vlo ena do dokumentu Ujist te se Ze m te dnou licenci pro vkl d n p sem pou it ch v tomto dokumentu help h zobrazit tuto zpr vu n pov dy a ukon it jacket j Vlo it na za tek knihy str nku p ebalu knihy kter obsahuje v echna metadata knihy jako jsou n zev t tky auto i s rie koment e atd Jak koliv p edchoz p ebal knihy bude nahrazen opf o Cesta k souboru OPF Metadata v knize jsou aktualizov na ze souboru OPF remove jacket Odebrat d ve vlo enou str nku p ebalu knihy remove unused css u Odebrat v echna nepou van pravidla CSS ze ablon styl a zna ek lt style gt N kter knihy vytvo en pomoc v robn ch ablon mohou m t velk po et dodate n ch pravidel CSS kter neodpov daj skute n mu obsahu Tato dodate n pravidla mohou zpomalovat te ky kter je mus v echny analyzovat smarten punctuation p P ev st poml ky t i te ky uvozovky v cen sobn poml ky atd v prost m textu na jejich typograficky spr vn ekvivalenty Pamatujte e algoritmus m e n kdy generovat nespr vn v sledky obzvl t pokud se to t k jednoduch ch uvozovek na za tku zkr cen ch tvar subset fonts f ste n vkl d n p sem znamen zmen en vlo en ho p sma aby obsahovalo pouze znaky pou it z tohoto p sma v knize To zna n zmen
307. ed n pomoc Prohl e e t tk A budete spokojen s vr cen mi v sledky klikn te na tla tko Virtu ln knihovna zvolte Vytvo it virtu ln knihovnu a zadejte n zev pro novou virtu ln knihovnu Virtu ln knihovna pak bude vytvo ena na z klad hled n kter jste pr v zadali Hled n jsou velice v konn pro p klady druh v c kter s nimi m ete d lat se pod vejte na Rozhran hled n str nka 11 P klady u ite n ch Virtu ln ch knihoven Knihy p idan do calibre za posledn den date gt 1daysago Knihy p idan do calibre za posledn m s c date gt 30daysago Knihy s hodnocen m 5 hv zdi ek rating 5 Knihy s hodnocen m alespo 4 hv zdi ky rating gt 4 Knihy bez hodnocen rating false Periodika stahovan funkc Na st zpr vy v calibre tags Zpr vy and author calibre Knihy bez t tk tags false Knihy bez ob lek cover false 192 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 Pr ce s Virtu ln knihovnou Upravit d ve vytvo enou virtu ln knihovnu nebo ji odebrat m ete kliknut m na tla tko Virtu ln knihovna a zvole n m p slu n akce P ejit m na P edvolby gt Chov n m ete ct calibre e chcete v dy pou t ur itou virtu ln knihovnu kdy je ote v ena aktu ln knihovna Kdy pou v te server s obsahem calibre m ete ho nechat sd let virtu ln
308. ed to endnotes with backlinks for maximum ease of use in ebook devices lt p gt lt h2 id id Toc359077859 class block4 gt Dropcaps lt h2 gt div class frame gt p class block27 gt D lt p gt lt div gt lt p class block28 gt rop caps are used to emphasize the leading paragraph at the start of a section In Word it is possible to specify how many lines of text a drop cap should use Because of limitations in ebook technology this is not possible when converting Instead the converted drop cap will use font size and line height to sinulate the effect as well as possible While not as good as the original the result is usually tolerable This paragraph has a D dropcap set to File Preview Structural Elements TA Miscellaneous structural elements you can add to your document like footnotes endnotes dropcaps and the like Footnotes amp Endnotes Footnotes and endnotes are automatically recognized and both are converted to endnotes with backlinks for maximum ease of use in ebook devices Dropcaps rop caps are used to emphasize the leading D paragraph at the start of a section In Word it is possible to specify how many lines of text a drop cap should use Because of limitations in ebook technology this is not possible when converting Instead the converted drop cap will use font size and line height to simulate the effect as well as possible While not as good as the original the result is usua
309. ee forty four again But he d have aged too Probably more than she had war was no seaside picnic on a summer s afternoon muc EIE IH SM ns Toto slo m ete pou t pro jednozna n odkazy na sti knih kdy o nich diskutujete s p teli nebo na n odkazujete v jin ch prac ch Tato sla m ete zadat do pole ozna en ho P ej t na v horn sti okna pro p ejit na konkr tn m sto odkazu Pokud kliknete na odkazy uvnit e knihy aby v s p enesli na r zn sti knihy jako je vysv tlivka m ete pou t tla tka Zp t a Vp ed v lev m horn m rohu pro n vrat tam kde jste byli Tato tla tka se chovaj stejn jako ta v internetov m prohl e i 54 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 1 3 3 P izp soben vzhledu a chov n va eho z itku ze ten M ete zm nit velikosti p sem za chodu pomoc tla tek velikosti p sma M ete tak p epnout prohl e na celou obrazovku stisknut m tla tka P epnout na celou obrazovku Kliknut m na tla tko P edvolby zie e m ete zm nit v choz p sma pou it prohl e em na takov kter se v m l b stejn jako v choz velikost p sma po spu t n prohl e e DEA nastavit aby se pou ila na ka dou knihu Pomoc n m ete d lat v ci jako jsou b l text na ern m pozad zm na styl odstavce zarovn n textu do bloku atd Pro p klady vlas
310. eferences gt Sharing by Email in calibre and click the Use GMX button and fill in the information asked for calibre will then use GMX to send the mail If you are sending to your Kindle remember to update the email preferences on your Amazon Kindle page to allow email sent from your GMX email address Also note that Amazon does not allow email delivery of AZW3 and new style KF8 MOBI files Even after doing this you may have problems One common source of problems is that some poorly designed antivirus programs block calibre from opening a connection to send email Try adding an exclusion for calibre in your antivirus program Pozn mka Microsoft Google Gmx can disable your account if you use it to send large amounts of email So when using Hotmail Gmail to send mail calibre automatically restricts itself to sending one book every five minutes If you Phttp www gmx com 1 8 Nej ast j dotazy 113 U ivatelsk p ru ka Calibre Vyd n 2 46 0 don t mind risking your account being blocked you can reduce this wait interval by going to Preferences gt Tweaks in calibre Pozn mka Google recently deliberately broke their email sending protocol SMTP support in an attempt to force everyone to use their web interface so they can show you more ads They are trying to claim that SMTP is insecure that is incorrect and simply an excuse If you have trouble with gmail you will need to allow less secure apps as d
311. eg exp xstory actions S lt div class bookmark list gt Used on sports pages instead of share help for social networking links bookmark list reg exp xbookmark list S lt div id secondary content class content group NOTE Don t remove class content group that is needed Used on sports pages to link to similar stories secondary content reg exp secondary content lt div id featured content class content group gt NOTE Don t remove class content group that is needed Used on sports pages to link to pages like tables fixtures etc featured content reg exp featured xcontent x f lt div id navigation gt 1 2 P id v n obl ben ch webov ch str nek se zpr vami 35 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Used on sports pages to link to pages like tables fixtures etc Used sometimes instead of featured content above navigation reg exp xnavigation x f a class skip href blq container inner gt Skip to top lt a gt Used on sports pages to link to the top of the page skip reg exp xskip x Extra things to remove due to the addition of storycontent in keep only tags which are the alterative table design based pages The purpose of some of these is not entirely clear from the pages which are a total mess Remove mapping based tags Eg
312. elikosti p sma Algoritmus zm ny velikosti p sma funguje pomoc kl e velikosti p sma co je jednodu e rkami odd len seznam velikost p sma Kl velikost p sma k Calibre o kolik krok v t nebo men by m la dan velikost p sma b t v porovn n s z kladn velikost p sma P edpokl d se e by v dokumentu m l b t omezen po et velikost p sma Nap klad jedna velikost pro z kladn text n kolik velikost pro r zn rovn nadpis a n kolik velikost pro horn nebo doln indexy a pozn mky pod arou Kl velikosti p sma umo uje Calibre roz lenit velikosti p sma ve vstupn ch dokumentech do samostatn ch ko odpov daj c ch r zn m logick m velikostem p sem Vysv tleme si to na p kladu P edpokl dejme e zdrojov dokument kter p ev d me byl vytvo en n k m s vynika j c m zrakem a m z kladn velikost p sma 8pt To znamen e v t st textu v dokumentu m velikost 8pt zat mco nadpisy jsou o n co v t ekn me 10 a 12pt a pozn mky pod arou o n co men 6pt Tak e pokud pou ijeme n sleduj c nastaven Base font size 12pt Font size key f 7 8 10 12 14 16 18 20 v stupn dokument bude m t z kladn velikost p sma 12pt nadpisy 14 a 16pt a pozn mky pod arou 8pt Nyn p edpo kl dejme e chceme aby nejv t velikost nadpisu v ce vy n vala a tak aby pozn mky pod aro
313. em m e b t zm n no pro ozna en za tku ka d ho odstavce Vlo it pr zdn dek d l opak co zaru uje e je pr v jeden pr zdn dek mezi ka dou dvojic odstavc Ob tyto volby jsou velice ucelen odeb raj mezery nebo je vkl daj pro v echny odstavce technicky vzato zna ky lt p gt a lt div gt Je to proto abyste mohli jen nastavit volbu a b t si jist Ze se to provede tak jak bylo ohl eno bez ohledu na to jak je neuspo dan vstupn soubor Jedinou v jimkou je p pad kdy vstupn soubor pou v pevn konce dk pro dopln n mezer mezi odstavce Pokud chcete odebrat mezery mezi v emi odstavci krom p r vybran ch nepou vejte tyto volby M sto toho p idejte n sleduj c k d CSS do Dodate n CSS str nka 60 p div margin Opt border Opt text indent 1 5em spacious margin bottom lem text indent Opt Pak ve zdrojov m dokumentu ozna te odstavce kter pot ebuj mezery class spacious Pokud v vstupn doku ment nen v HTML pou ijte volbu lad n popsanou v Uvodu abyste z skali HTML pou ijte podadres input 1 4 P evod e knihy 59 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Dodate n CSS Tato volba v m umo uje zadat libovoln CSS kter bude pou ito na v echny soubory HTML na vstupu Toto CSS je pou ito s velice vysokou prioritou a proto by m lo p epsat v t inu CSS p
314. emplates For example to display the title in upper case use 7 https docs python org 2 library string html format string syntax 1 9 Kurzy 135 U ivatelsk p ru ka Calibre Vyd n 2 46 0 title uppercase To display it in title case use title titlecase Function references appear in the format part going after the and before the first or the closing If you have both a format and a function reference the function comes after another Functions must always end with Some functions take extra values arguments and these go inside the Functions are always applied before format specifications See further down for an example of using both a format and a function where this order is demonstrated The syntax for using functions is field function arguments or field function arguments prefix suffix Arguments are separated by commas Commas inside arguments must be preceeded by a backslash V The last or only argument cannot contain a closing parenthesis Functions return the value of the field used in the template suitably modified Important If you have programming experience please note that the syntax in this mode single function is not what you might expect Strings are not quoted Spaces are significant All arguments must be constants there is no sub evaluation Do not use subtemplates as function arguments Instead use template program mod
315. emplates produce incorrect values Default compile gpm templates Tru No compile compile_gpm_templates Fals compile_gpm_templates True What format to default to when using the Tweak featur The Tweak feature of calibre allows direct editing of a book format If multiple formats are available calibre will offer you a choice of formats defaulting to your preferred output format if it is available Set this tweak to a specific value of EPUB or AZW3 to always default to that format rather than your output format preference Set to a value of remember to use whichever format you chose last time you used the Tweak featur Examples default_tweak_format None Use output format default_tweak_format EPUB default_tweak_format remember default_tweak_format None Do not preselect a completion when editing authors tags series etc 226 Kapitola 1 Oddily U ivatelsk p ru ka Calibre Vyd n 2 46 0 This means that you can make changes and press Enter and your changes will not be overwritten by a matching completion However if you wish to use the completions you will now have to press Tab to select one before pressing Enter Which technique you prefer will depend on the state of metadata in your library and your personal editing style preselect first completion False Completion mode when editing authors tags series etc By de
316. en en pokud chcete vynutit aby Calibre zru ilo zalomen dk ves o vs Line unwrap factor Tato volba ur uje algoritmus kter Calibre pou v k odebr n pevn ch konc dk Nap klad pokud je hodnota t to volby 0 4 znamen to e Calibre odebere pevn konce dk z konc dk jejich d lky jsou men ne d lka 40 v ech dk v dokumentu Pokud m v dokument pouze n kolik konc dk kter pot ebuj opravu pak by tato hodnota m la b t sn ena n kam mezi 0 1 a 0 2 Detect and markup unformatted chapter headings and sub headings Pokud v dokument neobsahuje nadpisy ka pitol a n zvy form tovan odli n od zbytku textu Calibre m e pou t tuto volbu aby se je pokusilo rozpoznat a obklopit je zna kami nadpis Zna ky lt h2 gt se pou vaj pro nadpisy kapitol zna ky lt h3 gt se pou vaj pro jak koliv rozpoznan n zvy Tato funkce nevytvo obsah ale v mnoha p padech zp sob e v choz nastaven rozpozn n kapitol Calibre spr vn rozpozn kapitoly a sestav obsah Upravte XPath v Rozpozn v n struktury pokud nen obsah automa ticky vytvo en Pokud v dokumentu nejsou pou ity dn dal nadpisy pak nastaven h h2 v Rozpozn v n struktury bude nejsnadn j zp sob jak vytvo it obsah pro dokument Tyto vlo en nadpisy nejsou naform tov ny pro pou it form tov n pou ijte volbu Dodate n CSS po
317. en m kl vesy Shift nebo Ctrl a kliknut m na soubory Pak klikn te prav m tla tkem my i a vyberte Hromadn p ejmenovat vybran ze soubory Zadejte p edponu a slo kter m m za nat automatick slov n klikn te na OK a je hotovo Slu ov n soubor N kdy m ete cht t slou it dohromady dva soubory HTML nebo dva soubory CSS N kdy m e b t u ite n m t v e v jednom souboru Ale bu te opatrn ulo en velk ho mno stv obsahu do jednoho souboru zp sob probl my s v konem p i zobrazov n knihy v typick te ce e knih Pro slou en v ce soubor dohromady je vyberte podr en m kl vesy Ctrl a kliknut m na n ujist te se e vyb r te pouze soubory jednoho typu bu v echny soubory HTML nebo v echny soubory CSS a tak d le Pak klikn te prav m tla tkem my i a vyberte Slou it To je v echno Calibre slou soubory automaticky se postar o migraci v ech odkaz na slou en soubory Pamatujte e slu ov n soubor m e n kdy zp sobit zm nu stylu text proto e jednotliv soubory mohly pou vat r zn ablony styl Zm na po ad textov ch soubor Po ad ve kter m jsou textov soubory HTML otev r ny p i ten knihy m ete p euspo dat jednodu e jejich p eta en m do Prohl e e soubor Pro technicky naklon n tomu se k znovu uspo d n p te e knihy Pamatujte e mus te p et hnout polo ky mezi jin p
318. enou matematikou je reprodukov n n e Tento soubor HTML m ete p ev st do EPUB v calibre abyste z skali e knihu kterou m ete snadno distribuovat ostatn m lidem 83 http www mobileread com forums showthread php t 1 18764 84http www mobileread com forums forumdisplay php f 237 85 http www mathjax org 184 Kapitola 1 Oddily U ivatelsk p ru ka Calibre Vyd n 2 46 0 H e y z pr y zcz Bz ry M e Obr 1 2 Lorentzovy rovnice lt DOCTYPE html gt html Copyright c 2012 Design Science Inc gt lt head gt lt title gt Math Test Page lt title gt meta http equiv content type content text html charset UTF 8 gt This script tag is needed to make calibre s ebook viewer recpgnize that this file 1 script type text x mathjax config This line adds numbers to all equations automatically unless explicitly suppres MathJax Hub Config TeX equationNumbers autoNumber all Jj script style hl text align center h2 font weight bold background color DDDDDD padding 2em 5em margin top 1 5em border top 3px solid 666666 border bottom 2px solid 999999 lt style gt lt head gt lt body gt lt h1 gt Sample Equations lt h1 gt lt h2 gt The Lorenz Equations lt h2 gt lt p gt begin align dot x samp sigma y x label lorenz dot y a
319. er b v samostatn m procesu Zahrnuj p evody e knih a komunikaci s va m tec m za zen Pro p stup k seznamu loh m ete kliknout na panel loh Jakmile je loha dokon ena m ete si prohl dnout podrobn protokol z t to lohy poklep n m na n j v seznamu To yyy je u ite n pro lohy lad n kter nemusely b t sp n dokon eny 1 1 15 Kl vesov zkratky Calibre m n kolik kl vesov ch zkratek aby v m u et il as a pohyb my Tyto zkratky jsou aktivn v zobrazen seznamu knih pokud neupravujete podrobnosti konkr tn knihy a v t ina z nich ovliv uje n zev kter jste vybrali Prohl e e knih Calibre m sv vlastn zkratky kter mohou b t p izp sobeny kliknut m na tla tko P edvolby v prohl e i Pozn mka Pozn mka Kl vesov zkratky Calibre nevy aduj modifika n kl vesu Command Option Control atd pokud nen v slovn uvedeno jinak Sta pouze stisknout kl vesu s p smenem nap klad E pro pravu Tabulka 1 1 u Kllvesov9 zkratky Kl vesov zkratka Akce F2 Enter v OS X Upravit metadata aktu ln vybran ho pole v seznamu knih A P idat knihy Shift A P idat form ty k vybran m knih m C P ev st vybran knihy D Odeslat do za zen Del Odebrat vybran knihy E Upravit metadata vybran ch knih G Z skat knihy I Zobrazit podrobnosti o knize K U
320. er a magnification factor Allow font sizes in the book will be multipli value 2 min 0 1 max 4 if ok Ensure any in progress editing the user is doing is present in the container self boss commit all editors to container try self magnify fonts factor except Exception Something bad happened report the error to the user import traceback error dialog self gui Failed to magnify fonts _ Failed to magnify fonts click Show details for more info det msg traceback format exc show True Revert to the saved restore point self boss revert requested self boss global undo previous container else Show the user what changes we have made allowing her to revert them if necessary self boss show current diff Update the editor UI to take into account all the changes we have made self boss apply container update to gui def magnify fonts self factor Magnify all font sizes defined in the book by the specified factor First we create a restore point so that the user can undo all changes we make self boss add savepoint Before Magnify fonts container self current container The book being edited as a container obje t Iterate over all style declarations in the book this means css stylesheets style tags and style attributes for name media type in container mime map iteritems if media type in OEB STYLES A stylesheet Parsed stylesheets are cssutils CSSStylesheet
321. er startup It should load any fonts it wants to make available For example def load fonts from PyOt5 0t import OFontDatabase font data get resources myfontl ttf myfont2 ttf for raw in font data itervalues OFontDatabase addApplicationFontFromData raw load javascript evaljs This method is called every time a new HTML document is loaded in the viewer Use it to load javascript libraries into the viewer For example 216 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 def load javascript self evaljs js get resources myjavascript js evalijs js run javascript evaljs This method is called every time a document has finished loading Use it in the same way as load javascript customize ui ui This method is called once when the viewer is created Use it to make any customizations you want to the viewer s user interface For example you can modify the toolbars via ui tool bar and ui tool bar2 customize context menu menu event hit test result This method is called every time the context right click menu is shown You can use it to customize the context menu event is the context menu event and hit test result is the QWebHitTestResult for this event in the currently loaded document 1 10 2 Prom nn prost ed Pod vejte se na Jak nastavit prom nn prost ed ve Windows nebo Jak nastavit prom nn prost ed v OS X CALIBRE CONF
322. ere are 68 feeds below which constitute the bulk of the available rss feeds on the BBC web site These include 5 blogs by editors and correspondants 16 sports feeds 15 sub regional feeds Eg North West Wales Scotland Business and 7 Welsh language feeds Some of the feeds are low volume Eg blogs or very low volume Eg Click so if oldest article 1 5 only articles published in the last 36 hours you may get some empty feeds which will not then be included in the ebook The 15 feeds currently selected below are simply my default ones Note With all 68 feeds selected oldest article set to 2 max articles per feed set to 100 and simultaneous downloads set to 10 the ebook creation took 29 minutes on my speedy 100 mbps net connection fairly high end desktop PC running Linux Ubuntu Lucid Lynx More realistically with 15 feeds selected oldest article set to 1 5 max articles per feed set to 100 and simultaneous downloads set to 20 it took 6 minutes If that s too slow increase simultaneous downloads Select de select the feeds you want in your ebook Hb Gh CR cH Ge C SR ce GS SK SR Gb SR SK SR X Che Ge Hb ok Che Gh Gb Che SR Gs SR che Ge Ge SR che Gh che che feeds News Home http feeds bbci co uk news rss xml UK http feeds bbci co uk news uk rss xml World http feeds bbci co uk news world rss xml England http feeds bbci co uk news england rss xml Scotl
323. eries my_series_1 and my_series_2 to appear in collections named some_value Series thereby merging all of the fields into one set of collections There are two related tweaks The first determines the category name to use for a metadata field The second is a template used to determines how the value and category are combined to create the collection name The syntax of the first tweak sony_collection_renaming_rules is field lookup name category name to use lookup name name The second tweak sony collection name template is a template It uses the same template language as plugboards and save templates This tweak controls how the value and category are combined together to make the collection name The only two fields available are category and value The value field is never empty The category field can be empty The default is to put the value first then the category enclosed in parentheses it isn t empty value category Examples The first three examples assume that the second tweak has not been changed 1 I want three series columns to be merged into one set of collections The column lookup names are series fseries 1 and fseries 2 I want nothing in the parenthesis The value to use in the tweak value would be sony collection renaming rules series fseries 1 fseries 2 2 I want the word Series to appear on collections made from series and the word Tag to a
324. eries index and that all other collections are to be sorted by title If a collection metadata field is not named then if it is a series based collection it is sorted by series order otherwise it is sorted by title order pubdate tags mydate series series index x title Note that the bracketing and parentheses are required The syntax is list of fields sort field list of fields J sort field J 1 10 P izp soben Calibre 223 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Default empty no rules so no collection attributes are named sony collection sorting rules Control how tags are applied when copying books to another library Set this to True to ensure that tags in Tags to add when adding a book are added when copying books to another library add new book tags when importing books False Set the maximum number of tags to show per book in the content server max content server tags shown 5 Set custom metadata fields that the content server will or will not display content server will display is a list of custom fields to be displayed content server wont display is a list of custom fields not to be displayed wont display has priority over will display The special value means all custom fields The value means no entries Defaults content server will display x f content server wont d
325. ersists between all successive invocations of replace during a single Replace All operation Another new feature is the use of call after last match setting that to True on the replace function means that the editor will call replace one extra time after all matches have been found For this extra call the match object will be None This was just a demonstration to show you the power of function mode if you really needed to generate a Table of Contents from headings in your book you would be better off using the dedicated Table of Contents tool in Tools gt Table of Contents The API for the function mode All function mode functions must be python functions named replace with the following signature def replace match number file name metadata dictionaries data functions args x x 4kwargs return a string When a find replace is run for every match that is found the replace function will be called it must return the replacement string for that match If no replacements are to be done it should return mat ch group which is the original string The various arguments to the replace function are documented below The match argument The match argument represents the currently found match It is a python Match object It s most useful method is group which can be used to get the matched text corresponding to individual capture groups in the search regular expression The number argument
326. ery different from what you see when you view the PDF file PDFs that are used to display complex text like right to left languages and math typesetting will not convert correctly To re iterate PDF is a really really bad format to use as input If you absolutely must use PDF then be prepared for an output ranging anywhere from decent to unusable depending on the input PDF Comic Book Collections A comic book collection is a cbc file A cbc file is a zip file that contains other CBZ CBR files In addition the cbc file must contain a simple text file called comics txt encoded in UTF 8 The comics txt file must contain a list of the comics files inside the cbc file in the form filename title as shown below one cbz Chapter One two cbz Chapter Two three cbz Chapter Three The cbc file will then contain comics txt one cbz two cbz three cbz calibre will automatically convert this cbc file into a ebook with a Table of Contents pointing to each entry in co mics txt 68 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 EPUB advanced formatting demo Various advanced formatting for EPUB files is demonstrated in this demo file The file was created from hand coded HTML using calibre and is meant to be used as a template for your own EPUB creation efforts The source HTML it was created from is available demo zip The settings used to create the EPUB from the ZIP file are
327. es It should generate the catalog in the format specified in file types returning the absolute path to the generated catalog file If an error is encountered it should raise an Exception The generated catalog file should be created with the temporary file method Parametry path to output Absolute path to the generated catalog file opts dictionary of keyword arguments 1 10 P izp soben Calibre 197 U ivatelsk p ru ka Calibre Vyd n 2 46 0 e db A LibraryDatabase2 object Metadata download plugins class calibre ebooks metadata sources base Source args kwargs Nadt dy calibre customize Plugin str nka 194 capabilities frozenset Set of capabilities supported by this plugin Useful capabilities are identify cover touched fields frozenset List of metadata fields that can potentially be download by this plugin during the identify phase has html comments False Set this to True if your plugin returns HTML formatted comments supports gzip transfer encoding False Setting this to True means that the browser object will add Accept Encoding gzip to all reguests This can speedup downloads but make sure that the source actually supports gzip transfer encoding correctly first cached cover url is reliable True Cached cover URLs can sometimes be unreliable i e the download could fail or the returned image could be bogus If that is often the case with this source se
328. es for which this plugin should be run For example set lit mobi prc set metadata stream mi type Set metadata for the file represented by stream a file like object that supports reading Raise an exception when there is an error with the input data param type The type of file Guaranteed to be one of the ent riesin file types str nka 197 param mi A calibre ebooks metadata book Metadata object Catalog plugins class calibre customize CatalogPlugin plugin path Nadt dy calibre customize Plugin str nka 194 A plugin that implements a catalog generator file types set Output file type for which this plugin should be run For example epub or xml cli options CLI parser options specific to this plugin declared as namedtuple Option from collections import namedtuple Option namedtuple Option option default dest help cli options Option catalog title default My Catalog dest catalog title help Title of generated catalog nDefault Sdefault cli options parsed in library cli catalog option parser my initialize If plugin is not a built in copy the plugin s ui and py files from the zip file to TMPDIR Tab will be dynamically generated and added to the Catalog Options dialog in calibre gui2 dialogs catalog py Catalog run path to output opts db ids notificationz None Run the plugin Must be implemented in subclass
329. es the defined plugboards to choose the correct one for the given format and device For example to find the appropriate plugboard for an EPUB book being sent to an ANDROID device calibre searches the plugboards using the following search order a plugboard with an exact match on format and device e g EPUB and ANDROID e aplugboard with an exact match on format and the special any device choice e g EPUB and any device a plugboard with the special any format choice and an exact match on device e g any format and ANDROID a plugboard with any format andany device The tags and authors fields have special treatment because both of these fields can hold more than one item A book can have many tags and many authors When you specify that one of these two fields is to be changed the template s result is examined to see if more than one item is there For tags the result is cut apart wherever calibre finds a comma For example if the template produces the value Thriller Horror then the result will be two tags Thriller and Horror There is no way to put a comma in the middle of a tag The same thing happens for authors but using a different character for the cut a amp ampersand instead of a comma For example if the template produces the value Blogs Joe amp Posts Susan then the book will end up with two authors Blogs JoeandPosts Susan Ifthe template produces the value Blogs Joe Posts Susan then the book will have
330. es usbms cli CLI str nka211 calibre devices usbms device Device str nka 210 The base class for all USBMS devices Implements the logic for sending getting updating metadata caching metadata etc upload cover path filename metadata filepath Upload book cover to the device Default implementation does nothing Parametry 1 10 P izp soben Calibre 211 U ivatelsk p ru ka Calibre Vyd n 2 46 0 e path The full path to the directory where the associated book is located filename The name of the book file without the extension e metadata metadata belonging to the book Use metadata thumbnail for cover e filepath The full path to the ebook file classmethod normalize path path Return path with platform native path separators User Interface Actions If you are adding your own plugin in a zip file you should subclass both InterfaceActionBase and InterfaceAction The load actual plugin method of you InterfaceActionBase subclass must return an instantiated object of your InterfaceBase subclass class calibre gui2 actions InterfaceAction parent site customization Nadt dy PyOt5 OtCore 0Object A plugin representing an action that can be taken in the graphical user interface All the items in the toolbar and context menus are implemented by these plugins Note that this class is the base class for these plugins however to integrate the plugin with ca libre s plugin system you have to
331. escribed here Poznamka If you are concerned about giving calibre access to your email account simply create a new free email account with GMX or Hotmail and use it only for calibre Why is my device not detected in linux calibre needs your linux kernel to have been setup correctly to detect devices If your devices are not detected perform the following tests grep SYSFS DEPRECATED boot config uname r You should see something like CONFIG SYSFS DEPRECATED V2 is not set Also grep CONFIG SCSI MULTI LUN boot config uname r must return CONFIG SCSI MULTI LUN y If you don t see either you have to recompile your kernel with the correct settings My device is getting mounted read only in linux so calibre cannot connect to it Linux kernels mount devices read only when their filesystems have errors You can repair the filesystem with sudo fsck vfat y dev sdc Replace dev sdc with the path to the device node of your device You can find the device node of your device which will always be under dev by examining the output of mount Why does calibre not support collections on the Kindle or shelves on the Nook Neither the Kindle nor the Nook provide any way to manipulate collections over a USB connection If you really care about using collections I would urge you to sell your Kindle Nook and get a Kobo Only Kobo seems to understand that
332. etected by calibre N sledujte tyto kroky pro nalezen probl mu Make sure that you are connecting only a single device to your computer at a time Do not have another calibre supported device like an iPhone iPad etc at the same time If you are connecting an Apple iDevice iPad iPod Touch iPhone use the Connect to iTunes method in the Getting started instructions in Calibre Apple iDevices Start here Make sure you are running the latest version of calibre The latest version can always be downloaded from the calibre website You can tell what version of calibre you are currently running by looking at the bottom line of the main calibre window Ensure your operating system is seeing the device That is the device should show up in Windows Explorer in Windows or Finder in OS X n calibre go to Preferences gt Ignored Devices and check that your device is not being ignored e f all the above steps fail go to Preferences Miscellaneous and click Debug device detection with your device attached and post the output as a ticket on the calibre bug tracker My device is non standard or unusual What can I do to connect to it In addition to the Connect to Folder function found under the Connect Share button calibre provides a User Defined device plugin that can be used to connect to any USB device that shows up as a disk drive in your operating system Note on Windows the device must have a drive
333. etry is link Is True if the URL is coming from an internal link in an HTML file False if the URL is the URL used to download an article cleanup Called after all articles have been download Use it to do any cleanup like logging out of subscription sites etc clone browser br Clone the browser br Cloned browsers are used for multi threaded downloads since mechanize is not thread safe The default cloning routines should capture most browser customization but if you do some thing exotic in your recipe you should override this method in your recipe and clone manually 1 2 P id v n obl ben ch webov ch str nek se zpr vami 43 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Cloned browser instances use the same thread safe CookieJar by default unless you have customized cookie handling default cover cover file Create a generic cover for recipes that don t have a cover download Download and pre process all articles from the feeds in this recipe This method should be called only once on a particular Recipe instance Calling it more than once will lead to undefined behavior return Path to index html extract readable article html url Extracts main article content from html cleans up and returns as a article html extracted title tuple Based on the original readability algorithm by Arc90 get article url article Override in a subclass to customize extraction of the URL that points to t
334. ews py has a leading space so that s mirrored here As with feeds select de select by adding removing the initial only one timefmt should be selected here s a few to choose from timefmt a d b Y Fri 14 Nov 2011 Calibre default timefmt a d b SY H M Fri 14 Nov 2011 18 30 timefmt a d b Y 1 M p Fri 14 Nov 2011 06 30 PM timefmt d b Y 14 Nov 2011 timefmt d b Y H M 14 Nov 2011 18 30 timefmt Y m d 2011 11 14 ftimefmt Y m d H M 2011 11 14 18 30 1 2 P id v n obl ben ch webov ch str nek se zpr vami 31 U ivatelsk p ru ka Calibre Vyd n 2 46 0 IMPORTANT x DO NOT EDIT BELOW HERE UNLESS YOU KNOW WHAT YOU ARE DOING DO NOT EDIT BELOW HERE UNLESS YOU KNOW WHAT YOU ARE DOING I MEAN IT YES I DO ABSOLUTELY AT YOU OWN RISK IMPORTANT xxx e che Gb che SR Gh he che Gh Author of this recipe author mattst Specify English as the language of the RSS feeds 1SO 639 code language en GB Set tags tags news sport blog Set publisher and publication type publisher BBC publication_type newspaper Disable stylesheets from site no_stylesheets Tru Specifies an override encoding for sites that have an incorrect charset specified Default of None says to auto detect Some other BBC recipes use utf8 which
335. ez sk te v bec dnou shodu i kdy pou ijete funguj c v raz Hromadn prava metadat Posledn st je hled n a nahrazov n v pol ch metadat pomoc regul rn ho v razu K tomuto se m ete dostat v b rem v ce knih v knihovn a pou it m hromadn pravy metadat Bu te velmi opatrn p i pou v n t to posledn funkce proto e m e zp sobit velice patn v ci va knihovn P ekontrolujte e va e v razy d laj to co chcete pomoc testovac ch pol a ozna te pouze knihy kter opravdu chcete zm nit V re imu hled n regul rn mi v razy m ete hledat v jednom poli nahradit text n m a dokonce zapsat v sledek do jin ho pole Praktick p klad ek n me e va e knihovna obsahuje knihy s rie Duna Franka Herberta pojmenovan po vzoru Duna 1 Duna Duna 2 Spasitel Duny atak d le Nyn chcete dostat Duna do pole s rie M ete to ud lat hled n m d V poli n zvu a nahrazen m X1 v poli s rie Vid te co jsem ud lal To je odkaz na prvn skupinu kterou nahra zujete pole s rie Nyn kdy m te s rii nastavenou pot ebujete jen prov st dal vyhled v n v poli n zvu a nahrazen m pr zdn et zec op t v poli n zvu a va e metadata jsou jsou p kn ist a uklizen Nen to skv l Mimochodem nam sto nahrazen cel ho pole m ete tak poli p ipojit nebo p ed adit tak e pokud chcete aby byla n zvu k
336. fault when completing items calibre will show you all the candidates that start with the text you have already typed You can instead have it show all candidates that contain the text you have already typed To do this set completion mode to contains For example if you type asi it will match both Asimov and Quasimodo whereas the default behavior would match only Asimov completion mode prefix Recognize numbers inside text when sorting This means that when sorting on text fields like title the text Book 2 will sort before the text Book 100 If you want this behavior set numeric_collation True note that doing so will cause problems with text that starts with numbers and is a little slower numeric_collation False Sort the list of libraries alphabetically The list of libraries in the Copy to Library and Quick Switch menus are normally sorted by most used However if there are more than a certain number of such libraries the sorting becomes alphabetic You can set that number here The default is ten libraries many_libraries 10 Highlight the virtual library name when using a Virtual Library The virtual library name next to the Virtual Library button is highlighted in yellow when using a Virtual Library You can choose the color used for the highlight with this tweak Set it to transparent to disable highlighting highlight virtual library yellow C
337. ference You must ensure that all call sites that want a preference that can be overridden use device prefs something instead of prefs something Your method should call device prefs set overrides pref val pref val Currently used for metadata management prefs manage device metadata set library info library name library uuid field metadata Implement this method if you want information about the current calibre library This method is called at startup and when the calibre library changes while connected is dynamically controllable Called by the device manager when starting plugins If this method returns a string then a it supports the device manager s dynamic control interface and b that name is to be used when talking to the plugin This method can be called on the GUI thread A driver that implements this method must be thread safe start plugin This method is called to start the plugin The plugin should begin to accept device connections however it does that If the plugin is already accepting connections then do nothing 208 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 This method can be called on the GUI thread A driver that implements this method must be thread safe stop plugin This method is called to stop the plugin The plugin should no longer accept connections and should cle anup behind itself It is likely that this method should call shutdown If the
338. fiction books by Isaac Asimov in the Foundation series But suppose you want to find all unread science fiction books There s no easy way to do this with this folder scheme you would instead need a folder scheme that looks like ReadStatus gt Genre gt Author gt Series In calibre you would instead use tags to mark genre and read status and then just use a simple search guery like tag scifi and not tag read calibre even has a nice graphical interface so you don t need to learn its search language instead you can just click on tags to include or exclude them from the search To those of you that claim that you need access to the filesystem so that you can have access to your books over the network calibre has an excellent content server that gives you access to your calibre library over the net If you are worried that someday calibre will cease to be developed leaving all your books marooned in its folder structure explore the powerful Save to Disk feature in calibre that lets you export all your files into a folder structure of arbitrary complexity based on their metadata Finally the reason there are numbers at the end of every title folder is for robustness That number is the id number of the book record in the calibre database The presence of the number allows you to have multiple records with the same title and author names It is also part of what allows calibre to magically regenerate the database with all metadat
339. fied location Thats it You are now ready to start hacking on the calibre code For example open the file src calibre init py in your favorite editor and add the line print Hello world near the top of the file Now run the command calibredb The very first line of output should be Hello world 1 12 6 Having separate normal and development calibre installs on the same computer The calibre source tree is very stable and rarely breaks but if you feel the need to run from source on a separate test library and run the released calibre version with your everyday library you can achieve this easily using bat files or shell scripts to launch calibre The example below shows how to do this on Windows using bat files the instructions for other platforms are the same just use a shell script instead of a bat file To launch the release version of calibre with your everyday library calibre normal bat 264 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 calibre exe with library C Npathto everyday library folder calibre dev bat set CALIBRE DEVELOP FROM C MpathNtoNcalibreNcheckout Nsrc calibre exe with library C M pathNtoNtestMlibrary folder 1 12 7 Debugging tips Python is a dynamically typed language with excellent facilities for introspection Kovid wrote the core calibre code without once using a debugger There are
340. funkc m ete prov st skoro jak koliv zpracov n textu jak chcete Dal informace naleznete v Function Mode for Search amp Replace in the Editor str nka 91 1 5 4 Automatizovan n stroje Editor knih m r zn n stroje pro pomoc s b n mi koly Ty jsou p stupn pomoc nab dky N stroje Upravit obsah Pro usnadn n pravy obsahu je zde specializovan n stroj Spust te ho pomoc N stroje gt Obsah gt Upravit obsah 78 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 Table of Contents f Demonstration of DOCX support in calibre v f Text Formatting amp Inline formatting f Fun with Fonts f Paragraph level formatting f Tables v f Structural Elements f Footnotes amp Endnotes f Dropcaps Links amp Table of Contents f Images v f Lists amp Bulleted List f Numbered List f Multi level Lists amp Continued Lists Expand all a Ot v You can edit existing entries in the Table of Contents by clicking them in the panel to the left Entries with a green tick next to them point to a Location that has been verified to exist Entries with a red dot are broken and may need to be Fixed Create a new entry Generate ToC from major headings Generate ToC from all headings Generate ToC from links Generate ToC from files Generate ToC from XPath Flatten the ToC Collapse all Double click
341. gnored and trailing periods are automatically handled The same is true for prefixes The author name copy words are a set of words which if they occur in an author name cause the automatically generated author sort string to be identical to the author name This means that the sort for a string like Acme Inc will be Acme Inc instead of Inc Acme author sort copy method comma author name suffixes Jr Sr Inc Ph D Phd IMDi MED gt YET pr TIE Jay Junior Senior author name prefixes Mr Mrs Ms Dr Prof author name copywords Corporation Company Co Agency Council Committee Inc Institute Society Club Team Splitting multiple author names By default calibre splits a string containing multiple author names on ampersands and the words and and with You can customize the splitting by changing the regular expression below Strings are split on whatever the specified regular expression matches in addition to ampersands Default r i s and with st authors split regex r i st and with s Use author sort in Tag Browser Set which author field to display in the tags pane the list of authors series publishers etc on the left hand side The choices are author and author sort This tweak affects only what is displayed under the authors category in the tags pane and content server Please note tha
342. gorii pro vybranou knihu nap t tky pro tuto knihu Bude vybr na prvn polo ka v tomto seznamu a Rychl zobrazen v m uk e v prav m bo n m podokn v echny knihy ve va knihovn kter odkazuj na tuto polo ku Klikn te na jinou polo ku v lev m podokn abyste vid li knihy s touto jinou polo kou 1 1 Grafick u ivatelsk rozhran 21 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Poklepejte na knihu v okn Rychl ho zobrazen pro v b r t to knihy v zobrazen knihovny Toto tak zm n zobrazen polo ek v okn Rychl ho zobrazen lev podokno aby uk zalo polo ky v nov vybran knize Poklepejte se Shift nebo Ctrl na knihu v okn Rychl ho zobrazen pro otev en dialogov ho okna pravy metadat t to knihy v okn Calibre P ejet m my nad z hlav m sloupce a pod v n m se na popis tla tka pro toto z hlav m ete vid t zda sloupec m e b t zobrazen v Rychl m zobrazen Tak m ete zjistit kliknut m prav m tla tkem my i na z hlav sloupce zda je volba Rychl zobrazen uvedeno v nab dce v takov m p pad v b r volby Rychl ho zobrazen odpov d stisknut Q v aktu ln bu ce Rychl zobrazen respektuje nastaven virtu ln knihovny zobrazuje pouze knihy v aktu ln virtu ln knihovn 1 1 14 lohy M Jobs 0 r wus Panel lohy zobrazuje po et aktu ln spu t n ch loh lohy jsou koly kt
343. grading calibre first unin stall calibre then delete the folders if they exists C Program Files Calibre and C Program FilesNCalibre2 Now re install and you should be fine e If you get an error in the welcome wizard on an initial run of calibre try choosing a folder like C X library as the calibre library calibre sometimes has trouble with library locations if the path contains non English characters or only numbers etc Try running it as Administrator Right click on the icon and select Run as Administrator If it still wont launch start a command prompt press the windows key and R then type cmd exe in the Run dialog that appears At the command prompt type the following command and press Enter calibre debug g Post any output you see in a help message on the Forum calibre freezes crashes occasionally There are several possible things I know of that can cause this You recently connected an external monitor or TV to your computer In this case whenever calibre opens a new window like the edit metadata window or the conversion dialog it appears on the second monitor where you don t notice it and so you think calibre has frozen Disconnect your second monitor and restart calibre If you use RoboForm it is known to cause calibre to crash Add calibre to the blacklist of programs inside RoboForm to fix this Or uninstall RoboForm The Logitech SetPoint Settings application causes random crashes
344. gui2 The Graphical User Interface GUI initialization happens in gui2 main and gui2 ui The ebook viewer is in gui2 viewer The ebook editor is in gui2 tweak book If you want to locate the entry points for all the various calibre executables look at the entry points structure in linux py If you need help understanding the code post in the development forum and you will most likely get help from one of calibre s many developers 1 12 2 Getting the code You can get the calibre source code in two ways using a version control system or directly downloading a tarball calibre uses Git a distributed version control system Git is available on all the platforms calibre supports After installing Git you can get the calibre source code with the command git clone git github com kovidgoyal calibre git On Windows you will need the complete path name that will be something like C Program Files Git git exe calibre is a very large project with a very long source control history so the above can take a while 10 mins to an hour depending on your internet speed If you want to get the code faster the source code for the latest release is always available as an archive 97 https github com kovidgoyal calibre blob master src calibre linux py 28 http www mobileread com forums forumdisplay php f 240 http code calibre ebook com dist src 100http www git scm com 101 http code calibre ebook com dist
345. h zobrazit tuto zpr vu n pov dy a ukon it max cover Maxim ln velikost pro zobrazen ob lky V choz je 600x800 max opds items Nejvy po et shod vr cenych na dotaz OPDS Toto ovlivn integrace Stanza WordPlayer atd max opds ungrouped items Seskupit polo ky v kategori ch jako jsou auto i nebo t tky podle prvn ho p smena kdy je v ce ne tento po et polo ek V choz 100 Nastavte na velk slo pro zak z n seskupov n password Nastavit heslo pro omezen p stupu Ve v choz m nastaven je p stup bez omezen pidfile Zapsat k d PID procesu do zadan ho souboru port p Port na kter m naslouchat V choz je 8080 restriction Ur uje virtu ln knihovnou pou itou pro toto vyvol n Tato volba p ep e jak koliv nastaven pro knihovnu zadan v grafick m rozhran Pokud hodnota nen virtu ln knihovnou ale je ulo en m hled n m je pro kompa tibilitu pou ito toto ulo en hled n Tak pamatujte e pokud nezad te omezen bude pou ita hodnota zadan v grafick m rozhran pokud n jak je thread pool Maxim ln po et pou it ch pracovn ch vl ken V choz je 30 timeout t Casov limit serveru v sekund ch V choz je 120 url prefix P edpona pro p ed azen ke v em URL U ite n pro reverzn proxy na tento server z Apache nginx atd 232 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre V
346. h insert 0 home kovid work calibre src CALIBRE RESOURCES PATH sys resources location home kovid work calibre resources CALIBRE EXTENSIONS PATH sys extensions location home kovid work calibre src calibre plugins Path to directory containing calibre executables sys executables location usr bin Path to a directory for which the server has read write permissions calibre config will be stored here os environ CALIBRE CONFIG DIRECTORY var www localhost calibre config del sys 1 9 Kurzy 169 U ivatelsk p ru ka Calibre Vyd n 2 46 0 del os from calibre library server main import create wsgi app application create wsgi app The mount point of this WSGI application i e the first argument to the WSGIScriptAlias directive Set to empty string is mounted at prefix calibre Path to the calibre library to be served The server process must have write permission for all files dirs in this directory or BAD things will happen path to library home kovid documents demo library The virtual library restriction to be used when serving this library virtual library None del create wsgi app Ulo te tento adapt r jako calibre wsgi adpater py n kam kde k n mu bude m t v server p stup P edpokl dejme e chceme pou t WSGI v Apache Nejd ve povolte WSGI v Apache p id n m n sleduj c ho do httpd conf
347. h of that book is done This is useful when the calibre data is correct but must be sent to the device The second value is itself a 2 value tuple The first value in the tuple specifies whether a book format should be sent to the device The intent is to permit verifying that the book on the device is the same as the book in calibre This value must be None if no book is to be sent otherwise return the base file name on the device a string like foobar epub Be sure to include the extension in the name The device subsystem will construct a send books job for all books with not None returned values Note other than to later retrieve the extension the name is ignored in cases where the device uses a template to generate the file name which most do The second value in the returned tuple indicated whether the format is future dated Return True if it is otherwise return False Calibre will display a dialog to the user listing all future dated books Extremely important this method is called on the GUI thread It must be threadsafe with respect to the device manager s thread book id the calibre id for the book in the database book metadata the Metadata object for the book coming from the device first call True if this is the first call during a sync False otherwise class calibre devices interface BookList oncard prefix settings Nadt dy list A list of books Each Book object must have the fields 1 title 2 authors 3 size
348. hcete nebo hodnota hodnota class calibre utils formatter functions BuiltinOr nebo hodnota hodnota vrac et zec 1 pokud jak koliv hodnota nen pr zdn jinak vrac pr zdn et zec Tato funkce funguje dob e s test nebo first non empty M ete m t tolik hodnot kolik chcete not hodnota clas calibre utils formatter functions BuiltinNot not hodnota vrac et zec 1 pokud je hodnota pr zdn jinak vrac pr zdn et zec Tato funkce funguje dob e s test nebo first non empty M ete m t tolik hodnot kolik chcete Date functions days between datuml datum2 class calibre utils formatter functions BuiltinDaysBetween days between datuml datum2 vrac po et dn mezi datuml a datum2 Po et je kladn pokud je datuml v t ne datum2 jinak je z porn Pokud datuml nebo datum2 nejsou data funkce vrac pr zdn et zec today class calibre utils formatter functions BuiltinToday today vrac et zec data pro dne ek Tato hodnota je navr ena pro pou it ve format date nebo days between ale m e s n b t zach zeno jako s jak mkoliv jin m et zcem Datum je ve form tu ISO 146 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 Formatting values finish formatting hodnota form t p edpona p pona class calibre utils formatter functions BuiltinFinishFormatting finish formatting hodnota form t p edpona
349. he URL scheme of your particular website reverse article order False Reverse the order of articles in each feed Scale news images None Maximum dimensions w h to scale images to If scale news images to device is True this is set to the device screen dimensions set by the output profile unless there is no profile set in which case it is left at whatever value it has been assigned default None scale news images to device True Rescale images to fit in the device screen dimensions set by the output profile Ignored if no output profile is set simultaneous downloads 5 Number of simultaneous downloads Set to 1 if the server is picky Automatically reduced to 1 if BasicNewsRecipe delay str nka 48 gt 0 summary length 500 Max number of characters in the short description template css uMn article date n color gray font family monospace n n article description n text indent The CSS that is used to style the templates i e the navigation bars and the Tables of Contents Rather than overriding this variable you should use extra css in your recipe to customize look and feel timefmt a d b WYP The format string for the date shown on the first page By default Day Name Day Number Month Name Year timeout 120 0 Timeout for fetching files from server in seconds title u Nezn xelm xfd zdroj zpr xelv The title to use for the ebook use embedded content None Normally we try to guess if
350. he author sort values in this list are in the same order as the authors of the book If you want spaces around val separator then include them in the separator string booksize returns the value of the calibre size field Returns if there are no formats cmp x y lt eq gt compares x and y after converting both to numbers Returns 1t if x y Returns eq if x y Otherwise returns gt current library name return the last name on the path to the current calibre library This function can be called in template program mode using the template current library name current library path return the path to the current calibre library This function can be called in template program mode using the template current library path days between datel date2 return the number of days between datel and date2 The number is positive if datel is greater than dat e2 otherwise negative If either datel or date2 are not dates the function returns the empty string divide x y returns x y Throws an exception if either x or y are not numbers 140 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 eval string evaluates the string as a program passing the local variables those assign ed to This permits using the template processor to construct complex results from local variables Because the and characters are special you must use for the charac
351. he content for each article Return the article URL It is called with article an object representing a parsed article from a feed See feedparser By default it looks for the original link for feeds syndicated via a service like feedburner or pheedo and if found returns that or else returns article link get browser args kwargs Return a browser instance used to fetch documents from the web By default it returns a mechanize browser instance that supports cookies ignores robots txt handles refreshes and has a mozilla firefox user agent 15 If your recipe requires that you login first override this method in your subclass For example the following code is used in the New York Times recipe to login for full access def get browser self br BasicNewsRecipe get browser self if self username is not None and self password is not None br open http www nytimes com auth login br select form name login br USERID self usernam br PASSWORD self password br submit return br get cover url Return a URL to the cover image for this issue or None By default it returns the value of the member self cover url which is normally None If you want your recipe to download a cover for the e book override this method in your subclass or set the member variable self cover url before this method is called get feeds Return a list of RSS feeds to fetch for this profile Each element of the list must be
352. he first time You can get the path to the library folder by clicking the calibre icon on the main toolbar You must backup this complete folder with all its files and sub folders You can switch calibre to using a backed up library folder by simply clicking the calibre icon on the toolbar and choosing your backup library folder A backed up library folder backs up your custom columns and saved searches as well as all your books and metadata 60 http www fosshub com Calibre html 6l http www wisecleaner com 62http calibre ebook com download portable 1 8 Nej ast j dotazy 123 U ivatelsk p ru ka Calibre Vyd n 2 46 0 If you want to backup the calibre configuration plugins you have to backup the config directory You can find this con fig directory via Preferences Miscellaneous Note that restoring configuration directories is not officially supported but should work in most cases Just copy the contents of the backup directory into the current configuration directory to restore How do I use purchased EPUB books with calibre or what do I do with acsm files Most purchased EPUB books have DRM This prevents calibre from opening them You can still use calibre to store and transfer them to your ebook reader First you must authorize your reader on a windows machine with Adobe Digital Editions Once this is done EPUB books transferred with calibre will work fine on your reader When you purchase an epub boo
353. he functions argument gives you access to all other user defined functions This is useful for code re use You can define utility functions in one place and re use them in all your other functions For example suppose you create a function name My Function like this def utility do something def replace match number file name metadata dictionaries data functions args 4kwargs Then in another function you can access the utility function like this def replace match number file name metadata dictionaries data functions args 4kwargs utility functions My Function utility You can also use the functions object to store persistent data that can be re used by other functions For example you could have one function that when run with Replace All collects some data and another function that uses it when it is run afterwards Consider the following two functions Function One persistent data def replace match number file name metadata dictionaries data functions xargs 4kwargs persistent data something some data Function Two def replace match number file name metadata dictionaries data functions args x 4kwargs persistent data functions Function One persistent data Debugging your functions You can debug the functions you create by using the standard print function from python The output of print will be displ
354. he mi object 198 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 clean downloaded metadata mi Call this method in your plugin s identify method to normalize metadata before putting the Metadata object into result queue You can of course use a custom algorithm suited to your metadata source get book url identifiers Return a 3 tuple or None The 3 tuple is of the form identifier type identifier value URL The URL is the URL for the book identified by identifiers at this source identifier type identifier value specify the identifier corresponding to the URL This URL must be browseable to by a human using a browser It is meant to provide a clickable link for the user to easily visit the books page at this source If no URL is found return None This method must be quick and consistent so only implement it if it is possible to construct the URL from a known scheme given identifiers get book url name idtype idval url Return a human readable name from the return value of get book url get book urls identifiers Override this method if you would like to return multiple urls for this book Return a list of 3 tuples By default this method simply calls get book url str nka 199 get cached cover url identifiers Return cached cover URL for the book identified by the identifiers dict or None if no such URL exists Note that this method must only return validated URLs i e not URLS that
355. he program then terminates For various values of series index the program returns e series index undefined result prefix gt t123 suffix 1 9 Kurzy 139 U ivatelsk p ru ka Calibre Vyd n 2 46 0 series index 0 5 result prefix 0 50 suffix series index 1 result prefix 1 gt t12 suffix series index 2 result prefix 2 gt eq suffix series index 3 result prefix 3 gt gt suffix All the functions listed under single function mode can be used in program mode To do so you must sup ply the value that the function is to act upon as the first parameter in addition to the parameters documented above For example in program mode the parameters of the test function are test x text if not empty text if empty The x parameter which is the value to be tested will almost always be a variable or a function call often field The following functions are available in addition to those described in single function mode Remember from the example above that the single function mode functions reguire an additional first parameter specifying the field to ope rate on With the exception of the id parameter of assign all parameters can be statements seguences of expressions Note that the definitive documentation for functions is available in the section Function classification str nka 143 and value value returns the string 1 if all values are not empty otherwise returns the empty
356. he user and the process will be aborted The base class implementation of this method raises NotImplementedError so by default no user configuration is possible It is important to put this import statement here rather than at the top of the module as importing the config class will also cause the GUI libraries to be loaded which we do not want when using calibre from the command line from calibre plugins interface demo config import ConfigWidget return ConfigWidget 178 Kapitola 1 Oddily U ivatelsk p ru ka Calibre Vyd n 2 46 0 def save settings self config widget VAR E Save the settings specified by the user with config widget param config widget The widget returned by meth config widget EE config widget save settings Apply the changes ac self actual plugin if ac is not None ac apply settings Calibre m mnoho r zn ch zp sob jak ukl dat konfigura n data star verze jeho dlouh historie Doporu en zp sob je pou t t du JSONConfig kter ukl d va e konfigura n informace v souboru json K d pro spr vu konfigura n ch dat v uk zkov m modulu je v config py from PyOt5 Ot import OWidget OHBoxLayout OLabel OLineEdit from calibre utils config import JSONConfig This is where all preferences for this plugin will be stored Remember that this name i e plugins interface demo is also in a global namespace so make i
357. hese are being matched below using Live because removing all articles with live in their titles would remove some articles that are in fact not live sports pages Match any case elif LIVE in article title upper feed articles remove article Skok skok Quiz of the week is a Flash player weekly news quiz Match only the Quiz of the part in anticipation of monthly and yearly variants Match any case elif OUIZ OF THE in article title upper feed articles remove article Remove articles with scorecards in the url These are BBC sports pages which just display a cricket scorecard The pages have a mass of table and css entries to display the scorecards nicely Probably could make them work with this recipe but might take a whole day of work to sort out all the css basically a formatting nightmare elif scorecards in article url feed articles remove article Skok SR SER OSE return feeds End of class and file Tento p edpis zkoum pouze pi ku ledovce pokud jde o s lu Calibre Abychom prob dali vice mo nost Calibre prozkoum me v dal m odd le slo it j p klad ze skute n ho ivota 1 2 P id v n obl ben ch webov ch str nek se zpr vami 39 U ivatelsk p ru ka Calibre Vyd n 2 46 0 P klad ze skute n ho ivota P im en slo it p klad ze skute n ho ivota kter odhaluje v ce z AP BasicNewsRecipe je p edpis pr
358. ho dku 232 prefer metadata cover ebook convert volba p kazov ho dku 250 prefix calibredb list volba p kazov ho dku 235 preserve cover aspect ratio ebook convert volba p kazov ho dku 246 pretty print ebook convert volba p kazov ho dku 247 profile Irfviewer volba p kazov ho dku 258 pubdate ebook convert volba p kazov ho dku 252 publisher ebook convert volba p kazov ho dku 252 publisher p ebook meta volba p kazov ho dku 254 py console p calibre debug volba p kazov ho dku 231 quote q calibredb list categories volba p kazov ho dku 243 raise window ebook viewer volba p kazov ho dku 256 rating ebook convert volba p kazov ho dku 252 rating r ebook meta volba p kazov ho dku 254 read metadata from opf m ebook convert volba p kazov ho dku 252 really do it r calibredb restore database volba p kazov ho dku 242 recurse r calibredb add volba p kazov ho dku 236 reinitialize db calibre debug volba p kazov ho dku 231 relay r calibre smtp volba p kazov ho dku 234 remove first image ebook convert volba p kazov ho dku 250 remove jacket ebook polish volba p kazov ho dku 255 remove paragraph spacing ebook convert volba p kazov ho dku 248 remove paragraph spacing indent size
359. ho informac Tento kurz se v ak zam uje na pou v n XPath pro koly spojen s e knihami jako je hled n nadpis kapitol v nestrukturovan m dokumentu HTML T http en wikipedia org wiki XPath P pttp en wikipedia org wiki HTML 1 9 Kurzy 131 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Obsah V b r podle n zvu zna ky str nka 132 V b r podle atribut str nka 132 V b r podle obsahu zna ky str nka 133 Uk zkov e kniha str nka 133 Vestav n funkce XPath str nka 133 V b r podle n zvu zna ky xx Nejjednodu forma v b ru je vybrat zna ky podle n zvu Nap klad p edpokl dejme Ze chcete vybrat v dokumentu v echny zna ky lt h2 gt Dotaz XPath pro toto je jednodu e h h2 Selects all h2 tags P edpona znamen hledat na jak koliv rovni dokumentu Nyn p edpokl dejme e chcete hledat zna ky span kter jsou uvnit zna ek lt a gt Toho m e b t dosa eno pomoc n a h span Selects lt span gt tags inside lt a gt tags Pokud chcete hledat zna ky na ur it rovn v dokumentu zm te p edponu n body h div h p Selects lt p gt tags that are children of lt div gt tags that are children of the lt body gt tag Toto porovn pouze lt p gt Velice kr tk e kniha pro uk z n pou it XPath lt p gt v Uk zkov e kniha str nka 133 ale ne d
360. ho znaku d c sekvence je interpretov na jako jeden prvek Existuj samoz ejm d c sekvence kter d laj v ce ne jen uvozov n speci ln ch znak nap klad Nt znamen tabul tor K n kter m d c m sekvenc m se dostaneme pozd ji Jo a mimochodem pokud jde o tyto speci ln znaky Uva ujte o kter mkoliv znaku o kter m se budeme v tomto vodu bavit e m n jakou funkci kter je speci ln a tedy mus b t uvozen pokud chcete prost znak Tak e jak jsou neju ite n j sady V d l jsem Ze se zept te N kter u ite n sady jsou 0 9 odpov daj c jednomu slu a z odpov daj c jed nomu mal mu p smenu A Z odpov daj c jednomu velk mu p smenu a zA Z odpov daj c jednomu p smenu a a zA 20 9 odpov daj c jednomu p smenu nebo slu M ete tak pou t d c sekvenci jako zjednodu en Nd is equivalent to 0 9 Nw is equivalent to a zA Z0 9 NS is equivalent to any whitespace Pozn mka Pr zdn znak je term n pro cokoliv co nebude vyti t no Tyto znaky zahrnuj mezeru tabul tor posun dku posun strany a n vrat na za tek dku Jako posledn pozn mka o sad ch sadu m ete tak definovat jako jak koliv znak krom t ch v sad Ud l te to zahr nut m znaku jako pln prvn ho znaku v sad Tak e a by odpov dalo libovoln mu znaku krom a Tomu se k dopl uj c
361. hoose available output formats for conversion Restrict the list of available output formats in the conversion dialogs For example if you only want to convert to EPUB and AZW3 change this to restrict output formats EPUB AZW3 The default value of None causes all available output formats to be present restrict output formats None Set the thumbnail image quality used by the content server The quality of a thumbnail is largely controlled by the compression quality used when creating it Set this to a larger number to improve the quality Note that the thumbnails get much larger with larger compression quality numbers The value can be between 50 and 99 content server thumbnail compression quality 75 1 10 4 P eps n ikon ablon atd Pozn mka Calibre m p mou podporu pro motivy ikon je pro n j dostupn ch n kolik motiv ikon kter m ete pou t p ejit m na P edvolby gt Vzhled gt Zm nit motiv ikon Motivy ikon pou vaj stejn mechanismus jak je pops no n e pro p eps n statick ch zdroj 1 10 P izp soben Calibre 227 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Calibre v m umo uje p epsat statick zdroje jako jsou ikony javascript a ablony pro p ebal s metadaty kata logy atd upraven mi verzemi kter se v m l b V echny statick zdroje jsou ulo en v podslo ce resources in stala n ho um st n Calibre V
362. hould ask your network administrator to give you the correct value for this variable Note that calibre only supports HTTP proxies not SOCKS proxies You can see the current proxies used by calibre in Preferences Miscellaneous I want some feature added to calibre What can do You have two choices 1 Create a patch by hacking on calibre and send it to me for review and inclusion See Development 2 Open a bug requesting the feature Remember that while you may think your feature request is extremely important essential calibre developers might not agree Fortunately calibre is open source which means you always have the option of implementing your feature yourself or hiring someone to do it for you Furthermore calibre has a comprehensive plugin architecture so you might be able to develop your feature as a plugin see Psan vlastn ch modul pro roz en funkc Calibre str nka 170 Why doesn t calibre have an automatic update Z mnoha d vod There is no need to update every week If you are happy with how calibre works turn off the update notification and be on your merry way Check back to see if you want to update once a year or so There is a check box to turn off the update notification on the update notification itself calibre downloads currently use about 100TB of bandwidth a month Implementing automatic updates would greatly increase that and end up costing thousands of dollars a month whi
363. hould be a three tuple original path the exception instance traceback startup Called when calibre is is starting the device Do any initialization required Note that multiple instances of the class can be instantiated and thus __init__ can be called multiple times but only one instance will have this method called This method is called on the device thread not the GUI thread shutdown Called when calibre is shutting down either for good or in preparation to restart Do any cleanup required This method is called on the device thread not the GUI thread get device uid Must return a unique id for the currently connected device this is called immediately after a successful call to open You must implement this method if you set ASK TO ALLOW CONNECT True ignore connected device uid Should ignore the device identified by uid the result of a call to get device uid in the future You must implement this method if you set ASK TO ALLOW CONNECT True Note that this function is called immediately after open so if open caches some state the driver should reset that state get user blacklisted devices Return map of device uid to friendly name for all devices that the user has asked to be ignored set user blacklisted devices devices Set the list of device uids that should be ignored by this driver specialize global preferences device prefs Implement this method if your device wants to override a particular pre
364. hrough all articles in feed for article in feed articles Match key words and remove article if there s a match Most BBC rss feed video only articles use upper case VIDEO as a title prefix Just match upper case VIDEO so that 38 Kapitola 1 Odd ly IGNORECASE RECASE U ivatelsk p ru ka Calibre Vyd n 2 46 0 articles like Video game banned won t be matched and removed if VIDEO in article title feed articles remove article Most BBC rss feed audio only articles use upper case AUDIO as a title prefix Just match upper case AUDIO so that f articles like Hi Def audio won t be matched and removed elif AUDIO in article title feed articles remove article Most BBC rss feed photo slideshow articles use In Pictures In pictures and in pictures somewhere in their title Match any case of that phrase elif IN PICTURES in article title upper feed articles remove article As above but user contributed pictures Match any case elif YOUR PICTURES in article title upper feed articles remove article Sportsday Live are articles which contain a constantly and dynamically updated running commentary during a live sporting event Match any case elif SPORTSDAY LIVE in article title upper feed articles remove article Sometimes Sportsday Live above becomes Live Sport Name T
365. hto p davk n p edpis z skal v robn kvalitu vlastn se velice bl skute n mu p edpisu pou van mu Calibre pro BBC kter je zobrazen n e F Title BBC News Sport and Blog Calibre Recipe Contact mattst jmstanfield gmail com License GNU General Public License v3 http www gnu org copyleft gpl html Copyright mattst jmstanfield gmail com F Written November 2011 Last Edited 2011 11 19 license GNU General Public License v3 http www gnu org copyleft gpl html copyright mattst jmstanfield gmail com 28 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 BBC News Sport and Blog Calibre Recipe TE Import the regular expressions module import re Import the BasicNewsRecipe class which this class extends from calibre web feeds recipes import BasicNewsRecipe class BBCNewsSportBlog BasicNewsRecipe IMPORTANT USERS READ ME x First select the feeds you want then scroll down below the feeds list and select the values you want for the other user preferences like oldest article and such like Select the BBC rss feeds which you want in your ebook Selected feed have NO at their start de selected feeds begin with a f Eg News Home http feeds bbci co uk include feed Eg News Home http feeds bbci co uk do not include feed Th
366. http news bbc co uk 2 hi science nature 7312016 stm URL tiskov verze http newsvote bbc co uk mpapps pagetools print news bbc co uk 2 hi science nature 7312016 stm Tak e to vypad e pro z sk n tiskov verze mus me p idat ke ka d URL l nku p edponu newsvote bbc co uk mpapps pagetools print Nyn byste m li v Pokro il m re imu dialogov ho okna Vlastn zdroje zpr v vid t n co podobn ho nezapome te vybrat p edpis BBC p ed p epnut m do pokro il ho re imu Recipe source code python class AdvancedUserRecipel206418393 BasicNewsRecipe title u The BBC oldest article 7 max articles per feed 100 feeds u News Front Page u http newsrss bbc co uk rss newsonlir 26 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 M ete vid t e pole ze Z kladn ho re imu byla p elo ena do k du Pythonu p mo ar m zp sobem Pot ebujeme p idat pokyny k tomuto p edpisu aby pou il tiskovou verzi l nk V e co je pot eba je p idat n sleduj c dva dky def print version self url return url replace http http newsvote bbc co uk mpapps pagetools print Toto je Python tak e odsazen je d le it Pot co jste p idali dky m lo by to vypadat takto Recipe source code python class AdvancedUserRecipel206418393 BasicNewsRecipe title u The BBC oldest article max articles per feed 100 feeds u News Front
367. ibre db cache Cache 269 get cover url metoda ca format metadata metoda calibre db cache Cache 269 libre web feeds news BasicNewsRecipe FORMATS atribut ca 44 libre devices interface DevicePlugin 203 get custom book data metoda ca formats metoda calibre db cache Cache 270 libre db cache Cache 270 free space metoda ca get device information metoda ca libre devices interface DevicePlugin 206 libre devices interface DevicePlugin 205 from files v modulu calibre ebooks oeb polish toc get device uid metoda ca 279 libre devices interface DevicePlugin 208 from links v modulu calibre ebooks oeb polish toc get driveinfo metoda ca 279 libre devices interface DevicePlugin 206 from xpaths v modulu calibre ebooks oeb polish toc get feeds metoda ca 279 libre web feeds news BasicNewsRecipe 44 G get file metoda ca generate item metoda ca libre devices interface DevicePlugin 207 libre ebooks oeb polish container Container get file path for processing metoda ca 274 libre ebooks oeb polish container Container genesis metoda calibre gui2 actions Interface Action 274 214 get id map metoda calibre db cache Cache 270 genesis metoda calibre gui2 preferences ConfigWidgetInte adelentifiers metoda ca 215 libre ebooks metadata book base Metadata get all standard metadata metoda ca 156 libre ebooks metadata book base Metadata get ids for custom book data metoda ca
368. ibre plugin Useful members include self plugin path Stores path to the zip file that contains this plugin or None if it is a builtin plu gin self site customization Stores a customization string entered by the user Methods that should be overridden in sub classes initialize str nka 195 customization help str nka 195 Useful methods temporary file str nka 195 enter load resources str nka 195 supported platforms List of platforms this plugin works on For example windows osx linux name Trivial Plugin The name of this plugin You must set it something other than Trivial Plugin for it to work version 1 0 0 The version of this plugin as a 3 tuple major minor revision description u Ned u011bl xel v u016fbec nic A short string describing what this plugin does author u Nezn xelm xfd The author of this plugin priority 1 When more than one plugin exists for a filetype the plugins are run in order of decreasing priority i e plu gins with higher priority will be run first The highest possible priority is sys maxint Default priority is 1 minimum calibre version 0 4 118 The earliest version of calibre this plugin requires can be disabled True If False the user will not be able to disable this plugin Use with care 194 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 type u Z xelklad
369. idget The widget can have an optional method validate that takes no arguments and is called immediately after the user clicks OK Changes are applied if and only if the method returns True If for some reason you cannot perform the configuration at this time return a tuple of two strings message details these will be displayed as a warning dialog to the user and the process will be aborted The base class implementation of this method raises NotImplementedError so by default no user configuration is possible LAB XD 1 It is important to put this import statement here rather than at the top of the module as importing the config class will also cause the GUI libraries to be loaded which we do not want when using calibre from the command line 1 9 Kurzy 173 U ivatelsk p ru ka Calibre Vyd n 2 46 0 from calibre plugins interface demo config import ConfigWidget return ConfigWidget def save_settings self config_widget one Save the settings specified by the user with config_widget param config widget The widget returned by meth config widget p config widget save settings Apply the changes ac self actual plugin if ac is not None ac apply settings Jedin funkce kter stoj za pozornost je pole actual plugin Proto e Calibre m jak p kazov dek tak gra fick rozhran moduly grafick ho rozhran jako je tento by v init py ne
370. ield name str nka 148 formats modtimes form t data str nka 148 formats paths str nka 148 formats sizes str nka 149 has cover str nka 149 language codes et zce jazyka str nka 149 language strings k dy jazyka lokalizovat str nka 149 ondevice str nka 149 raw field name str nka 149 raw list n zev odd lova str nka 149 series sort str nka 149 user categories str nka 149 virtual libraries str nka 150 If then else str nka 150 contains hodnota vzor text p i shod text p i neshod str nka 150 ifempty hodnota text p i pr zdn str nka 150 test hodnota text p i nepr zdn m text p i pr zdn m str nka 150 Iterating over values str nka 150 first non empty hodnota hodnota str nka 150 lookup hodnota vzor pole vzor pole jinak pole str nka 150 switch hodnota vzor hodnota vzor hodnota jinak hodnota str nka 150 List lookup str nka 150 identifier in list hodnota identifik tor nalezen hodnota nenalezen hodnota str nka 151 in list hodnota odd lova vzor nalezen hodnota nenalezen hodnota str nka 151 list item hodnota po ad odd lova str nka 151 select hodnota kl str nka 151 str in list hodnota odd lova et zec nalezen hodnota nenalezen hodnota str nka 151 List manipulation str
371. ield will be used intact For example the title The Dome would not be changed e str in list val separator string found val not found val treat val as a list of items separated by separator comparing the string against each value in the list If the string matches a value return found val otherwise return not found val If the string contains separators then it is also treated as a list and each value is checked subitems val start index end index This function is used to break apart lists of tag like hierarchical items such as genres It interprets the value as a comma separated list of tag like items where each item is a period separated list Returns a new list made by first finding all the period separated tag like items then for each such item extracting the components from start index to end index then combining the results back together The first component in a period separated list has an index of zero If an index is negative then it counts from the end of the list As a special case an end index of zero is assumed to be the length of the list Examples Assuming a genre column containing A B C genre subitems 0 1 returns A fgenre subitems 0 2 returns A B fgenre subitems 1 0 returns B C Assuming a fgenre column containing A B C D E genre subitems 0 1 returns A D genre subitems 0 2 returns A B D E sublist val start index end index separator interpret
372. igurable Line Un Wrapping Factor This is a scale used to determine the length at which a line should be unwrapped Valid values are a decimal between 0 and 1 The default is 0 45 just under the median line length Lower this value to include more text in the unwrapping Increase to include less You can adjust this value in the conversion settings under PDF Input Also they often have headers and footers as part of the document that will become included with the text Use the Search and Replace panel to remove headers and footers to mitigate this issue If the headers and footers are not removed from the text it can throw off the paragraph unwrapping To learn how to use the header and footer removal options read V e o pou v n regul rn ch v raz v Calibre str nka 163 Some limitations of PDF input are Complex multi column and image based documents are not supported Extraction of vector images and tables from within the document is also not supported Some PDFs use special glyphs to represent ll or ff or fi etc Conversion of these may or may not work depending on just how they are represented internally in the PDF Links and Tables of Contents are not supported PDFs that use embedded non unicode fonts to represent non English characters will result in garbled output for those characters Some PDFs are made up of photographs of the page with OCRed text behind them In such cases calibre uses the OCRed text which can be v
373. ih nam sto cel jej kolekce Je to vynikaj c zp sob jak rozd lit velkou kolekci knih na men snadno ovladateln bloky Abyste zjistili jak vytvo it a pou vat virtu ln knihovny pod vejte se na kurz Virtu ln knihovny str nka 191 1 1 8 Odhadov n metadat z n zv soubor Oby ejn Calibre te metadata zevnit souboru knihy M e v ak b t nakonfigurov no tak aby nem sto toho etlo metadata z n zvu souboru a to pomoc P edvolby gt P id v n knih gt C st metadata z obsahu souboru M ete tak ur it jak jsou tena metadata z n zvu souboru pomoc regul rn ch v raz viz V e o pou v n regul r n ch v raz v Calibre str nka 163 V odd lu konfigura n ho dialogov ho okna P id v n knih m ete zadat regul rn v raz kter Calibre pou ije aby se pokusilo odhadnout metadata z n zv soubor e knih kter p id te do knihovny V choz regul rn v raz je title author to znamen e p edpokl d e v echny znaky a do prvn jsou n zev knihy a n sleduj c znaky jsou autor knihy Nap klad n zev souboru Foundation and Earth Isaac Asimov txt bude interpretov n e m n zev Foundation and Earth a autora Isaac Asimov Tip Pokud n zev souboru neobsahuje spojovn k v e uveden regul rn v raz sel e 1 1 Grafick u ivatelsk rozhran 15 U ivatelsk p ru ka Calibre
374. ihy Na t st m Calibre velice mocn mo nosti aby toto ur ilo S moc p ich z slo itost ale pokud si jednou ud l te as na to nau it se to slo it zjist te e to st lo za n mahu Konce kapitol a str nek Calibre m dv sady mo nost pro rozpozn v n kapitol a vkl d n konc str nek To m e b t n kdy trochu matouc proto e ve v choz m nastaven Calibre vlo konce str nek p ed rozpoznan kapitoly stejn jako p ed m sta rozpo znan mo nost konc str nek D vodem pro to je to e asto existuj m sta kam by m ly b t vlo eny konce str nek kter nejsou hranicemi kapitoly Rozpoznan kapitoly mohou b t tak voliteln vlo eny do automaticky generovan ho obsahu Calibre pou v XPath v konn jazyk kter umo uje u ivateli zadat hranice kapitol nebo konce str nek XPath se m e zd t nejd ve trochu skli uj c pro pou v n na t st je zde kurz XPath str nka 131 v u ivatelsk p ru ce Nezapome te e Rozpozn v n struktury pracuje na polotovaru XHTML vytvo en ho p evodn m et zcem Pou ijte mo nost lad n popsanou v vod str nka 56 abyste ur ili vhodn nastaven pro svou knihu Je zde tak tla tko pro Pr vodce XPath aby pomohl s generov n m jednoduch ch v raz XPath wes Ve v choz m nastaven pou v Calibre n sleduj c v raz pro rozpozn v n kapitol name 2 h1 or name h2 an
375. ile specified by name at the position specified by loc or xpath Splitting automatically migrates all links and references to the affected files Parametry e loc or xpath Should be an XPath expression such as h div id split here Can also be a oc which is used internally to implement splitting in the preview panel before If True the split occurs before the identified element otherwise after it totals Used internally calibre ebooks oeb polish split multisplit container name xpath before True Split the specified file at multiple locations all tags that match the specified XPath expression See also split str nka 278 Splitting automatically migrates all links and references to the affected files Parametry before If True the splits occur before the identified element otherwise after it calibre ebooks oeb polish split merge container category names master Merge the specified files into a single file automatically migrating all links and references to the affected files The file must all either be HTML or CSS files Parametry e category Must be either text for HTML files or styles for CSS files e names The list of files to be merged master Which of the merged files is the master file that is the file that will remain after merging Managing covers calibre ebooks oeb polish cover set cover container cover path report None opti ons None Set the cover of the book to the im
376. ill freeze waiting for the debugger to connect Now open a terminal or command prompt and use the following command to start the debugging session calibre debug c from calibre rpdb import cli cli 1 12 Nastaven v vojov ho prost ed calibre 265 U ivatelsk p ru ka Calibre Vyd n 2 46 0 You can read about how to use the python debugger in the python stdlib docs for the pdb module Pozn mka By default the remote debugger will try to connect on port 4444 You can change it by passing the port parameter to both the set trace and the cli functions above like this set trace port 1234 and cli port 1234 Pozn mka The python debugger cannot handle multiple threads so you have to call set trace once per thread each time with a different port number Pou v n debuggeru ve va em obl ben m Python IDE It is possible to use the builtin debugger in your favorite python IDE if it supports remote debugging The first step is to add the calibre src checkout to the PYTHONPATH in your IDE In other words the directory you set as CALIBRE DEVELOP FROM above must also be in the PYTHONPATH of your IDE Then place the IDE s remote debugger module into the src subdirectory of the calibre source code checkout Add whatever code is needed to launch the remote debugger to calibre at the point of interest for example in the main function Then run cali
377. iltinStrlen t da v calibre utils formatter functions 155 BuiltinSubitems t da v libre utils formatter functions 152 BuiltinSublist t da v calibre utils formatter functions 153 BuiltinSubstr t da v calibre utils formatter functions 155 BuiltinSubtract t da v calibre utils formatter functions 146 BuiltinSwapAroundComma t da v libre utils formatter functions 155 BuiltinSwitch t da v calibre utils formatter functions 150 BuiltinTemplate t da V libre utils formatter functions 153 BuiltinTest t da v calibre utils formatter functions 150 BuiltinTitlecase t da V ca libre utils formatter functions 154 BuiltinToday t da v calibre utils formatter functions 146 BuiltinTransliterate ca ca ca ca t da V ca libre utils formatter functions 155 BuiltinUppercase t da M ca libre utils formatter functions 154 BuiltinUserCategories t da v ca libre utils formatter functions 149 BuiltinVirtualLibraries t da V ca libre utils formatter functions 150 C Cache t da v calibre db cache 267 cached cover url is reliable atribut ca libre ebooks metadata sources base Source 198 calibre volba p kazov ho dku detach 229 help h 229 ignore plugins 229 no update check 229 shutdown running calibre s 229 start in tray 229 verbose v 229 version 229 with library 229 calibre customize volba p
378. imnete si Ze je 50 597 va e pozice v knize zobrazena v lev m horn m rohu v poli jako je toto To je jak va e aktu ln pozice tak celkov d lka knihy Tato sla jsou nez visl na velikosti obrazovky a p sma ve kter ch zobrazujete knihu a hraj podobnou roli jako sla str nek v pap rov knize M ete zadat kter koliv slo chcete abyste p e li na odpov daj c m sto v knize Pa m calibre m tak velice ikovn re im odkaz M ete ho zapnout kliknut m na tla tko Re im odkaz Jakmile to ud l te poka d kdy pohnete my nad odstavcem calibre zobraz jedine n slo slo en z sel odd lu a odstavce 1 3 Prohl e e knih 53 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Pa Paragraph November 1918 Hobson Lancashire She stood in front of the cheval glass the long mirror that Peter had given her on their second anniversary and considered herself Her hair had faded from shimmering English fair to almost the color of straw and her face was lined from working in the vegetable beds throughout the war though she d worn a hat and gloves Her skin once like silk he d always told her that was showing faint lines and her eyes though still very blue stared back at her from some other woman s old face Four years have I really aged that much in four years she asked her image With a sigh she accepted the fact that she wouldn t s
379. in has only one important method create widget The various fields of the plugin control how it is categorized in the UI config widget None Import path to module that contains a class named ConfigWidget which implements the ConfigWidgetIn terface Used by create widget category order 100 Where in the list of categories the category of this plugin should be name order 100 Where in the list of names in a category the gui name of this plugin should be category None The category this plugin should be in gui category None The category name displayed to the user for this plugin gui name None The name displayed to the user for this plugin icon None The icon for this plugin should be an absolute path description None The description used for tooltips and the like create widget parent None Create and return the actual Qt widget used for setting this group of preferences The widget must imple ment the calibre gui2 preferences ConfigWidget Interface str nka 215 The default implementation uses config widget to instantiate the widget class calibre gui2 preferences ConfigWidgetInterface This class defines the interface that all widgets displayed in the Preferences dialog must implement See ConfigWidgetBase for a base class that implements this interface and defines various convenience methods as well changed signal None This signal must be emitted whenever the user changes a value in this widget
380. ing for am or pm AP use a 12 hour clock instead of a 24 hour clock with AP replaced by the localized string for AM or PM iso the date with time and timezone Must be the only format present For example given the date of 9 Jan 2010 the following formats show MMM yyyy gt Jan 2010 yyyy gt 2010 dd MMM yyyy gt 09 Jan 2010 MM yyyy gt 01 2010 a M yy gt 9 1 10 yy gt 10 rating 4 2f 220 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 publication default if not set MMM yyyy timestamp default if not set dd MMM yyyy last modified display format if not set dd MMM yyyy gui pubdate display format MMM yyyy gui timestamp display format dd MMM yyyy gui last modified display format dd MMM yyyy Control sorting of titles and series in the library display Control title and series sorting in the library view If set to library order the title sort field will be used instead of the title Unless you have manually edited the title sort field leading articles such as The and A will be ignored If set to strictly alphabetic the titles will be sorted as is sort by title instead of title sort For example with library order The Client will sort under C With strictly alphabetic the book will sort under T This flag affects Calibre s library display It has no effect on devices In addition titles fo
381. inuxu a OS X nejd ve mus te nainstalovat n stroje p kazov ho dku p ejit m na P edvolby gt Roz en gt R zn 1 3 2 Navigace v e knize G V knize m ete ot et str nky pomoc tla tek Dal str nka a P edchoz str nka nebo stisknut m kl ves Page Down a Page Up Na rozd l od v t iny prohl e e knih v s calibre nenut prohl et knihy v re imu str nek M ete posouvat po mno stv ch men ch ne str nka pomoc posuvn ku nebo r zn ch p izp sobiteln ch kl vesov ch zkratek Z lo ky Kdy jste uprost ed knihy a zav ete prohl e zapamatuje si kde jste p estali st a vr t se tam kdy p t otev ete v knihu M ete tak nastavit z lo ky v knize pomoc tla tka Z lo ka P i prohl en knih ve form tu EPUB jsou tyto z lo ky skute n ukl d ny do samotn ho souboru EPUB M ete p idat z lo ky a pak odeslat soubor p tel m Kdy otev ou soubor uvid va e z lo ky 52 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 Obsah Pokud kniha kterou tete definuje obsah m ete k n mu p istoupit stisknut m tla tka Obsah To zobraz seznam odd l v knize M ete kliknout na kter koliv z nich pro p ejit na tuto st knihy Navigace podle m sta DEP E knihy na rozd l od pap rov ch knih nemaj dn koncept str nek Nam sto toho kdy tete knihu v
382. is the value in which here is the value of series index The second paremeter is the constant string The third parameter is the value returned by the cmp function which must be fully evaluated before st xcat can return The cmp function takes 5 arguments x y lt eq gt It compares x and y and returns the third argument 1t if x lt y the fourth argument eq if x y and the fifth argument gt if x gt y As with all functions all of the parameters can be statements In this case the first parameter the value for x is the result of dividing the series index by 2 The second parameter y is the constant 1 The third parameter 1t is a statement more later The fourth parameter eq is the constant string eg The fifth parameter is the constant string gt The third parameter the one for 1t is a statement or a sequence of expressions Remember that a statement a sequence of semicolon separated expressions is also an expression returning the value of the last expression in the list In this case the program first assigns the value 1 to a local variable c then returns a substring made by extracting the c th character to the end Since c always contains the constant 1 the substring will return the second through end th characters or t123 Once the statement providing the value to the third parameter is executed cmp can return a value At that point strcat can return a value then substr can return a value T
383. isplay Examples To display only the custom fields mytags and genre content_server_will_display mytags genre content_server_wont_display To display all fields except mycomments content server will display x f content server wont display fmycomments content server will display content server wont display Set the maximum number of sort levels Set the maximum number of sort levels that calibre will use to resort the library after certain operations such as searches or device insertion Each sort level adds a performance penalty If the database is large thousands of books the penalty might be noticeable If you are not concerned about multi level sorts and if you are seeing a slowdown reduce the value of this tweak maximum resort levels 5 Choose whether dates are sorted using visible fields Date values contain both a date and a time When sorted all the fields are used regardless of what is displayed Set this tweak to True to use only the fields that are being displayed sort_dates_using_visible_fields Fals Fuzz value for trimming covers The value used for the fuzz distance when trimming a cover Colors within this distance are considered equal The distance is in absolute intensity units cover trim fuzz value 10 F Control behavior of the book list You can control the behavior of doubleclicks on
384. ist re except replacements are not op tional It uses re group item search re template when doing the replacements list sort list direction separator return list sorted using a case insensitive sort If di rection is zero the list is sorted ascending otherwise descending The list items are separated by separator as are the items in the returned list e list union listl list2 separator returna list made by merging the items in list1 and list2 removing duplicate items using a case insensitive compare If items differ in case the one in list is used The items in list and list2 are separated by separator as are the items in the returned list e multiply x y returns x y Throws an exception if either x or y are not numbers ondevice return the string Yes if ondevice is set otherwise return the empty string e or value value returns the string 1 if any value is not empty otherwise returns the empty string This function works well with test or first non empty You can have as many values as you want 142 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 print a b prints the arguments to standard output Unless you start calibre from the command line calibre debug g the output will go to a black hole e raw field name returns the metadata field named by name without applying any formatting e raw list name separator returns th
385. ister shortcut gaction unique name default keys short textzNone description None extra data Register a keyboard shortcut that will trigger the specified gact ion This keyboard shortcut will become automatically customizable by the user in the Keyboard section of the editor preferences Parametry qaction A QAction object it will be triggered when the configured key combination is pressed by the user e unique name A unique name for this shortcut action It will be used internally it must not be shared by any other actions in this plugin e default keys A list of the default keyboard shortcuts If not specified no default shortcuts will be set If the shortcuts specified here conflict with either builtin short cuts or shortcuts from user configuration other plugins they will be ignored In that case users will have to configure the shortcuts manually via Preferences For example default keys Ctrl4J F9 short text An optional short description of this action If not specified the text from the QAction will be used description An optional longer description of this action it will be used in the preferences entry for this shortcut 280 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 create action for toolbar True Create a QAction that will be added to either the plugins toolbar or the plugins menu depending on for toolbar For example def create action self
386. it match regexp Pouze odkazy kter odpov daj tomuto regul rn mu v razu budou n sledov ny Tato volba m e b t zad na v cekr t v tom p pad bude odkaz n sledov n dokud odpov d kter mukoliv regul rn mu v razu Ve v choz m nastaven jsou n sledov ny v echny odkazy max files n Maxim ln po et stahovan ch soubor Toto se pou ije pouze na soubory v lt a href gt t tc ch V choz je 9223372036854775807 max recursions r Maxim ln po et rovn rekurze tj hloubka sledovan ch odkaz V choz 1 timeout t Casovy limit ek n na odezvu ze serveru v sekund ch V choz 10 0 s verbose Zobrazit podrobn v stupn informace U ite n pro lad n version zobrazit slo verze programu a ukon it 1 11 2 Nedokumentovan p kazy ebook device markdown calibre Pou it pro nedokumentovan p kazy m ete vid t jejich proveden m bez parametr v termin lu 1 11 Rozhran p kazov ho dku 259 U ivatelsk p ru ka Calibre Vyd n 2 46 0 1 12 Nastaven v vojov ho prost ed calibre calibre is completely open source licensed under the GNU GPL v3 This means that you are free to download and modify the program to your heart s content In this section you will learn how to get a calibre development environment set up on the operating system of your choice calibre is written primarily in Python with some C C c
387. it is part of the text in MOBI is an accident caused by the limitations of MOBI If you want a ToC at a particular location in your document text create one by hand So we strongly recommend that you leave the default as it is i e with the metadata ToC at the end of the book Also note that if you disable the generation of the end of file ToC the resulting MOBI file may not function correctly on a Kindle since the Kindle s use the metadata ToC for many things including the Page Flip feature 106 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 If you have a hand edited ToC in the input document you can use the ToC detection options in calibre to automatically generate the metadata ToC from it See the conversion section of the User Manual for more details on how to use these options Finally I encourage you to ditch the content ToC and only have a metadata ToC in your ebooks Metadata ToCs will give the people reading your ebooks a much superior navigation experience except on the Kindle where they are essentially the same as a content ToC Pozn mka The newer AZW3 format has proper support for a metadata ToC However the Kindle firmware tends to malfunction if you disable the generation of the end of file inline ToC So it is recommended that you leave the generated ToC alone If you create an AZW3 file with a metadata ToC and no end of file generated ToC some features on the Kindle will not work such
388. itivity into account cover book id as file False as image False as path False Return the cover image or None By default returns the cover as a bytestring WARNING Using as path will copy the cover to a temp file and return the path to the temp file You should delete the temp file when you are done with it Parametry e as file If True return the image as an open file object a SpooledTemporaryFile e as image If True return the image as a QImage object e as path If True return the image as a path pointing to a temporary file data for find identical books Return data that can be used to implement ind identical books str nka 269 in a worker process without access to the db See db utils for an implementation data for has book Return data suitable for use in has book str nka 270 This can be used for an implementation of has book str nka 270 in a worker process without access to the db delete custom book data name book ids Delete data for name By default deletes all data if you only want to delete data for some book ids pass in a list of book ids 268 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 embed metadata book ids only fimts None report error None report progress None Update metadata in all formats of the specified book ids to current metadata in the database fast field for field obj book id default value None Same as field for except that it
389. ix any parsing errors in the HTML represented as a string in raw Fixing is done using the HTMLS parsing algorithm calibre ebooks oeb polish pretty fix all html container Fix any parsing errors in all HTML files in the container Fixing is done using the HTMLS parsing algorithm calibre ebooks oeb polish pretty pretty html container name raw Pretty print the HTML represented as a string in raw calibre ebooks oeb polish pretty pretty css container name raw Pretty print the CSS represented as a string in raw calibre ebooks oeb polish pretty pretty xml container name raw Pretty print the XML represented as a string in raw If name is the name of the OPF extra OPF specific prettying is performed calibre ebooks oeb polish pretty pretty all container Pretty print all HTML CSS XML files in the container Managing book jackets calibre ebooks oeb polish jacket remove jacket container Remove an existing jacket if any Returns False if no existing jacket was found 1 12 Nastaven v vojov ho prost ed calibre 277 U ivatelsk p ru ka Calibre Vyd n 2 46 0 calibre ebooks oeb polish jacket add or replace jacket container Either create a new jacket from the book s metadata or replace an existing jacket Returns True if an existing jacket was replaced Splitting and merging of files calibre ebooks oeb polish split split container name loc or xpath before True to tals None Split the f
390. je jin 1 9 Kurzy 163 U ivatelsk p ru ka Calibre Vyd n 2 46 0 znak ne A a tak d le V Calibre regul rn v razy rozli uj velikost p smen v panelu hled n ale ne ve volb ch p evodu Existuje zp sob aby ka d regul rn v raz rozli oval velikost p smen ale to probereme pozd ji Trochu se to komplikuje proto e regul rn v razy umo uj variace v et zc ch se kter mi se porovn vaj tak e jeden v raz m e odpov dat v ce et zc m co je d vod pro se je lid v bec obt uj pou vat V ce si o tom pov me za chv li Zaj m v s vysv tlen v raz kter odpov d sob sam mu To znamen e kdy chci pomoc HRS es v razu porovnat et zec Hello World pou it regul rn v raz by byl Hello World Ano opravdu je to tak jednoduch Ale v imn te si e toto odpov d pouze p esn mu et zci Hello World nenap klad Hello wOrld nebo hello world nebo jak koliv jin takov variaci To nezn tak patn Co d l D l za naj pce dobr v ci Pamatujete si jak jsem kal e regul rn sy mohou Gpo v ce et zc m o kliv z pat po taj c str nky jako Strana 5 z 423 Je z ejm e slo str nky bude r st od 1 do 423 tak e budete muset porovnat 423 r zn ch et zc e patn ve skute nosti regul rn v razy v m umo uj definovat sady znak kter jsou p
391. je p kazov ho dku uvnit sady calibre nap klad po kud jste nainstalovali Calibre do amp x2F Applications n stroje p kazov ho dku jsou v amp xX2F Applications amp x2F calibre app amp x2F Contents amp x2F console app x2F Content s amp x2F Maco0O 2http www mobileread com forums forumdisplay php f 166 228 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 1 11 1 Dokumentovan p kazy calibre calibre opts path to ebook Spustit hlavn grafick u ivatelsk rozhran Calibre a voliteln p idat e knihu z path to ebook do datab ze Kdykoliv p ed te parametry calibre kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami options detach Odpojit od d c ho termin lu pokud n jak je pouze pro Linux help h zobrazit tuto zpr vu n pov dy a ukon it ignore plugins Ignorovat vlastn moduly U ite n pokud jste nainstalovali modul kter br n Calibre ve spu t n no update check Nekontrolovat aktualizace shutdown running calibre s Zp sob vypnut spu t n ch instanc Calibre Pamatujte e pokud m te spu t n lohy budou bez upozorn n p eru eny tak e to pou vejte opatrn start in tray Spustit minimalizovan do oznamovac oblasti hlavn ho panelu verbose v Ignorov no nepou vejte P
392. jej velikost a tak plnou cestu k souboru uvnit knihy ve spodn sti obrazovky Pamatujte e soubory uvnit e knih jsou komprimovan tak e velikost kone n knihy nen sou tem jed notliv ch velikost soubor Mnoho soubor m v knize zvl tn v znam Ty budou m t obvykle vedle sv ch n zv ikonu ozna uj c zvl tn v znam Nap klad na obr zku vlevo m ete vid t e soubory cover image jpg a titlepage xhtml maj vedle sebe ikonu ob lky to znamen e jsou to obr zek ob lky knihy a tituln str nka Podobn soubor content opf m vedle sebe ikonu metadat kter ozna uje e obsahuje metadata knihy a soubor toc ncx m vedle sebe ikonu T ozna uj c e je to Obsah Na jednotliv ch souborech m ete prov d t mnoho akc kliknut m prav m tla tkem my i na n P ejmenov v n soubor Jednotliv soubor m ete p ejmenovat kliknut m prav m tla tkem my i na n j a v b rem P ejmenovat P ejmenov n souboru automaticky aktualizuje v echny odkazy na n j v cel knize Tak e mus te pouze zadat nov n zev Calibre se postar o zbytek M ete tak hromadn p ejmenovat mnoho soubor najednou To je u ite n pokud chcete aby soubory m ly n jak jednoduch vzor n zvu Nap klad m ete cht t p ejmenovat v echny soubory HTML aby m ly n zvy Kapitola 1 html Kapitola 2 html a tak d le Vyberte soubory kter chcete hromadn p ejmenovat podr
393. k edition boxing r s xml http newsrss bbc co uk rss sportonline uk edition athletics rss xml Snooker http newsrss bbc co uk rss sportonline uk edition other sports snooker Horse Racin g http newsrss bbc co uk rss sportonline uk edition other sports ho Cycling http newsrss bbc co uk rss sportonline uk edition other sports cycling Disability Other Sport Olympics 20 Sport http newsrss bbc co uk rss sportonline uk editiojh other sport http newsrss bbc co uk rss sportonline uk edition othe r sports rss 12 http newsrss bbc co uk rss sportonline uk edition other sports o N Ireland Politics http feeds bbci co uk news northern ireland northern irela Scotland Po Scotland Bu litics http feeds bbci co uk news scotland scotland_politics rss xm siness http feeds bbci co uk news scotland scotland_business rss xm E Scotland Edinburgh amp Fife http feeds bbci co uk news scotland edinburgh ea W Scotland amp Glasgow http feeds bbci co uk news scotland glasgow and west rss Highlands amp NE Scotlan South Scotl Central Sco Wales Polit NW Wales NE Wales Mid Wales SW Wales SE Wales Islands http feeds bbci co uk news scotland highlands and islands d Orkney amp Shetland http feeds bbci co uk news scotlajd north east and http feeds bbci co uk news scotland south scotl
394. k from a website you will get an acsm file This file should be opened with Adobe Digital Editions which will then download the actual epub ebook The ebook file will be stored in the folder My Digital Editions from where you can add it to calibre am getting a Permission Denied error A permission denied error can occur because of many possible reasons none of them having anything to do with calibre e You can get permission denied errors if you are using an SD card with write protect enabled If you or some program you used changed the file permissions of the files in question to read only If there is a filesystem error on the device which caused your operating system to mount the filesystem in read only mode or mark a particular file as read only pending recovery If the files have their owner set to a user other than you If your file is open in another program If the file resides on a device you may have reached the limit of a maximum of 256 files in the root of the device In this case you need to reformat the device sd card referred to in the error message with a FAT32 filesystem or delete some files from the SD card device memory You will need to fix the underlying cause of the permissions error before resuming to use calibre Read the error message carefully see what file it points to and fix the permissions on that file or its containing folders Can I have the comment metadata show up on my reader
395. k pages preprocess regexps re compile r br gt re IGNORECASE lambda m re compile r br clear gt re IGNORECASE lambda mj Sp SR SR CH CHE Create regular expressions for tag keeping and removal to make the matches more robust against minor changes and errors in the HTML Eg double spaces leading and trailing spaces missing hyphens and such like Python regular expression re class page http docs python org library re html KKK AAA AAA AAA AAA AAA KKK AA A KK AAA AA Regular expressions for keep only tags ee ke ok AAA AAA AAA AAA AAA AAA X B AG B B B B BG B Rt At xt x The BBC News HTML pages use variants of storybody to denote the section of a HTML vy page which contains the main text of the article Match storybody variants storybody story body story body storybody etc storybody reg exp story xbody The BBC sport and newsbeat features HTML pages use blq content to hold the title f and published date This is one level above the usual news pages which have the title and date within story body This is annoying since blq content must also be kept 1 2 P id v n obl ben ch webov ch str nek se zpr vami 33 center U ivatelsk p ru ka Calibre Vyd n 2 46 0 resulting in a lot of extra things to be removed by remove tags blq conte
396. kce v ak nen dokonal N kdy ponech ne douc obsah jako jsou nab dky a naviga n pom cky nebo odebere obsah kter by m l b t ponech n jako jsou z hlav l nku Abychom dos hli dokonal extrakce obsahu budeme muset p izp sobit proces na ten jak je pops no v n sleduj c m odd le 1 2 2 P izp soben procesu na t n Pokud chcete zdokonalit proces stahov n nebo st hnout obsah z obzvl t slo it webov str nky m ete vyu t celou s lu a pru nost rozhran p edpis Za t mto elem v dialogov m okn P idat vlastn zdroj zpr v jednodu e klikn te na tla tko P epnout do pokro il ho re imu YY M l kA MI we Nejjednodu a asto nejproduktivn j p izp soben je pou t tiskovou verzi online l nk Tiskov verze m obvykle mnohem m n nadbyte n ch dat a p ekl d se mnohem plynuleji do e knihy Zkusme pou t tiskovou verzi l nk z BBC Pou it tiskov verze bbc co uk Prvn m krokem je pod vat se na e knihu kterou jsme d ve st hli z bbc co uk str nka 26 Na konci ka d ho l nku v e knize je mal z lo ka oznamuj c odkud byl l nek sta en z Zkop rujte a vlo te tuto URL do prohl e e Nyn na webov str nce l nku najd te odkaz kter odkazuje na Tisknutelnou verzi Klikn te na n j pro zobrazen tiskov verze l nku Vypad to mnohem ist ji Nyn porovnejte ob URL Pro m byly URL l nku
397. ket nook nook color nook hd plus pocketbook 900 pocketbook pro 912 galaxy sony sony300 sony900 sony landscape so nyt3 tablet version zobrazit slo verze programu a ukon it Volby Vstupu Volby nastaven zpracov n vstupn ho souboru mobi input encoding Zadejte k dov n znak vstupn ho dokumentu Pokud je tato mo nost nastavena p ep e jak koliv k dov n deklarovan samotn m dokumentem Zvl t u ite n pro dokumenty kter nedeklaruj k dov n nebo maj nespr vn deklarovan k dov n Volby V stupu Volby nastaven zpracov n v stupn ho souboru epub dont split on page breaks Vypnout rozd lov n na konc ch str nek Vstupn soubory se oby ejn automaticky rozd luj na ka d m konci str nky na dva soubory Tak vznikne v stupn e kniha kter m e b t analyzov na rychleji a za pou it m n prost edk Rozd lov n je v ak pomal a pokud zdrojov soubor obsahuje velmi velk po et konc str nek m li byste rozd lov n na konc ch str nek vypnout epub flatten Tato volba je nutn pouze pokud m te v myslu pou t EPUB v FBReaderJ Urovn to souborov syst m uvnit xv EPUB v echny soubory d na nejvy rove epub inline toc Vlo it vlo en obsah kter se objev jako st hlavn ho obsahu knihy epub toc at end D t vlo en obsah na konec knihy m sto na za tek extract to Rozbalit obsah v
398. knihami bez s ri vypsan mi p ed knihami v s rii P edpony Prefixes Name Prefix Field Value a 1 Read book Y v LastRead v any date v 2 Wishlist item x v Tags v Wishlist vi 3 v Library books v Available in Library vw True vi v Pravidla p edpony v m umo uj p idat p edponu do v pis knih kdy jsou spln na ur it krit ria Nap klad mo n chcete ozna it p e ten knihy zatr tkem nebo knihy na seznamu p n ozna it X Zatr tko v prvn m sloupci povol pravidlo N zev je n zev pravidla kter zad te Pole je bu Stitky nebo vlastn sloupec z va knihovny Hodnota je obsah Pole kter porovnat Kdy je pravidlo p edpony spln no kniha bude ozna ena vybranou P edponou 188 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 Vy v e uveden m p kladu byla zad na t i pravidla p edpony 1 P e ten kniha ur uje e kniha s jak mkoliv datem ve vlastn m sloupci pojmenovan m P e teno bude ozna ena p edponou se symbolem zatr tka 2 Polo ka seznamu p n ur uje e jak koliv kniha se t tkem Seznam p n bude ozna ena p edponou se sym bolem X 3 Knihy v knihovn ur uje e jak koliv kniha s hodnotou Pravda nebo Ano ve vlastn m sloupci Dostupn v knihovn bude ozna ena p edponou se symbolem obousm rn ipky Prvn odpov daj c pravidlo ur p edponu Zak zan nebo ne pln pravidla
399. kov ho jazyka knihy CSS vlo en uvnit zna ek style je zv razn no Speci ln znaky kter m e b t t k rozli it jako jsou pevn mezery r zn druhy poml ek atd jsou zv raz n ny Odkazy na jin soubory ve zna k ch lt a gt lt img gt a link maj v echny zv razn n n zvy soubor Pokud odkazuj na n zev souboru kter neexistuje je n zev souboru ozna en erven m podtr en m N pov da z visl na kontextu Pro z sk n n pov dy ke zna ce HTML nebo vlastnosti CSS m ete kliknout prav m tla tkem my i na n zev t to zna ky nebo vlastnosti M ete tak podr et kl vesu Ctrl a kliknout na jak koliv n zev souboru uvnit zna ky odkazu pro automatick otev en tohoto souboru v editoru 1 5 prava e knih 99 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Automatick dokon ov n YM nebo obr zky Mus te vy e it spr vn n zev souboru a relativn cestu k souboru Editor m automatick dokon ov n aby toto zjednodu il B hem psan n zvu souboru editor automaticky nab z n vrhy Jednodu e pou ijte kl vesu Tab pro v b r spr vn ho n zvu souboru Editor dokonce nab z n vrhy pro odkazy ukazuj c na kotvu uvnit jin ho souboru HTML Po na ps n znaku zobraz editor seznam v ech kotev v c lov m souboru s mal m ryvkem textu aby v m pomohl zvolit spr vnou kotvu Pamatujte e na rozd l od v t iny
400. ktu ln m souborem v emi texto v mi soubory v emi soubory styl nebo v emi soubory M ete tak zvolit re im hled n aby byl norm ln et zec nebo regul rn v raz V echny shody pro hledan v raz m ete spo tat pomoc Hledat gt Spo tat v e Po t n se spust nad v emi soubory nebo oblastmi kter jste vybrali v rozev rac m poli sys M ete tak p ej t na konkr tn dek v aktu ln otev en m editoru pomoc Hledat gt Prejit na dek Pozn mka Nezapome te e pro vyu it pln ho v konu hled n a nahrazen budete muset pou t regul rn v razy Pod vejte se na V e o pou v n regul rn ch v raz v Calibre str nka 163 Ulo en hled n asto pou van v razy hled n nebo nahrazen m ete ulo it a v cekr t je znovu pou t Pro ulo en hled n jedno du e klikn te prav m tla tkem my i do pole Naj t a vyberte Ulo it aktu ln hled n Dialogov okno ulo en ch hled n m ete vyvolat pomoc Hledat gt Ulo en hled n To zobraz seznam v raz hle d n a nahrazen kter m ete pou t M ete dokonce vybrat v ce polo ek v seznamu podr en m kl vesy Ctrl p i kliknut aby se spustilo v ce v raz hled n a nahrazen v jedn operaci Re im funkc Re im funkc v m umo uje ps t libovoln v konn funkce Pythonu kter jsou spu t ny na ka d m Naj t a nahradit V re imu
401. kumentu na kter m za t st N kter programy pro ten e knih hlavn Kindle pou vaj toto m sto jako pozici na kter se otev e kniha Dal n pov du k pou v n t to funkce naleznete v kurzu XPath v u ivatelsk p ru ce Calibre Obsah Nastaven automatick ho generov n obsahu Pokud m zdrojov soubor obsah bude ve v choz m nastaven pou it p ednostn p ed automaticky generovan m duplicate links in toc P i vytv en obsah z odkaz ve vstupn m dokumentu povolit duplicitn polo ky tj povolit v ce ne jednu polo ku se stejn m textem za p edpokladu e odkazuj na rozd ln um st n levell toc V raz XPath kter ur uje v echny zna ky kter by m ly b t p id ny do obsahu na prvn rove Pokud je toto zad no m to p ednost p ed jin mi formami automatick ho rozpozn v n P klady naleznete v kurzu XPath v u ivatelsk p ru ce Calibre level2 toc V raz XPath kter ur uje v echny zna ky kter by m ly b t p id ny do obsahu na druhou rove Ka d polo ka je p id na pod p edchoz polo ku prvn rovn P klady naleznete v kurzu XPath v u ivatelsk p ru ce Calibre level3 toc V raz XPath kter ur uje v echny zna ky kter by m ly b t p id ny do obsahu na t et rove Ka d polo ka je p id na pod p edchoz polo ku druh rovn P klady naleznete v kurzu XPath v u ivatelsk p ru
402. l pou ijte pro a pro N sleduj c p klad v re imu programu ablony hled s rie s v ce ne jedn m slovem a prvn m slovem velk mi p smeny series re_group S uppercase 154 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 shorten hodnota znaky vlevo text uprost ed znaky vpravo class calibre utils formatter functions BuiltinShorten shorten hodnota znaky vlevo text uprost ed znaky vpravo vrac zkr cenou verzi pole skl daj c se ze znaky vlevo znak od za tku pole n sledovan text uptost ed n sledovn znaky vpravo znak od konce et zce Znaky vlevo a znaky vpravo mus b t cel sla Nap klad p edpokl dejme e n zev knihy je ivot a doba soudce Roye Beana a chcete aby se ve el do m st s nanejv e 15 znaky Pokud pou ijete title shorten 9 5 v sledek bude ivot a d eana Pokud je d lka pole men ne znaky vlevo znaky vpravo d lka text uprost ed pak bude pole pou ito nezm n no Nap klad n zev Kopule by nebyl zm n n strcat a b class calibre utils formatter functions BuiltinStrcat strcat a b m e br t jak koliv po et parametr Vrac et zec vytvo en spojen m v ech parametr strcat max max et zecl p edpona2 ret zec2 class calibre utils formatter functions BuiltinStrcatMax strcat max max fet zecl pfedpona2 et zec2
403. l fonts and then in the File menu choose Validate fonts St hnul jsem instala n soubor ale nefunguje Downloading from the Internet can sometimes result in a corrupted download If the calibre installer you downloaded is not opening try downloading it again If re downloading it does not work download it from an alternate location If the installer still doesn t work then something on your computer is preventing it from running Try temporarily disabling your antivirus program Microsoft Security Essentials or Kaspersky or Norton or McAfee or whatever This is most likely the culprit if the upgrade process is hanging in the middle Try rebooting your computer and running a registry cleaner like Wise registry cleaner Try a clean install That is uninstall calibre delete C NProgram Files NCalibre2 or wherever you pre viously chose to install calibre Then re install calibre Note that uninstalling does not touch your books or settings Try downloading the installer with an alternate browser For example if you are using Internet Explorer try using Firefox or Chrome instead If you get an error about a missing DLL on Windows then most likely the permissions on your temporary folder are incorrect Go to the folder C Users USERNAME AppData Local in Windows explorer and then right click on the Temp folder and select Properties and go to the Security tab Make sure that your user account has full control for this fol
404. l name relative to root Parametry root The base directory By default the root for this container object is used 1 12 Nastaven v vojov ho prost ed calibre 273 U ivatelsk p ru ka Calibre Vyd n 2 46 0 add file name data media type None spine index None Add a file to this container Entries for the file are automatically created in the OPF manifest and spine if the file is a text document add name to manifest name Add an entry to the manifest for a file with the specified name Returns the manifest id book type u oeb The type of book epub for EPUB files and azw3 for AZW3 files commit outpath None keep parsed False Commit all dirtied parsed objects to the filesystem and write out the ebook file at outpath param output The path to write the saved ebook file to If None the path of the original book file is used param keep parsed If True the parsed representations of committed items are kept in the cache commit item name keep parsed False Commit a parsed object to disk it is serialized and written to the underlying file If keep parsedis True the parsed representation is retained in the cache See also parsed str nka 275 decode data normalize to nfc True Automatically decode data into a unicode object Parametry normalize to nfc Normalize returned unicode to the NFC normal form as is required by both the EPUB and AZW3 formats dirty name Mark the parsed obje
405. la p edaj v echny po adavky pod calibre serveru calibre b c m na portu 8080 a d ky v e zm n n volb url prefix je server calibre zpracuje transparentn Pozn mka Pokud chcete v novat cel ho virtu ln ho hostitele serveru s obsahem nen pot eba pou vat url prefix a RewriteRule nam sto toho pou ijte pouze direktivu ProxyPass Pozn mka Modul serveru pou van calibre CherryPy m e m t pot e s pou v n m proxy a po adavky KeepA live tak e je v Apache vypn te pomoc v e zobrazen direktivy SetEnv V r mci procesu Server s obsahem calibre m e b t spu t n p mo v r mci procesu uvnit serveru hostitel jako je Apache pomoc rozhran WSGI Pozn mka Aby toto fungovalo mus b t ve va em syst mu nainstalov ny v echny z vislosti vy adovan calibre To je velice netrivi ln a je doporu eno abyste nepou vali servery v r mci procesu Nedostane se v m dn pomoci s lad n m probl m serveru v r mci procesu Nejd ve mus me vytvo it adapt r WSGI pro server s obsahem calibre Zde je ablona kterou m ete k tomuto elu ZZ pou t Nahra te cesty jak je doporu eno v koment ch WSGI script file to run calibre content server as a WSGI app import sys os You can get the paths referenced here by running calibre debug paths on your server gt The first entry from CALIBRE PYTHON PATH sys pat
406. le Rozli ovat veli kost p smen M ete nechat calibre aby zm nilo velikost p smen v sledku informace po proveden nahrazen v b rem jedn z funkc z pole Pou t funkci po nahrazen Dostupn operace jsou Mal p smena zm nit v echny znaky v poli na mal p smena Velk p smena zm nit v echny znaky v poli na velk p smena e V echna prvn velk p ev st ka d slovo ve v sledku na velk po te n p smena Pole V test je v m k dispozici pro zad n textu abyste si ov ili e hled n a nahrazen d l to co chcete Ve v t in p pad budou sta it testovac pole knih ale je mo n e existuje p pad kter chcete zkontrolovat a kter nen zobrazen v t chto pol ch Zadejte tento p pad do V test Re im regul rn v raz m n kter rozd ly od znakov ho re imu krom samoz ejm pou v n regul rn ch v raz Prvn je e funkce jsou pou ity na sti et zce odpov daj c hledan mu et zci nikoliv na cel pole Druh je e se funkce pou ij na et zec nahrazen nikoliv na cel pole T et a nejd le it j je e et zec nahrazen m e odkazovat na sti hledan ho et zce pomoc zp tn ch odkaz Zp tn odkaz je n kde n je cel slo kter odkazuje na ntou skupinu v z vork ch ve vyhled vac m v razu Nap klad se stejn m p kladem jako v e o zlobiv ko i ce vyhled vac v
407. lete all items in the specified field with the specified ids Returns the set of affected book ids restrict to book ids is an optional set of books ids If specified the items will only be remo ved from those books rename items field item id to new name map change index True restrict to book ids None Rename items from a many one or many many field such as tags or series Parametry change index When renaming in a series like field also change the series index values e restrict to book ids An optional set of book ids for which the rename is to be performed defaults to all books restore book book id mi last modified path formats Restore the book entry in the database for a book that already exists on the filesystem restore original format book id original fmt Restore the specified format from the previously saved ORIGINAL FORMAT if any Return True on success The ORIGINAL FORMAT is deleted after a successful restore safe read lock A safe read lock is a lock that does nothing if the thread already has a write lock otherwise it acquires a read lock This is necessary to prevent DowngradeLockErrors which can happen when updating the search cache in the presence of composite columns Updating the search cache holds an exclusive lock but 1 12 Nastaven v vojov ho prost ed calibre 271 U ivatelsk p ru ka Calibre Vyd n 2 46 0 searching a composite column involves reading field values vi
408. libre utils formatter functions BuiltinCapitalize capitalize hodnota vrac hodnotu pole p evedenou na velk po te n p smena lowercase hodnota class calibre utils formatter functions BuiltinLowercase lowercase hodnota vrac hodnotu pole malymi p smeny titlecase hodnota class calibre utils formatter functions BuiltinTitlecase titlecase hodnota vrac hodnotu pole se v emi prvn mi p smeny velk mi uppercase hodnota class calibre utils formatter functions BuiltinUppercase uppercase hodnota vrac hodnotu pole velk mi p smeny String manipulation re hodnota vzor n hrada class calibre utils formatter functions BuiltinRe re hodnota vzor n hrada vrac pole po pou it regul rn ho v razu V echny instance vzoru jsou nahrazeny n hradou Jako v cel m Calibre jsou toto regul rn v razy kompatibiln s Pythonem re group val pattern template for group 1 for group 2 class calibre utils formatter functions BuiltinReGroup re group val pattern template for group 1 for group 2 vrac et zec vytvo en pou it m vzoru regul r n ho v razu pattern na hodnotu val a nahrazen m ka d odpov daj c instance et zcem vypo tan m nahra zen m ka d odpov daj c skupiny hodnotou vr cenou odpov daj c ablonou temp ate for group 1 P vodn odpov daj c hodnota pro skupinu je dostupn jako V re imu programu ablony jako pro ablonu a funkce eva
409. life is too short to be entering collections one by one on an e ink screen Note that in the case of the Kindle there is a way to manipulate collections via USB but it requires that the Kindle be rebooted every time it is disconnected from the computer for the changes to the collections to be recognized As such it is unlikely that any calibre developers will ever feel motivated enough to support it There is however a calibre plugin that allows you to create collections on your Kindle from the calibre metadata It is available from here Pozn mka Amazon have removed the ability to manipulate collections completely in their newer models like the Kindle Touch and Kindle Fire making even the above plugin useless unless you root your Kindle and install custom firmware 50 https support google com accounts answer 6010255 51 http www mobileread com forums showthread php t 244202 114 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 am getting an error when try to use calibre with my Kobo Touch Glo etc The Kobo has very buggy firmware Connecting to it has been known to fail at random Certain combinations of motherboard USB ports cables hubs can exacerbate this tendency to fail If you are getting an error when connecting to your touch with calibre try the following each of which has solved the problem for some calibre users Connect the Kobo directly to your computer not
410. line toc container title None Create an inline HTML Table of Contents from an existing NCX table of contents Parametry title The title for this table of contents N stroj na pravu knihy class calibre gui2 tweak book plugin Tool Nadt dy object The base class for individual tools in an Edit Book plugin Useful members include 1 12 Nastaven v vojov ho prost ed calibre 279 U ivatelsk p ru ka Calibre Vyd n 2 46 0 self plugin A reference to the calibre customize Plugin str nka 194 object to which this tool belongs self boss str nka 280 self gui str nka 280 Methods that must be overridden in sub classes create action str nka 280 register shortcut str nka 280 name None Set this to a unigue name it will be used as a key allowed in toolbar True If True the user can choose to place this tool in the plugins toolbar allowed in menu True If True the user can choose to place this tool in the plugins menu toolbar button popup mode u delayed The popup mode for the menu if any of the toolbar button Possible values are delayed instant button boss The calibre gui2 tweak_book boss Boss str nka 281 object Used to control the user inter face gui The main window of the user interface current container Return the current calibre ebooks oeb polish container Container str nka 273 ob ject that represents the book being edited reg
411. ll accept ignore on the event that will be taken care of by the calibre UI accept drag move event event mime data This method should return True iff this interface action is capable of handling the drag event Do not call accept ignore on the event that will be taken care of by the calibre UI drop event event mime data This method should perform some useful action and return True iff this interface action is capable of handling the drop event Do not call accept ignore on the event that will be taken care of by the calibre UI You should not perform blocking long operations in this function Instead emit a signal or use QTi mer singleShot and return quickly See the builtin actions for examples create menu action menu unique name text icon None shortcut None description None tri ggered None shortcut name None Convenience method to easily add actions to a QMenu Returns the created QAction This action has one extra attribute calibre shortcut unigue name which if not None refers to the unigue name under which this action is registered with the keyboard manager Parametry menu The OMenu the newly created action will be added to e unique name A unique name for this action this must be globally unique so make it as descriptive as possible If in doubt add a uuid to it text The text of the action icon Either a QIcon or a file name The file name is passed to the I builtin so you do not need to pa
412. llections metoda ca libre devices interface BookList 210 supports gzip transfer encoding atribut ca libre ebooks metadata sources base Source 198 supports restoring to defaults atribut ca libre gui2 preferences ConfigWidgetInterface 215 sync booklists metoda ca libre devices interface DevicePlugin 207 sync preview to editor metoda ca libre gui2 tweak book boss Boss 282 synchronize with db metoda ca libre devices interface DevicePlugin 209 T tag to string tf dn metoda ca libre web feeds news BasicNewsRecipe 47 tags older than metoda calibre db cache Cache 272 template css atribut ca libre web feeds news BasicNewsRecipe 51 template to attribute metoda ca libre ebooks metadata book base Metadata 157 temporary file metoda calibre customize Plugin 195 test fields metoda ca libre ebooks metadata sources base Source 198 THUMBNAIL COMPRESSION QUALITY atribut ca libre devices interface DevicePlugin 203 THUMBNAIL HEIGHT atribut libre devices interface DevicePlugin 203 timefmt atribut calibre web feeds news BasicNewsRecipe 51 timeout atribut calibre web feeds news BasicNewsRecipe 51 title atribut calibre web feeds news BasicNewsRecipe 51 to html ca metoda libre ebooks metadata book base Metadata ca Rejst k 307 U ivatelsk p ru ka Calibre Vyd n 2 46 0 157 Tool t da v calibre gui2 tweak
413. lly tolerable This paragraph has a D dropcap set to occupy three lines of text with a font size of 58 5 pts Depending on the screen width and capabilities of the device you view the book on this dropcap can look anything from perfect to ugly Links Two kinds of links are possible those that refer to an external website and those that refer to locations inside the document itself Both are supported by calibre For example here is a link pointina to the calibre download Obese va Line 12 54 Search in previe 1 5 Uprava e knih 71 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Obsah Z kladn pracovn postup str nka 72 Prohl e soubor str nka 75 P ejmenov v n soubor str nka 76 Slu ov n soubor str nka 76 Zm na po ad textov ch soubor str nka 76 Ozna ov n ob lky str nka 76 Odstra ov n soubor str nka 77 Exportov n soubor str nka 77 P id v n nov ch obr zk p sem atd nebo vytv en nov ch pr zdn ch soubor str nka 77 Nahrazov n soubor str nka 77 Efektivn propojov n ablon styl se soubory HTML str nka 77 Hledat a nahradit str nka 77 Ulo en hled n str nka 78 Re im funkc str nka 78 Automatizovan n stroje str nka 78 Upravit obsah str nka 78 Zkontrolovat knihu str nka 80 P idat ob lku str nka 81 Vkl d
414. locations to the booklists This function must not communicate with the device Parametry locations Result of a call to L upload books metadata List of Metadata objects same as for upload books str nka 206 booklists A tuple containing the result of calls to books oncard None books oncard carda meth books oncard cardb delete books paths end session True Delete books at paths on device classmethod remove books from metadata paths booklists Remove books from the metadata list This function must not communicate with the device Parametry paths paths to books on the device booklists A tuple containing the result of calls to books oncard None books oncard carda meth books oncard cardb sync booklists booklists end session True Update metadata on device Parametry booklists A tuple containing the result of calls to books oncard None books oncard carda meth books oncard cardb get file path outfile end session True Read the file at path on the device and write it to outfile Parametry out file file object like sys stdout or the result of an open str nka 205 call classmethod config widget Should return a QWidget The QWidget contains the settings for the device interface classmethod save settings settings widget Should save settings to disk Takes the widget created in con ig widget str nk
415. log you can change the name of an author and also how that name is sorted This will automatically change the name of the author in all the books of that author When a book has multiple authors separate their names using the amp character Now coming to author name sorting When a new author is added to calibre this happens whenever a book by a new author is added calibre automatically computes a sort string for both the book and the author Authors in the Tag Browser are sorted by the sort value for the authors Remember that this is different from the Author sort field for a book By default this sort algorithm assumes that the author name is in First name Last name format and generates a Last name First name sort value You can change this algorithm by going to Preferences gt Tweaks and setting the author sort copy method tweak You can force calibre to recalculate the author sort values for every author by right clicking on any author and selecting Manage authors then pushing the Recalculate all author sort values button Do this after you have set the author sort copy method tweak to what you want You can force calibre to recalculate the author sort values for all books by using the bulk metadata edit dialog select all books and click edit metadata check the Automatically set author sort checkbox then press OK When recalculating the author sort values for books calibre uses the author sort values for each i
416. louh ch soubor HTML B hem zobrazen souboru Len kter chcete rozd lit klikn te na tla tko re imu rozd len pod panelem n hledu Pak jednodu e p esu te my na m sto kde chcete rozd lit soubor a klikn te Tlust zelen ra v m uk e kde p esn dojde k rozd len kdy budete pohybovat my Jakmile najdete um st n kter chcete jednodu e klikn te a rozd len bude provedeno Rozd len souboru automaticky aktualizuje v echny odkazy kter odkazuj na doln polovinu souboru a otev e nov rozd len soubor v editoru Jeden soubor HTML m ete tak automaticky rozd lit na v ce m stech kliknut m prav m tla tkem my i uvnit sou boru v editoru a v b rem Rozd lit na v ce m stech To v m umo n snadno rozd lit velk soubor na v ech zna k ch nadpis nebo v ech zna k ch kter maj ur itou t du a tak d le 86 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 1 5 7 Panel iv CSS Live CSS x stylesheet css blocki color black MI display block line height 1 2 text indent 21 6pt padding top Opx padding right Opx padding bottom px padding left Apx margin top Bpx T margin right Apx margin bottom px margin left Apx stylesheet css calibre color rgb 127 127 127 Bi font family Ubuntu sans serif b i font siz
417. m pou t tak bez pou it seskupovac ch z vorek Pamatujete kdy jsem kal e kvantifik tory opakuj jim p edch zej c prvek No svisl ra funguje trochu jinak V raz N zevlAutor bude tak odpov dat bu et zci N zev nebo et zci Autor stejn jako v e uveden p klad pou vaj c seskupov n Svisl ra vyb r mezi cel m v razem kter ji p edch z a n sleduje Tak e pokud byste cht li porovnat et zce Calibre a calibre a cht li byste vybrat pouze mezi mal m a velk m c museli byste pou t v raz c C alibre kde seskupen zaji uje e bude vybr no pouze c Pokud byste pou ili c Calibre z skali byste shodu na et zec 1 9 Kurzy 165 U ivatelsk p ru ka Calibre Vyd n 2 46 0 c nebo na et zec Calibre co nen to co jsme cht li Stru n e eno Pokud si nejste jisti pou ijte seskupov n spole n se svislou rou Zapomn l jsi po kejte chvilku je tu je t jedna posledn opravdu u ite n v c kterou m ete d lat se skupinami Pokud m te skupinu kterou jste p edt m porovnal m ete pou t odkazy na tuto skupinu pozd ji ve v razu Skupiny jsou slov ny od 1 a odkazujete na n uvozen m sla skupiny na kterou chcete odk zat tedy p t skupina by byla odk z na V5 Tak e pokud jste hledali J V1 v et zci Test Test porovnali byste cel et zec Na z
418. m tak tla tka Dal a P edchoz kter m ete pou t k prav metadat n kolika knih jednu po druh Hledat a nahradit Dialogov okno hromadn pravy metadat v m umo uje prov d t libovoln v konn operace hled n a nahrazen na vybran ch knih ch Ve v choz m nastaven pou v jednoduch textov hled n a nahrazen ale tak podporuje regul rn v razy Pro v ce informac o regul rn ch v razech se pod vejte na V e o pou v n regul rn ch v raz v Calibre str nka 163 Jak ji bylo zm n no v e existuj dva re imy hled n a nahrazen znakov shoda a regul rn v raz Znakov shoda bude hledat ve Vyhled vac m poli kter zvol te znaky kter zad te do pole Hledat a nahrad tyto znaky t m co zad te do pole Nahradit m Bude nahrazen ka d v skyt hledan ch znak P edpokl dejme nap klad e vyhled vac pole obsahuje o zlobiv ko i ce Pokud hled te o kter m b t nahrazeno AHOJ pak v sledek bude AHOJ zlAHOJbiv kAHOJ i ce Pokud pole ve kter m hled te je v cen sobn pole jako jsou t tky pak se ka d t tek posuzuje samostatn Nap klad pokud va e t tky obsahuj Horor Stra ideln vyhled vac v raz r nebude odpov dat ni emu proto e v raz bude nejd ve pou it na Horor a pak na Stra ideln Pokud chcete aby hled n ignorovalo rozd ly mezi velk mi a mal mi p smeny zru te za krtnut po
419. m ly na tat dn knihovny grafick ho rozhran Pole actual plugin to d l za v s t m e ekne Calibre e skute n modul je t eba hledat v jin m souboru uvnit va eho archivu zip kter bude na ten pouze v kontextu grafick ho rozhran Nezapome te e aby toto fungovalo mus te m t ve sv m souboru zip soubor plugin import name some name txt jak bylo probr no v e Tak existuje p r metod pro povolen u ivatelsk konfigurace modulu Ty jsou pops ny n e ui py Nyn se pod vejme na ui py kter definuje skute n grafick rozhran modulu Zdrojov k d je siln okomentovan a m l by b t sebevysv tluj c The class that all interface action plugins must inherit from from calibre gui2 actions import InterfaceAction from calibre plugins interface demo main import DemoDialog class InterfacePlugin InterfaceAction name Interface Plugin Demo Declare the main action associated with this plugin The keyboard shortcut can be None if you dont want to use a keyboard shortcut Remember that currently calibre has no central management for keyboard shortcuts so try to use an unusual unused shortcut action spec Interface Plugin Demo None Run the Interface Plugin Demo Ctrl Shift F1 def genesis self This method is called once per plugin do initial setup here Set the icon for this interface action The get_icons function is a builtin functio
420. m polo ek odd len ch odd lova em porovn v et zec proti ka d hodnot v seznamu Pokud et zec odpov d hodnot vrac nalezen hodnota jinak vrac nenalezen hodnota Pokud et zec obsahuje odd lova je tak pova ov n za seznam a je zkontrolov na ka d hodnota List manipulation count hodnota odd lova class calibre utils formatter functions BuiltinCount count hodnota odd lova interpretuje hodnotu jako seznam polo ek odd len ch odd lovacem vrac po et polo ek v seznamu V t ina seznam pou v jako odd lova rku ale auto i pou vaj znak amp P klady tags count authors count amp list difference seznaml seznam2 odd lova class calibre utils formatter functions BuiltinListDifference list difference seznaml seznam2 odd lova vrac seznam vytvo en odebr n ze seznaml v ech polo ek nalezen ch v seznam2 pomoc porovn n bez rozli en mal ch a velk ch p smen Polo ky v seznaml a seznam2 jsou odd leny odd lova em stejn jako polo ky ve vr cen m seznamu 1 9 Kurzy 151 U ivatelsk p ru ka Calibre Vyd n 2 46 0 list eguals seznam1 odd lovac1 seznam2 odd lova 2 hodnota ano hodnota ne class calibre utils formatter functions BuiltinListEquals list eguals seznaml odd lova l seznam2 odd lova 2 hodnota ano hodnota ne vrac hodnota ano pokud seznaml a seznam2 obsahuj stejn polo ky jin
421. m form tu e knihy Sv j up ednost ovan form t m ete nastavit v P edvolby gt Chov n gt Up ednost ovan v stupn for m t 5 Ulo it na disk jeden form t Ulo vybran knihy na disk v adres ov struktu e jak je zobrazeno v 1 ale pouze ve form tu kter jste vybrali z rozbalovac ho seznamu P ipojit nebo sd let Connect shar ctf Akce P ipojit nebo sd let v m umo uje ru n se p ipojit k za zen nebo slo ce ve va em po ta i Tak v m to umo uje nastavit knihovnu Calibre pro p stup prost ednictv m webov ho prohl e e nebo e mailu Akce P ipojit nebo sd let m ty i varianty p stupn kliknut m prav m tla tkem my i na tla tko 1 P ipojit ke slo ce Umo uje v m p ipojit se ke kter koliv slo ce ve va em po ta i jako by to bylo za zen a vyu vat s touto slo kou v echno vybaven kter m Calibre pro za zen To je u ite n pokud va e za zen nem e b t podporov no v Calibre ale je dostupn jako disk USB 2 P ipojit k iTunes Umo uje v m p ipojit se k va datab zi knih iTunes jako by to bylo za zen Jakmile jsou knihy odesl ny do iTunes m ete pou t iTunes aby byly dostupn pro va e r zn Za zen 3 Spustit server s obsahem Spust vestav n webov server Calibre Kdy je spu t n bude va e knihovna Calibre p stupn prost ednictv m webo
422. make a wrapper class that references the actual plugin See the calibre customize builtins module for examples If two InterfaceAction objects have the same name the one with higher priority takes precedence Sub classes should implement the genesis library changed location selected shutting down andinitialization complete methods Once initialized this plugin has access to the main calibre GUI via the gui member You can access other plugins by name for example self gui iactions Save To Disk To access the actual plugin use the interface action base plugin attribute this attribute only beco mes available after the plugin has been initialized Useful if you want to use methods from the plugin class like do user config The QAction specified by action spec is automatically create and made available as self gaction name Implement me The plugin name If two plugins with the same name are present the one with higher priority takes prece dence priority 1 The plugin priority If two plugins with the same name are present the one with higher priority takes precedence popup_type 1 The menu popup type for when this plugin is added to a toolbar auto_repeat False Whether this action should be auto repeated when its shortcut key is held down action_spec text icon None None Of the form text icon_path tooltip keyboard shortcut icon tooltip and keyboard shortcut can b
423. maticky vygenerovat vlo en obsah kter se stane sou st textu knihy Je generovan na z klad aktu ln definovan ho obsahu Pokud tento n stroj pou ijete v cekr t ka d vyvol n zp sob e d ve vytvo en vlo en obsah bude nahrazen N stroj je p stupn pomoc N stroje gt Obsah gt Vlo it vlo en obsah Nastavit s mantiku Tento n stroj se pou v k nastaven s mantiky v souborech EPUB S mantika jsou jednodu e odkazy v souboru OPF kter identifikuj ur it um st n v knize e maj zvl tn v znam M ete je pou t k identifikaci p edmluvy v nov n ob lky obsahu atd Jednodu e zvolte typ s mantick informace kter chcete zadat a pak vyberte um st n v knize na kter m odkaz sm ovat Tento n stroj je p stupn pomoc N stroje gt Nastavit s mantiku Filtrovat informace o stylu Tento n stroj m e b t pou it pro snadn odebr n zadan ch vlastnost styl CSS z cel knihy M ete mu ct kter vlastnosti chcete odebrat nap klad color background color line height a budou odebr ny ze v ech m st kde se vyskytuj ablony styl zna ky style a vlo en atributy style Po odebr n informac o stylu se zobraz souhrn v ech proveden ch zm n tak e m ete vid t co p esn se zm nilo N stroj je p stupn pomoc N stroje gt Filtrovat informace o stylu 82 Kapitola 1 Odd ly U ivatelsk
424. mbedded floating content of various types Variant mvb has also now been seen Requires an exact match of mva or mvb due to risk of matching those letters in something needed mva or mvb reg exp mv ab S Remove mvtb seems to be page navigation tools like blq mast mvtb reg exp mvtb Remove blq toplink class to provide a link to the top of the page blq toplink reg exp xblq top link S Remove products and services links Eg desktop tools alerts and so on Eg Class servicev4 ukfs services what a mess of a name Have decided to use two reg expressions to make removing this and variants robust prods services 01 reg exp xservicev4 x 36 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 prods services 02 reg exp ukfs services S Remove what I think is some kind of navigation tools helper class though I am not sure it s called blg rst blq new nav What I do know is it pops up frequently and it is not wanted Have decided to use two reg expressions to make removing this and variants robust blq misc 01 reg exp blq xrst blq misc 02 reg exp xblq x xnew xnav x Remove puffbox this may only appear insid
425. me field item id Return the item name for the item specified by item id in the specified field See also get id map str nka 270 get metadata book id get cover False get user categories True cover as data False Return metadata for the book identified by book id as a Metadata object Note that the list of formats is not verified If get cover is True the cover is returned either a path to temp file as mi cover or if cover as data is True then as mi cover data get next series num for series field u series current indices False Return the next series index for the specified series taking into account the various preferences that control next series number generation Parametry field The series like field defaults to the builtin series column current indices If True returns a mapping of book id to current series index value instead get proxy metadata book id Like get metadata str nka 270 except that it returns a ProxyMetadata object that only reads values from the database on demand This is much faster than get metadata when only a small number of fields need to be accessed from the returned metadata object get usage count by id field Return a mapping of id to usage count for all values of the specified field which must be a many one or many many field has book mi Return True iff the database contains an entry with the same title as the passed in Metadata object The comparison is case i
426. metoda ca libre gui2 preferences Config WidgetInterface 216 regexp 283 register metoda ca libre gui2 preferences Config WidgetBase 216 register_shortcut metoda ca libre gui2 tweak book plugin Tool 280 relpath metoda calibre ebooks oeb polish container Container 276 remove attributes atribut ca libre web feeds news BasicNewsRecipe 50 remove book metoda ca libre devices interface BookList 210 remove books metoda calibre db cache Cache 271 remove books from metadata t dn metoda ca libre devices interface DevicePlugin 207 remove empty feeds atribut ca libre web feeds news BasicNewsRecipe 50 remove formats metoda calibre db cache Cache 271 remove from spine metoda ca libre ebooks oeb polish container Container 276 remove from xml metoda ca libre ebooks oeb polish container Container 2776 priority atribut calibre gui2 actions InterfaceAction 212 remove item metoda ca PRODUCT ID atribut ca libre ebooks oeb polish container Container libre devices interface DevicePlugin 203 216 publication type atribut ca remove items metoda calibre db cache Cache 271 libre web feeds news BasicNewsRecipe remove jacket v modulu ca 50 libre ebooks oeb polish jacket 277 remove javascript atribut ca R libre web feeds news BasicNewsRecipe raw data metoda ca 50 libre ebooks oeb polish container Container remove tags atribut ca 21
427. mi Nap klad C n jak cesta s mezerami options help h zobrazit tuto zpr vu n pov dy a ukon it lrs P ev st LRS na LRS u ite n pro lad n output o Cesta k v stupn mu souboru verbose Podrobn zpracov n version zobrazit slo verze programu a ukon it 258 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 web2disk web2disk URL Kde URL je nap klad http google com Kdykoliv p ed te parametry web2disk kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami options base dir d Z kladn adres do kter ho je ulo ena URL V choz je delay Minim ln interval mezi za sebou n sleduj c mi na ten mi v sekund ch V choz je 0 s dont download stylesheets Nestahovat ablony styl CSS encoding K dov n znak webov ch str nek kter se pokou te st hnout V choz je pokusit se odhadnout k dov n filter regexp Jak koliv odkaz kter odpov d tomuto regul rn mu v razu bude ignorov n Tato volba m e b t zad na v cekr t v tom p pad dokud kter koliv regul rn v raz odpov d odkazu bude ignorov n Pokud je zad no filtrov n regul rn ch v raz a porovn n regul rn ch v raz pak filtrov n regul rn ch v raz je pou ito prvn help h zobrazit tuto zpr vu n pov dy a ukon
428. mi odd len seznam vlastnost CSS kter budou odebr ny ze v ech pravidel styl CSS To je u i 1 11 Rozhran p kazov ho dku 247 U ivatelsk p ru ka Calibre Vyd n 2 46 0 te n pokud p tomnost n kter ch informac o stylu zabra uje p eps n ve va em za zen Nap klad font family color margin left margin right font size mapping Mapov n z n zv p sem CSS na velikosti p sem v bodech P klad nastaven je 12 12 14 16 18 20 22 24 Toto jsou mapov n pro velikosti od xx small do xx large s posledn velikost pro velice velk p sma Algoritmus pravy m tka p sma pou v tyto velikosti pro chytrou pravu m tka p sem V choz je pou it mapov n na z klad v mi zvolen ho v stupn ho profilu insert blank line Vlo it pr zdn dek mezi odstavce Nebude fungovat pokud zdrojov soubor nepou v odstavce zna ky lt p gt nebo lt div gt insert blank line size Nastavit v ku vlo en ch pr zdn ch dk v em V ka dk mezi odstavci bude dvojn sobek zde nastaven hodnoty keep ligatures Zachovat ligatury p tomn ve vstupn m dokumentu Ligatura je speci ln vykreslen p ru znak jako ff fi fl atd V t ina te ek nem podporu pro ligatury ve sv ch z kladn ch p smech tak e je nepravd podobn e je spr vn vykresl Ve v choz m nastaven Calibre zm n ligaturu na odpov daj c p
429. mp amp rho x y xz NN dot z amp amp beta z xy end align lt p gt lt h2 gt The Cauchy Schwarz Inequality lt h2 gt lt p gt left Nsum k 1 n a k b k right 2 leg left Nsum k 1 n a k 2 right left sum_ k 1 n b k 2 right lt p gt 1 9 Kurzy 185 eeds math tyj ed U ivatelsk p ru ka Calibre Vyd n 2 46 0 lt h2 gt A Cross Product Formula lt h2 gt lt p gt Nmathbff V 1 times mathbf V _2 begin vmatrix mathbf i samp mathbf j samp mathbf k M frac partial X partial u samp frac partial Y partial u samp 0 MX frac partial X partial v samp frac partial Y partial v samp 0 MX end vmatrix NI lt p gt lt h2 gt The probability of getting k heads when flipping n coins is lt h2 gt lt p gt P E n Nchoose k p k 1 p n k lt p gt lt h2 gt An Identity of Ramanujan lt h2 gt lt p gt frac 1 sqrt phi sqrt 5 phi e frac25 pi 1 frac e 2 pi 1 frac e 4 pi 1 frac e 6 pi 1 frac e 8 pi 1 ldots lt p gt lt h2 gt A Rogers Ramanujan Identity lt h2 gt lt p gt 1 frac q 2 1 qg frac gq 6 1 q 1 g 2 cdots prod_ j 0 infty frac 1 1 q 53 2 1 q 5j 3 quad quad text for q amp 1t 1 lt p gt lt h2 gt Maxwell s Equations lt h2 gt lt p gt begin align nabla Ntimes vec math
430. mplementation simply return the path to the original ebook The modified ebook file should be created with the temporary file method Parametry path to ebook Absolute path to the ebook Vrac Absolute path to the modified ebook postimport book id book format db Called post import i e after the book file has been added to the database Parametry book id Database id of the added book book format The file type of the book that was added db Library database Metadata plugins class calibre customize MetadataReaderPlugin args kwargs Nadt dy calibre customize Plugin str nka 194 A plugin that implements reading metadata from a set of file types 196 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 file types set Set of file types for which this plugin should be run For example set lit mobi prc get metadata stream type Return metadata for the file represented by stream a file like object that supports reading Raise an excep tion when there is an error with the input data param type The type of file Guaranteed to be one of the entries in file types str nka 196 return A calibre ebooks metadata book Metadata object class calibre customize MetadataWriterPlugin args kwargs Nadt dy calibre customize Plugin str nka 194 A plugin that implements reading metadata from a set of file types file types set Set of file typ
431. ms driver import USBMS class PDNOVEL USBMS name Pandigital Novel device interface gui name PD Novel description Communicate with the Pandigital Novel author Kovid Goyal supported platforms windows linux osx FORMATS epub pdf VENDOR ID 0x18d1 PRODUCT ID 0xb004 BCD 0x224 VENDOR NAME ANDROID WINDOWS MAIN MEM WINDOWS CARD A MEM UMS COMPOSITE THUMBNAIL HEIGHT 144 I H EBOOK DIR MAIN eBooks SUPPORTS SUB DIRS False def upload cover self path filename metadata coverdata getattr metadata thumbnail None if coverdata and coverdata 2 with open 5s jpg os path join path filename coverfile write coverdata 2 wb as coverfile 210 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 class calibre devices usbms device Device plugin path Nadt dy calibre devices usbms deviceconfig DeviceConfig calibre devices interface DevicePlugin str nka 203 This class provides logic common to all drivers for devices that export themselves as USB Mass Storage devices Provides implementations for mounting ejecting of USBMS devices on all platforms WINDOWS MAIN MEM None String identifying the main memory of the device in the windows PnP id strings This can be None string list of strings or compiled regex WINDOWS CARD A MEM None String identifying the first card of the device in
432. n expression program 1 statement Comments are lines with a 5 character at the beginning of the line An expression always has a value either the value of the constant the value contained in the identifier or the value returned by a function The value of a statement is the value of the last expression in the sequence of statements As such the value of the program statement l1 27 foobat 3 is 3 Another example of a complex but rather silly program might help make things clearer series_index substr strcat gt cmp divide 2 1 assign c 1 substr 1t123 c 0 eq gt 0 6 prefix suffix This program does the following specify that the field being looked at is series index This sets the value of the variable calls the substr function which takes 3 parameters str start end It returns a string formed by extracting the start through end characters from string zero based the first character is character zero In this case the string will be computed by the strcat function the start is 0 and the end is 6 In this case it will return the first 6 characters of the string returned by st rcat which must be evaluated before substr can return calls the strcat string concatenation function Strcat accepts 1 or more arguments and returns a string formed by concatenating all the values In this case there are three arguments The first parameter
433. n 196 postprocess book metoda ca libre customize conversion InputFormatPlugin 201 ca postprocess book metoda ca libre web feeds news BasicNewsRecipe 46 postprocess html metoda ca libre web feeds news BasicNewsRecipe 46 pref metoda calibre db cache Cache 271 prefer results with isbn atribut ca libre ebooks metadata sources base Source 198 PreferencesPlugin t da v calibre customize 214 prepare addable books metoda ca libre devices interface DevicePlugin 208 preprocess html metoda ca libre web feeds news BasicNewsRecipe 46 preprocess raw html metoda ca libre web feeds news BasicNewsRecipe 46 preprocess regexps atribut ca libre web feeds news BasicNewsRecipe 50 pretty all v modulu calibre ebooks oeb polish pretty 277 pretty_css v modulu calibre ebooks oeb polish pretty 277 pretty html v modulu ca libre ebooks oeb polish pretty 277 pretty xml v modulu calibre ebooks oeb polish pretty 277 print_version t dn metoda libre web feeds news BasicNewsRecipe 47 priority atribut calibre customize Plugin 194 ca recipe disabled atribut ca libre web feeds news BasicNewsRecipe 50 recommendations atribut ca libre customize conversion InputFormatPlugin 201 recommendations atribut ca libre customize conversion OutputFormatPlugin 202 recursions atribut ca libre web feeds news BasicNewsRecipe 50 refresh gui
434. n dal zna ky lt p gt P edpona h ve v e uveden ch p kladech je zapot eb pro porovn n zna ek XHTML To je proto e calibre vnit n p edstavuje cel obsah jako XHTML V XHTML maj zna ky obor n zv a h je p edpona oboru n zv pro zna ky HTML Nyn p edpokl dejme e chcete vybrat jak zna ky lt h1 gt tak lt h2 gt K tomu pot ebujeme konstrukci XPath zvanou predik t Predik t je jednodu e test kter je pou it pro v b r zna ek Testy mohou b t libovoln v konn a jak bude tento kurz postupovat uvid te v konn j p klady Predik t je vytvo en uzav en m testovac ho v razu do hranat ch z vorek x name 2 h1 or name h2 V tomto v razu XPath je n kolik nov ch funkc Prvn je pou it z stupn ho znaku x Ten znamen porovnat jakou koliv zna ku Nyn se pod vejte na testovac v raz name h1 or name h2 name je p klad vestav n funkce Jednodu e vyhodnocuje podle n zvu zna ky Tak e jej m pou it m m eme vybrat zna ky jejich n zvy jsou bu h nebo A2 Pamatujte e funkce name ignoruje obory n zv tak e nen pot eba p edpona h XPath m n kolik u ite n ch vestav n ch funkc V tomto kurzu bude p edstaveno n kolik dal ch V b r podle atribut Pro v b r zna ek na z klad jejich atribut je po adov no pou it predik t 8style Select all tags that have a style attribu
435. n jsou invalid titles extra titles inva lid authors extra authors missing formats extra formats extra files missing covers extra covers failed folders Kdykoliv p ed te parametry calibredb kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami csv c V stup v CSV help h zobrazit tuto zpr vu n pov dy a ukon it ignore extensions e C rkami odd len seznam ignorovan ch p pon V choz v e ignore names n C rkami odd len seznam ignorovan ch n zv V choz v e report r C rkami odd len seznam hl en V choz v e version zobrazit slo verze programu a ukon it list categories calibredb list categories options xx Vytvo it hl en informac o kategori ch v datab zi Informace je ekvivalentem toho co je zobrazeno v podokn t tk Kdykoliv p ed te parametry calibredb kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami 242 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 categories r C rkami odd len seznam kategori n zv vyhled v n V choz v e csv c V stup v CSV help h zobrazit tuto zpr vu n pov dy a ukon it item count i V stupem je pouze po et polo ek v kategorii nam sto po t na polo ku v kategorii quote q Znak um st n kolem hod
436. n odkazovan ch p sem str nka 81 ste n vkl d n p sem str nka 81 Vylep en interpunkce str nka 81 Odeb r n nepou van ch pravidel CSS str nka 81 Opravit HTML str nka 82 Zkr lov n soubor str nka 82 Vlo it vlo en obsah str nka 82 Nastavit s mantiku str nka 82 Filtrovat informace o stylu str nka 82 Kontroln body str nka 83 Panel iv n hled str nka 85 Rozd lov n soubor HTML str nka 86 e Panel iv CSS str nka 87 R zn n stroje str nka 88 Zobrazen obsahu str nka 88 Kontrola pravopisu slov v knize str nka 88 Vkl d n speci ln ch znak str nka 90 Zobrazen kontroly k du str nka 90 Kontrola extern ch odkaz str nka 90 Uspo d n soubor do slo ek podle typu str nka 91 Importov n soubor v jin ch form tech e knih ne EPUB str nka 91 N stroj Hl en str nka 99 Speci ln funkce v editoru k du str nka 99 Zv razn n syntaxe str nka 99 N pov da z visl na kontextu str nka 99 Automatick dokon ov n str nka 100 Fragmenty str nka 100 1 5 1 Z kladn pracovn postup Pozn mka Videoprohl dka editoru Calibre je dostupn zde 28 http calibre ebook com demo tutorials 72 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 Kdy poprv otev ete n strojem pro pravu knihy bu
437. n p ebook polish volba p kazov ho dku 255 sort by calibredb catalog volba p kazov ho dku 240 calibredb list volba p kazov ho dku 235 sr1 replace ebook convert volba p kazov ho dku 250 sr1 search ebook convert volba p kazov ho dku 250 sr2 replace ebook convert volba p kazov ho dku 250 Rejst k 291 U ivatelsk p ru ka Calibre Vyd n 2 46 0 sr2 search ebook convert volba p kazov ho dku 250 sr3 replace ebook convert volba p kazov ho dku 250 sr3 search ebook convert volba p kazov ho dku 250 start in tray calibre volba p kazov ho dku 229 start reading at ebook convert volba p kazov ho dku 251 subject s calibre smtp volba p kazov ho dku 233 subset embedded fonts ebook convert volba p kazov ho dku 249 subset font f calibre debug volba p kazov ho dku 231 subset fonts f ebook polish volba p kazov ho dku 255 tags ebook convert volba p kazov ho dku 252 ebook meta volba p kazov ho dku 254 tags T calibredb add volba p kazov ho dku 236 template calibredb export volba p kazov ho dku 239 test build calibre debug volba p kazov ho dku 231 thread pool calibre server volba prikazov ho radku 232 timefmt calibredb export volba p kazov ho dku 239 timeout d
438. n propojov n ablon styl se soubory HTML Pro v t pohodl m ete v Prohl e i soubor vybrat v ce soubor HTML kliknout prav m tla tkem my i a vybrat Propojit ablony styl aby Calibre automaticky vlo ilo zna ky lt link gt pro tyto ablony styl do v ech vybran ch soubor HTML 1 5 3 Hledat a nahradit Upravit knihu m velice v konn rozhran hled n a nahrazen kter v m umo uje hledat a nahradit text v aktu ln m souboru nap v emi soubory a dokonce i v ozna en oblasti aktu ln ho souboru Hledat m ete pomoc norm ln ho hled n nebo pomoc regul rn ch v raz Abyste zjistili jak pou vat regul rn v razy pro pokro il vyhled v n pod vejte se na V e o pou v n regul rn ch v raz v Calibre str nka 163 1 5 prava e knih 77 U ivatelsk p ru ka Calibre Vyd n 2 46 0 o Find Find Replace and Find Replace Replace Replace all Mode Regex Current file v Down v Case sensitive Y Wrap Dot all Hled n a nahrazen spust te pomoc polo ky nab dky Hledat gt Naj t a nahradit mus te upravovat soubor HTML nebo CSS Napi te text kter chcete naj t do pole Naj t a jeho nahrazen do pole Nahradit M ete kliknout na p slu n tla tka pro nalezen dal shody nahrazen aktu ln shody a nahrazen v ech shod Pomoc rozev rac ch nab dek v doln sti okna m ete nechat hled n pracovat nad a
439. n defined for all your plugin code It loads icons from the plugin zip file It returns QIcon objects if you want the actual data use the analogous get_resources builtin function Sb SR SR OR SR OR OR Note that if you are loading more than one icon for performance you 174 Kapitola 1 Oddily U ivatelsk p ru ka Calibre Vyd n 2 46 0 should pass a list of names to get icons In this case get icons will return a dictionary mapping names to OIcons Names that are not found in the zip file will result in null QIcons icon get icons images icon png The qaction is automatically created from the action spec defined above self qaction setIcon icon self qaction triggered connect self show_dialog def show_dialog self The base plugin object defined in __init__ py base_plugin_object self interface_action_base_plugin Show the config dialog The config dialog can also be shown from within Preferences gt Plugins which is why the do user config method is defined on the base plugin class do user config base plugin object do user config self gui is the main calibre GUI It acts as the gateway to access all the elements of the calibre user interface it should also be the parent of the dialog d DemoDialog self gui self gaction icon do user config d show def apply settings self from calibre plugins interface demo config import prefs In an actu
440. n iterable of 2 tuples each 2 tuple of the form mi format map where mi is a Metadata object and format map is a dictionary of the form mt path or stream forexample EPUB path to file epub Returns a pair of lists ids duplicates ids contains the book ids for all newly created books in the database duplicates contains the mi format map for all books that already exist in the database as per the simple duplicate detection heuristic used by has book str nka 270 add custom book data name val map delete first False Add data for name where val map is a map of book ids to values If delete first is True all previously stored data for name will be removed add format book id fmt stream or path replace True run hooks True dbapi None Add a format to the specified book Return True of the format was added successfully Parametry replace If True replace existing format otherwise if the format already exists return False run hooks If True file type plugins are run on the format before and after being added dbapi Internal use only 1 12 Nastaven v vojov ho prost ed calibre 267 U ivatelsk p ru ka Calibre Vyd n 2 46 0 all book ids type lt type frozenset gt Frozen set of all known book ids all field for field book ids default value None Same as field for except that it operates on multiple books at once all field ids name
441. n the central panel index split 005 html maximum ease of use in ebook devices REA index split 006 html Then choose a location inside the file index split 007 html To do so simply click on the place in Dropcaps the central panel that you want to rop caps are used to use as the destination As you move emphasize the leading the mouse around the central panel athick green line appears indicating paragraph at the start of a the precise location that will be section In Word it is possible selected when you click to specify how many lines of text a drop cap should use Because of limitations in ebook technology this is not possible Name of the ToC entry when converting Instead the converted Dropcaps drop cap will use Font size and line height to simulate the effect as well as possible Currently selected destination While not as good as the original the File index split 003 html result is usually tolerable This paragraph Location A h2 tag inside the file has a D dropcap set to occupy three Approximately 7 from the top lines of text with a Font size of 58 5 pts Depending on the screen width and capabilities of the device you view the w Search for text W Find next 4 Find previous Q cancel wW OK Zkontrolovat knihu N stroj Zkontrolovat knihu vyhled ve va knize probl my kter by mohly br nit zam len mu fungov n na skute n ch tec ch za zen ch Aktivuj
442. n the syntax of these advanced formatting operations look at the Python documentation Advanced features Using templates in custom columns There are sometimes cases where you want to display metadata that calibre does not normally display or to dis play data in a way different from how calibre normally does For example you might want to display the ISBN a field that calibre does not display You can use custom columns for this by creating a column with the type co lumn built from other columns hereafter called composite columns and entering a template Result calibre will display a column showing the result of evaluating that template To display the ISBN create the column and enter identifiers select isbn into the template box To display a column containing the values of two series custom columns separated by a comma use Series1l series2 Composite columns can use any template option including formatting You cannot change the data contained in a composite column If you edit a composite column by double clicking on any item you will open the template for editing not the underlying data Editing the template on the GUI is a quick way of testing and changing composite columns Using functions in templates single function mode Suppose you want to display the value of a field in upper case when that field is normally in title case You can do this and many more things using the functions available for t
443. n turn it on under Preferences gt Sharing over the net Then just point the web browser on your device to the computer running the Content Server and you will be able to browse your book collection For example if the computer running the server has IP address 63 45 128 5 in the browser you would type http 63 45 128 5 8080 Some devices like the Kindle 1 2 DX do not allow you to access port 8080 the default port on which the content server runs In that case change the port in the calibre Preferences to 80 On some operating systems you may not be able to run the server on a port number less than 1024 because of security settings In this case the simplest solution is to adjust your router to forward requests on port 80 to port 8080 I get the error message Failed to start content server Port 8080 not free on 0 0 0 0 The most likely cause of this is your antivirus program Try temporarily disabling it and see if it does the trick I cannot send emails using calibre Because of the large amount of spam in email sending email can be tricky as different mail servers use different strategies to block email The most common problem is if you are sending email directly without a mail relay in calibre Many servers for example Amazon block email that does not come from a well known relay The most robust way to setup email sending in calibre is to do the following Create a free GMX account at GMX Goto Pr
444. nable scale news images to device then the image will first be scaled and then its quality lowered until its size is less than w h factor where w and h are now the scaled image dimensions In other words this compression happens after scaling compress news images max size None Set jpeg quality so images do not exceed the size given in KBytes If set this parameter overrides auto compression via compress news images auto size The minimum jpeg quality will be 5 100 so it is possi ble this constraint will not be met conversion options Recipe specific options to control the conversion of the downloaded content into an e book These will override any user or plugin specified values so only use if absolutely necessary For example conversion options base font size 2 De tags mytagl mytag2 title My Title linearize tables True cover margins 0 0 ffffff By default the cover image returned by get_cover_url will be used as the cover for the periodical Overri ding this in your recipe instructs calibre to render the downloaded cover into a frame whose width and height are expressed as a percentage of the downloaded cover cover margins 10 15 ffffff pads the cover with a white margin 10px on the left and right 15px on the top and bottom Color names defined at http www imagemagick org script color php Note that for some reason white does not always wo
445. nation of the search criteria see Beautiful Soup A common exam ple remove tags dict name div attrs class advert This will remove all lt div class advert gt tags and all their children from the downloaded HTML gt http www crummy com software BeautifulSoup bs3 documentation html Searching 20the 20Parse 20Tree 50 Kapitola 1 Oddily U ivatelsk p ru ka Calibre Vyd n 2 46 0 remove tags after None Remove all tags that occur after the specified tag For the format for specifying a tag see BasicNewsRecipe remove tags str nka 50 For example remove tags after dict id content will remove all tags after the first element with id content remove_tags_before None Remove all tags that occur before the specified tag For the format for specifying a tag see BasicNewsRecipe remove tags str nka 50 For example remove tags before dict id content will remove all tags before the first element with id content requires version 0 6 0 Minimum calibre version needed to use this recipe resolve internal links False If set to True then links in downloaded articles that point to other downloaded articles are changed to point to the downloaded copy of the article rather than its original web URL If you set this to True you might also need to implement canonicalize internal url str nka 43 to work with t
446. nd this Amazon bug by uploading a cover thumbnail itself However that workaround is only possible when using a USB connection and sending with calibre Note that if you send using email Amazon will automatically mark the MOBI file as a Personal Document and the cover will work but the book will show up in Personal Documents Jak p evedu kolekci HTML soubor v ur it m po ad In order to convert a collection of HTML files in a specific order you have to create a table of contents file That is another HTML file that contains links to all the other files in the desired order Such a file looks like lt html gt lt body gt hl Table of Contents lt h1 gt p style text indent 0pt gt lt a href filel html gt First File lt a gt lt br gt lt a href file2 html gt Second File lt a gt lt br gt lt p gt lt body gt lt html gt Then just add this HTML file to the GUI and use the convert button to create your ebook You can use the option in the Table of Contents section in the conversion dialog to control how the Table of Contents is generated 1 8 Nej ast j dotazy 107 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Pozn mka By default when adding HTML files calibre follows links in the files in depth first order This means that if file A html links to B html and C html and D html but B html also links to D html then the files will be in the order A html B html D html C
447. ndividual author Therefore ensure that the individual author sort values are correct before recalculating the books author sort values You can control whether the Tag Browser display authors using their names or their sort values by setting the categories use field for author name tweak in Preferences Tweaks Note that you can set an individual author s sort value to whatever you want using Manage authors This is useful when dealing with names that calibre will not get right such as complex multi part names like Miguel de Cervantes Saavedra or when dealing with Asian names like Sun Tzu With all this flexibility it is possible to have calibre manage your author names however you like For example one common req gt http www w3 org International questions qa personal names en php changelang en 116 Kapitola 1 Oddily U ivatelsk p ru ka Calibre Vyd n 2 46 0 Setthe author sort copy method tweak to copy as described above Restart calibre Do not change any book metadata before doing the remaining steps Change all author names to LN EN using the Manage authors dialog After you have changed all the authors press the Recalculate all author sort values button Press OK at which point calibre will change the authors in all your books This can take a while Pozn mka When changing from FN LN to LN FN it is often the case that the values in author sort are already in LN FN format If thi
448. nejd ve Pro v ce podrobnost se pod vejte na prava metadat e knihy str nka 102 P ev st knihy Convert books E knihy mohou b t p evedeny z n kolika form t do jak hokoliv form tu kter va e te ka e knih up ednost uje Mnoho e knih dostupn ch k zakoupen bude chr n no technologi Spr va digit ln ch pr v DRM Celibre tyto knihy nep evede Je snadn odebrat DRM z mnoha form t ale m e to b t nez konn budete si muset naj t n stroje pro osvobozen sv ch knih sami a pak pou t Calibre k jejich p evodu Pro v t inu lid by p evod m la b t jednoduch z le itost jednoho kliknut Pokud se chcete dozv d t v ce o procesu p evodu pod vejte se na P evod e knihy str nka 55 Akce P ev st knihy m t i varianty p stupn kliknut m prav m tla tkem my i na tla tko 1 P ev st jednotliv Umo uje v m zadat volby p evodu pro p izp soben p evodu ka d vybran e knihy 2 Hromadn p evod Umo uje v m zadat volby pouze jednou pro p evod n kolika e knih hromadn 3 Vytvo it katalog knih ve va knihovn Calibre Umo uje v m generovat kompletn v pis knih ve va knihovn v etn v ech metadat v n kolika form tech jako jsou XML CSV BiBTeX EPUB a MOBI Katalog bude obsahovat v echny knihy aktu ln zobrazen v zobrazen knihovny To v m umo n pou t funkce hled n http drmfree calibre ebook com about drm 1
449. ng it calibre ebooks oeb polish css remove unused css container report None re move unused classes False Remove all unused CSS rules from the book An unused CSS rule is one that does not match any actual content Parametry report An optional callable that takes a single argument It is called with information about the operations being performed remove unused classes If True class attributes in the HTML that do not match any CSS rules are also removed calibre ebooks oeb polish css filter css container properties names Remove the specified CSS properties from all CSS rules in the book Parametry e properties Set of properties to remove For example font family color e names The files from which to remove the properties Defaults to all HTML and CSS files in the book Working with the Table of Contents calibre ebooks oeb polish toc from xpaths container xpaths Generate a Table of Contents from a list of XPath expressions Each expression in the list corresponds to a level of the generate ToC For example h h1 h h2 h h3 will generate a three level table of contents from the lt h1 gt lt h2 gt and lt h3 gt tags calibre ebooks oeb polish toc from links container Generate a Table of Contents from links in the book calibre ebooks oeb polish toc from files container Generate a Table of Contents from files in the book calibre ebooks oeb polish toc create in
450. ng polishing from same format to same format When calibre does a conversion from the same format to the same format for example from EPUB to EPUB the original file is saved so that in case the conversion is poor you can tweak the settings and run it again By setting this to False you can prevent calibre from saving the original file Similarly by setting save original format when polishing to False you can prevent calibre from saving the original file when polishing save original format True save original format when polishing True Number of recently viewed books to show Right clicking the View button shows a list of recently viewed books Control how many should be shown here gui view history size 15 Change the font size of book details in the interface Change the font size at which book details are rendered in the side panel and comments are rendered in the metadata edit dialog Set it to a positive or negative number to increase or decrease the font size change book details font size by 0 Compile General Program Mode templates to Python Compiled general program mode templates are significantly faster than interpreted templates Setting this tweak to True causes calibre to compile in most cases general program mode templates Setting it to False causes calibre to use the old behavior interpreting the templates Set the tweak to False if some compiled t
451. nihy M e stahovat noviny a p ev st je na e knihy pro pohodln ten Je v ceplatformov funguje na syst mech Windows Linux a OSX Pr v jste spustili Calibre Co ud l te nyn Ne m e Calibre ud lat cokoliv s va imi e knihami mus o nich nejd ve v d t P et hn te p r soubor e knih do Calibre nebo klikn te na tla tko P idat knihy a najd te knihy se kter mi chcete pracovat Pot co jste p idali knihy zobraz se v hlavn m zobrazen kter vypad n jak takto 110 The Trouble With Physics Lee Smolin 18 Mar 2011 0 9 k kk 111 The Wise Man s Fear Patrick Rothfuss 08 Mar 2011 1 4 coo xo 112 The Heroes Joe Abercrombie 08 Mar 2011 1 2 ke Pot co jste spokojen obdivovali seznam knih kter jste pr v p idali nejsp si budete cht t n jakou p e st Abyste to mohli ud lat budete muset p ev st knihu do form tu kter mu va e te ka rozum P i prvn m spu t n Calibre se spust Uv tac pr vodce a nastav Calibre pro va e tec za zen P evod je snadn v c Sta vybrat knihu kterou chcete p ev st a pak klikn te na tla tko P ev st knihy Prozat m ignorujte v echny volby a klikn te na OK V prav m doln m rohu se za ne ot et mal ikona Jakmile se p estane ot et va e p eveden kniha je p ipravena Klikn te na tla tko Zobrazit pro ten knihy Pokud chcete st knihu ve sv te ce p ipojte ji k po t
452. nihy p ed azena informace o s rii mohli byste to ud lat stejn Jak jste si u nepochybn v imli je zde za kr t vac pol ko ozna en Rozli ovat mal a velk tak e zde nebudete muset pou vat vlajky pro v b r chov n No je asi na ase uzav t velice kr tk vod do regul rn ch v raz Douf m e jsem v m uk zal dost abyste alespo mohli za t a umo nil v m pokra ovat v samostatn m u en dobr m v choz m bodem je Dokumentace Pythonu pro regul rn vyrazy 6 Ale je t jedna posledn varov n Regul rn v razy jsou v konn ale tak je velice snadn je pokazit Calibre posky tuje opravdu skv l mo nosti pro testov n abyste vid li jestli se va e v razy chovat podle o ek v n Pou vejte je Pokuste se nest elit se do nohy Bo e tenhle v raz miluju Ale kdybyste si i p es varov n poranili nohu nebo jin sti t la pokuste se z toho pou it Pod kov n D ky za pomoc s tipy opravami a tak 76https docs python org 2 library re html 1 9 Kurzy 167 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Idolse kovidgoyal chaley dwanthny kacir Starson17 V ce o regul rn ch v razech najdete v U ivatelsk p ru ce Pythonu 1 9 5 Integrace serveru s obsahem calibre do jin ch server Zde v m uk eme jak integrovat server s obsahem calibre do dal ch server Nejb n j m d vodem k tomu j
453. nka 151 count hodnota odd lova str nka 151 list difference seznaml seznam2 odd lova str nka 151 list eguals seznaml odd lova l seznam2 odd lova 2 hodnota ano hodnota ne str nka 152 7 152 a SEZ gt 145 list re group src list separator include re search re group 1 template str nka 152 list sort seznam sm r odd lova str nka 152 list union seznaml seznam2 odd lova str nka 152 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Arithmetic add x y class calibre utils formatter functions BuiltinAdd add x y vrac x y Vyvol v jimku kdy bu x nebo y nejsou sla divide x y class calibre utils formatter functions BuiltinDivide divide x y vrac x y Vyvol v jimku kdy bu x nebo y nejsou sla multiply x y class calibre utils formatter functions BuiltinMultiply multiply x y vrac x y Vyvol v jimku kdy bu x nebo y nejsou sla subtract x y class calibre utils formatter functions BuiltinSubtract subtract x y vrac x y Vyvol v jimku kdy bu x nebo y nejsou sla Boolean and hodnota hodnota class calibre utils formatter functions BuiltinAnd and hodnota hodnota vrac et zec 1 pokud v echny hodnoty nejsou pr zdn jinak vrac pr zdn et zec Tato funkce funguje dob e s test nebo first non empty M ete m t tolik hodnot kolik c
454. noty kategorie v re imu CSV V choz je uvozovky separator s et zec pou it k odd len pol v re imu CSV V choz je rka version zobrazit slo verze programu a ukon it width w Maxim ln ka jednoho dku ve v stupu V choz nastaven pro ur en velikosti obrazovky backup metadata calibredb backup metadata options Z lohovat metadata ulo en v datab zi do jednotliv ch soubor OPF v ka d m adres i knih Toto se norm ln d je automaticky ale m ete tento p kaz spustit s volbou all abyste vynutili op tovn vygenerov n soubor OPF Pamatujte e norm ln nen v bec pot eba toto d lat proto e soubory OPF jsou z lohov ny automaticky poka d kdy se zm n metadata Kdykoliv p ed te parametry calibredb kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami all Norm ln tento p kaz pracuje pouze nad knihami kter maj zastaral soubory OPF Pomoc t to volby pracuje nad v emi knihami help h zobrazit tuto zpr vu n pov dy a ukon it version zobrazit slo verze programu a ukon it clone calibredb clone path to new library Vytvo it klon aktu ln knihovny Toto vytvo novou pr zdnou knihovnu kter m stejn vlastn sloupce virtu ln knihovny a jin nastaven jako aktu ln knihovna Klonovan knihovna nebude obsahovat
455. nsensitive See also data for has book str nka 268 270 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 has format book id fmt Return True iff the format exists on disk has id book id Return True iff the specified book id exists in the db init Initialize this cache with data from the backend multisort fields ids to sort None virtual fields None Return a list of sorted book ids If ids to sort is None all book ids are returned fields must be a list of 2 tuples of the form field name ascending True or False The most significant field is the first 2 tuple pref name default None Return the value for the specified preference or the value specified as default if the preference is not set read backup book id Return the OPF metadata backup for the book as a bytestring or None if no such backup exists remove books book ids permanent False Remove the books specified by the book ids from the database and delete their format files If permanent is False then the format files are not deleted remove formats formats map db only False Remove the specified formats from the specified books Parametry formats map A mapping of book id to a list of formats to be removed from the book e db only If True only remove the record for the format from the db do not delete the actual format file from the filesystem remove items field item ids restrict to book ids None De
456. nt will keep all divs with id article image and spans with class important center_navbar True If True the navigation bar is center aligned otherwise it is left aligned compress_news_images False Set this to False to ignore all scaling and compression parameters and pass images through unmodified If True and the other compression parameters are left at their default values jpeg images will be scaled to fit http www crummy com software BeautifulSoup bs3 documentation html 2http www crummy com software BeautifulSoup bs3 documentation html 2 http www crummy com software BeautifulSoup bs3 documentation html 1 2 P id v n obl ben ch webov ch str nek se zpr vami 47 U ivatelsk p ru ka Calibre Vyd n 2 46 0 in the screen dimensions set by the output profile and compressed to size at most w h 16 where w x h are the scaled image dimensions compress news images auto size 16 The factor used when auto compressing jpeg images If set to None auto compression is disabled Otherwise the images will be reduced in size to w h compress news images auto size bytes if possi ble by reducing the quality level where w x h are the image dimensions in pixels The minimum jpeg quality will be 5 100 so it is possible this constraint will not be met This parameter can be overridden by the parameter compress news images max size which provides a fixed maximum size for images Note that if you e
457. nt reg exp xblq content The BBC has an alternative page design structure which I suspect is an out of dai travel and in some sport pages These alternative pages are table based which why I think they are an out of date design and account for I m guesstimaking l than 1 of all articles They use a table class storycontent to hold the articl and like blq content above have required lots of extra removal by remove tags story content reg exp xstory content S Calibre will fill lt body gt with those sections which are matched Note that the blg content reg exp must be listed before storybody reg exp in keep only tags due it being the parent of storybody reg exp that is to say the div class id story will be inside div class id blq content in the HTML if blq content is there 4 all If they are the other way around in keep only tags then blq content reg exp will end up being discarded Hb SR SR che k kok Keep the sections of the HTML which match the list below The HTML page created by e design but which is still used in some articles Eg Click technology FastTfack is PSS bo pody t keep only tags dict name table attrs class re compile story content reg exp re IGNORE dict name div attrs class re compile blq content reg exp re IGNORECA dict name div attrs id re compile blq content reg exp r
458. number is automatically incremented for every successive match Another new feature is the use of replace file order setting that to spine means that if this search is run on multiple HTML files the files are processed in the order in which they appear in the book See Choose file order when running on multiple HTML files str nka 95 for details Auto create a Table of Contents Finally lets try something a little more ambitious Suppose your book has headings in h1 and h2 tags that look like lt h1 id someid gt Some Text lt h1 gt We will auto generate an HTML Table of Contents based on these headings Create the custom function below from calibre import replace entities from calibre ebooks oeb polish toc import TOC toc to html from calibre gui2 tweak book import current container from calibre ebooks oeb base import xml2str def replace match number file name metadata dictionaries data functions xargs 4 if match is None All matches found output the resulting Table of Contents The argument metadata is the metadata of the book being edited if toc in data toc data toc kwargs root TOC for file name tag name anchor text in toc parent root children 1 if tag name h2 and root children else root parent add text file name anchor toc toc to html root current container toc html Table of Contents for meta print xml2str toc else print No headings
459. nut na tla tko tak pro vede tuto akci 2 Spustit uv tac ho pr vodce Umo uje v m spustit Uv tac ho pr vodce kter se objevil kdy jste poprv spustili Calibre vow 3 Z skat moduly pro roz en Calibre Otev e nov okno kter zobraz moduly pro Calibre Tyto moduly jsou vyv jeny t et mi stranami pro roz en funk nosti Calibre 4 Restartovat v re imu lad n Umo uje v m povolit re im lad n kter m e pom hat v voj m Calibre p i e en probl m na kter naraz te v programu Pro v t inu u ivatel by toto m lo z stat zak z no pokud jim v voj i neud l pokyn aby to povolili w a Library Device Card A 1 1 3 Katalogy Katalog je kolekce knih Calibre m e spravovat dva typy r zn ch katalog 1 Knihovna Toto je kolekce knih ulo en ch ve va knihovn Calibre ve va em po ta i vey 2 Za zen Toto je kolekce knih ulo en ch ve va te ce e knih Bude dostupn kdy p ipoj te te ku k po ta i 10 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 Mnoho operac jako je p id v n knih odstra ov n zobrazov n atd je kontextov z visl ch Tak e nap klad pokud kliknete na tla tko Zobrazit kdy m te vybran katalog Za zen Calibre otev e pro zobrazen soubory v za zen Pokud m te vybran katalog Knihovna budou nam sto toho otev eny soubory
460. o dku 247 embed fonts e ebook polish volba p kazov ho dku 255 empty e calibredb add volba p kazov ho dku 236 enable heuristics ebook convert volba p kazov ho dku 249 enable plugin calibre customize volba p kazov ho dku 230 encoding web2disk volba p kazov ho dku 259 encryption method e calibre smtp volba p kazov ho dku 234 epub flatten ebook convert volba p kazov ho dku 246 epub inline toc ebook convert volba pr kazov ho f dku 246 epub toc at end ebook convert volba pr kazov ho f dku 246 exec file e calibre debug volba p kazov ho dku 231 expand css ebook convert volba p kazov ho dku 247 explode book x calibre debug volba p kazov ho dku 231 extra css ebook convert volba p kazov ho dku 247 extract to ebook convert volba pr kazov ho f dku 246 field f calibredb set metadata volba p kazov ho dku 238 fields calibredb catalog volba p kazov ho dku 239 288 Rejst k U ivatelsk p ru ka Calibre Vyd n 2 46 0 fields f calibredb list volba p kazov ho dku 235 filter css ebook convert volba p kazov ho dku 247 filter regexp web2disk volba p kazov ho dku 259 flow size ebook convert volba p kazov ho dku 246 font size mapping ebook convert volba p kazov ho dku 24
461. o dat calibre aby pro v s st hlo ob lky knih za p edpokladu e kniha m zn m ISBN P padn m ete zadat soubor ve sv m po ta i kter chcete pou t jako ob lku calibre pro v s m e dokonce vygenerovat v choz ob lku se z kladn mi metadaty M ete p etahovat obr zky na ob lku abyste ji zm nili a tak kliknut m prav m tla tkem my i kop rovat a vlo it obr zky ob lky Krom toho tu je tla tko pro automatick o znut r me k ob lky v p pad e m va e ob lka o kliv r me ek 1 7 2 prava metadat mnoha knih najednou Nejd ve vyberte knihy kter chcete upravit podr en m Ctrl nebo Shift a kliknut m na n Pokud vyberete v ce ne jednu knihu kliknut na tla tko Upravit metadata zp sobit otev en nov ho dialogov ho okna hromadn pravy me tadat Pomoc tohoto dialogov ho okna m ete rychle nastavit autora vydavatele hodnocen t tky s rii atd mnoha knih na stejnou hodnotu To je obzvl u ite n pokud jste pr v importovali adu knih kter maj n kter spo le n metadata Toto dialogov okno je velice v konn nap klad m kartu Hledat a nahradit kterou m ete pou t k proveden hromadn ch operac na metadatech a dokonce i ke kop rov n metadat z jednoho sloupce do jin ho 1 7 prava metadat e knihy 103 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Norm ln dialogov okno pravy metadat
462. o The New York Times import string re from calibre import strftime from calibre web feeds recipes import BasicNewsRecipe from calibre ebooks BeautifulSoup import BeautifulSoup class NYTimes BasicNewsRecipe title The New York Times author Kovid Goyal description Daily news from the New York Times timefmt a d b Y needs subscription True remove tags before dict id article ll remove tags after dict id article remove tags dict attrs class articleTools post tools side tool dict id footer toolsRight articleInline navigation archive dict name script noscript style encoding cp1252 no_stylesheets Tru extra css hl font sans serif large n byline font monospace def get browser self br BasicNewsRecipe get browser if self username is not None and self password is not None br open http www nytimes com auth login br select form name login bye USERID self usernam br PASSWORD self password br submit return br def parse index self soup self index to soup http www nytimes com pages todayspaper index html def feed title div return join div findAll text True recursive False strip articles key None ans for div in soup findAll True attrs class section headline story story headline if div class section headline
463. o jsou n zev autor s rie vydavatel ne pln nebo nespr vn Nejjednodu zp sob jak zm nit metadata v calibre je jednodu e poklepat na polo ku a zadat spr vn nahrazen Pro propracovan j v konn pravy pou ijte n stroje pro pravu metadat probran n e 102 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 1 7 1 prava metadat jedn knihy najednou Klikn te na knihu kterou chcete upravit a pak klikn te na tla tko Upravit metadata nebo stiskn te kl vesu E Otev e se dialogov okno kter v m umo n upravit v echny aspekty metadat M r zn funkce aby byly pravy rychlej a efektivn j Seznam b n pou van ch tip M ete kliknout na tla tko mezi n zvem a autory pro jejich automatick prohozen M ete kliknout na tla tko vedle azen autora aby ho calibre automaticky vyplnilo pomoc hodnot azen ulo en ch u ka d ho autora Pou ije dialogov okno Spravovat autory abyste zobrazili a zm nili hodnoty azen autor Toto dialogov okno lze otev t kliknut m a podr en m tla tka vedle azen autora M ete kliknout na tla tko vedle t tk pro pou it Editoru t tk pro spr vu t tk p idru en ch ke knize Pole ISBN bude m t erven pozad pokud zad te neplatn ISBN Pro platn ISBN bude zelen Pole azen autora bude erven pokud se hodnota azen auto
464. o list re krom toho e na hrazen nejsou voliteln Pou v re group list item search re group 1 template p i prov d n nahrazen na seznamu v sledk list sort seznam sm r odd lova class calibre utils formatter functions BuiltinListSort list sort seznam sm r odd lova vrac seznam se azen pomoc azen bez rozli en mal ch a velk ch p s men Pokud je sm r nula je seznam se azen vzestupn jinak sestupn Polo ky seznamu jsou odd leny odd lova em stejn jako polo ky ve vr cen m seznamu list union seznaml seznam2 odd lova class calibre utils formatter functions BuiltinListUnion list union seznam1 seznam2 odd lova vrac seznam vytvo en slou en m polo ek v seznaml a seznam2 odebr n m duplicitn ch polo ek pomoc porovn n bez rozli en mal ch a velk ch p smen Pokud se polo ky li velikost p smen je pou ita ta z seznaml Polo ky v seznaml a seznam2 jsou odd leny odd lova em stejn jako polo ky ve vr cen m seznamu subitems hodnota po te n index kone n index class calibre utils formatter functions BuiltinSubitems subitems hodnota po te n index kone n index tato funkce je pou v na na rozd len seznam polo ek jako jsou nry Interpretuje hodnotu jako rkami odd len seznam polo ek kde ka d polo ka je te kami od d len seznam Vrac nov seznam vytvo en nejd ve nalezen m v
465. o xml parent item index None Insert item into parent or append if index is None fixing indentation Only works with self closing items 274 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 is dir False If this container represents an unzipped book a directory iterlinks name get line numbers True Iterate over all links in name If get line numbers is True the yields results of the form link line number offset Where line number is the line number at which the link occurs and offset is the number of cha racters from the start of the line Note that offset could actually encompass several lines if not zero manifest has name name Return True if the manifest has an entry corresponding to name manifest id map Mapping of manifest id to canonical names manifest type map Mapping of manifest media type to list of canonical names of that media type mi The metadata of this book as a Metadata object Note that this object is constructed on the fly every time this property is requested so use it sparingly name to abspath name Convert a canonical name to an absolute OS dependant path name to href name base None Convert a name to a href relative to base which must be a name or None in which case self root is used as the base names that must not be changed Set of names that must never be renamed Depends on the ebook file format names that must not be removed Set of names that
466. ob lku Je mo n vytvo it vlastn ob lku pro va e katalogy pro v ce informac se pod vejte na Vlastn ob lky katalogu str nka 191 Pokud jste vytvo ili vlastn ob lku kterou chcete znovu pou t vyberte Pou t existuj c ob lku Jinak vyberte Generovat novou ob lku Dodate n pozn mka popisu ur uje obsah vlastn ho sloupce kter vlo it do str nky Popis vedle n hledu ob lky Nap klad mo n chcete zobrazit datum kdy jste naposledy etli knihu pomoc vlastn ho slupce Napo sledy teno Pro pokro il pou v n funkce pozn mky Popisu se pod vejte na tento p sp vek ve f ru calibre lt http www mobileread com forums showpost php p 1335767 amp postcount 395 gt _ ka n hledu ur uje p edvolbu ky pro n hledy ob lek obsa en na str nk ch Popis N hledy jsou ukl d ny do mezipam ti pro zlep en v konu Pro experimentov n s r zn mi kami zkuste generovat katalog jen s p r knihami doku neur te svou up ednost ovanou ku pak vygenerujte pln katalog Kdy je katalog generov n poprv s novou vv kou n hledu v kon bude ni ale n sleduj c sestaven katalogu vyu ij n hledy v mezipam ti Slou it s koment i ur uje vlastn sloupec jeho obsah bude nedestruktivn slou en s metadaty koment b hem generov n katalogu Nap klad m ete m t vlastn sloupec Biografie autora kter byste cht li p ipojit k metada
467. ode for speed and system interfacing Note that calibre is not compatible with Python 3 and requires at least Python 2 7 9 Obsah Design philosophy str nka 260 Rozvr en k du str nka 260 Getting the code str nka 261 Submitting your changes to be included str nka 262 Windows development environment str nka 263 OSX development environment str nka 263 Linux development environment str nka 264 Having separate normal and development calibre installs on the same computer str nka 264 Debugging tips str nka 265 Using print statements str nka 265 Using an interactive python interpreter str nka 265 Using the python debugger as a remote debugger str nka 265 Pou v n debuggeru ve va em obl ben m Python IDE str nka 266 Spu ten libovol ch skript uvnit python prost en Calibre str nka 266 Using calibre in your projects str nka 266 Binary install of calibre str nka 266 Source install on Linux str nka 267 API documentation for various parts of calibre str nka 267 1 12 1 Design philosophy calibre has its roots in the Unix world which means that its design is highly modular The modules interact with each other via well defined interfaces This makes adding new features and fixing bugs in calibre very easy resulting in a frenetic pace of development Because of its roots calibre has a comprehensive command line interface for all it
468. ogram finish formatting field series index 05 2 Another example for the template series re s Ns Ns N1 series index 0 gt 2s title use program strcat 1 9 Kurzy 141 U ivatelsk p ru ka Calibre Vyd n 2 46 0 re field series Ns Ns s N1 finish formatting field series index 0 2s field title e formats modtimes date format return a comma separated list of colon separated items represen ting modification times for the formats of a book The date format parameter specifies how the date is to be formatted See the date format function for details You can use the select function to get the mod time for a specific format Note that format names are always uppercase as in EPUB e formats paths return a comma separated list of colon separated items representing full path to the formats of a book You can use the select function to get the path for a specific format Note that format names are always uppercase as in EPUB formats sizes return a comma separated list of colon separated items representing sizes in bytes of the formats of a book You can use the select function to get the size for a specific format Note that format names are always uppercase as in EPUB e has cover return Yes if the book has a cover otherwise return the empty string e not value returns the
469. ok use the top right area of Edit metadata dialog to do so Then calibre will automatically put that file into the correct folder and move it around when the title author changes Metadata about the books is stored in the file met adat a db at the top level of the library folder This file is is a sqlite database When backing up your library make sure you copy the entire folder and all its sub folders The library folder and all it s contents make up what is called a calibre library You can have multiple such libraries To manage the libraries click the calibre icon on the toolbar You can create new libraries remove rename existing ones and switch between libraries easily You can copy or move books between different libraries once you have more than one library setup by right clicking on a book and selecting the Copy to library action How does calibre manage author names and sorting Author names are complex especially across cultures see this note for some of complexities calibre has a very flexible strategy for managing author names The first thing to understand is that books and authors are separate entities in calibre A book can have more than one author and an author can have more than one book You can manage the authors of a book by the edit metadata dialog You can manage individual authors by right clicking on the author in the Tag Browser on the left of the main calibre screen and selecting Manage authors Using this dia
470. oks to devices If set to Manual the default managing collections is left to the user calibre will not delete already existing collections for a book on your reader when you resend the book to the reader but calibre will add the book to collections if necessary To ensure that the collections for a book are based only on current calibre metadata first delete the books from the reader then resend the books You can edit collections directly on the device view by double clicking or right clicking in the collections column If Metadata management is set to Only on send then calibre will manage collections more aggressively Collections will be built using calibre metadata exclusively Sending a book to the reader will correct the collections for that book so its collections exactly match the book s metadata adding and deleting collections as necessary Editing collections on the device view is not permitted because collections not in the metadata will be removed automatically If Metadata management is set to Automatic management then calibre will update metadata and collections both when the reader is connected and when books are sent When calibre detects the reader and generates the list of books on the reader it will send metadata from the library to the reader for all books on the reader that are in the library On device is True adding and removing books from collections as indicated by the metadata and device customizati
471. okud kliknete na sloupec n zev a pak na sloupec autor knihy budou se azeny podle autora a v echny polo ky pro stejn ho autora budou se azeny podle n zvu M ete hledat konkr tn knihu nebo sadu knih pomoc panelu hled n V ce o tom n e M ete rychle a pohodln upravovat metadata dvojit m kliknut m na polo ku kterou chcete zm nit v seznamu M ete prov d t Akce str nka 3 na sad ch knih Pro v b r v ce knih m ete Ponechat stisknutou kl vesu Ct r1 a kliknout na knihy kter chcete vybrat Ponechat stisknutou kl vesu Shift a kliknout na prvn a posledn knihu z rozsahu knih kter chcete vybrat M ete konfigurovat kter pole chcete zobrazit pomoc dialogov ho okna P edvolby str nka 10 1 1 5 Rozhran hled n M ete prohled vat v echna metadata zad n m hledan ch v raz do panelu hled n Vyhled v n nerozli uje mal a velk p smena Nap klad Asimov Foundation format lrf Toto najde v echny knihy ve va knihovn kter maj ve sv ch metadatech Asimov a Foundation a jsou dostupn ve form tu LRF N kter dal p klady author Asimov and not series Foundation title The Ring or This book is about a ring format epub publisher feedbooks com 1 1 Grafick u ivatelsk rozhran 11 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Vyhled v n je ve v choz m nastaven obsahuje Polo
472. ollection False If True this input plugin generates a collection of images one per HTML file This can be set dynamically in the convert method if the input files can be both image collections and non image collections If you set this to True you must implement the get images method that returns a list of images core usage 1 Number of CPU cores used by this plugin A value of 1 means that it uses all available cores for viewer False If set to True the input plugin will perform special processing to make its output suitable for viewing output encoding utf 8 The encoding that this input plugin creates files in A value of None means that the encoding is undefined and must be detected individually common options set lt calibre customize conversion OptionRecommendation object at 0x7f137193c6d0 gt Options shared by all Input format plugins Do not override in sub classes Use opt ions str nka 201 instead Every option must be an instance of OptionRecommendation options set Options to customize the behavior of this plugin Every option must be an instance of OptionRecommendation recommendations set A set of 3 tuples of the form option name recommended value recommendation level get images Return a list of absolute paths to the images if this input plugin represents an image collection The list of images is in the same order as the spine and the TOC convert stream options file ext log a
473. olo ky ne nad n to m e b t trochu ne ikovn dokud si na to nezvyknete Ozna ov n ob lky E knihy maj obvykle obr zek ob lky Tento obr zek je ozna en v Prohl e i soubor ikonou hn d knihy vedle n zvu obr zku Pokud chcete ur it n jak jin obr zek jako ob lku m ete to prov st kliknut m prav m tla tkem my i na soubor a v b rem Ozna it jako obr zek ob lky 76 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 Nav c soubory EPUB maj koncept tituln str nky Tituln str nka je soubor HTML kter se chov jako tituln str nka nebo ob lka knihy Ozna it soubor HTML jako tituln str nku p i prav soubor EPUB m ete kliknut m prav m tla tkem my i D vejte pozor na to aby ozna en soubor obsahoval pouze informace o ob lce Pokud obsahuje jin obsah jako je prvn kapitola pak bude tento obsah ztracen pokud u ivatel n kdy p evede soubor EPUB v Calibre do jin ho form tu To je proto e p i p evodu Calibre p edpokl d e ozna en tituln str nka obsahuje pouze ob lku a dn jin obsah Odstra ov n soubor Soubory m ete odstranit bu kliknut m prav m tla tkem my i na n nebo jejich v b rem a stisknut m kl vesy Delete Odstran n souboru odebere v echny odkazy na soubor ze souboru OPF coz v m u et tu pr ci Odkazy na jin ch m stech v ak odebr ny nejsou pro jejich snadn nalezen a o
474. ombination of articles from English and whatever language the calibre user interface is set to In addition in some contexts where the book language is available the language of the book is used You can change the list of articles for a given language or add a new language by editing per language title sort articles To tell calibre to use a language other than the user interface language set default language for title sort For example to use German set it to deu A value of None means the user interface language is used The setting title sort articles is ignored present only for legacy reasons per language title sort articles English eng r AXs t r TheNs r An s Esperanto epo c La st g pt m L xb4 Spanish spa r El s r LaNst r LoNst r LosNst r Las st r Un s r UnaNst r UnosNst r Unas s 1 10 P izp soben Calibre 221 U ivatelsk p ru ka Calibre Vyd n 2 46 0 French tfa Lesty r ULaWXspt t 2 0 E wn Fiheskst F uUnksr F Unekst rt DesXst S De stba s r DeXsr r D wD y war Italian 3ta t LoNNSR TIIN Stip L VLNXb4 hats GIEZNNst I st Le st Uno st Un st Una st Un Un xb4 Dei st Degli st Delle st Del s Della st Dello st Dell Dell xb4 Portuguese po
475. on View the most recently added book self self view button clicked connect self view self l addWidget self view button self update metadata button QPushButton Update metadata in a book s files self self update metadata button clicked connect self update metadata self l addWidget self update metadata button self conf button QPushButton Configure this plugin self self conf button clicked connect self config self l addWidget self conf button self resize self sizeHint about self Get the about text from a file inside the plugin zip file The get resources function is a builtin function defined for all your plugin code It loads files from the plugin zip file It returns the bytes from the specified file Note that if you are loading more than one file for performance you should pass a list of names to get_resources In this case get_resources will return a dictionary mapping names to bytes Names that are not found in the zip file will not be in the returned dictionary text get resources about txt OMessageBox about self About the Interface Plugin Demo text decode utf 8 marked self rr Show books with only one format db self db new api matched ids book id for book id in db all book ids if len db formats book id Mark the records with the matching ids new api does not know anything about marked books so we use the full
476. on methods Over the air The easiest way to transfer books wirelessly to your Android device is to use the Calibre Companion Android app This app is maintained by a core calibre developer and allows calibre to connect to your Android device wirelessly just as though you plugged in the device with a USB cable You can browse files on the device in calibre and use the Send to device button to transfer files to your device wirelessly calibre also has a builtin web server the Content Server You can browse your calibre collection on your Android device by using the calibre content server which makes your collection available over the net First perform the following steps in calibre Set the Preferred Output Format in calibre to EPUB for normal Android devices or MOBI for Kindles The output format can be set under Preferences Interface Behavior Convert the books you want to read on your device to EPUB MOBI format by selecting them and clicking the Convert button Turn on the Content Server in calibre s preferences and leave calibre running Nyn na va em Android za zen otev ete prohl e a jd te na http 192 168 1 2 8080 2http www mobileread com forums showthread php t 1 18559 43 https play google com store apps details id org geometerplus zlibrary ui android amp hl en 4https play google com store apps details id com flyersoft moonreader chl en https play google com store apps details id com m
477. on When a book is sent calibre corrects the metadata for that book adding and deleting collections Manual editing of metadata on the device view is not allowed Note that this option specifies sending metadata not books The book files on the reader are not changed In summary choose manual management if you want to manage collections yourself Collections for a book will never be removed by calibre but can be removed by you by editing on the device view Choose Only on send if you want calibre to manage collections when you send a book adding books to and removing books from collections as needed Choose Automatic management if you want calibre to keep collections up to date whenever the reader is connected If you use multiple installations of calibre to manage your reader then option Automatic management may not be what you want Connecting the reader to one library will reset the metadata to what is in that library Connecting to the other library will reset the metadata to what is in that other library Metadata in books found in both libraries will be flopped back and forth Can I use both calibre and the SONY software to manage my reader Yes you can use both provided you do not run them at the same time That is you should use the following sequence Connect reader gt Use one of the programs gt Disconnect reader Reconnect reader gt Use the other program gt disconnect reader The underlying reason is tha
478. onfig widgets like checkboxes combo boxes text fields and so on See the register method This class automatically handles change notification resetting to default translation between gui objects and config objects etc for registered settings If your config widget inherits from this class but includes setting that are not registered you should override the ConfigWidgetInterface methods and call the base class methods inside the overrides register name config obj gui name None choices None restart reguired False empty string is None True setting lt class calibre gui2 preferences Setting Register a setting Parametry name The setting name config The config object that reads writes the setting e gui name The name of the GUI object that presents an interface to change the setting By default it is assumed to be opt name choices If this setting is a multiple choice combobox based setting the list of cho ices The list is a list of two element tuples of the form gui name value setting The class responsible for managing this setting The default class handles almost all cases so this param is rarely used Viewer plugins cass calibre customize ViewerPlugin plugin path Nadt dy calibre customize Plugin str nka 194 type u Prohl xed u017ee u010d These plugins are used to add functionality to the calibre viewer load fonts This method is called once at view
479. ontents amp x2F console app x2F Contents amp x2F MacoO Viz tak generated en ebook convert Rozhran p kazov ho dku pro v echny p evody e knih Shttp www crummy com software BeautifulSoup documentation html 7http Ixml de Shttps github com htmlSlib html5lib python 2http www mobileread com forums forumdisplay php f 228 42 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 1 2 4 Dal ten Abyste se dozv d li v ce o psan pokro il ch p edpis pomoc n kter ho z vybaven dostupn ho v BasicNewsRecipe m li byste si pro st n sleduj c zdroje API Documentation str nka 43 Dokumentace t dy BasicNewsRecipe a v echny jej d le it me tody a pole BasicNewsRecipe Zdrojov k d BasicNewsRecipe Built in recipes Zdrojov k d vestav n ch p edpis kter jsou dod v ny s Calibre The calibre recipes forum Zde se nach z spousta znalost pisatel p edpis Calibre 1 2 5 Dokumentace API API Documentation for recipes The API for writing recipes is defined by the BasicNewsRecipe str nka 43 class calibre web feeds news BasicNewsRecipe options log progress reporter Base class that contains logic needed in all recipes By overriding progressively more of the functionality in this class you can make progressively more customized powerful recipes For a tutorial introduction to creating
480. or every result Make sure that any cover isbn mapping information is cached before the Metadata object is put into re sult queue Parametry log A log object use it to output debugging information errors e result queue A result Queue results should be put into it Each result is a Metadata object e abort If abort is set returns True abort further processing and return as soon as possible 1 10 P izp soben Calibre 199 U ivatelsk p ru ka Calibre Vyd n 2 46 0 e title The title of the book can be None authors A list of authors of the book can be None e identifiers A dictionary of other identifiers most commonly isbn 1234 e timeout Timeout in seconds no network request should hang for longer than timeout Vrac None if no errors occurred otherwise a unicode representation of the error suitable for showing to the user download cover log result queue abort title None authors None identifiers timeout 30 get best cover False Download a cover and put it into result queue The parameters all have the same meaning as for identify str nka 199 Put self cover data into result queue This method should use cached cover URLs for efficiency whenever possible When cached data is not present most plugins simply call identify and use its results If the parameter get best cover is True and this plugin can get multiple covers it should only get the best on
481. orm the following steps in calibre Set the Preferred Output Format in calibre to EPUB The output format can be set under Preferences gt Interface gt Behavior Set the output profile to iPad this will work for iPhone iPods as well under Preferences gt Conversion gt Common Options gt Page Setup Convert the books you want to read on your iDevice to EPUB format by selecting them and clicking the Convert button Turn on the Content Server by clicking the Connect Share button and leave calibre running You can also tell calibre to automatically start the content server via Preferences gt Sharing over the net There are many apps for your iDevice that can connect to calibre Here we describe using two of them iBooks and Stanza Using Stanza You should be able to access your books on your iPhone by opening Stanza Go to Get Books and then click the Shared tab Under Shared you will see an entry Books in calibre If you don t make sure your iPad iPhone is connected using the WiFi network in your house not 3G If the calibre catalog is still not detected in Stanza you can add it manually in Stanza To do this click the Shared tab then click the Edit button and then click Add book source to add a new book source In the Add Book Source screen enter whatever name you like and in the URL field enter the following http 192 168 1 2 8080 Replace 192 168 1 2 with the local IP address of the
482. ormalize to nfc True Return the raw data corresponding to the file specified by name Parametry decode If True and the file has a text based mimetype decode it and return a unicode object instead of raw bytes e normalize to nfc If True the returned unicode object is normalized to the NFC normal form as is required for the EPUB and AZW3 file formats relpath path base None Convert an absolute path with os separators to a path relative to base defaults to self root The relative path is not a name Use abspath to name str nka 273 for that remove from spine spine items remove if no longer in spine True Remove the specified items by canonical name from the spine If remove if no longer in spine is True the items are also deleted from the book not just from the spine remove from xml item Removes item from parent fixing indentation works only with self closing items remove item name remove from guide True Remove the item identified by name from this container This removes all references to the item in the OPF manifest guide and spine as well as from any internal caches rename current name new name Renames a file from current name to new name It automatically rebases all links inside the file if the directory the file is in changes Note however that links are not updated in the other files that could reference this file This is for performance such updates should be done once in bulk repla
483. orovn v ny Abyste definovali sadu dejte v echny znaky kter chcete m t v sad do hranat ch z vorek Tak e nap klad sada abc by odpov dala bu znaku a b nebo c Sady budou v dy porovn vat pouze jeden ze znak v sad Rozum j rozsah m znak tak e pokud chcete porovnat v echna mal p smena pou ili byste sadu a z pro mal a velk p smena byste pou ili a zA Z a tak d le Ch pete to Tak e samoz ejm pomoc v razu Strana 0 9 z 423 byste byli schopni porovnat prvn ch 9 str nek m se sn po et pot ebn ch v raz na t i Druh v raz Strana 0 9 0 9 z 423 by porovnal v echna dvojcifern sla str nek a jsem si jist Ze um te odhadnout jak by vypadal t et v raz Ano do toho Napi te ho Par dn Za n to d vat smysl Doufal jsem e to eknete Ale p ipravte se ted to bude je t lep Pr v jsme vid li Ze pomoc sad jsme mohli porovnat jeden z n kolika znak najednou Ale m ete dokonce opakovat znak nebo sadu m sn te po et v raz pot ebn ch pro zpracov n v e uveden ho p kladu s sly str nek na jeden Ano JEDEN Jste nad en M li byste b t Funguje to takhle N kter takzvan speci ln znaky a opakuj jednotliv p edch zej c prvek Prvek znamen bu jeden znak sadu znak d c sekvenci nebo spin o t ch posledn ch dvou se budeme u it pozd ji
484. oru To je u ite n pokud chcete ru n upravit slovo nebo vid t v jak m je v kontextu Pro zm nu slova jednodu e poklepejte na jeden z nab zen ch alternativn ch pravopis vpravo nebo napi te sv j vlastn opraven pravopis a klikn te na tla tko Zm nit vybran slovo na To nahrad v echny v skyty slova v knize M ete tak kliknout prav m tla tkem my i na slovo v hlavn m seznamu slov pro pohodlnou zm nu slova z nab dky zobrazen po kliknut prav m tla tkem my i 1 5 prava e knih 89 U ivatelsk p ru ka Calibre Vyd n 2 46 0 M ete nechat kontrolu pravopisu ignorovat slovo pro aktu ln relaci kliknut m na tla tko Ignorovat M ete tak p idat slovo do u ivatelsk ho slovn ku kliknut m na tla tko P idat slovo do slovn ku Kontrola pravopisu podporuje v ce u ivatelsk ch slovn k tak e m ete vybrat slovn ku do kter ho chcete slovo p idat M ete tak nechat kontrolu pravopisu zobrazit v echna slova v knize ne jen ta patn napsan To je u ite n abyste vid li kter slova jsou v knize nej ast j a ke spu t n jednoduch ho hled n a nahrazen na jednotliv ch slovech Pozn mka Pokud provedete jak koliv zm ny v knize pravou soubor kdy je otev en n stroj kontroly pravopisu m li byste kliknout na tla tko Aktualizovat v n stroji kontroly pravopisu Pokud to neud l te a budete pokra ovat v pou v n n
485. ostatn ch syst m dokon ov n syst m dokon ov n editoru pou v podposloup nou shodu To znamen e pro dokon en n zvu souboru m ete zadat jen dv nebo t i p smena odkudkoliv z n zvu souboru ekn me nap klad e kdy chcete n zev souboru images arrow1 png m ete jednodu e napsat ial a stisknout Tab pro dokon en n zvu souboru P i hled n shod syst m dokon ov n up ednost uje p smena kter jsou na za tku slova nebo ihned po odd lova i cesty Jakmile si zvyknete na tento syst m zjist te Ze v m u et spoustu asu a sil Fragmenty Editor Calibre podporuje fragmenty Fragment je kus textu kter je bu asto znovu pou it nebo obsahuje hodn nadbyte n ho textu Editor v m umo uje vlo it fragment pomoc jen n kolika stisk kl ves Fragmenty jsou velice v konn s mnoha funkcemi jako jsou z stupn symboly mezi kter mi m ete p eskakovat automatick zrcadlen opakovan textu a tak d le Pro v ce informac nav tivte Fragmenty str nka 96 1 6 Porovn n e knih calibre zahrnuje integrovan n stroj porovn n e knih kter m e b t pou it pro zobrazen co se zm nilo uvnit e knihy po prav nebo p evodu Um porovnat knihy ve form tech EPUB a AZW3 Pro jeho pou it bu otev ete e knihu v n stroji pro prava e knih str nka 71 a klikn te na Soubor gt Porovnat s jinou knihou nebo pou ijte panel Podrobnosti o knize st
486. ovnaj c m se isbn maj c m hodnotu rovnaj c se 123456789 e identifiers i 1 najde knihy s typem obsahuj c m i maj c m hodnotu obsahuj c 1 1 6 Ukl d n hled n Calibre v m umo uje ulo it asto pou van hled n pod speci ln m n zvem a pak znovu pou t toto hled n pomoc jedin ho kliknut Abyste to ud lali vytvo te hled n bu zad n m do panelu hled n nebo pomoc Prohl e e t tk Potom zadejte n zev kter chcete d t hled n do pole Ulo en hled n vedle panelu hled n Klikn te na ikonu plus vedle pole ulo en ch hled n pro ulo en hled n 299 1 Nyn m ete p istupovat ke sv mu ulo en mu hled n v Prohl e i t tk pod Hled n Jedno kliknut m v m umo n snadno znovu pou t jak koliv libovoln slo it hled n ani byste ho museli znovu vytv et 1 1 Grafick u ivatelsk rozhran 13 U ivatelsk p ru ka Calibre Vyd n 2 46 0 O Advanced Search Find entries that have Althese words This exact phrase One or more of these words But dont show entries that have Any of these unwanted words OK Cancel Obr 1 1 Dialogov okno Pokro il hled n 14 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 1 1 7 Virtu ln knihovny Virtu ln knihovna je zp sob jak p edst rat e va e knihovna Calibre m pouze n kolik kn
487. ovny Vyberte ji a stiskn te tla tko Zobrazit pro ten D vod pro toto fungovalo tak dob e s tak m lo sil m je ten e blog poskytuje informa n kan ly RSS s pln m obsahem t j obsah l nku je vlo en do samotn ho informa n ho kan lu Pro v t inu zdroj zpr v kter poskytuj zpr vy t mto zp sobem s informa n mi kan ly s pln m obsahem nepot ebujete dn dal sil abyste je p evedli na e knihy Nyn se pod v me na zdroje zpr v kter neposkytuj informa n kan ly s pln m obsahem V takov ch informa n ch kan lech je cel l nek webov str nka a informa n kan l obsahuje pouze odkaz na webovou str nku s 1 2 P id v n obl ben ch webov ch str nek se zpr vami 25 U ivatelsk p ru ka Calibre Vyd n 2 46 0 kr tk m souhrnem l nku bbc co uk Zkusme n sleduj c dva informa n kan ly z BBC 1 Tituln sr nka zpr v http newsrss bbc co uk rss newsonline world edition front page rss xml 2 V da a p roda http newsrss bbc co uk rss newsonline world edition science nature rss xml Postupujte podle pokyn navr en ch ve v e uveden m Blog Calibre str nka 24 pro vytvo en p edpisu pro BBC pomoc v e uveden ch informa n ch kan l P i pohledu na sta enou e knihu vid me e Calibre ud lalo slu nou pr ci vyextrahov n m pouze obsahu na kter m v m z le z ka d webov str nky l nku Proces extra
488. p ru ka Calibre Vyd n 2 46 0 1 5 5 Kontroln body Kontroln body jsou zp sob jak ozna it aktu ln stav knihy jako speci ln Pak m ete pokra ovat v prov d n jak chkoliv zm n v knize a pokud se v m nel b v sledky m ete se vr tit do stavu kontroln ho bodu Kontroln body jsou automaticky vytvo eny p i ka d m spu t n n kter ho z automatizovan ch n stroj popsan ch v p edchoz sti Kontroln bod m ete vytvo it pomoc pravy gt Vytvo it kontroln bod A vr tit se k p edchoz mu kontroln mu bodu pomoc pravy gt Vr tit Funkce kontroln ch bod je dopln k k norm ln mu mechanismu Zp t Znovu p i prav ch jednotliv ch soubor Kont roln body jsou obzvl u ite n kdy jsou zm ny rozd leny do v ce soubor v knize nebo pokud chcete b t schopni vr tit velkou skupinu souvisej c ch zm n jako celku Seznam dostupn ch kontroln ch bod m ete zobrazit pomoc Zobrazen gt Kontroln body Porovnat sou asn stav knihy se zadan m kontroln m bodem m ete pomoc n stroje Porovn n e knih str nka 100 v b rem kontroln ho bodu a kliknut m na tla tko Porovnat Tla tko Vr tit obnov knihu na vybran kontroln bod a zru v echny zm ny od vytvo en kontroln ho bodu 1 5 prava e knih 83 U ivatelsk p ru ka Calibre Vyd n 2 46 0 84 Kapitola 1 Odd ly U ivatelsk p ru ka Calib
489. p sob jak si vytvo it sv j vlastn p izp soben p ebal knihy Remove first image N kdy zdrojov dokument kter p ev d te obsahuje ob lku jako sou st knihy nam sto samo statn ob lky Pokud jste tak zadali ob lku v Calibre pak bude m t p eveden kniha dv ob lky Tato mo nost jednodu e odebere prvn obr zek ze zdrojov ho dokumentu m zajist e p eveden kniha m pouze jednu ob lku tu zadanou v Calibre 1 4 7 Obsah Kdy m vstupn dokument ve sv ch metadatech obsah Calibre ho prost pou ije Nicm n velk mno stv star ch form t bu nepodporuje obsah zalo en na metadatech nebo ho jednotliv dokumenty nemaj V t chto p padech 1 4 P evod e knihy 63 r class U ivatelsk p ru ka Calibre Vyd n 2 46 0 v m volby v tomto odd lu mohou pomoct automaticky vygenerovat obsah v p ev d n e knize zalo en na skute n m obsahu ve vstupn m dokumentu PAPE SEPA vytv en nebo pravu obsahu ru n p eve te na form ty EPUB nebo AZW3 a vyberte za krt vac pol ko v doln odd lu Obsah v dialogov m okn p evodu kter k Ru n jemn ladit obsah po dokon en p evodu T mto se po p evodu spust n stroj Upravit obsah Umo n v m vytv et polo ky v obsahu jednodu e kliknut m na m sto v knize kam chcete aby polo ka ukazovala M ete tak pou t samotn n stroj Upravit obsah ani byste prov d li p
490. pomoc guilabel Zobrazen gt Obsah Kontrola pravopisu slov v knize Kontrolu pravopisu m ete spustit pomoc N stroje gt Zkontrolovat pravopis 88 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 Filter the list of words i Word M Count Language A Ignore inline DOCX 16 English dropcap 2 English Add to dictionary Dropcaps 3 English Default hf dropcaps 2 English Show next occurrence ebook 11 English ebook com 1 English ebooks 3 English EPUB 2 English etc 1 English Goyal 2 English Change selected word to gray 1 English online hyperlinks 1 English incline in line i 1 English in line mainline ie 1 English inlier unlined inline 2 English newline inland Inline 5 English on line Kovid 2 English Misspelled words 30 Total words 571 Y Show only misspelled words Q cose Slova jsou zobrazena s po tem v skyt v knize a jazykem do kter ho slovo pat Informace o jazyku je p evzata z metadat knihy a z atribut lang v souborech HTML To umo uje aby kontrola pravopisu fungovala dob e i s kni hami kter obsahuj text ve v ce jazyc ch Nap klad v n sleduj c m ryvku HTML bude slovo color zkontrolov no pomoc americk angli tiny a slovo colour pomoc britsk angli tiny lt div lang en US gt color lt span lang en GB gt colour lt span gt lt div gt Pozn mka Pro zv razn n dal ho v skytu slova m ete poklepat na toto slovo v edit
491. ppear on collections made from tags Use sony collection renaming rules series Series tags Tag 3 I want series and myseries to be merged and for the collection name to have Series appended The renaming rule is sony collection renaming rules series Series fmyseries Series 4 Same as example 2 but instead of having the category name in parentheses and appended to the value I want it prepended and separated by a colon such as in Series Darkover I must change the template used to format the category name The resulting two tweaks are sony collection renaming rules series Series tags Tag sony collection name template category l value sony collection renaming rules sony collection name template valuej category Specify how SONY collections are sorted Specify how sony collections are sorted This tweak is only applicable if metadata management is set to automatic You can indicate which metadata is to be used to sort on a collection by collection basis The format of the tweak is a list of metadata fields from which collections are made followed by the name of the metadata field containing the sort value Example The following indicates that collections built from pubdate and tags are to be sorted by the value in the custom column mydate that collections built from series are to be sorted by s
492. pracov n str nka 249 Naj t A Nahradit str nka 250 Detekce Struktury str nka 250 Obsah str nka 251 Metadata str nka 251 Lad n str nka 252 help h zobrazit tuto zpr vu n pov dy a ukon it input profile Zadejte vstupn profil Vstupn profil d v p evodn mu syst mu informaci jak interpretovat r zn informace ve vstupn m dokumentu Nap klad d lky z visl na rozli en t j d lky v pixelech Mo nosti jsou cybookg3 cybook opus default hanlinv3 hanlinv5 illiad irexdr1000 irexdr800 kindle msreader mobipocket nook sony sony300 sony900 list recipes Seznam vestav n ch n zv p edpis Z vestav n ho p edpisu m ete vytvo it e knihu takto ebook convert Nazev Predpisu recipe output epub output profile Zadejte v stupn profil V stupn profil k p evodn mu syst mu jak optimalizovat vytvo en dokument pro zadan za zen V n kter ch p padech m e b t v stupn profil pou it pro optimalizaci v stupu pro kon kr tn za zen ale je to z dka pot eba Mo nosti jsou cybookg3 cybook opus default generic eink gene 1 11 Rozhran p kazov ho dku 245 U ivatelsk p ru ka Calibre Vyd n 2 46 0 ric eink hd generic eink large hanlinv3 hanlinvS illiad ipad ipad3 irexdr1000 irexdr800 jetbook5 kindle kindle dx kindle fire kindle pw kindle pw3 kindle voyage kobo msreader mobipoc
493. pravit obsah M Slou it vybran z znamy Alt M Slou it vybran z znamy ponechat origin ly O Otev t nad azenou slo ku P Vylep it knihy S Ulo it na disk 22 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 Tabulka 1 1 pokra ujte na p edchoz str nce Kl vesov zkratka Akce T Upravit knihu V Zobrazit Alt V nebo Cmd V v OS X Zobrazit konkr tn form t Alt Shift J P epnout seznam loh Alt Shift B P epnout prohl e ob lek Alt Shift D P epnout panel podrobnost o knize Alt Shift T P epnout prohl e t tk Alt Shift G P epnout m ku ob lek Alt A Zobrazit knihy od stejn ho autora jako aktu ln kniha Alt T Zobrazit knihy se stejn mi t tky jako aktu ln kniha Alt P Zobrazit knihy od stejn ho vydavatele jako aktu ln kniha Alt Shift S Zobrazit knihy ze stejn s rie jako aktu ln kniha Ctrl F Zam it panel hled n Shift Ctrl F Otev t dialogov okno pokro il ho hled n Esc Vymazat aktu ln hled n Shift Esc Zam it seznam knih Ctrl Esc Vymazat virtu ln knihovnu Alt Esc Vymazat dodate n omezen Ctrl x Vytvo it do asnou virtu ln knihovnu zalo enou na aktu ln m hled n Ctrl Vpravo Vybrat dal kartu virtu ln knihovny Ctrl Vlevo
494. provides this functionality and is generated by default You can customize the look of the the generated Table of contents by using the Extra CSS conversion setting under the Look amp Feel part of the conversion dialog The default css used is listed below simply copy it and make whatever changes you like 70 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 calibre pdf toc table width 10055 calibre pdf toc table tr td last of type text align right calibre pdf toc level 0 font size larger calibre pdf toc level 1 td first of type padding left 1 4em calibre pdf toc level 2 td first of type padding left 2 8em 1 5 Uprava e knih Calibre m integrovan editor e knih kter m e b t pou it pro pravu knih ve form tech EPUB a AZW3 Kindle Editor v m zobraz HTML a CSS kter jsou pou ity uvnit soubor knih s iv m n hledem kter se aktualizace zat mco prov d te zm ny Tak obsahuje r zn automatizovan n stroje pro proveden kol b n ho vy i t n a oprav Tento editor m ete pou t kliknut m prav m tla tkem my i na kteroukoliv knihu v Calibre a v b rem Upravit knihu File Edit Tools View Search Suie ed amp Ail amp Files Browser yw amp 99 Zindex split 002 html Z index_split_ooa htmt v BE Text nye E 5 de M titlepage xhtml index split 000 htmL index split
495. r budou pou ity V stupn m modulem pokud vybran V stupn form t podporuje okraje str nky Krom toho byste m li vybrat Vstupn profil a V stupn profil Ob sady profil se v podstat zab vaj t m jak interpretovat rozm ry ve vstupn ch a v stupn ch dokumentech velikosti obrazovky a kl e pravy m tka v choz ho p sma Pokud v te e soubor kter p ev d te byl zam len k pou it na konkr tn m za zen nebo softwarov platform zvolte odpov daj c vstupn profil jinak prost zvolte v choz vstupn profil Pokud v te e soubory kter vytv te jsou ur eny pro konkr tn typ za zen zvolte odpov daj c v stupn profil Zejm na pro v stupn soubory MOBI byste m li zvolit Kindle pro LIT te ku Microsoft a pro EPUB te ku Sony V p pad EPUB bude m t profil te ky Sony tye sys 60 Kapitola 1 Oddily U ivatelsk p ru ka Calibre Vyd n 2 46 0 konc odd l pro zachov n vnit n ch sou st pod mezn hodnotou velikosti co je vy adov n pro za zen SONY Zvl t pro telefony iPhone nebo Android zvolte vyberte v stupn profil SONY Pokud v te e va e soubory EPUB nebudou teny na SONY nebo podobn m za zen pou ijte v choz v stupn profil Pokud vytv te soubory MOBI kter nejsou zam leny pro Kindle zvolte v stupn profil knih Mobipocket V stupn profil tak ur uje velikost obrazovky
496. r r AXs r O st r Os st r As st r Um s r Uns st r UmaNst r Umas s Jy Romanian Ton r Un s r O st r Niste s German deu r Der s r Die s r DasNst r Den s r EinNs r Eine st r Einen s r Dem s r Des s r Einem st r Bines st Dutch nig r De s r Het s r Ben st r n s r s s r Ene st r Ener st r Enes st r Den st r Der s r Des s EENG Swedish swe r En s r Ett s r Det st r Den s r De st Jy Turkish eur r BirNst Afrikaans afr r n s r Die st Greek teg r OXs 4 r IXst r ToXst r TaNst r T sNst r TisWXst r EnasNst Miaks Ena s r EnanVXst Hungarian Thun c A st Az s Egy st default_language_for_title_sort None title sort articles r A The An Ns Specify a folder calibre should connect to at startup Specify a folder that calibre should connect to at startup connect to folder This must be a full path to the folder not exist when calibre starts it is ignored If there are the path such as in Windows paths you must double them Examples auto connect to folder auto connect to folder Y ov C Users someone Desktop home dropbox My Dropbox som L auto_connect_to_folder Specify renaming rules for SONY collections Specify renaming rules for sony collections metadata management is set to automatic
497. r kazov ho r dku add plugin a 229 build plugin b 229 customize plugin 230 disable plugin 230 enable plugin 230 help h 230 list plugins 1 230 remove plugin r 230 version 230 calibre debug volba p kazov ho dku add simple plugin 230 command c 230 debug device driver d 230 default programs 230 diff 230 edit book t 231 exec file e 231 explode book x 231 gui g 231 gui debug 231 help h 231 inspect mobi m 231 new server 231 paths 231 py console p 231 reinitialize db 231 run plugin r 231 shutdown running calibre s 231 subset font f 231 test build 231 Rejst k 295 U ivatelsk p ru ka Calibre Vyd n 2 46 0 version 231 viewer w 231 calibre server volba p kazov ho dku auto reload 232 daemonize 232 develop 232 help h 232 max cover 232 max opds items 232 max opds ungrouped items 232 password 232 pidfile 232 port p 232 restriction 232 thread pool 232 timeout t 232 url prefix 232 username 233 version 233 with library 233 calibre smtp volba p kazov ho dku attachment a 233 encryption method e 234 fork f 233 help h 233 localhost 1 233 outbox o 233 password p 234 port 234 relay r 234
498. r nka 16 Pokud prov d te p evod z EPUB do EPUB p vodn soubor EPUB bude ulo en jako ORIGINAL EPUB Jednodu e klikn te prav m tla tkem my i na polo ku ORIGINAL EPUB v panelu Podrobnosti o knize a zvolte Porovnat s form tem EPUB N stroj porovn n kter se otev e bude vypadat jako sn mek obrazovky n e Uk e v m rozd ly v textu stylech a obr zc ch ve zvolen ch knih ch 100 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 images forward png images forward png Size 4 5 KB Resolution 128x128 index split 000 htnl Size 64 3 KB Resolution 128x128 index split 000 htnl lt body class calibre gt p id id Toc359077851 class block gt Demonstration CX s lib p id id Ea class block gt Denonstration book lt p class block1 gt This document demonstrates the ability of the calibre DOCX Input plugin to convert the various typographic features in a Microsoft Word 2007 and newer document Convert this document to a modern ebook format such as AZW3 for Kindles or EPUB for other ebook readers to see it in action p p class block1 gt There is support for images tables lists footnotes endnotes links dropcaps and lt p class block1 gt This document demonstrates the ability of the calibre ebook comaprison tool to show changes made to the text styles and images in a book lt p gt p class blocki gt There is support fo
499. r books added before changing the flag will retain their order until the title is edited Double clicking on a title and hitting return without changing anything is sufficient to change the sort itle series sorting library order Control formatting of title and series when used in templates Control how title and series names are formatted when saving to disk sending to device The behavior depends on the field being processed If processing title then if this tweak is set to library order the title will be replaced with title sort If it is set to strictly alphabetic then the title will not be changed If processing series then if set to library order articles such as The and An will be moved to the end If set to strictly_alphabetic the series will be sent without change For example if the tweak is set to library_order The Lord of the Rings will become Lord of the Rings The If the tweak is set to strictly_alphabetic it would remain The Lord of the Rings Note that the formatter function raw_field will return the base value for title and series regardless of the setting of this tweak save template title series sorting library order Set the list of words considered to be articles for sort strings Set the list of words that are to be considered articles when computing the title sort strings The articles differ by language By default calibre uses a c
500. r functions 147 BuiltinFirstMatchingCmp t da v ca libre utils formatter functions 154 BuiltinFirstNonEmpty t da V ca libre utils formatter functions 150 BuiltinFormatDate t da v ca libre utils formatter functions 147 BuiltinFormatNumber t da v ca libre utils formatter_functions 147 BuiltinFormatsModtimes t da v ca libre utils formatter functions 148 BuiltinFormatsPaths t da v ca libre utils formatter_functions 148 BuiltinFormatsSizes t da v ca libre utils formatter functions 149 BuiltinHasCover t da V ca libre utils formatter functions 149 BuiltinHumanReadable t da V ca libre utils formatter functions 147 BuiltinIdentifierInList t da V ca libre utils formatter functions 151 BuiltinIfempty t da v calibre utils formatter functions 150 BuiltinInList t da v calibre utils formatter functions 151 BuiltinLanguageCodes t da V ca libre utils formatter functions 149 BuiltinLanguageStrings t da V ca libre utils formatter functions 149 BuiltinListDifference t da V ca libre utils formatter functions 151 BuiltinListEquals t da v ca libre utils formatter_functions 152 BuiltinListIntersection t da V ca libre utils formatter functions 152 BuiltinListitem t da v calibre utils formatter functions 151 BuiltinListRe t da v calibre utils formatter functions 152 BuiltinListReGroup t da v ca libre utils forma
501. r images tables lists footnotes endnotes links dropcaps and various types of text and paragraph level formatting lt p gt various types of text and paragraph level formatting lt p gt stylesheet css block1 color black block1 displa color black text indent 21 6pt padding 8 heigh margin 0 text indent 21 6pt padding block2 margin 8 color green block2 color USE di font family serif font size 9 75em line height 1 15 font size 0 75em W Next match A Previous match _ Left panel Right panel i Optionsy Revert changes Previous change s Next change search for text Before Editing For screenshot Current state 1 6 1 Pochopen zobrazen porovn n Jak m ete vid t na sn mku obrazovky v e zobrazen porovn n ukazuje rozd ly mezi dv ma knihami vedle sebe Jsou zobrazeny pouze rozd ly s n kolika dky kontextu kolem nich Tak m ete snadno vid t na prvn pohled pouze to co se zm nilo uvnit velk ho dokumentu jako je kniha P idan text je zobrazen se zelen m pozad m odebran text s erven m pozad m a zm n n text s modr m pozad m sla dk v eho zm n n ho textu jsou zobrazena po stran ch umo uj snadno p ej t na konkr tn zm nu v editoru Kdy otev ete n stroj porovn n z editoru m ete tak poklepat na dek v prav m panelu pro automatick p ejit n
502. r this plugin It returns True if the user clicks OK False otherwise The changes are automatically applied load resources names If this plugin comes in a ZIP file user added plugin this method will allow you to load resources from the ZIP file For example to load an image pixmap OQPixmap pixmap loadFromData self load resources images icon png itervalues next icon QIcon pixmap Parametry names List of paths to resources in the zip file using as separator Vrac A dictionary of the form name file contents Any names that were not found in the zip file will not be present in the dictionary customization help gui False Return a string giving help on how to customize this plugin By defaultraise a Not ImplementedError which indicates that the plugin does not require customization If you re implement this method in your subclass the user will be asked to enter a string as customization for this plugin The customization string will be available as self site customization Site customization could be anything for example the path to a needed binary on the user s computer Parametry gui If True return HTML help otherwise return plain text help temporary file suffi Return a file like object that is a temporary file on the file system This file will remain available even after 1 10 P izp soben Calibre 195 U ivatelsk p ru ka Calibre Vyd n 2 46 0 being
503. ra 1 9 Kurzy 127 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Thrillers Crime Horror ete Pou it m funkce hierarchie m ete vid t tyto nry v prohl e i t tk v podob stromu jak je zobrazeno na obr zku V tomto p kladu je nejkrajn j rove Z nr vlastn m sloupcem kter obsahuje nry Z nry obsahuj c pod nry se zobrazuj s mal m troj heln kem vedle sebe Kliknut na tento troj heln k otev e polo ku a zobraz podZ nry jak m ete vid t u Historie a Sci fi Kliknut na nr m e vyhledat v echny knihy s t mto nrem nebo pod zen polo ky tohoto nru Nap klad klik nut na Sci fi m e p edat v echny t i pod zen nry Alternativn historie Vojensk Vesm rn opera Kliknut na Alternativn historie p ed knihy v tomto nru ignoruje ty v nrech Vojensk a Vesm rn opera Knihy samoz ejm mohou m t v ce nr Pokud m t kniha nr jak Vesm rn opera tak Vojensk pak uvid te tuto knihu p i kliknut na oba nry Hled n je probr no podrobn ji n e Dal v c kterou m ete vid t na obr zku je e nry Vojensk se objevuje dvakr t jednou pod Historie a jednou pod Sci fi Proto e jsou nry v hierarchii jsou to dva samostatn nry Kniha m e b t v jednom v druh m nebo s pochybami v tomto p pad v obou Nap klad knihy Winstona Churchilla ze s rie
504. ra li od t kterou calibre p edpokl d Stahov n metadat Nejhez funkce dialogov ho okna pravy metadat je jeho schopnost automaticky vyplnit mnoho pol metadat z sk n m metadat z r zn ch webov ch str nek calibre aktu ln pou v isbndb com Google Books Amazon a Library Thing Sta en metadata za v s mohou vyplnit n zev autora s rii t tky hodnocen popis a ISBN Pro pou it stahov n vypl te pole n zev a autor a klikn te na tla tko St hnout metadata calibre v m nab dne seznam knih kter nejv ce odpov daj n zvu a autorovi Pokud vypln te nejd ve pole ISBN bude pou ito p ednostn p ed n zvem a autorem Pokud nejsou nalezeny dn shody zkuste u init hled n trochu m n konkr tn zahrnut m pouze n kter ch kl ov ch slov v n zvu a pou it m pouze p jmen autora Spr va form t knihy V calibre m e m t jedna kniha p idru eno mnoho r zn ch form t Nap klad jste mohli z skat kompletn shakespea rovo d lo ve form tu EPUB a pozd ji ho p ev st do MOBI abyste ho mohli st na Kindle calibre pro v s automaticky spravuje v ce form t V odd lu Dostupn form ty dialogov ho okna Upravit metadata m ete tyto form ty spravovat M ete p idat nov form t odstranit existuj c form t a tak po dat calibre o nastaven metadat a ob lky pro polo ku knihy z metadat v jednom z form t V e o ob lk ch M ete p
505. ran p kazov ho dku 253 U ivatelsk p ru ka Calibre Vyd n 2 46 0 cover Nastavit ob lku zadan ho souboru date d Nastavit datum vyd n from opf Na st metadata ze zadan ho souboru OPF a pou t je k nastaven metadat v e knize Metadata zadan v p ka zov m dku p ep ou metadata na ten ze souboru OPF get cover Z skat ob lku z e knihy a uloZit ji jako zadany soubor help h zobrazit tuto zpr vu n pov dy a ukon it identifier Nastavit identifik tory pro knihu m e b t zad no v cekr t Nap klad identifier str nka 254 uri http acme com identifier str nka 254 isbn 12345 Pro odebr n identifik toru zadejte pr zdnou hodnotu identifier str nka 254 isbn Pamatujte e identifik tor ozna en jako identifik tor bal ku nem e b t u soubor EPUB odebr n index i Nastavit po ad knihy v t to s rii isbn Nastavit ISBN knihy language 1 Nastavit jazyk lrf bookid Nastavit BookID v souborech LRF publisher p Nastavit vydavatele e knihy rating r Nastavit hodnocen M lo by to b t slo mezi 1 a 5 series s Nastavit s rii do kter tato e kniha pat tags Nastavit t tky pro knihu M l by to b t seznam odd len rkami title t Nastavit n zev title sort Verze n zvu pou it pro azen Pokud nen zad n a je zad n n zev bude autom
506. raw list n zev odd lova vrac seznam metadat pojmenovan n zvem bez pou it jak hokoliv form tov n nebo azen a s polo kami odd len mi odd lova em series sort class calibre utils formatter functions BuiltinSeriesSort series sort vrac hodnotu fazen s rie user categories class calibre utils formatter functions BuiltinUserCategories user categories vr t rkami odd len seznam u ivatelsk ch kategori kter obsahuj tuto knihu Tato funkce funguje pouze v grafick m rozhran l Pokud chcete pou t tyto hodnoty v ablon ch ulo en na disk nebo odesl n do za zen pak mus te vytvo it vlastn Sloupec sestaven z jin ch sloupc pou t funkci v ablon toho sloupce a pou t hodnotu toho sloupce ve sv ch ablon ch ulo en nebo odesl n 1 9 Kurzy 149 U ivatelsk p ru ka Calibre Vyd n 2 46 0 virtual libraries class calibre utils formatter functions BuiltinVirtualLibraries virtual libraries vrac rkami odd len seznam virtu ln ch knihoven kter obsahuj tuto knihu Tato funkce funguje pouze v grafick m rozhran Pokud chcete pou t tyto hodnoty v ablon ch ulo en na disk nebo odesl n do za zen pak mus te vytvo it vlastn Sloupec sestaven z jin ch sloupc pou t funkci v ablon toho sloupce a pou t hodnotu toho sloupce ve sv ch ablon ch ulo en nebo odesl n If then else
507. re Vyd n 2 46 0 1 5 6 Panel iv n hled File Preview Inline Formatting Here we demonstrate various types of inline text formatting and the use of embedded fonts Here is some bold italic bold italic underlined and struekeuttext Then we have a supers and a su Dscripr Now we see some red green and blue text Some text with a yellow highlight Some text in a box Some text in MAENE A paragraph with styled text subtle emphasis Followed by strong text and intense emphasis This paragraph uses document wide styles for styling rather than inline text properties as demonstrated in the previous paragraph calibre can handle both with equal ease Fun with fonts This document Dus embedded the Ubuntu typeface here i IS some text in the Ubuntu Mono typeface notice how every letter has the same width even i and m Every embedded font will automatically be intheoutput ebook during a conversion U ivatelsk p ru ka Calibre Vyd n 2 46 0 N hled souboru v m poskytuje p ehled o r zn ch souborech uvnit knihy Panel iv n hled v m iv ukazuje zm ny kter prov d te se zpo d n m jedn nebo dvou sekund Jak upravujete soubory HTML nebo CSS panel n hledu se automaticky aktualizuje aby odr el zm ny Kdy pohybujete kurzorem v editoru panel n hledu sleduje jeho um st n a ukazuje v m odpov daj c um st n v knize Kliknut do panelu n hledu zp sob
508. re ebooks oeb polish container Container 274 gui atribut calibre gui2 tweak book plugin Tool 280 ca ca ca ca ca ca gui category atribut ca libre customize PreferencesPlugin 215 gui configuration widget metoda ca libre customize conversion InputFormatPlugin 201 gui configuration widget metoda ca libre customize conversion OutputFormatPlugin InputFormatPlugin 202 gui layout complete metoda libre gui2 actions InterfaceAction 214 gui name atribut calibre customize PreferencesPlugin 215 Ca guide_type_map atribut ca libre ebooks oeb polish container Container 274 H has_book metoda calibre db cache Cache 270 has_format metoda calibre db cache Cache 270 has html comments atribut libre ebooks metadata sources base Source 198 has id metoda calibre db cache Cache 271 ca has_name metoda ca libre ebooks oeb polish container Container 274 href to name metoda ca libre ebooks oeb polish container Container 274 HTML 282 icon atribut calibre customize PreferencesPlugin 215 icon atribut calibre devices interface DevicePlugin 203 identifyQ metoda ca libre ebooks metadata sources base Source 199 identify_results_keygen metoda ca libre ebooks metadata sources base Source 199 ignore_connected_device metoda ca libre devices interface DevicePlugin 208 ignore_duplicate_articles atribut ca libre web feed
509. re efficient will introduce us 35 http en wikipedia org wiki De finibus bonorum et malorum 96 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 to some more features of placeholders To use this snippet simply type lt a and press Cont rol J The editor will expand this to lt a href filename gt lt a gt Not only that the word filename will be selected with the cursor placed over it so that you can easily type in the real filename using the editor s nifty Automatick dokon ov n str nka 100 feature And once you are done typing the filename press Cont rol J again and the cursor will jump to the position in between the lt a gt tags so you can easily type in the text for the link After you are done typing the text press Cont rol J again to jump to the point after the closing tag This snippet is defined as Trigger a Template a href 1 filename gt 2x lt a gt 3 There are a couple of new features here First the 1 placeholder has become more complex It now includes some default text the word filename If a placeholder contains default text the default text is substituted for the place holder when the snippet is expanded Also when you jump to a placeholder with default text using Cont rol J the default text is selected In this way you can use default text to act as a reminder to you to fill in important parts of the template You can specif
510. replace the match For example preprocess regexps re compile r Article ends here 5 body re DOTALL re IGNORECASE lambda match lt body gt will remove everything from lt Article ends here gt to lt body gt publication type unknown Publication type Set to newspaper magazine or blog If set to None no publication type metadata will be written to the opf file recipe disabled None Set to a non empty string to disable this recipe The string will be used as the disabled message recursions 0 Number of levels of links to follow on article webpages remove attributes List of attributes to remove from all tags For example remove attributes style font remove empty feeds False If True empty feeds are removed from the output This option has no effect if parse index is overridden in the sub class It is meant only for recipes that return a list of feeds using feeds or get feeds str nka 44 It is also used if you use the ignore duplicate articles option remove javascript True Convenient flag to strip all javascript tags from the downloaded HTML remove tags List of tags to be removed Specified tags are removed from downloaded HTML A tag is specified as a dictionary of the form name tag name e g div attrs a dictionary fe g class advertisment All keys are optional For a full expla
511. rk on windows Use ffffff instead delay 0 Delay between consecutive downloads in seconds The argument may be a floating point number to indi cate a more precise time description u A couple of lines that describe the content this recipe downloads This will be used primarily in a GUI that presents a list of recipes encoding None Specify an override encoding for sites that have an incorrect charset specification The most common being specifying lat inl and using cp1252 If None try to detect the encoding If it is a callable the callable is called with two arguments The recipe object and the source to be decoded It must return the decoded source extra_css None Specify any extra CSS that should be added to downloaded HTML files It will be inserted into lt style gt tags just before the closing lt head gt tag thereby overriding all CSS except that which is declared using the style attribute on individual HTML tags For example extra css heading font serif x large feeds None 48 Kapitola 1 Oddily U ivatelsk p ru ka Calibre Vyd n 2 46 0 List of feeds to download Can be either urll url2 or titlel urll title2 WELZ pase filter regexps List of regular expressions that determines which links to ignore If empty it is ignored Used only if is link wanted is not implemented For example filter regexps r ads doublecli
512. rocessing on image urls perhaps removing size restrictions for dynamically generated images etc and return the precessed URL index to soup url or raw raw False as tree False Convenience method that takes an URL to the index page and returns a BeautifulSoup of it url or raw Either a URL or the downloaded index page as a string is link wanted url tag Return True if the link should be followed or False otherwise By default raises NotImplementedError which causes the downloader to ignore it Parametry url The URL to be followed e tag The Tag from which the URL was derived javascript login browser username password This method is used to login to a website that uses javascript for its login form After the login is complete the cookies returned from the website are copied to a normal non javascript browser and the download proceeds using those cookies An example implementation def javascript login self browser username password browser visit http some page that has a login form browser select form nr 0 Select the first form on the page form username usernam form password password browser submit timeout 120 Submit the form and wait at most two minutes Note that you can also select forms with CSS2 selectors like this browser select_form form login_form browser select from form name someform parse feeds Create a
513. rom De finibus bonorum et malorum a philosophical work by Cicero translated to English To use it simply type Lorem in an HTML file and press Cont ro1 J It will be replaced by a couple of paragraphs of filler The definition of this snippet is very simple the trigger text is defined as Lorem and the template is defined simply as the literal text to be inserted You can easily customize it to use your favorite form of filler text Inserting a self closing HTML tag lt gt Now let s look at a simple example of the powerful concept of placehol ders Say you want to insert the self closing tag lt hr gt Just type lt gt and press Cont rol J the editor will expand the snippet to Here the symbol represents the current cursor position You can then type hr and press Cont rol J to move the cursor to after the end of the tag This snippet is defined as Trigger lt gt Template lt 1 gt 2 Placeholders are simply the dollar sign followed by a number When the snippet is expanded by pressing Control J the cursor is positioned at the first placeholder the placeholder with the lowest number When you press Cont rol J again the cursor jumps to the next placeholder the placeholder with the next higher number Inserting an HTML link tag lt a HTML link tags all share a common structure They have an href attribute and some text between the opening and closing tags A snippet to make typing them mo
514. roto e slo en sloupce jsou pole m ete pou t tuto funkci v jednom slo en m poli aby pou ilo hodnotu n kter ho jin ho slo en ho pole Toto je neoby ejn u ite n p i sestavov n prom nn ch cest ulo en switch hodnota vzor hodnota vzor hodnota jinak hodnota class calibre utils formatter functions BuiltinSwitch switch hodnota vzor hodnota vzor hodnota jinak hodnota pro ka d p r vzor hodnota kontroluje zda pole odpov d regul rn mu v razu vzor a pokud ano vrac tu hodnotu Pokud neodpov daj dn v razy pak je vr cena jinak hodnota M ete m t tolik p r vzor hodnota kolik chcete List lookup 150 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 identifier in list hodnota identifik tor nalezen hodnota nenalezen hodnota class calibre utils formatter functions BuiltinIdentifierInList identifier in list hodnota identifik tor nalezen hodnota nenalezen hodnota pova uje hodnotu za seznam identifik tor odd len ch rkami porovn v et zec proti ka d hodnot v seznamu Identifik tor m form t identifik tor hodnota Parametr identifik tor by m l byt bu id nebo id regexp Prvn p pad se shoduje pokud je jak koliv identifik tor s t mto id Druh p pad se shoduje pokud regexp odpov d hodnot identifik toru Pokud je n jak shoda vrac nalezen hodnota jinak vrac nen
515. rrent container currently editing Return the name of the file being edited currently or None if no file is being edited edit file name syntax None use template None Open the file specified by name in an editor Parametry e syntax The media type of the file for example text html If not specified it is guessed from the file extension use template A template to initialize the opened editor with 1 12 Nastaven v vojov ho prost ed calibre 281 U ivatelsk p ru ka Calibre Vyd n 2 46 0 open book path None edit file None clear notify data True open folder False Open the ebook at path for editing Will show an error if the ebook is not in a supported format or the current book has unsaved changes Parametry edit file The name of a file inside the newly opened book to start editing Can also be a list of names rewind savepoint Undo the previous creation of a restore checkpoint useful if you create a checkpoint then abort the ope ration with no changes save book Save the book Saving is performed in the background set modified Mark the book as having been modified show current diff allow revert True to container None Show the changes to the book from its last checkpointed state Parametry allow revert If True the diff dialog will have a button to allow the user to revert all changes to container A container object to compare the current container to If None th
516. rue the ebook format is returned as a file object Note that the file object is a SpooledTemporaryFile so if what you want to do is copy the format to another file use copy format to str nka 268 instead for performance as path Copies the format file to a temp file and returns the path to the temp file preserve filename If True and returning a path the filename is the same as that used in the library Note that using this means that repeated calls yield the same temp file which is re created each time format abspath book id fmt Return absolute path to the ebook file of format format You should almost never use this as it breaks the threadsafe promise of this API Instead use copy format to str nka 268 Currently used only in calibredb list the viewer edit book compare format to original format open with and the catalogs via get data as dict Apart from the viewer open with and edit book I don t believe any of the others do any file write I O with the results of this call format hash book id fmt Return the hash of the specified format for the specified book The kind of hash is backend dependent but is usually SHA 256 format metadata book id fmt allow cache True update db False Return the path size and mtime for the specified format for the specified book You should not use path unless you absolutely have to since accessing it directly breaks the threadsafe guarantees of this API Instead
517. ry from one computer to another Simply copy the calibre library folder from the old to the new computer You can find out what the library folder is by clicking the calibre icon in the toolbar The very first item is the path to the library folder Now on the new computer start calibre for the first time It will run the Welcome Wizard asking you for the location of the calibre library Point it to the previously copied folder If the computer you are transferring to already has a calibre installation then the Welcome wizard wont run In that case right click the calibre icon in the tooolbar and point it to the newly copied directory You will now have two calibre libraries on your computer and you can switch between them by clicking the calibre icon on the toolbar Transferring your library in this manner preserver all your metadata tags custom columns etc Note that if you are transferring between different types of computers for example Windows to OS X then after doing the above you should also right click the calibre icon on the tool bar select Library Maintenance and run the Check Library action It will warn you about any problems in your library which you should fix by hand Pozn mka A calibre library is just a folder which contains all the book files and their metadata All the metadata is stored in a single file called metadata db in the top level folder If this file gets corrupted you may see an empty list of books in calibre
518. rychle z skat seznam knih se stejnou hodnotou v n kter kategorii auto i t tky vydava tel s rie atd jako aktu ln vybran kniha ale beze zm ny aktu ln ho zobrazen knihovny M ete to ud lat pomoc Rychl ho zobrazen Rychl zobrazen otev e druh okno zobrazuj c seznam knih odpov daj c ch hodnot o kterou m te z jem P edpokl dejme nap klad e chcete vid t seznam v ech knih se stejn m autorem jako u aktu ln vybran knihy Klikn te do bu ky autora kter v s zaj m a stiskn te kl vesu Q Otev e se okno se v emi autory pro tuto knihu vlevo a v emi knihami od vybran ho autora vpravo N kter p klady pou it Rychl ho zobrazen rychl uk z n kter dal knihy maj n kter t tek kter je pou it u aktu ln vybran knihy jsou ve stejn s rii jako aktu ln kniha maj stejn hodnoty ve vlastn m sloupci jako aktu ln kniha jsou naps ny jedn m ze stejn ch autor aktu ln knihy beze zm ny obsahu zobrazen knihovny Okno Rychl ho zobrazen se otev e nad oknem Calibre a z stane otev en dokud ho v slovn nezav ete Rychl zobrazen a zobrazen knihovny Calibre m ete pou t sou asn Nap klad pokud v zobrazen knihovny Calibre klik nete na sloupec kategorie t tky s rie vydavatel auto i atd pro knihu obsah okna Rychl ho zobrazen se zm n aby v m uk zal v lev m bo n m podokn polo ky v kate
519. s functions documented in generated en cli index The modular design of calibre is expressed via Plugins There is a tutorial str nka 193 on writing calibre plugins For example adding support for a new device to calibre typically involves writing less than a 100 lines of code in the form of a device driver plugin You can browse the built in drivers Similarly adding support for new conversion formats involves writing input output format plugins Another example of the modular design is the recipe system str nka 23 for fetching news For more examples of plugins designed to add features to calibre see the plugin index Rozvr en k du V echen k d Calibre napsan v python u je v bal ku calibre Tento bal ek obsahuj n sleduj c hlavn subbal ky http www gnu org copyleft gpl html Ahttps www python org 5https github com kovidgoyal calibre tree master src calibre devices Shttp www mobileread com forums showthread php p 1362767 post 1362767 260 Kapitola 1 Oddily U ivatelsk p ru ka Calibre Vyd n 2 46 0 devices V echny ovl da e od za zen N hledn te do n kter ho z vestan n ch ovl da pro z sk n informaci jak ovlada e pracuj Pro v ce podrobnosti viz devices interface kter definuje rozhran podporovan oblada i za zen a devices usbms kter definuje obecn generic ovl da kter p ipojuje USBMS za zen V echny
520. s book publication type ruunid A UUID usually of type 4 languages ordered list of languages in this publication publisher Simple string no special semantics Absolute path to image file encoded in filesystem encoding cover Of the form format data where format is for e g jpeg png gif cover data Either thumbnail data or an object with the attribute image path which is the path to an image file encoded in filesystem encoding thumbnail 1 BOOK STRUCTURE FIELDS frozenset These are used by code Null values are None toc spine guide manifest 1 USER METADATA FIELDS frozenset A dict of dicts similar to field metadata Each field description dict also contains a value field with the key value user metadata 1 DEVICE METADATA FIELDS frozenset device collections Ordered list of strings lpath Unicode separated eire In bytes mime Mimetype of the book file being represented 1 CALIBRE METADATA FIELDS frozenset application id An application id currently set to the db id ab ad the calibre primary key of the item formats list of formats extensions for this book a dict of user category names where the value is a list of item names from the book that are in that category user categories a dict of author to an associated hyperlink
521. s i setthe author sort copy method tweak to copy as described above restart calibre Do not change any book metadata before doing the remaining steps open the Manage authors dialog Pressthe copy all author sort values to author button Check through the authors to be sure you are happy You can still press Cancel to abandon the changes Once you press OK there is no undo Press OK at which point calibre will change the authors in all your books This can take a while Why doesn t calibre let me store books in my own directory structure The whole point of calibre s library management features is that they provide a search and sort based interface for loca ting books that is much more efficient than any possible directory scheme you could come up with for your collection Indeed once you become comfortable using calibre s interface to find sort and browse your collection you wont ever feel the need to hunt through the files on your disk to find a book again By managing books in its own directory structure of Author gt Title gt Book files calibre is able to achieve a high level of reliability and standardization To illustrate why a search tagging based interface is superior to folders consider the following Suppose your book collection is nicely sorted into folders with the following scheme Genre gt Author gt Series gt ReadStatus Now this makes it very easy to find for example all science
522. s news BasicNewsRecipe 47 SLOW DRIVEINFO atribut ca libre devices interface DevicePlugin 204 smart update metoda ca libre ebooks metadata book base Metadata 157 sort index by metoda ca libre web feeds news BasicNewsRecipe 47 Source t da v calibre ebooks metadata sources base 198 specialize metoda ca libre customize conversion InputFormatPlugin 201 specialize css for output metoda ca libre customize conversion OutputFormatPlugin 202 specialize global preferences metoda libre devices interface DevicePlugin 208 spine items atribut ca libre ebooks oeb polish container Container 2776 ca spine iter atribut calibre ebooks oeb polish container Container 276 spine names atribut ca libre ebooks oeb polish container Container 276 split v modulu calibre ebooks oeb polish split 278 split jobs metoda libre ebooks metadata sources base Source 198 standard field keys metoda libre ebooks metadata book base Metadata 156 STANDARD METADATA FIELDS v modulu ca ca ca libre ebooks metadata book base 157 start plugin metoda libre devices interface DevicePlugin 208 startup metoda calibre devices interface DevicePlugin 208 ca stop plugin metoda ca libre devices interface DevicePlugin 209 summary length atribut ca libre web feeds news BasicNewsRecipe 21 supported platforms atribut calibre customize Plugin 194 supports co
523. s news BasicNewsRecipe 49 image_url_processor t dn metoda ca libre web feeds news BasicNewsRecipe 45 index to soup metoda ca libre web feeds news BasicNewsRecipe 45 init metoda calibre db cache Cache 271 initialization complete metoda ca libre gui2 actions InterfaceAction 214 initialize metoda calibre customize CatalogPlugin 197 initialize metoda calibre customize Plugin 195 initialize metoda ca libre gui2 preferences ConfigWidgetInterface 215 t da V ca libre customize conversion 200 insert into xml metoda ca libre ebooks oeb polish container Container 274 InterfaceAction t da v calibre gui2 actions 212 302 Rejst k U ivatelsk p ru ka Calibre Vyd n 2 46 0 Interface ActionBase t da v calibre customize 214 InternalMetadataCompareKeyGen t da v ca libre ebooks metadata sources base 200 is configured metoda ca libre ebooks metadata sources base Source 198 is dir atribut calibre ebooks oeb polish container Container 274 is dynamically controllable metoda ca libre devices interface DevicePlugin 208 is image collection atribut ca libre customize conversion InputFormatPlugin 200 is link wanted metoda ca libre web feeds news BasicNewsRecipe 45 is null metoda calibre ebooks metadata book base Metadata 156 is running metoda ca libre devices interface DevicePlugin 209 is usb
524. s problem 1 Knowing the encoding of the source file calibre tries to guess what character encoding your source files use but often this is impossible so you need to tell it what encoding to use This can be done in the GUI via the Input character encoding field in the Look amp Feel section of the conversion dialog The command line tools all have an input encoding option 2 When adding HTML files to calibre you may need to tell calibre what encoding the files are in To do this go to Preferences Plugins File Type plugins and customize the HTML 2Zip plugin telling it what en coding your HTML files are in Now when you add HTML files to calibre they will be correctly processed HTML files from different sources often have different encodings so you may have to change this setting repeatedly A common encoding for many files from the web is cp1252 and I would suggest you try that first Note that when converting HTML files leave the input encoding setting mentioned above blank This is because the HTML2ZIP plugin automatically converts the HTML files to a standard encoding utf 8 What s the deal with Table of Contents in MOBI files The first thing to realize is that most ebooks have two tables of contents One is the traditional Table of Contents like the ToC you find in paper books This Table of Contents is part of the main document flow and can be styled however you like This ToC is called the content ToC Then there is the
525. ses a page size defined by the current Output profile So if your output profile is set to Kindle calibre will create a PDF with page size suitable for viewing on the small kindle screen However if you view this PDF file on a computer screen then it will appear to have too large fonts To create normal sized PDFs use the Override page size option under PDF Output in the conversion dialog Headers and Footers You can insert arbitrary headers and footers on each page of the PDF by specifying header and footer templates Templates are just snippets of HTML code that get rendered in the header and footer locations For example to display page numbers centered at the bottom of every page in green use the following footer template lt p style text align center color green gt Page _ PAGI ENUM p calibre will automatically replace PAGENUM with the current page number You can even put different content on even and odd pages for example the following header template will show the title on odd pages and the author on even pages lt p style text align right span class even page AUTHOR lt span gt lt span class odd pag i TITLE calibre will automatically replace TITLE and AUTHOR with the title and author of the document being converted You can also display text at the left and right edges and change the font size as demonstrated with this header template
526. sou zde n jak dal ne douc polo ky m ete je vyfiltrovat pomoc volby Filtr obsahu To je regul rn v raz kter porovn n zvy polo ek ve vygenerova n m obsahu Kdykoliv je nalezena shoda bude odebr na Nap klad pro odebr n v ech n zv polo ek Dal nebo P edchoz pou ijte Next Previous Volby Obsah 1 2 a 3 rovn v m umo n vytvo it propracovan v ce rov ov obsah Jsou to v razy XPath kter po rovnaj zna ky v polotovaru XHTML vytvo en ho p evodn m et zcem Pod vejte se na vod str nka 56 jak z skat p stup k tomuto XHTML P e t te si tak Kurz XPath str nka 131 abyste zjistili jak vytv et v razy XPath Vedle ka d volby je tla tko kter spust pr vodce kter v m pom e s vytvo en m z kladn ch v raz XPath N sleduj c jednoduch p klad vysv tluje jak pou vat tyto volby P edpokl dejte e m te vstupn dokument jeho v stupem je XHTML kter vypad takto lt html xmlns http www w3 org 1999 xhtml lt head gt lt title gt Sample document lt title gt lt head gt lt body gt lt hi gt Chapter 1 lt h1 gt ibsdsridR 1 1 h2 h ssobkian 1 2 h2 lt hischapter 2 lt h1 gt ahosdobtihan 2 1 h2 lt body gt lt html gt 64 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 Potom nastav me mo nosti jako Level 1
527. ss Enter icacls Sappdata Local Temp reset T Alternately you can run calibre as Administrator but doing so will cause some functionality such as drag and drop to not work Finally some users have reported that disabling UAC fixes the problem calibre is not starting crashing on OS X One common cause of failures on OS X is the use of accessibility technologies that are incompatible with the graphics toolkit calibre uses Try turning off VoiceOver if you have it on Also go to System Preferences System Universal Access and turn off the setting for enabling access for assistive devices in all the tabs Another cause can be some third party apps that modify system behavior such as Smart Scroll You can obtain debug output about why calibre is not starting by running Console app Debug output will be printed to it If the debug output contains a line that looks like Ot internal 108 Error ATSUMeasureTextImage text qfontengine mac mm then the problem is probably a corrupted font cache You can clear the cache by following these instructions If that doesn t solve it look for a corrupted font file on your system in Library Fonts or the like An easy way to check 9 http www macworld com article 1139383 fontcacheclear html 122 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 for corrupted fonts in OS X is to start the Font Book application select al
528. ss the full path to the images directory e shortcut A string a list of strings None or False If False no keyboard shortcut is registered for this action If None a keyboard shortcut with no default keybinding is registered String and list of strings register a shortcut with default keybinding as specified e description A description for this action Used to set tooltips triggered A callable which is connected to the triggered signal of the created action 1 10 Prizp soben Calibre 213 U ivatelsk p ru ka Calibre Vyd n 2 46 0 e shortcut name The test displayed to the user when customizing the keyboard short cuts for this action By default it is set to the value of text load resources names If this plugin comes in a ZIP file user added plugin this method will allow you to load resources from the ZIP file For example to load an image pixmap OQPixmap pixmap loadFromData self load resources images icon png itervalues next icon QIcon pixmap Parametry names List of paths to resources in the zip file using as separator Vrac A dictionary of the form name file contents Any names that were not found in the zip file will not be present in the dictionary genesis Setup this plugin Only called once during initialization self gui is available The action specified by action spec is available as self qaction location selected loc Called whenever the
529. st o Rozvr en k du str nka 260 Calibre Lad n modul MaM calibre debug g Nebo z Calibre kliknut m prav m tla tkem my i na tla tko P edvolby nebo pomoc kl vesov zkratky Ctrl Shift R P i spu t n z p kazov ho dku bude v stup lad n vyps n do konzole p i spu t n z Calibre p jde v stup do textov ho souboru Do k du sv ho modulu m ete kamkoliv vlo it p kazy tisku budou m t v stup v re imu lad n Nezapome te e je to Python nem li byste opravdu pot ebovat nic v c ne p kazy tisku pro lad n Cel Celibre jsem vytvo il pouze pomoc t to techniky lad n S http poedit net 1 9 Kurzy 183 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Zm ny ve sv m modulu m ete rychle testovat pomoc n sleduj c ho p kazov ho dku calibre debug s calibre customize b path to your plugin directory calibre Toto vypne spu t n Calibre po kejte a bude vypnut dokon eno a pak aktualizujte sv j modul v Calibre a znovu spus te Calibre Dal p klady modul Seznam mnoha propracovan ch modul Calibre m ete nal zt zde Sd len va eho modulu s ostatn mi Pokud byste cht li sd let moduly kter jste vytvo ili s ostatn mi u ivateli Calibre zve ejn te sv j modul v nov m vl knu ve f ru modul Calibre 1 9 7 Sazba matematiky v e knih ch Prohl e e knih
530. t a ekn me e byste cht li porovnat otev rac zna ku st mezi prvn dvojic hranat ch z vorek zna ky probereme trochu v ce pozd ji Mysleli byste si e by t to zna ce odpov dal v raz lt p gt ale ve skute nosti odpov d cel mu et zci Znak je dal speci ln znak Odpov d emukoliv krom kon cum dk tak e v podstat v raz by odpov dal ka di k mu dku kter si dok ete 164 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 p edstavit M sto toho zkuste pou t lt p gt m p estane b t kvantifik tor x chamti v m Tento v raz bude odpov dat pouze prvn otev rac zna ce jak bylo zam leno Existuje vlastn dal zp sob jak toho dos hnout V raz lt p gt bude odpov dat t sam otev rac zna ce po dal sti uvid te pro Jen vezm te na v dom e dost asto existuje v ce ne jeden zp sob jak napsat regul rn v raz No tyto speci ln znaky jsou velice elegantn a tak ale co kdy chci porovnat te ku nebo otazn k Samoz ejm to m ete ud lat Sta p ed jak koliv speci ln znak vlo it zp tn lom tko a je interpretov n jako prost znak bez jak hokoliv speci ln ho v znamu Tento p r zp tn ho lom tka n sledovan ho jedn m znakem se naz v d c sekvence a vlo en zp tn ho lom tka p ed speci ln znak se naz v uvozov n to
531. t m koment M ete zvolit vlo it obsah vlastn ho sloupce p ed nebo za odd l Koment e a voliteln odd lit p ipojen obsah vodorovnou rou Vhodn typy vlastn ch sloupc zahrnuj text koment e a slo en 190 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 Vlastn ob lky katalogu S nainstalovan m modulem Generovat ob lku m ete vytvo it vlastn ob lky pro sv katalogy Pro nainstalov n modulu p ejd te na P edvolby gt Pokro il gt Moduly gt Z skat nov moduly Dodate n zdroje n pov dy Pro v ce informac o funkci Katalog calibre nav tivte f rum MobileRead Creating Catalogs Start here kde m ete naj t informace o tom jak p izp sobit ablony katalogu a jak poslat chybov hl en Pokud m te ot zky nebo chcete diskutovat o funkci Katalog Calibre s ostatn mi u ivateli nav tivte f rum MobileRead Calibre Catalogs 1 9 9 Virtu ln knihovny V calibre je virtu ln knihovna zp sobem jak ct calibre aby otev elo pouze podmno inu norm ln knihovny Na p klad mo n chcete pracovat pouze s knihami od ur it ho autora nebo s knihami maj c mi pouze ur it t tek Pou v n virtu ln ch knihoven je up ednost ovan zp sob rozd len va velk kolekce knih na men podkolekce Je to nad azeno rozd len va knihovny na v ce mal ch knihoven proto e kdy chcete prohledat celou svou kolek
532. t zci Nap 7 klad pokud je zdroj b amp rop Muxa noBuu TIocroesckuit funkce vrac Fiodor Mikhailovich Dostoievskii API of the Metadata objects The python implementation of the template functions is passed in a Metadata object Knowing it s API is useful if you want to define your own template functions class calibre ebooks metadata book base Metadata title authors z u Neznxe Imxfd other None template cache None formatter None A class representing all the metadata for a book The various standard metadata fields are available as attributes of this object You can also stick arbitrary attributes onto this object 1 9 Kurzy 155 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Metadata from custom columns should be accessed via the get method passing in the lookup name for the column for example fmytags Use the is null str nka 156 method to test if a field is null This object also has functions to format fields into strings The list of standard metadata fields grows with time isin STANDARD METADATA FIELDS str nka 157 Please keep the method based API of this class to a minimum Every method becomes a reserved field name is null field Return True if the value of field is null in this object null means it is unknown or evaluates to False So a title of Unknown is null or a language of und is null Be careful with numeric fields since this will return Tr
533. t as unique as possible You should always prefix your config file name with plugins so as to ensure you dont accidentally clobber a calibre config file prefs JSONConfig plugins interface demo Se FR CHI CHI CH Set defaults prefs defaults hello world msg Hello World class ConfigWidget OWidget def init J self OWidget init self self l QHBoxLayout self setLayout self 1 self label QLabel Hello world amp message self l addWidget self label self msg QLineEdit self self msg setText prefs hello world msg self l addWidget self msg self label setBuddy self msg def save settings self prefs hello world msg unicode self msg text Object prefs je nyn dostupn v cel m k du modulu jednoduch m from calibre plugins interface demo config import prefs M ete vid t objekt prefs pou it v main py 1 9 Kurzy 179 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Moduly pro pravu knihy Nyn poj me na chv li p e adit a pod vejme se na vytvo en modulu pro p id n n stroj do editoru knih Calibre Modul je dostupn zde editor demo plugin zip Prvn m krokem stejn jako pro v echny moduly je vytvo it n zev importu pr zdn ho souboru txt jak je pops no v e str nka 172 Pojmenujeme soubor plugin import name editor plugin demo txt Nyn vytvo me povinn soubor init__ py kter o
534. t formats It can convert every input format in the following list to every output format Input Formats AZW AZW3 AZWA CBZ CBR CBC CHM DJVU DOCX EPUB FB2 HTML HTMLZ LIT LRF MOBI ODT PDF PRC PDB PML RB RTF SNB TCR TXT TXTZ Output Formats AZW3 EPUB DOCX FB2 HTMLZ OEB LIT LRF MOBI PDB PMLZ RB PDF RTF SNB TCR TXT TXTZ ZIP Pozn mka PRC is a generic format calibre supports PRC files with TextRead and MOBIBook headers PDB is also a generic format calibre supports eReader Plucker PML and zTxt PDB files DJVU support is only for converting DJVU files that contain embedded text These are typically generated by OCR software MOBI books can be of two types Mobi6 and KF8 calibre fully supports both MOBI files often have azw or azw3 file extensions DOCX files from Microsoft Word 2007 and newer are supported 1 8 Nej ast j dotazy 105 U ivatelsk p ru ka Calibre Vyd n 2 46 0 Jak jsou nejlep zdrojov form ty pro p evod In order of decreasing preference LIT MOBI AZW EPUB AZW3 FB2 DOCX HTML PRC ODT RTF PDB TXT PDF P evedl jsem PDF soubor ale v sledn soubor m r zn probl my PDF is a terrible format to convert from For a list of the various issues you will encounter when converting PDF see Convert PDF documents str nka 68 How do I convert my file containing non English characters or smart quotes There are two aspects to thi
535. t if you set this to author sort it is very possible to see duplicate names in the list because although it is guaranteed that author names are unique there is no such guarantee for author_sort values Showing duplicates won t break anything but it could lead to some confusion When using author sort the tooltip will show the author s name Examples categories use field for author name author categories use field for author name author sort categories use field for author name author Control partitioning of Tag Browser When partitioning the tags browser the format of the subcategory label is controlled by a template categories collapsed name template if sorting by name categories collapsed rating template if sorting by average rating and categories collapsed popularity template if sorting by popularity There are two variables available to the template first and last The variable first is the initial item in the subcategory and the variable last is the final item in the subcategory Both variables are objects they each have multiple values that are obtained by using a suffix For example first name for an author category will be the name of the author Ihe sub values available are name the printable name of the item count the number of books that references this item 1 10 P izp soben Calibre 219 U ivatelsk
536. t is ignored Used only if is_link_wanted is not implemented For example match regexps r page 0 9 will match all URLs that have page some number in them Only one of BasicNewsRecipe match regexps str nka 49 Or BasicNewsRecipe filter regexps str nka 49 should be defined max articles per feed 100 Maximum number of articles to download from each feed This is primarily useful for feeds that don t have article dates For most feeds you should use BasicNewsRecipe oldest article str nka 50 needs subscription False If True the GUI will ask the user for a username and password to use while downloading If set to optional the use of a username and password becomes optional 1 2 P id v n obl ben ch webov ch str nek se zpr vami 49 U ivatelsk p ru ka Calibre Vyd n 2 46 0 no stylesheets False Convenient flag to disable loading of stylesheets for websites that have overly complex stylesheets unsui table for conversion to ebooks formats If True stylesheets are not downloaded and processed oldest article 7 0 Oldest article to download from this news source In days preprocess regexps List of regexp substitution rules to run on the downloaded HTML Each element of the list should be a two element tuple The first element of the tuple should be a compiled regular expression and the second a callable that takes a single match object and returns a string to
537. t na disk m p t variant kter jsou p stupn kliknut m prav m tla tkem my i na 1 Ulo it na disk Ulo vybran knihy na disk rozt d n do adres Struktura adres vypad takto Author sort Title Book Files N zev souboru a strukturu slo ek soubor ulo en ch na disk m ete ovl dat nastaven m ablony v P edvolby gt Import a export gt Ukl d n knih na disk Tak se pod vejte na The calibre template language str nka 133 2 Ulo it na disk do jednoho adres e Ulo vybran knihy na disk do jednoho adres e Pro 1 a 2 jsou v echny dostupn form ty stejn jako metadata ulo eny na disk pro ka dou vybranou knihu Metadata jsou ulo ena do souboru OPF Ulo en knihy mohou b t znovu importov ny do knihovny bez jak koliv ztr ty informac pomoc akce P idat knihy str nka 4 3 Ulo it na disk pouze lt v mi up ednost ovan gt form t Ulo vybran knihy na disk v adres ov struktu e jak je zobrazeno v 1 ale pouze ve v mi up ednost ovan m form tu e knihy Sv j up ed nost ovan form t m ete nastavit v P edvolby gt Chov n gt Up ednost ovan v stupn form t 8 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 4 Ulo it na disk do jednoho adres e pouze lt v mi up ednost ovan gt form t Ulo vybran knihy na disk do jednoho adres e ale pouze ve v mi up ednost ovan
538. t of ebooks on the device Parametry oncard If carda or cardb return a list of ebooks on the specific storage card otherwise return list of ebooks in main memory of device If a card is specified and no books are on the card return empty list Vrac A BookList upload books files names on card None end session True metadata None Upload a list of books to the device If a file already exists on the device it should be replaced This method should raise a FreeSpaceError if there is not enough free space on the device The text of the FreeSpaceError must contain the word card if on_card is not None otherwise it must contain the word memory Parametry files A list of paths e names A list of file names that the books should have once uploaded to the device len names len files 206 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 e metadata If not None it is a list of Metadata objects The idea is to use the metadata to determine where on the device to put the book len metadata len files Apart from the regular cover path to cover there may also be a thumbnail attribute which should be used in preference The thumbnail attribute is of the form width height cover data as jpeg Vrac A list of 3 element tuples The list is meant to be passed to add books to metadata str nka 207 classmethod add books to metadata locations metadata booklists Add
539. t reg exp re IGNORECASE dict name div attrs id re compile secondary content reg exp re IGNORECASI dict name div attrs id re compile featured content reg exp re IGNORECASE dict name div attrs id re compile navigation reg exp re IGNQRECASE dict name form attrs id re compile form reg exp re IGNORECASE dict attrs class re compile quote reg exp re IGNORECASE dict attrs class re compile hidden reg exp re IGNORECASE dict attrs class re compile social links reg exp re IGNORECASE dict attrs class re compile comment reg exp re IGNORECASE dict attrs class re compile skip reg exp re IGNORECASE dict name map attrs id re compile map reg exp re IGNORECASE dict name map attrs name re compile map reg exp re IGNORECASE dict name div attrs id re compile social bookmarks reg exp re IGNORECASE dict name div attrs id re compile blg mast reg exp re IGNORECASE dict name div attrs class re compile sharesb reg exp re IGNORECASE dict name div attrs class re compile o reg exp re IGNORECASE dict name div trs class re
540. t the Reader uses a single file to keep track of meta information such as collections and this is written to by both calibre and the Sony software when either updates something on the Reader The file will be saved when the Reader is safely disconnected so using one or the other is safe if there s a disconnection between them but if you re not the type to remember this then the simple answer is to stick to one or the other for the transfer and just export import from to the other via the computers hard disk If you do need to reset your metadata due to problems caused by using both at the same time then just delete the media xml file on the Reader using your PC s file explorer and it will be recreated after disconnection With recent reader iterations SONY in all its wisdom has decided to try to force you to use their software If you install it it auto launches whenever you connect the reader If you don t want to uninstall it altogether there are a 110 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 couple of tricks you can use The simplest is to simply re name the executable file that launches the library program More detail in the forums How do l use calibre with my iPad iPhone iPod touch Over the air The easiest way to browse your calibre collection on your Apple device iPad iPhone iPod is by using the calibre content server which makes your collection available over the net First perf
541. t to False options A list of Option objects They will be used to automatically construct the configuration widget for this plugin config_help_message None A string that is displayed at the top of the config widget for this plugin can_get_multiple_covers False If True this source can return multiple covers for a given query auto_trim_covers False If set to True covers downloaded by this plugin are automatically trimmed prefer_results_with_isbn True If set to True and this source returns multiple results for a query some of which have ISBNs and some of which do not the results without ISBNs will be ignored is configured Return False if your plugin needs to be configured before it can be used For example it might need a username password API key get author tokens authors only first author True Take a list of authors and return a list of tokens useful for an AND search query This function tries to return tokens in first name middle names last name order by assuming that if a comma is in the author name the name is in lastname other names form get title tokens title strip joiners True strip subtitle False Take a title and return a list of tokens useful for an AND search query Excludes connectives optionally and punctuation split jobs jobs num Split a list of jobs into at most num groups as evenly as possible test fields mi Return the first field from self touched fields that is null on t
542. t were affected by the change Parametry e book id to val map Mapping of book ids to values that should be applied allow case change If True the case of many one or many many fields will be changed For example if a book has the tag tag1 and you set the tag for another book to Tagl then the both books will have the tag Tag1 if allow case change is True otherwise they will both have the tag t ag1 do path update Used internally you should never change it set metadata book id mi ignore errors False force changes False set title True set authors True allow case change False Set metadata for the book id from the Metadata object mi Setting force changes True will force set metadata to update fields even if mi contains empty values In this case None is distinguished from empty If mi XXX is None the XXX is not replaced otherwise it is The tags identifiers and cover attributes are special cases Tags and identifiers cannot be set to None so then will always be replaced if force changes is true You must ensure that mi contains the values you want the book to have Covers are always changed if a new cover is provided but are never deleted Also note that force changes has no effect on setting title or authors set pref name val Set the specified preference to the specified value See also pref str nka 271 tags older than tag delta None must have tag None must have authors None Return the ids of
543. t5 0t import QAction QInputDialog from cssutils css import CSSRule The base class that all tools must inherit from from calibre gui2 tweak book plugin import Tool from calibre import force unicode from calibre gui2 import error dialog from calibre ebooks oeb polish container import OEB DOCS OEB STYLES serialize class DemoTool Tool Set this to a unique name it will be used as a key name demo tool If True the user can choose to place this tool in the plugins toolbar allowed in toolbar True 8 http calibre ebook com downloads editor demo plugin zip 180 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 If True the user can choose to place this tool in the plugins menu allowed in menu Tru def create action self for toolbar True Create an action this will be added to the plugins toolbar and the plugins menu ac QAction get icons images icon png Magnify fonts self gui noga if not for toolbar Register a keyboard shortcut for this toolbar action We only register it for the action created for the menu not the toolbar to avoid a double trigger self register shortcut ac magnify fonts tool default keys Ctrl Shift Alt D ac triggered connect self ask user return ac def ask user self Ask the user for a factor by which to multiply all font sizes factor ok QInputDialog getDouble self gui Ent
544. tajemn ern magie nebo abychom byli prozai t j n hodn et zec nesmysln ch p smen a znak slibuji e nejsou v bec tak slo it Dokonce i ti kte pochopili regul rn v razy opravdu dob e maj probl my se ten m t ch slo it j ch ale jejich psan nen tak obt n vytv te v raz krok za krokem Tak e vykro te a n sledujte m do kr li nory Kde v Calibre m ete pou t regul rn v razy Existuje n kolik m st kde Calibre pou v regul rn v razy Je zde Naj t a nahradit ve volb ch p evodu detekce metadat z n zv soubor v nastaven importu a Naj t a nahradit p i hromadn prav metadat knih Editor knih Calibre m e tak pou t regul rn v razy ve sv funkci Naj t a nahradit Co to u v ech v udy je regul rn p kaz Regul rn v raz je zp sob jak popsat sady et zc Jeden regul rn v raz m e odpov dat velk mu po tu r zn ch et zc Proto jsou regul rn v razy tak mocn jsou stru n m zp sobem popisu potenci ln velk ho po tu variac Pozn mka Ret zec zde pou v m ve smyslu v jak m se pou v v programovac ch jazyc ch et zec jednoho nebo v ce znak znak v etn skute n ch znak sel interpunk n ch znam nek a takzvan ch pr zdn ch znak konce 660 dk tabul tor atd Pamatujte e velk a mal p smena nejsou obecn pova ov na za stejn tedy a
545. tak spustit hlavn grafick rozhran Calibre prohl e Calibre a editor Calibre v re imu lad n Tak obsahuje rozhran pro r zn kusy Calibre kter neobsahuj vyhrazen n stroje p kazov ho dku jako jsou ste n vkl d n p sma n stroj rozd l e knih a tak d le M ete tak pou t calibre debug ke spu t n samostatn ch skript K tomu ho pou ijte takto calibre debug myscript py optionl option2 filel file2 V echno za je p ed no skriptu Kdykoliv predate parametry calibre debug kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami options add simple plugin P idat jednoduch dopln k nap dopln k obsahuj c pouze soubor py zad n m cesty k souboru py obsahuj c mu k d dopl ku command c Spustit k d Pythonu debug device driver d Ladit rozpozn v n za zen default programs Od registrovat Calibre ve v choz ch programech Windows default programs register unregister 230 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 diff Spustit rozd lov n stroj Calibre Nap klad calibre debug di ff str nka 230 soubor soubor2 edit book t Spustit n stroj calibre Upravit knihu v re imu lad n exec file e Spustit k d Pythonu v souboru explode book x Rozlo it knihu exportuje knihu jako kolekci soubor H
546. te Gclass chapter Select all tags that have class chapter h hl Gclass bookTitle Select all hl tags that have class bookTitle Oper tor zde odkazuje na atributy zna ky M ete pou t n kter z vestav n ch funkc XPath str nka 133 pro proveden propracovan j ho porovn n hodnot atribut 132 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 V b r podle obsahu zna ky Pomoc XPath m ete dokonce vybrat zna ky na z klad textu kter obsahuj Nejlep zp sob jak to ud lat je pou t s lu regul rn ch v raz pomoc vestav n funkce re test h h2 re test chapter section i Selects lt h2 gt tags that contain the words ch section Oper tor zde odkazuje na obsah zna ky stejn jako oper tor odkazoval na jej atributy Uk zkov e kniha html lt head gt lt title gt A very short ebook lt title gt meta name charset value utf 8 lt head gt lt body gt hl class bookTitle gt A very short ebook h1 p style text align right Written by Kovid Goyal p div class introduction gt lt p gt A very short ebook to demonstrate the use of XPath p div lt h2 class chapter Chapter One lt h2 gt lt p gt This is a truly fascinating chapter lt p gt lt h2 class chapter gt Chapter Two lt h2 gt lt p gt A worthy continuation of a fine tradition lt p gt
547. te jak ozna it rozpoznan kapitoly Hodnota konecstr nky vlo p ed kapitoly konce str nek Hodnota ra vlo p ed kapitoly ru Hodnota dn zak e ozna ov n kapitol a hodnota oboj pou ije pro ozna en kapitol jak konce str nek tak ry disable remove fake margins N kter dokumenty zad vaj okraje str nek zad n m lev ho a prav ho okraje kaZd mu jednotliv mu odstavci Calibre se pokus rozpoznat a odebrat tyto okraje N kdy to m e zp sobit odeb r n okraj kter nem ly b t odebr ny V tomto p pad m ete zak zat odeb r n insert metadata Vlo it metadata knihy na za tek knihy To je u ite n pokud va e te ka e knih nepodporuje zobrazen nebo hled n metadat p mo page breaks before V raz XPath Konce str nek jsou vlo eny p ed zadan prvky Pro zak z n pou ijte v raz prefer metadata cover Pou t ob lku rozpoznanou ve zdrojov m souboru p ednostn p ed zadanou ob lkou remove first image Odebrat prvn obr zek ze vstupn e knihy U ite n pokud m vstupn dokument obr zek ob lky kter nen 250 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 identifikov n jako ob lka Pokud v tomto p pad nastav te ob lku v Calibre v stupn dokument bude m t dva obr zky ob lky pokud nezad te tuto volbu start reading at V raz XPath pro rozpozn n m sta v do
548. te ho pomoc N stroje gt Zkontrolovat knihu Check Book A The file META INF calibre bookmarks txt is not listed in the manifest META INF calibre Warning 2 2 amp The file images 00001 jpg is not referenced images 00001 jpg images 00001 jpg This File is included in the book but not referred to by any document in the spine This means that the file will not be viewable on most ebook readers You should probably remove this file From the book or add a link to it somewhere Try to correct all fixable errors lt gt automatically M V echny nalezen probl my jsou nahl eny v p kn m snadno pou iteln m seznamu Kliknut na jakoukoliv polo ku v seznamu zobraz n jakou n pov du k t to chyb a tak v m d mo nost tuto chybu automaticky opravit pokud chyba m e b t automaticky opravena M ete tak poklepat na chybu pro otev en um st n chyby v editoru abyste ji mohli opravit sami N kter z prov d n ch kontrol jsou Po kozen zna en HTML Je nahl eno jak koliv zna en HTML kter nen analyzov na jako dob e vytvo en XML Oprava zajist e va e zna en funguje ve v ech kontextech tak jak m Calibre tak m e automaticky opravit tyto chyby ale automatick oprava m e m t n kdy neo ek van inky proto pou vejte opatrn Jako v dy je p ed automatickou opravou vytvo en kontroln bod tak e m ete sna
549. telsk p ru ka Calibre Vyd n 2 46 0 Historie Japonsk do pole ulo en ho hled n a pak stisknut m tla tka ulo it hled n zelen pole s b l m plus na prav stran Po he 37456 9 3 genre History Japanese v History Japanese dl 1 Po vytvo en ulo en ho hled n ho m ete pou t jako omezen 4 EA EB Add books dit data Convert books U ite n funkce ablon Mo n budete cht t pou t informace o 9 nru v ablon Jako u ulo en na disk nebo odeslat do za zen ablony Calibre podpolo ky aby to ud lala snadn ji P edpokl dejme nap klad e chcete p idat nejkrajn j rove nru do ablony ulo it na disk pro vy tvo en slo ek nr jako v Historie Bl c se bou e Churchill Winston Abyste to provedli mus te extrahovat prvn rove hierarchie a p idat ji p ed spolu s lom tkem pro ozna en e by se m la vytvo it slo ka N e uveden ablona toto spl uje genre subitems 0 1 title authors Pro v ce informac o ablon ch a funkci subitems se pod vejte na Jazyk ablony str nka 133 1 9 2 Kurz XPath V tomto kurzu v m bude poskytnut m rn vod do XPath dotazovac jazyk kter m e b t pou it pro v b r li bovoln ch st dokument HTML v calibre XPath je iroce pou van standard a jeho vyhled n na Google v m poskytne mno
550. ter and for the character they are converted auto matically Note also that prefixes and suffixes the Iprefix suffix syntax cannot be used in the argument to this function when using template program mode e field name returns the metadata field named by name e first matching cmp val cmpl resulti cmp2 r2 else result compares val lt cmpN in sequence returning resultN for the first comparison that succeeds Returns else result if no comparison succeeds Example first matching cmp 10 5 small 10 middle 15 large giant returns large The same example with a first value of 16 returns giant first non empty value value returns the first value that is not empty If all values are empty then the empty value is returned You can have as many values as you want e format date x date format formatthe value which must be a date field using the format string returning a string The formatting codes are d the day as number without a leading zero 1 to 31 dd the day as number with a leading zero 01 to 31 ddd the abbreviated localized day name e g Mon to Sun dddd the long localized day name e g Monday to Sunday the month as number without a leading zero 1 to 12 MM the month as number with a leading zero 01 to 12 MMM the abbreviated localized month name e g Jan to Dec MMM the long localized month name e g January to December
551. text used to trigger this snippet Template V ALl CSS html javascript text xml File types Test v OK Q cancel First give your snippet a name something descriptive to help identify the snippet in the future Then specify the trigger A trigger is simply the text that you have to type in the editor before pressing Cont rol J in order to expand the snippet Then specify the snippet template You should start with one of the example above and modify it to suit your needs Finally specify which file types you want the snippet to be active for This way you can have multiple snippets with the same trigger text that work differently in different file types The next step is to test your newly created snippet Use the Test box at the bottom Type in the trigger text and press Control d to expand the snippet and jump between placeholders 98 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 N stroj Hl en Editor obsahuje p kn n stroj Hl en p es N stroje gt Hl en kter zobrazuje souhrny soubor obr zk odkaz slov znak a styl pou it ch v knize Ka d dek v hl en je propojen Poklep n m na dek sko te na m sto v knize kde je tato polo ka pou ita nebo definov na podle pot eby Nap klad v zobrazen Odkazy m ete poklepat na polo ky sloupce Zdroj abyste sko ili tam kde je odkaz definov n a na polo ky ve sloupci C l abyste sko ili kam
552. the comment metadata show up on my reader str nka 124 How do I get calibre to use my HTTP proxy str nka 125 I want some feature added to calibre What can I do str nka 125 Why doesn t calibre have an automatic update str nka 125 How is calibre licensed str nka 125 How do I run calibre from my USB stick str nka 126 How do I run parts of calibre like news download and the content server on my own linux server str nka 126 want calibre to download news from my favorite news website If you are reasonably proficient with computers you can teach calibre to download news from any website of your choosing To learn how to do this see P id v n obl ben ch webov ch str nek se zpr vami str nka 23 Otherwise you can request a particular news site by posting in the calibre Recipes forum Why the name calibre Take your pick Convertor And LIBRary for Ebooks A high calibre product A tribute to the SONY Librie which was the first e ink based ebook reader My wife chose it calibre is pronounced as cal i ber not ca li bre If you re wondering calibre is the British commonwealth spelling for caliber Being Indian that s the natural spelling for me Why does calibre show only some of my fonts on OS X calibre embeds fonts in ebook files it creates Ebook files support embedding only TrueType and OpenType ttf and otf fonts Most fonts on OS X systems are in dfont format
553. the value as a list of items separated by separator returning a new list made from the items from start index to end index The first item is number zero If an index is negative then it counts from the end of the list As a special case an end index of Zero is assumed to be the length of the list Examples assuming that the tags column which is comma separated contains A B C tags sublist 0 1 returns A tags sublist 1 0 returns C tags sublist 0 1 returns A B e swap around comma val given a value of the form B A return A B This is most useful for converting names in LN EN format to FN LN If there is no comma the function returns val unchanged switch pattern value pattern value else value for each pattern 1 9 Kurzy 137 U ivatelsk p ru ka Calibre Vyd n 2 46 0 value pair checks if the field matches the regular expression pattern and if so returns that value If no pattern matches then else value is returned You can have as many pattern value pairs as you want test text if not empty text if empty return text if not empty if the field is not empty otherwise return text if empty transliterate Returns a string in a latin alphabet formed by approximating the sound of the words in the source field For example if the source field is P nop Muxa noBuu Iocroesckuit the function returns Fiodor Mikhailovich Dostoievskii
554. thod in the Getting started instructions in Calibre Apple iDevices Start here This method only works on Windows Vista and higher and OS X up to 10 8 Linux is not supported iTunes is not available in linux and OS X newer than 10 8 is not supported as Apple removed the facility to use iTunes to manage books replacing it with iBooks How do use calibre with my Android phone tablet or Kindle Fire HD There are two ways that you can connect your Android device to calibre Using a USB cable or wirelessly over the air The first step to using an Android device is installing an ebook reading application on it There are many free and paid ebook reading applications for Android Some examples in no particular order FBReader Moon Mantano Aldiko 6 Kindle Pomoc USB kabelu Simply plug your device into the computer with a USB cable calibre should automatically detect the device and then you can transfer books to it by clicking the Send to Device button calibre does not have support for every single android device out there so if your device is not automatically detected follow the instructions at How can I help get my device supported in calibre str nka 109 to get your device supported in calibre Pozn mka With newer Android devices the USB connection is not supported on Windows XP and OS X before Mavericks 10 9 If you are on Windows XP or old versions of OS X you should use one of the wireless connecti
555. title where an empty genre is replaced with Unknown 1 9 Kurzy 161 U ivatelsk p ru ka Calibre Vyd n 2 46 0 3 Set the save template to series lookup AA BB This template chooses composite field AA if series is not empty and composite field BB if series is empty We therefore have two completely different save paths depending on whether or not series is empty Templates and Plugboards Plugboards are used for changing the metadata written into books during send to device and save to disk operations A plugboard permits you to specify a template to provide the data to write into the book s metadata You can use plugboards to modify the following fields authors author sort language publisher tags title title sort This feature helps people who want to use different metadata in books on devices to solve sorting or display issues When you create a plugboard you specify the format and device for which the plugboard is to be used A special device is provided save to disk that is used when saving formats as opposed to sending them to a device Once you have chosen the format and device you choose the metadata fields to change providing templates to supply the new values These templates are connected to their destination fields hence the name plugboards You can of course use composite columns in these templates When a plugboard might apply content server save to disk or send to device calibre search
556. tn na tom je pr vodce Klikn te na kouzelnickou h lku a z sk te n hled toho co Calibre vidi b hem procesu p evodu P ejd te dol na et zec kter chcete odebrat vyberte ho a zkop rujte vlo te ho do pole regul rn ho v razu v horn sti okna Pokud jsou zde prom nn sti jako jsou sla str nek nebo tak pou ijte pro jejich pokryt sady a kvantifik tory a kdy u jsme u toho nezapome te uvodit speci ln znaky pokud tu n jak jsou Stiskn te tla tko ozna en Testovat a Calibre zv razn sti kter budou nahrazeny pokud pou ijete regul rn v raz Jakmile jste spokojeni klikn te na tla tko OK a prove te p evod Bu te opatrn pokud v zdroj p evodu obsahuje zna ky jako tento p klad Maybe but the cops feel like you do Anita What s one more dead vampire New laws don t change that lt p gt lt p class calibre4 gt lt b class calibre2 gt Generated by ABC Amber LIT Conv lt a href http www processtext com abclit html class calibre3 gt erter http www processtext com abclit html a b p Xp class calibre4 It had only been two years since Addison v Clark The court case gave us a revised version of what life was nestydat vytrZeno z tohoto vl kna Museli byste tak odstranit n kter zna ky V tomto p kladu bych doporu oval za t zna kou lt b class calibre2 gt nyn budete muset skon it odpov daj c uzav
557. tn ch ablon styl pou van ch u ivateli calibre nav tivte f rum 1 3 4 Vyhled v n ve slovn ku V znam slov v aktu ln knize m ete vyhledat ozna en m slova p eta en m my pak kliknut m prav m tla t kem my i a v b rem Vyhledat ve slovn ku calibre pou v pro vyhled n slov ve ejn dostupn server slovn ku na dict org Definice je zobrazena v mal m poli ve spodn sti obrazovky 1 3 5 Kop rov n textu a obr zk Text a obr zky m ete vybrat p eta en m obsahu my a potom kliknut m prav m tla tkem my i na Kop rovat Zko p rovan materi l m e b t vlo en do jin aplikace jako prost text a obr zky 1 4 P evod e knihy Calibre m syst m p evodu kter je navr en tak aby se velmi snadno pou val Oby ejn sta p idat knihu do Calibre kliknout na p evod a Calibre se pokus vygenerovat v stup kter je co nejpodobn j vstupu Calibre v ak p ij m velk mno stv vstupn ch form t z nich ne v echny jsou stejn vhodn jako jin pro p evod na e knihy V p pad takov ch vstupn ch form t nebo pokud pouze chcete v t kontrolu nad syst mem p evodu Calibre m mnoho voleb pro jemn lad n procesu p evodu Pamatujte v ak e syst mu p evodu Calibre nen n hradou za plnohodnotn editor e knih Pro pravu e knih je doporu uji nejd ve pomoc Calibre p ev st do form tu EPUB nebo AZW3 a pak pou t funkci
558. to p edpisu m ete st hnout obsah p kazem book convert myrecipe recipe epub test vv debug pipeline debug P kaz ebook convert st hne cel webov str nky a ulo je do souboru EPUB myrecipe epub vv zp sob e ebook convert vyplivne spoustu informac o tom co d l test umo n st hnout pouze p r l nk z nejv e dvou informa n ch kan l Krom toho ebook convert um st sta en HTML do adres e debug input kde debug je adres kter jste zadali ve volb debug pipelin Jakmile je stahov n dokon eno m ete se pod vat na sta en HTML otev en m souboru debug input index html v prohl e i Jakmile jste spokojeni se spr vnost stahov n a p edzpracov n m ete generovat e knihy v r zn ch form tech jak je zobrazeno n e book convert myrecipe recipe myrecipe epub book convert myrecipe recipe myrecipe mobi Pokud jste se sv m p edpisem spokojeni a m te pocit e je dostate n popt vka pro ospravedln n jeho zahrnut do sady vestav n ch p edpis zve ejn te sv j p edpis ve f ru p edpis Calibre abyste ho sd leli s ostatn mi u ivateli Calibre Pozn mka Na OS X jsou n stroje p kazov ho dku uvnit sady calibre nap klad po kud jste nainstalovali Calibre do amp x2F Applications n stroje p kazov ho dku jsou v amp xX2F Applications amp x2F calibre app amp x2F C
559. toda ca allowed in menu atribut ca libre ebooks oeb polish container Container libre gui2 tweak book plugin Tool 280 273 allowed in toolbar atribut ca accept drag move event metoda ca libre gui2 tweak book plugin Tool 280 libre gui2 actions InterfaceAction 213 API 282 accept enter event metoda ca apply container update to gui metoda ca libre gui2 actions InterfaceAction 213 libre gui2 tweak book boss Boss 281 accepts drops atribut ca Articles are obfuscated atribut ca libre gui2 actions InterfaceAction 213 libre web feeds news BasicNewsRecipe 47 Rejst k 293 U ivatelsk p ru ka Calibre Vyd n 2 46 0 ASK TO ALLOW CONNECT atribut libre devices interface DevicePlugin 204 author atribut calibre customize Plugin 194 author data metoda calibre db cache Cache 268 author sort from authors metoda libre db cache Cache 268 auto cleanup atribut libre web feeds news BasicNewsRecipe 47 auto cleanup keep atribut libre web feeds news BasicNewsRecipe 47 auto repeat atribut calibre gui2 actions InterfaceAction 212 auto trim covers atribut libre ebooks metadata sources base Source 198 ca ca ca B BasicNewsRecipe t da v calibre web feeds news 43 BCD atribut calibre devices interface DevicePlugin 203 book type atribut ca libre ebooks oeb polish container Container 274 BookList t da v calibre devices interface 209 books metoda
560. tomn ho v samotn m vstupn m do kumentu Toto nastaven m ete pou t pro jemn lad n prezentace nebo rozlo en dokumentu Nap klad pokud chcete aby v echny odstavce t dy endnote byly zarovn ny vpravo sta p idat ndnote text align right nebo pokud chcete zm nit odsazen v ech odstavc p text indent 5mm Dodate n CSS je velice v konn volba ale pot ebujete pochopit jak CSS funguje pro pou it jej ho pln ho potenci lu M ete pou t volbu lad n et zce popsanou v e abyste vid li jak CSS je p tomn ve vstupn m dokumentu R zn V tomto odd lu je n kolik dal ch voleb No text justification Oby ejn pokud to v stupn form t podporuje Calibre vynut aby v stupn e kniha m la za rovnan text tj hladk prav okraj Tato volba vypne toto chov n v takov m p pad bez ohledu na zarovn n zadan ve vstupn m dokumentu bude pou ito nam sto toho Linearize tables N kter chybn navr en dokumenty pou vaj tabulky pro ovl d n rozlo en textu na str nce P i p evodu maj tyto dokumenty asto text kter vyb h mimo str nku a jin artefakty Tato volba extrahuje obsah z tabulek a zobraz ho v line rn m tvaru Pamatujte e tato volba p evede na dky v echny tabulky tak e ji pou vejte pouze pokud jste si jisti Ze vstupn dokument nepou v tabulky pro opr vn n ely jako je
561. tside of the main story TO DO Work out a way to incorporate these neatly story feature reg exp story feature S Regular expression to remove video and variant tags Eg videoInStoryB videoInStoryC This class is used to embed video video reg exp xvideo x Regular expression to remove audio and variant tags Eg audioInStoryD This class is used to embed audio audio reg exp xaudio x name div attrs class re compile storybody reg exp te IGNORECASE name div attrs id re compile storybody reg exp re 1GNORECASE 34 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 Regular expression to remove pictureGallery and variant tags Eg pictureGallery This class is used to embed a photo slideshow See also slideshow below picture gallery reg exp picture Regular expression to remove slideshow and variant tags Eg dslideshow enclosure This class is used to embed a slideshow not necessarily photo but both slideshow and pictureGallery are used for slideshows slideshow reg exp slide show Regular expression to remove social links and variant tags This class is used to display links to a BBC bloggers main page used in various columnist s blogs Eg Nick Robinson Robert Preston social links reg exp xsocial links x
562. tter functions 152 BuiltinListSort t da v calibre utils formatter functions 152 BuiltinListUnion t da V libre utils formatter functions 152 BuiltinLookup t da v calibre utils formatter functions ca 294 Rejst k U ivatelsk p ru ka Calibre Vyd n 2 46 0 150 BuiltinLowercase t da v libre utils formatter functions 154 BuiltinMultiply t da v calibre utils formatter functions ca 146 BuiltinNot t da v calibre utils formatter_functions 146 BuiltinOndevice t da V ca libre utils formatter functions 149 BuiltinOr t da v calibre utils formatter functions 146 BuiltinPrint t da v calibre utils formatter functions 153 BuiltinRawField t da V libre utils formatter functions 149 BuiltinRawList t da v calibre utils formatter functions ca 149 BuiltinRe t da v calibre utils formatter functions 154 BuiltinReGroup t da v ca libre utils formatter functions 154 BuiltinSelect t da v calibre utils formatter functions 151 BuiltinSeriesSort t da V libre utils formatter functions 149 BuiltinShorten t da v calibre utils formatter functions ca 155 BuiltinStrcat t da v calibre utils formatter functions 155 BuiltinStrcatMax t da V ca libre utils formatter functions 155 BuiltinStremp t da v calibre utils formatter functions 154 BuiltinStrInList t da V libre utils formatter functions 151 Bu
563. tting it to true will ask device py to refresh the cover thumbnails during book matching CAN SET METADATA title authors collections Whether the metadata on books can be set via the GUI CAN DO DEVICE DB PLUGBOARD False Whether the device can handle device db metadata plugboards path sep Path separator for paths to books on device icon home kovid work calibre resources images reader png Icon for this device UserAnnotation alias t dy Annotation OPEN FEEDBACK MESSAGE None GUI displays this as a message if not None Useful if opening can take a long time VIRTUAL BOOK EXTENSIONS frozenset Set of extensions that are virtual books on the device and therefore cannot be viewed saved added to library For example rozenset kobo VIRTUAL BOOK EXTENSION MESSAGE None Message to display to user for virtual book extensions 1 10 P izp soben Calibre 203 U ivatelsk p ru ka Calibre Vyd n 2 46 0 NUKE COMMENTS None Whether to nuke comments in the copy of the book sent to the device If not None this should be short string that the comments will be replaced by MANAGES DEVICE PRESENCE False If True indicates that this driver completely manages device detection ejecting and so forth If you set this to True you must implement the detect managed devices and debug managed device detection me thods A driver with this set to true is responsible for detection
564. u ijte n zev hled n sloupce n sledovan index Nap klad abyste hledali indexy pro vlastn sloupec s ri pojmenovan moje serie pou ili byste n zev hled n moje serie index Indexy s ri jsou sla tak e m ete pou t rela n oper tory popsan v e Pro ulo en hled n je pou ito speci ln pole search Tak e pokud ulo te hled n s n zvem Knihy m man elky m ete do panelu hled n zadat search Knihy m man elky pro znovu pou it ulo en ho hled n V ce o ukl d n hled n n e Nep tomnost nebo p tomnost pole m ete hledat pomoc speci ln ch hodnot true a false Nap klad cover false will give you all books without a cover series true will give you all books that belong to a series comments false will give you all books with an empty comment format false will give you all books with no actual files empty records Sloupce Ano Ne jsou vyhledateln Hled n false empty nebo blank nalezne v echny knihy s nedefinovan mi hodnotami ve sloupci Hled n t rue nalezne v echny knihy kter nemaj nedefinovan hodnoty ve sloupci Hled n yes nebo checked nalezne v echny knihy s Ano ve sloupci Hled n no nebo unchecked nalezne v echny knihy s Ne ve sloupci Pamatujte e slova yes no blank empty checked a unchecked jsou p elo ena m ete pou t bu ekvivalent aktu ln ho jazyka nebo anglick slovo Slova true a false a sp
565. u byly trochu v t Abychom toho dos hli kl p sma by m l b t zm n n na New font size key 7 9 12 14 18 20 22 Nejv t nadpisy budou m t nyn 18pt zat mco pozn mky pod arou budou m t 9pt M ete si hr t s t mto nastaven m abyste se pokusili zjistit co by pro v s bylo nejlep pomoc pr vodce zm ny m tka p sma kter m ete otev t kliknut m na mal tla tko vedle nastaven Kl velikosti p sma M e tu b t tak zak z na ve ker zm na velikosti p sma v p evodu pokud chcete zachovat velikost p sma ve vstup n m dokumentu Souvisej c nastaven je V ka dku V ka dku ur uje svislou v ku dk Ve v choz m nastaven v ka dku 0 se neprov d dn manipulace s v kami dk Pokud zad te nev choz hodnotu budou v ky dk nastaveny na v ech m stech kter nemaj ur enu vlastn v ky dk Toto je v ak takov tup zbra a m lo by to b t pou v no etrn Pokud chcete upravit v ky dk pro n jak odd l vstupu je lep pou t Dodate n CSS str nka 60 Mezery mezi odstavci Oby ejn jsou odstavce v XHTML vykresleny s pr zdn m dkem mezi nimi a bez vodn ho odsazen textu Calibre m p r voleb jak toto ur it Odebrat mezery mezi odstavci vynut zaji t n aby v echny odstavce nem ly dn vnit n mezery mezi odstavci Nastav tak odsazen textu na 1 5
566. ue for zero as well as None Also returns True if the field does not exist deepcopy class generator function lambda Do not use this method unless you know what you are doing if you want to create a simple clone of this object use deepcopy metadata instead Class generator must be a function that returns an instance of Metadata or a subclass of it get identifiers Return a copy of the identifiers dictionary The dict is small and the penalty for using a reference where a copy is needed is large Also we don t want any manipulations of the returned dict to show up in the book set identifiers identifiers Set all identifiers Note that if you previously set ISBN calling this method will delete it set identifier typ val If val is empty deletes identifier of type typ standard field keys return a list of all possible keys even if this book doesn t have them custom field keys return a list of the custom fields in this book all field keys AI field keys known by this instance even if their value is None metadata for field key return metadata describing a standard or custom field all non none fields Return a dictionary containing all non None metadata fields including the custom ones get standard metadata field make copy return field metadata from the field if it is there Otherwise return None field is the key name not the label Return a copy if requested just in case the user wants to change
567. up instance containing the downloaded HTML preprocess raw html raw html url This method is called with the source of each downloaded ZTML file before it is parsed into an object tree raw html is a unicode string representing the raw HTML downloaded from the web url is the URL from which the HTML was downloaded Note that this method acts before preprocess regexps This method must return the processed raw html as a unicode object V http www crummy com software BeautifulSoup bs3 documentation html 8http www crummy com software BeautifulSoup bs3 documentation html 46 Kapitola 1 Oddily U ivatelsk p ru ka Calibre Vyd n 2 46 0 classmethod print version url Take a url pointing to the webpage with article content and return the URL pointing to the print version of the article By default does nothing For example def print version self url return url amp pagewanted print skip ad pages soup This method is called with the source of each downloaded HTML file before any of the cleanup attributes like remove tags keep only tags are applied Note that preprocess regexps will have already been ap plied It is meant to allow the recipe to skip ad pages If the soup represents an ad page return the HTML of the real page Otherwise return None soup A BeautifulSoup instance containing the downloaded HTML sort index by index weights Convenience method to sort the titles in index a
568. use the copy format to str nka 268 method Parametry 1 12 Nastaven v vojov ho prost ed calibre 269 U ivatelsk p ru ka Calibre Vyd n 2 46 0 allow cache If True cached values are used otherwise a slow filesystem access is done The cache values could be out of date if access was performed to the filesystem outside of this API e update db If True The max size field of the database is updates for this book formats book id verify formats True Return tuple of all formats for the specified book If verify formats is True verifies that the files exist on disk get categories sort u name book ids None already fixed None first letter sortzFalse Used internally to implement the Tag Browser get custom book data name book ids default None Get data for name By default returns data for all book ids pass in a list of book ids if you only want some data Returns a map of book id to values If a particular value could not be decoded uses default for it get id map field Return a mapping of id numbers to values for the specified field The field must be a many one or many many field otherwise a ValueError is raised get ids for custom book data name Return the set of book ids for which name has data get item id field item name Return the item id for item name case insensitive get item ids field item names Return the item id for item name case insensitive get item na
569. v ho dku 258 web2disk volba p kazov ho dku 259 verbose v calibre volba p kazov ho dku 229 calibre smtp volba p kazov ho dku 233 calibredb catalog volba p kazov ho dku 240 ebook convert volba p kazov ho dku 252 fetch ebook metadata volba p kazov ho dku 257 version calibre volba p kazov ho dku 229 calibre customize volba p kazov ho dku 230 calibre debug volba p kazov ho dku 231 calibre server volba p kazov ho dku 233 calibre smtp volba p kazov ho dku 233 calibredb add volba p kazov ho dku 236 calibredb add custom column volba p kazov ho dku 240 calibredb add format volba p kazov ho dku 237 calibredb backup metadata volba p kazov ho dku 243 calibredb catalog volba p kazov ho dku 240 calibredb check library volba p kazov ho dku 242 calibredb clone volba p kazov ho dku 244 calibredb custom columns volba p kazov ho dku 241 calibredb embed metadata volba p kazov ho dku 244 calibredb export volba p kazov ho dku 239 calibredb list volba p kazov ho dku 235 calibredb list categories volba p kazov ho dku 243 calibredb remove volba p kazov ho dku 237 292 Rejst k U ivatelsk p ru ka Calibre Vyd n 2 46 0 calibredb remove custom column volba p kazo v ho dku 241 calibredb remo
570. v ho prohl e e z internetu pokud si to zvol te Jak je p istupov no k webov mu serveru m ete konfigurovat nastaven m p edvoleb v P edvolby gt Sd len gt Sd len po siti 4 Nastavit sd len knih na z klad e mailu Umo uje sd len knih a kan l zpr v e mailem Po nastaven e mailov adresy pro tuto volbu bude Calibre odes lat aktualizace zpr v a knih na zadan e mailov adresy Jak Calibre odes l e maily m ete konfigurovat nastaven m p edvoleb v P edvolby gt Sd len gt Sd len knih e mailem Jakmile nastav te jednu nebo v ce e mailov ch adres bude tato polo ka nab dky nahrazena polo kami nab dky pro odes l n knih na nastaven e mailov adresy Odebrat knihy ice Odebrat knihy trvale odstran knihy tak e ji pou vejte opatrn Je Xontextov z visl t j z vis na tom kter katalog str nka 10 jste vybrali Pokud jste vybrali Knihovnu knihy budou odebr ny z knihovny Pokud jste zvolili za zen te ky e knih budou knihy odebr ny ze za zen Abyste odebrali pouze ur it form t pro danou knihu pou ijte akci Upravit metadata str nka 5 Odebr n knih m tak p t variant ke kter m m ete z skat p stup kliknut m prav m tla tkem my i na tla tko 1 Odebrat vybran knihy Umo uje v m trvale odebrat v echny knihy kter jsou vybr ny v seznamu knih 1 1 Grafick u ivatelsk rozhran 9 U ivatelsk p ru k
571. v Calibre str nka 163 with arbitrarily powerful python functions to do all sorts of advanced text processing In the standard regexp mode for search and replace you specify both a regular expression to search for as well as a template that is used to replace all found matches In function mode instead of using a fixed template you specify an arbitrary function in the python programming language This allows you to do lots of things that are not possible with simple templates Techniques for using function mode and the syntax will be described by means of examples showing you how to create functions to perform progressively more complex tasks Find v Find Replace and Find Function v Create edit Remove Replace Replace all Mode Regex Function v Current file Down v Case sensitive wv Wrap Dot all Automatically fixing the case of headings in the document Here we will leverage one of the builtin functions in the editor to automatically change the case of all text inside heading tags to title case Find expression Hh 1 6 gt gt lt 1 gt For the function simply choose the Title case text ignore tags builtin function The will change titles that look like lt hl gt some TITLE lt h1 gt to lt hl gt Some Title lt h1 gt It will work even if there are other HTML tags inside the heading tags Your first custom function smartening hyphens The real power of function mode comes from being
572. ve format volba p kazov ho dku 237 calibredb restore database volba p kazov ho dku 242 calibredb saved searches volba p kazov ho dku 240 calibredb search volba p kazov ho dku 244 calibredb set custom volba p kazov ho dku 241 calibredb set metadata volba p kazov ho dku 238 calibredb show metadata volba p kazov ho dku 237 ebook convert volba p kazov ho dku 246 ebook edit volba p kazov ho dku 253 ebook meta volba p kazov ho dku 254 ebook polish volba p kazov ho dku 256 ebook viewer volba p kazov ho dku 256 fetch ebook metadata volba p kazov ho dku 257 Irf2Irs volba p kazov ho dku 257 Irfviewer volba p kazov ho dku 258 Irs2Irf volba p kazov ho dku 258 web2disk volba p kazov ho dku 259 viewer W calibre debug volba p kazov ho dku 231 visual debug Irfviewer volba p kazov ho dku 258 white background Irfviewer volba p kazov ho dku 258 width w calibredb list categories volba p kazov ho dku 243 with library calibre volba p kazov ho dku 229 calibre server volba p kazov ho dku 233 A action add menu atribut ca libre gui2 actions InterfaceAction 212 action menu clone gaction atribut ca libre gui2 actions InterfaceAction 213 action spec atribut calibre gui2 actions InterfaceAction 212 action type atribut
573. ve va knihovn nap klad obl benost Isaaca Asimova je po et knih ve va knihovn od Isaaca Asimova 1 1 Grafick u ivatelsk rozhran 19 U ivatelsk p ru ka Calibre Vyd n 2 46 0 1 1 11 M ka ob lek BRAM STOKER fane EASA C Denis SENSE amp Don uixole SENSIBILIT vey M ete nechat Calibre zobrazit m ku ob lek knih nam sto seznamu knih pokud d v te p ednost proch zen sv kolekce podle ob lek M ka ob lek se aktivuje kliknut m na tla tko m ky v prav m doln m rohu hlavn ho okna Calibre Velikosti ob lek a pozad m ky ob lek m ete p izp sobit pomoc P edvolby gt Vzhled gt M ka ob lek M ete dokonce nechat Calibre zobrazit jak koliv zadan pole pod ob lkami podle sv vlastn v le jako je n zev auto i hodnocen nebo vlastn sloupec 20 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 1 1 12 Prohl e ob lek A Tale of Two Cities p db d d Krom m ky ob lek popsan v e m ete tak nechat Calibre zobrazit ob lky v jedn ad To se aktivuje pomoc tla tka v prav m doln m rohu hlavn ho okna V P edvolby gt Vzhled gt Prohl e ob lek m ete zm nit po et zobra yyy zen ch ob lek a dokonce nechat zobrazit samotn prohl e ob lek v samostatn m automaticky oteviran m okn 1 1 13 Rychl zobrazen N kdy chcete vybrat knihu a
574. ve va knihovn Calibre 1 1 4 Hled n a azen ae Search a A Author s Publisher Size MB Date Rating William Shakespeare 2 4 02Jan 2007 k k k k k manybooks net Stalky and Co Rudyard Kipling 0 2 19 Jan 2007 k k k manybooks net h x 3 The Comedies uf wiliam william Shakespeare 2 1 15 Mar 2007 amp kk x Shakespeare The Histories of Willi land histori 4 SEO at William Shakespeare 15 15 Mar 2007 k kk En S Shakespeare fiction s Vete E eaei william Shakespeare 1 6 15 Mar 2007 x m Shakespeare 6 Warand Peace Leo Tolstoy 3 1 22 Aug 2007 k k k k gutenberg org classic 7 Anna Karenina Leo Tolstoy 1 9 22 Aug 2007 k k k k X gutenberg org classic Guns germs and steel the New York W W 8 fates Jared Diamond 0 4 29 Nov 2007 x x d eL Norton c1997 of human societies 9 A Game of Thrones George R R Martin 1 3 23 an 2007 fantasy 10 A Clash of Kings George R R Martin 14 25Jan2007 kk fantasy 11 A Storm of Swords George R R Martin 1 9 27 an 2007 X fantasy 12 A Feast for Crows George R R Martin 1 7 29jan2007 kk fantasy m SERERE r oe fantan Odd l Hled n a azen v m umo uje prov st n kolik v konn ch akc na va kolekci knih M ete je se adit podle n zvu autora data hodnocen atd kliknut m na n zvy sloupc M ete tak pod a zovat t j adit podle v ce sloupc Nap klad p
575. via USB Hub Try a different USB cable and a different USB port on your computer Try a different computer in particular the Kobo does not work well with some Windows XP machines If you are on Windows XP try a computer with a newer version of Windows Try upgrading the firmware on your Kobo Touch to the latest Try resetting the Kobo sometimes this cures the problem for a little while but then it re appears in which case you have to reset again and again Try only putting one or two books onto the Kobo at a time and do not keep large collections on the Kobo transferred some books to my Kindle using calibre and they did not show up Books sent to the Kindle only show up on the Kindle after they have been indexed by the Kindle This can take some time If the book still does not show up after some time then it is likely that the Kindle indexer crashed Sometimes a particular book can cause the indexer to crash Unfortunately Amazon has not provided any way to deduce which book is causing a crash on the Kindle Your only recourse is to either reset the Kindle or delete all files from its memory using Windows Explorer or whatever file manager you use and then send the books to it again one by one until you discover the problem book Once you have found the problem book delete it off the Kindle and do a MOBI to MOBI or MOBI to AZW3 conversion in calibre and then send it back This will most likely take care of the problem 1 8 3
576. volba p kazov ho dku 243 calibredb remove volba p kazov ho dku 236 calibredb remove custom column volba p kazo v ho dku 241 calibredb remove format volba p kazov ho dku 237 calibredb restore database volba p kazov ho dku 242 calibredb saved searches volba p kazov ho dku 240 calibredb search volba p kazov ho dku 244 calibredb set custom volba p kazov ho dku 241 calibredb set metadata volba p kazov ho dku 238 calibredb show metadata volba p kazov ho dku 237 ebook convert volba p kazov ho dku 245 ebook edit volba p kazov ho dku 253 ebook meta volba p kazov ho dku 254 ebook polish volba p kazov ho dku 255 ebook viewer volba p kazov ho dku 256 fetch ebook metadata volba p kazov ho dku 257 Irf2lrs volba p kazov ho dku 257 Irfviewer volba p kazov ho dku 258 Irs2Irf volba p kazov ho dku 258 web2disk volba p kazov ho dku 259 html unwrap factor ebook convert volba p kazov ho dku 249 identifier ebook meta volba p kazov ho dku 254 identifier I calibredb add volba p kazov ho dku 236 ids i calibredb catalog volba p kazov ho dku 239 ignore plugins calibre volba p kazov ho dku 229 ignore extensions calibredb check library volba p kazov ho dku 242 ignore names n calibredb check library volba
577. xports itself as a USB disk 36http calibre ebook com downloads html demo zip 108 Kapitola 1 Oddily U ivatelsk p ru ka Calibre Vyd n 2 46 0 You can even connect to Apple devices via iTunes using the Connect to iTunes function How can I help get my device supported in calibre If your device appears as a USB disk to the operating system adding support for it to calibre is very easy We just need some information from you Complete list of ebook formats that your device supports s there a special directory on the device in which all ebook files should be placed Also does the device detect files placed in sub directories We also need information about your device that calibre will collect automatically First if your device supports SD cards insert them Then connect your device to the computer In calibre go to Preferences Miscellaneous and click the Debug device detection button This will create some debug output Copy it to a file and repeat the process this time with your device disconnected from your computer Send both the above outputs to us with the other information and we will write a device driver for your device Once you send us the output for a particular operating system support for the device in that operating system will appear in the next release of calibre To send us the output open a bug report and attach the output to it See calibre bugs My device is not being d
578. y as described above Install calibre normally using the provided dmg Then open a Terminal and change to the previously checked out calibre code directory for example cd Users kovid work calibre calibre is the directory that contains the src and resources sub directories Ensure you have installed the calibre com mandline tools via Preferences gt Advanced gt Miscellaneous in the calibre GUI The next step is to create a bash script that will set the environment variable CALIBRE absolute path of the src directory when running calibre in debug mode xj O EVELOP FROM to the Create a plain text file bin sh export CALIBRE DEVELOP FROM Users kovid work calibre src calibre debug g Save this file as usr bin calibre develop then set its permissions so that it can be executed 108 https docs python org 2 using windows html excursus setting environment variables 10 http www mobileread com forums showthread php t 25 1201 1 12 Nastaven v vojov ho prost ed calibre 263 U ivatelsk p ru ka Calibre Vyd n 2 46 0 chmod x usr bin calibre develop Once you have done this run calibre develop You should see some diagnostic information in the Terminal window as calibre starts up and you should see an asterisk after the version number in the GUI window indicating that you are running from source 1 12 5 Linux
579. y default text for a placeholder by using the syntax lt number gt default text The other new feature is that the second placeholder has an asterisk after it 2 This means that any text that was selected before expanding the template is substituted for the placeholder To see this in action select some text in the editor press Cont rol J type lt a and press Cont rol J again the template will be expanded to a href filename gt whatever text you selected lt a gt Inserting a HTML image tag lt i This is very similar to inserting an HTML link as we saw above It allows you to quickly input an lt img src filename alt description gt tag and jump between the src and alt attributes Trigger i Template img src 1 filename alt 2 description gt 3 Insert an arbitrary HTML tag lt lt This allows you to insert an arbitrary full HTML tag or wrap previously selected text in the tag To use it simply type lt lt and press Cont ro1 J The editor will expand it to lt gt lt gt Type the tag name for example span and press Cont rol J that will result in span span You will note that the closing tag has been automatically filled with span This is achieved with yet another feature of placeholders mirroring Mirroring simply means that if you specify the sample placeholder more than once in a template the second and all later positions will b
580. y m ly b t rkami odd len seznam identifi ka n ch sel identifika n sla m ete z skat pomoc p kazu search Nap klad 23 34 57 85 kdy zad v te rozsah 2x7 posledn slo rozsahu nen zahrnuto Kdykoliv p ed te parametry calibredb kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami 236 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 help h zobrazit tuto zpr vu n pov dy a ukon it version zobrazit slo verze programu a ukon it add format calibredb add format options id ebook file P idat e knihu v ebook file do dostupn ch form t pro logickou knihu identifikovanou identifik torem Identifik tor m ete z skat pomoc p kazu search Pokud form t ji existuje je nahrazen pokud nen zad na volba nenahrazovat Kdykoliv p ed te parametry calibredb kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami dont replace Nenahrazovat form t pokud ji existuje help h zobrazit tuto zpr vu n pov dy a ukon it version zobrazit slo verze programu a ukon it remove format calibredb remove format options id fmt Odebrat form t fmt z logick knihy identifikovan identifik torem Identifik tor m ete z skat pomoc p kazu search fmt by m la b t p pona souboru jako je LRF TXT ne
581. yd n 2 46 0 username U ivatelsk jm no pro p stup Ve v choz m nastaven je to calibre version zobrazit slo verze programu a ukon it with library Cesta ke slo ce knihovny slou c pro server s obsahem calibre smtp calibre smtp options from to text Odeslat e mail pomoc protokolu SMTP calibre smtp m dva re imy V re imu psan zad te from to a text a ty jsou pou ity k sestaven a odesl n e mailov zpr vy V re imu filtrov n te calibre smtp kompletn e mailovou zpr vu ze vstupu STDIN a ode le ji text je t lo e mailov zpr vy Pokud text nen zad n kompletn e mailov zpr va je tena ze vstupu STDIN from je e mailov adresa odes latele a to je e mailov adresa p jemce Kdy je kompletn e mail ten ze vstupu STDIN from a to jsou pou ity pouze p i p ipojen vstupu STDIN hlavi ky zpr v nejsou m n ny Kdykoliv p ed te parametry calibre smtp kter obsahuj mezery uzav ete parametry uvozovkami Nap klad C n jak cesta s mezerami options fork f Rozv tvit a doru it zpr vu na pozad Pokud pou ijete tuto volbu m li byste tak pou t outbox str nka 233 pro vy e en selh n doru en help h zobrazit tuto zpr vu n pov dy a ukon it localhost 1 N zev hostitele localhost Pou ito p i p ipojov n k serveru SMTP outbox o Cesta ke slo ce maildir pro e mailov zpr vy
582. ygenerovan ho souboru EPUB do zadan ho adres e Obsah adres e je nejd ve odstran n tak e bu te opatrn flow size Split all HTML files larger than this size in KB This is necessary as most EPUB readers cannot handle large file sizes The default of 260KB is the size required for Adobe Digital Editions Set to 0 to disable size based splitting no default epub cover Pokud vstupn soubor nem dnou ob lku a vy jste dnou nezadali je oby ejn vygenerov na v choz ob lka s n zvem autorem atd Tato volba zak e generov n t to ob lky no svg cover Nepou vat SVG pro ob lku knihy Tuto mo nost pou ijte pokud va e soubory EPUB budou pou v ny v za zen kter nepodporuje SVG jako je iPhone nebo JetBook Lite Bez t to volby budou takov za zen zobrazovat ob lku jako pr zdnou str nku preserve cover aspect ratio P i pou it ob lky SVG tato volba zp sob zm nu velikosti ob lky aby pokryla dostupn oblasti obrazovky ale xv p esto zachov jej pom r stran pom r ky k v ce To znamen Ze mohou b t vid t b l okraje po stran ch 246 Kapitola 1 Odd ly U ivatelsk p ru ka Calibre Vyd n 2 46 0 nebo v horn a doln sti obr zku ale obr zek nebude nikdy zdeformovan Bez t to volby m e b t obr zek m rn deformovan ale nebudou vid t dn okraje pretty print Pokud je zad no v stupn modul se pokus
583. yy the year as two digit number 00 to 99 yyyy the year as four digit number h the hours without a leading 0 0 to 11 or 0 to 23 depending on am pm hh the hours with a leading 0 00 to 11 or 00 to 23 depending on am pm m the minutes without a leading 0 0 to 59 mm the minutes with a leading 0 00 to 59 s the seconds without a leading 0 0 to 59 ss the seconds with a leading 0 00 to 59 ap use a 12 hour clock instead of a 24 hour clock with ap replaced by the localized strin AP use a 12 hour clock instead of a 24 hour clock with AP replaced by the localized strin iso the date with time and timezone Must be the only format present You might get unexpected results if the date you are formatting contains localized month names which can happen if you changed the format tweaks to contain MMMM In this case instead of using some thing like pubdate format_date yyyy write the template using template program mode as in format date raw field pubdate yyyy e finish formatting val fmt prefix suffix apply the format prefix and suffix to a value in the same way as done in a template like series index 05 2f This function is provided to ease conversion of complex single function or template program mode templates to general program mode str nka 159 see below to take advantage of GPM template compilation For example the following program produces the same output as the above template pr
584. zkr tka ka d jednotliv prvek v regul rn m v razu Tyto znaky se naz vaj z stupn znaky nebo kvantifik tory Abychom byli p esn j odpov d 0 nebo I v skyt p edch zej c ho prvku odpov d 0 nebo v ce v skyt p edch zej c ho prvku a odpov d nebo v ce v skyt p edch zej c ho prvku N kolik p klad V raz a by odpov dal bu co je pr zdn et zec nen nezbytn u ite n v tomto p pad nebo a v raz ax by odpov dal sor a aa nebo libovoln mu po tu a v ad a kone n v raz a by odpov da aa nebo libovoln mu po tu a v ad Pozn mka neodpov dal by pr zdn mu et zci To sam pro sady V raz 0 9 by odpov dal ka d mu exis tuj c mu cel mu slu V m co si mysl te a m te pravdu Kdy toto pou ijete ve v e uveden m p padu porovn v n sel str nek nebyl by to jedin v raz pro porovn n v ech sel str nek Ano v raz Strana 0 9 z 423by porovnal ka d slo str nky v t to knize 1 a ee Pozn mka Pozn mka o t chto kvantifik torech Obvykle se sna porovnat tolik textu kolik je mo n tak e bu te opatrn p i jejich pou it Naz v se to chamtiv chov n jsem si jist e ch pete pro Je to kompliko van j kdy ekn me chcete porovnat zna ku Vezm me nap klad et zec lt p class calibre2 gt Tady je nadpis lt p g
585. znak a pro znak jsou p evedeny automaticky Nap klad template title sort vyhodnot ablonu title sort a vr t jej hodnotu Pamatujte tak na to e p edpony a p pony syntaxe Iprefix suffix nemohou b t pou ity v parametru t to funkce p i pou it re imu ablony programu Relational cmp x y It eq gt class calibre utils formatter functions BuiltinCmp cmp x y It eq gt porovn v x a y po p eveden obou na sla Vrac It kdy x lt y Vrac eq kdy x y Jinak vrac gt 1 9 Kurzy 153 U ivatelsk p ru ka Calibre Vyd n 2 46 0 first matching cmp val cmpl result1 cmp2 r2 else result class calibre utils formatter functions BuiltinFirstMatchingCmp first matching cmp val cmp1 resultl cmp2 12 else result porovn v val lt cmpN v posloupnosti vrac resultN pro prvn porovn n kter usp je Vrac else result kdy dn porovn n neusp je P klad first matching cmp 10 5 mal 10 st edn 15 velk obrovsk vrac velk Stejn p klad s prvn hod notou 16 vrac obrovsk stremp x y It eq gt class calibre utils formatter functions BuiltinStrcmp strcmp x y It eg gt d l porovn n x a y jako et zc bez rozli en mal ch a velk ch p smen Vrac It kdy x lt y Vrac eg kdy x y Jinak vrac gt String case changes capitalize hodnota class ca
586. zobrazen tabulkov ch informac Transliterate unicode characters P ek dovat znaky unicode do zastoupen ASCII Pou vejte opatrn proto e to na hrad znaky unicode za ASCII Nap klad to nahrad Muxaun Dop6aneB za Michail Gorba ov Tak pama tujte e v p padech kdy je v ce zastoupen znak nap klad znaky spole n pro n tinu a japon tinu bude pou ito zastoupen pou van nejv t m po tem lid nap klad n tina v p edchoz m Tato volba je hlavn u ite n pokud se chyst te zobrazit e knihu na za zen kter nem podporu unicode Input character encoding Star dokumenty n kdy nezad vaj sv k dov n znak P i p evodu to m e v st k ne anglick znak m nebo speci ln m znak m jako je po kozen chytr ch uvozovek Calibre zkou automaticky rozpoznat k dov n znak zdrojov ho dokumentu ale nen v dy sp n Pomoc tohoto nastaven m ete vy nutit p edpokl d n konkr tn ho k dov n znak cp 252 je b n k dov n pro dokumenty vytvo en pomoc softwaru Windows M li byste si tak p e st How do I convert my file containing non English characters or smart guotes str nka 106 pro v ce informac o problematice k dov n 1 4 3 Nastaven str nky Volby Nastaven str nky jsou pro ovl d n rozlo en obrazovky jako jsou okraje a velikosti obrazovky Existuj volby pro nastaven okraj str nky kte
587. zobrazit kliknut m prav m tla tkem my i na polo ku ORIGINAL FMT v panelu Po drobnosti o knize str nka 16 v hlavn m okn calibre a v b rem Porovnat s FMT Otev e se zobrazen porovn n s ORIGINAL FMT vlevo a FMT vpravo Porovn n kontroln ho bodu s aktu ln m stavem knihy b hem pravy N stroj prava e knih str nka 71 m velice u ite nou funkci zvanou Kontroln body str nka 83 Ta v m umo uje ulo it aktu ln stav knihy jako pojmenovan kontroln bod do kter ho se m ete vr tit pokud se v m nel b zm ny kter jste ud lali od vytvo en kontroln ho bodu Kontroln body jsou tak vytv eny automaticky kdy provedete r zn automatizovan akce v editoru Seznam kontroln ch bod m ete vid t p ejit m na Zobrazen gt Kontroln body a pak pou it m tla tka Porovnat pro porovn n knihy ve vybran m kontroln m bodu s aktu ln m stavem N stroj porovn n zobraz kontroln bod vlevo a aktu ln stav vpravo 1 7 prava metadat e knihy Obsah prava metadat jedn knihy najednou str nka 103 Stahov n metadat str nka 103 Spr va form t knihy str nka 103 V e o ob lk ch str nka 103 prava metadat mnoha knih najednou str nka 103 Hledat a nahradit str nka 104 Hromadn stahov n metadat str nka 105 E knihy se objevuj ve v ech tvarech a velikostech a sp e ast ji ne ne jsou jejich metadata v ci jak
588. zyka class calibre utils formatter functions BuiltinLanguageCodes language codes et zce jazyka vrac k dy jazyka pro et zce p edan v et zce jazyka et zce mus b t v jazyce aktu ln ho n rodn ho prost ed et zce jazyka je rkami odd len seznam language strings k dy jazyka lokalizovat class calibre utils formatter functions BuiltinLanguageStrings language strings k dy jazyka lokalizovat vrac et zec pro k dy jazyka p edan v k dy jazyka Pokud lo kalizovat je nula vrac et zce v angli tin Pokud lokalizovat nen nula vrac et zce v jazyce aktu ln ho n rodn ho prost ed K dy jazyka je rkami odd len seznam ondevice class calibre utils formatter functions BuiltinOndevice ondevice vrac Ano pokud je nastaveno ondevice jinak vrac pr zdn et zec Tato funkce funguje pouze v grafick m rozhran Pokud chcete pou t tuto hodnotu v ablon ch ulo en na disk nebo odesl n do za zen pak mus te vytvo it vlastn Sloupec sestaven z jin ch sloupc pou t funkci v ablon toho sloupce a pou t hodnotu toho sloupce ve sv ablon ulo en nebo odesl n raw field name class calibre utils formatter functions BuiltinRawField raw field name vrac pole metadata pojmenovan podle name bez pou it jak hokoliv form tov n raw list n zev odd lova class calibre utils formatter functions BuiltinRawList

Download Pdf Manuals

image

Related Search

Related Contents

CUDA Debugger  Hampton Bay 34914 Instructions / Assembly  Hama Digital Eye II PRO  T'nB TABREGRD7  LandAirSea Tracking Key/Pro ® User Guide  c-u11  

Copyright © All rights reserved.
Failed to retrieve file