calibreUserManual,Release2.55.0
Firstgiveyoursnippetaname, somethingdescriptive, tohelpidentifythesnippetinthefuture. . Thenspecifythe
trigger.AtriggerissimplythetextthatyouhavetotypeintheeditorbeforepressingControl+Jinordertoexpand
thesnippet.
Thenspecifythesnippettemplate. Youshouldstartwithoneoftheexampleaboveandmodifyittosuityourneeds.
Finally,specifywhichfiletypesyouwantthesnippettobeactivefor. Thiswayyoucanhavemultiplesnippetswith
thesametriggertextthatworkdifferentlyindifferentfiletypes.
Thenextstepistotestyournewlycreatedsnippet.UsetheTestboxatthebottom.Typeinthetriggertextandpress
Control+Jtoexpandthesnippetandjumpbetweenplaceholders.
TheReportstool
TheeditorincludesaniceReportstool(viaTools->Reports)thatshowssummariesofthefiles,images,links,words,
charactersandstylesusedinthebook.Everylineinthereportishot-linked.Doubleclickingalinejumpstotheplace
inthebookwherethatitemisusedordefined(asappropriate).Forexample,intheLinksview,youcandoubleclick
entriestheSourcecolumntojumptowherethelinkisdefinedandentriesintheTargetcolumntojumptowherethe
linkpoints.
1.5. EditingE-books
97
Convert pdf to powerpoint with - C# Create PDF from PowerPoint Library to convert pptx, ppt to PDF in C#.net, ASP.NET MVC, WinForms, WPF
Online C# Tutorial for Creating PDF from Microsoft PowerPoint Presentation
convert pdf to powerpoint with; create powerpoint from pdf
Convert pdf to powerpoint with - VB.NET Create PDF from PowerPoint Library to convert pptx, ppt to PDF in vb.net, ASP.NET MVC, WinForms, WPF
VB.NET Tutorial for Export PDF file from Microsoft Office PowerPoint
changing pdf to powerpoint file; pdf to ppt converter online for large
calibreUserManual,Release2.55.0
1.5.9 Specialfeaturesinthecodeeditor
ThecalibreHTMLeditorisverypowerful.IthasmanyfeaturesthatmakeeditingofHTML(andCSS)easier.
Syntaxhighlighting
TheHTMLeditorhasverysophisticatedsyntaxhighlighting.Featuresinclude:
• Thetextinsidebold,italicandheadingtagsismadebold/italic
• AsyoumoveyourcursorthroughtheHTML,thematchingHTMLtagsarehighlighted
• InvalidHTMLishighlightedwitharedunderline
• SpellingerrorsinthetextinsideHTMLtagsandattributessuchastitlearehighlighted. . Thespellcheckingis
languageaware,basedonthevalueofthelangattributeofthecurrenttagandtheoverallbooklanguage.
• CSSembeddedinside<style>tagsishighlighted
• Specialcharactersthatcanbehardtodistinguishsuchasnon-breakingspaces,differenttypesofhyphens,etc.
arehighlighted.
• Linkstootherfilesin<a>tags,<img>and<link>tagsallhavethefilenameshighlighted. . Ifthefilename
theypointtodoesnotexist,thefilenameismarkedwitharedunderline.
Contextsensitivehelp
YoucanrightclickonanHTMLtagnameoraCSSpropertynametogethelpforthattagorproperty.
YoucanalsoholddowntheCtrlkeyandclickonanyfilenameinsidealinktagtoopenthatfileintheeditorautomat-
ically.
Auto-complete
Wheneditinganebook, oneofthemosttedious tasksiscreatinglinkstootherfiles insidethebook, ortoCSS
stylesheets,orimages. Youhavetofigureoutthecorrectfilenameandrelativepathtothefile. . Theeditorhasauto-
completetomakethateasier.
Asyoutypeafilename,theeditorautomaticallypopsupsuggestions.SimplyusetheTabkeytoselectthecorrectfile
name. TheeditorevenofferssuggestionsforlinkspointingtoananchorinsideanotherHTMLfile. . Afteryoutype
98
Chapter1. Sections
Online Convert PowerPoint to PDF file. Best free online export
Download Free Trial. Convert a PPTX/PPT File to PDF. Then just wait until the conversion from Powerpoint to PDF is complete and download the file.
pdf to ppt converter online; conversion of pdf to ppt online
C# PDF Convert to Jpeg SDK: Convert PDF to JPEG images in C#.net
C# PDF - Convert PDF to JPEG in C#.NET. C#.NET PDF to JPEG Converting & Conversion Control. Convert PDF to JPEG Using C#.NET. Add necessary references:
convert pdf slides to powerpoint; and paste pdf to powerpoint
calibreUserManual,Release2.55.0
the#character,theeditorwillshowyoualistofallanchorsinthetargetfile,withasmallsnippetoftexttohelpyou
choosetherightanchor.
Notethatunlikemostothercompletionsystems,theeditor’scompletionsystemusessubsequencematching. This
meansthatyoucantypejusttwoorthreelettersfromanywhereinthefilenametocompletethefilename.Forexample,
sayyouwantthefilename../images/arrow1.png,youcansimplytypeia1andpressTabtocompletethe
filename. Whensearchingformatches,thecompletionsystemprioritizeslettersthatareatthestartofaword,or
immediatelyafterapathseparator.Onceyougetusedtothissystem,youwillfinditsavesyoualotoftimeandeffort.
Snippets
Thecalibreeditorsupportssnippets. Asnippetisapieceoftextthatiseitherre-usedoftenorcontainsalotof
redundanttext.Theeditorallowsyoutoinsertasnippetwithonlyafewkeystrokes.Thesnippetsareverypowerful,
withmanyfeatures,suchasplaceholdersyoucanjumpbetween,automaticmirroringofrepeatedtextandsoon.For
moreinformation,seeSnippets(page94).
1.6 ComparingE-books
calibreincludesanintegratede-bookcomparisontoolthatcanbeusedtoseewhathaschangedinsideanebookafter
editingorconvertingit.ItcancomparebooksintheEPUBandAZW3formats.
Touseit,eitheropentheebookinthetoolforEditingE-books(page70)andthenclickFile->Comparetootherbook
orusetheBookDetails(page16)panel.IfyoudoaconversionfromEPUBtoEPUB,theoriginalEPUBfilewillbe
savedasORIGINAL_EPUB.SimplyrightclickontheORIGINAL_EPUBentryintheBookDetailspanelandchoose
ComparetoEPUBformat.
Thecomparisontoolthatopenswilllooklikethescreenshotbelow. Itshowsyouthedifferencesintext,stylesand
imagesinthechosenbooks.
1.6. ComparingE-books
99
VB.NET PDF Convert to Jpeg SDK: Convert PDF to JPEG images in vb.
Convert PDF to Image; Convert Word to PDF; Convert Excel to PDF; Convert PowerPoint to PDF; Convert Image to PDF; Convert Jpeg to PDF;
convert pdf pages into powerpoint slides; how to convert pdf slides to powerpoint
VB.NET PDF Convert to HTML SDK: Convert PDF to html files in vb.
Convert PDF to HTML. |. Home ›› XDoc.PDF ›› VB.NET PDF: PDF to HTML. Convert PDF to HTML in VB.NET Demo Code. Add necessary references:
convert pdf file to ppt online; convert pdf slides to powerpoint online
calibreUserManual,Release2.55.0
1.6.1 Understandingthecomparisonview
Ascanbeseeninthescreenshotabove,thecomparisonviewshowsthedifferencesbetweenthetwobookssideby
side. Onlythedifferences,withafewlinesofcontextaroundthemareshown. Thismakesiteasytoseeataglance
onlywhatwaschangedinsidealargedocumentlikeabook.
Addedtextisshownwithagreenbackground, removedtextwitharedbackgroundandchangedtextwithablue
background.
Thelinenumbersofallchangedtextareshowatthesides,makingiteasytogotoaparticularchangeintheeditor.
Whenyouopenthecomparisontoolfromwithintheeditor,youcanalsodoubleclickonalineintherightpaneltogo
tothatlineintheeditorautomatically.
Oneusefultechniquewhencomparingbooksistotellthecomparisontooltobeautifythetextandstylefilesbefore
calculatingdifferences. Thiscanoftenresultincleanerandeasiertofollowdifferences.Todothis,clicktheOptions
buttoninthebottomrightandchooseBeautifyfilesbeforecomparing. Notethatbeautifyingcansometimeshave
100
Chapter1. Sections
C# powerpoint - Convert PowerPoint to PDF in C#.NET
C# PowerPoint - Convert PowerPoint to PDF in C#.NET. C# Demo: Convert PowerPoint to PDF Document. Add references: RasterEdge.Imaging.Basic.dll.
convert pdf into ppt online; how to convert pdf file to powerpoint presentation
C# PDF Convert to HTML SDK: Convert PDF to html files in C#.net
Convert PDF to HTML. |. C#.NET PDF SDK - Convert PDF to HTML in C#.NET. How to Use C# .NET XDoc.PDF SDK to Convert PDF to HTML Webpage in C# .NET Program.
how to convert pdf to powerpoint; image from pdf to ppt
calibreUserManual,Release2.55.0
undesiredeffects,asitcancauseinvalidmarkuptobealteredtomakeitvalid. Youcanalsochangethenumberof
linesofcontextshownarounddifferencesviatheOptionsbutton.
Youcansearchforanytextinthedifferencesviathesearchbaratthebottom.Youwillneedtospecifywhichpanelto
search,theLeftortheRight.
1.6.2 Launchingthecomparisontool
Thecomparisontoolismostusefulwhenyouhavetwoversionsofthesamebookandyouwanttoseewhatisdifferent
betweenthem.Tothatend,thereareseveralwaystolaunchthetool.
Comparingtwoebookfiles
OpenthefirstfileintheEditingE-books(page70)tool. NowclickFile->Comparetoanotherbookandchoosethe
secondfile(itmustbeinthesameformatasthefirst).Thecomparisonviewwillopenwiththefilebeingeditedonthe
rightandthesecondfileontheleft.
ComparingtheORIGINAL_FMTtoFMT
WhenyoudoaconversionincalibrefromaFMTtoitself,theoriginalfileissavedasORIGINAL_FMT.Youcansee
whatwaschangedbytheconversion,byrightclickingontheORIGINAL_FMTentryintheBookDetails(page16)
panelinthemaincalibrewindowandselectingComparetoFMT.ThecomparisonviewwillopenwithORIGI-
NAL_FMTontheleftandFMTontheright.
Comparingacheckpointtothecurrentstateofthebookwhileediting
TheEditingE-books(page70)toolhasaveryusefulfeature,calledCheckpoints(page82).Thisallowsyoutosave
thecurrentstateofthebookasanamedcheckpoint,towhichyoucanrevertifyoudonotlikethechangesyouhave
madesincecreatingthecheckpoint.Checkpointsarealsocreatedautomaticallywhenyouperformvariousautomated
actionsintheeditor. YoucanseethelistofcheckpointsbygoingtoView->CheckpointsandthenusetheCompare
buttontocomparethebookattheselectedcheckpointwiththecurrentstate. Thecomparisontoolwillshowthe
checkpointontheleftandthecurrentstateontheright.
1.7 EditingEbookMetadata
Contents
• Editingthemetadataofonebookatatime(page102)
– Downloadingmetadata(page102)
– Managingbookformats(page102)
– Allaboutcovers(page102)
• Editingthemetadataofmanybooksatatime(page102)
– Searchandreplace(page103)
– Bulkdownloadingofmetadata(page104)
Ebookscomeinallshapesandsizesandmoreoftenthannot,theirmetadata(thingsliketitle/author/series/publisher)
isincompleteorincorrect. Thesimplestwaytochangemetadataincalibreistosimplydoubleclickonanentryand
typeinthecorrectreplacement.Formoresophisticated,“powerediting”usetheeditmetadatatoolsdiscussedbelow.
1.7. EditingEbookMetadata
101
VB.NET PDF Convert to Word SDK: Convert PDF to Word library in vb.
VB.NET PDF - Convert PDF to MS Office Word in VB.NET. VB.NET Tutorial for How to Convert PDF to Word (.docx) Document in VB.NET. Best
converter pdf to powerpoint; how to change pdf to powerpoint on
VB.NET PDF Convert to Tiff SDK: Convert PDF to tiff images in vb.
VB.NET PDF - Convert PDF to TIFF Using VB in VB.NET. Free VB.NET Guide to Render and Convert PDF Document to TIFF in Visual Basic Class.
pdf picture to powerpoint; converter pdf to powerpoint
calibreUserManual,Release2.55.0
1.7.1 Editingthemetadataofonebookatatime
ClickthebookyouwanttoeditandthenclicktheEditmetadatabuttonorpresstheEkey.Adialogopensthatallows
youtoeditallaspectsofthemetadata. Ithasvariousfeaturestomakeeditingfasterandmoreefficient. Alistofthe
commonlyusedtips:
• Youcanclickthebuttoninbetweentitleandauthorstoswapthemautomatically.
• Youcanclickthebuttonnexttoauthorsorttohavecalibreautomaticallyfillitinusingthesortvaluesstored
witheachauthor.UsetheManageauthorsdialogtoseeandchangetheauthors’sortvalues.Thisdialogcanbe
openedbyclickingandholdingthebuttonnexttoauthorsort.
• YoucanclickthebuttonnexttotagstousetheTagEditortomanagethetagsassociatedwiththebook.
• TheISBNboxwillhavearedbackgroundifyouenteraninvalidISBN.ItwillbegreenforvalidISBNs
• Theauthorsortboxwillberediftheauthorsortvaluediffersfromwhatcalibrethinksitshouldbe.
Downloadingmetadata
Thenicestfeatureoftheeditmetadatadialogisitsabilitytoautomaticallyfillinmanymetadatafieldsbygetting
metadatafromvariouswebsites.Currently,calibreusesisbndb.com,GoogleBooks,AmazonandLibraryThing.The
metadatadownloadcanfillinTitle,author,series,tags,rating,descriptionandISBNforyou.
Tousethedownload,fillinthetitleandauthorfieldsandclicktheFetchmetadatabutton. calibrewillpresentyou
withalistofbooksthatmostcloselymatchthetitleandauthor. IfyoufillintheISBNfieldfirst,itwillbeusedin
preferencetothetitleandauthor. Ifnomatchesarefound,trymakingyoursearchalittlelessspecificbyincluding
onlysomekeywordsinthetitleandonlytheauthorlastname.
Managingbookformats
Incalibre,asinglebookentrycanhavemanydifferentformatsassociatedwithit.Forexampleyoumayhaveobtained
theCompleteWorksofShakespeareinEPUBformatandlaterconvertedittoMOBItoreadonyourKindle. calibre
automaticallymanagesmultipleformatsforyou.IntheAvailableformatssectionoftheEditmetadatadialog,youcan
managetheseformats. Youcanaddanewformat,deleteanexistingformatandalsoaskcalibretosetthemetadata
andcoverforthebookentryfromthemetadatainoneoftheformats.
Allaboutcovers
Youcanaskcalibretodownloadbookcoversforyou,providedthebookhasaknownISBN.Alternativelyyoucan
specifyafileonyourcomputertouseasthecover.calibrecanevengenerateadefaultcoverwithbasicmetadataonit
foryou.Youcandraganddropimagesontothecovertochangeitandalsorightclicktocopy/pastecoverimages.
Inaddition,thereisabuttontoautomaticallytrimbordersfromthecover,incaseyourcoverimagehasanuglyborder.
1.7.2 Editingthemetadataofmanybooksatatime
FirstselectthebooksyouwanttoeditbyholdingCtrlorShiftandclickingonthem. Ifyouselectmorethanone
book,clickingtheEditmetadatabuttonwillcauseanewBulkmetadataeditdialogtoopen. Usingthisdialog,you
canquicklysettheauthor/publisher/rating/tags/seriesetcofabunchofbookstothesamevalue. Thisisparticularly
usefulifyouhavejustimportedanumberofbooksthathavesomemetadataincommon.Thisdialogisverypowerful,
forexample,ithasaSearchandReplacetabthatyoucanusetoperformbulkoperationsonmetadataandevencopy
metadatafromonecolumntoanother.
102
Chapter1. Sections
calibreUserManual,Release2.55.0
ThenormaleditmetadatadialogalsohasNextandPreviousbuttonsthatyoucanusetoeditthemetadataofseveral
booksoneaftertheother.
Searchandreplace
TheBulkmetadataeditdialogallowsyoutoperformarbitrarilypowerfulsearchandreplaceoperationsontheselected
books.Bydefaultitusesasimpletextsearchandreplace,butitalsosupportregularexpressions.Formoreonregular
expressions,seeAllaboutusingregularexpressionsincalibre(page162).
Asnotedabove,therearetwosearchandreplacemodes: charactermatchandregularexpression. Charactermatch
willlookintheSearchfieldyouchooseforthecharactersyoutypeinthesearchforboxandreplacethosecharacters
withwhatyoutypeinthereplacewithbox.Eachoccuranceofthesearchcharactersinthefieldwillbereplaced.For
example,assumethefieldbeingsearchedcontainsabadcat.ifyousearchforatobereplacedwithHELLO,thenthe
resultwillbeHELLObHELLOdcHELLOt.
Ifthefieldyouaresearchingonisamultiplefieldliketags,theneachtagistreatedseparately. Forexample,ifyour
tagscontainHorror,Scary,thesearchexpressionr,willnotmatchanythingbecausetheexpressionwillfirstbeapplied
toHorrorandthentoScary.
Ifyouwantthesearchtoignoreupper/lowercasedifferences,unchecktheCasesensitivebox.
Youcanhavecalibrechangethecaseoftheresult(informationafterthereplacehashappened)bychoosingoneofthe
functionsfromtheApplyfunctionafterreplacebox.Theoperationsavailableare:
• Lowercase–changeallthecharactersinthefieldtolowercase
• Uppercase–changeallthecharactersinthefieldtouppercase
• Titlecase–capitalizeeachwordintheresult.
TheYourtestboxisprovidedforyoutoentertexttocheckthatsearch/replaceisdoingwhatyouwant.Inthemajority
ofcasesthebooktestboxeswillbesufficient,butitispossiblethatthereisacaseyouwanttocheckthatisn’tshown
intheseboxes.EnterthatcaseintoYourtest.
Regularexpressionmodehassomedifferencesfromcharactermode,beyond(ofcourse)usingregularexpressions.
Thefirstisthatfunctionsareappliedtothepartsofthestringmatchedbythesearchstring,nottheentirefield. The
secondisthatfunctionsapplytothereplacementstring,nottotheentirefield.
Thethirdandmostimportantisthatthereplacestringcanmakereferencetopartsofthesearchstringbyusing
backreferences.Abackreferenceis\\nwherenisanintegerthatreferstothen’thparenthesizedgroupinthesearch
expression. Forexample,giventhesameexampleasabove,abadcat,asearchexpressiona(...)(...),andareplace
expressiona\2\1,theresultwillbeacatbad.PleaseseetheAllaboutusingregularexpressionsincalibre(page162)
formoreinformationonbackreferences.
Oneusefulpattern:assumeyouwanttochangethecaseofanentirefield.Theeasiestwaytodothisistousecharacter
mode,butletsfurtherassumeyouwanttouseregularexpressionmode. Thesearchexpressionshouldbe(.*)the
replaceexpressionshouldbe\1,andthedesiredcasechangefunctionshouldbeselected.
Finally,inregularexpressionmodeyoucancopyvaluesfrom onefieldtoanother. . Simplymakethesourceand
destinationfielddifferent.Thecopycanreplacethedestinationfield,prependtothefield(addtothefront),orappend
tothefield(addattheend).The‘usecomma’checkboxtellscalibreto(ornotto)addacommabetweenthetextand
thedestinationfieldinprependandappendmodes.Ifthedestinationismultiple(e.g.,tags),thenyoucannotuncheck
thisbox.
Searchandreplaceisdoneafteralltheothermetadatachangesintheothertabsareapplied. Thiscanleadtosome
confusion,becausethetestboxeswillshowtheinformationbeforetheotherchanges,buttheoperationwillbeapplied
aftertheotherchanges. Ifyouhaveanydoubtsaboutwhatisgoingtohappen,donotmixsearch/replacewithother
changes.
1.7. EditingEbookMetadata
103
calibreUserManual,Release2.55.0
Bulkdownloadingofmetadata
Ifyouwanttodownloadthemetadataformultiplebooksatonce, right-clicktheEditmetadatabuttonandselect
Downloadmetadata.Youcanchoosetodownloadonlymetadata,onlycovers,orboth.
1.8 FrequentlyAskedQuestions
Contents
• EbookFormatConversion(page104)
• DeviceIntegration(page107)
• LibraryManagement(page114)
• Miscellaneous(page118)
1.8.1 EbookFormatConversion
Contents
• Whatformatsdoescalibresupportconversionto/from?(page104)
• Whatarethebestsourceformatstoconvert?(page105)
• IconvertedaPDFfile,buttheresulthasvariousproblems?(page105)
• HowdoIconvertmyfilecontainingnon-Englishcharacters,orsmartquotes?(page105)
• What’sthedealwithTableofContentsinMOBIfiles?(page105)
• ThecoversformyMOBIfileshavestoppedshowingupinKindleforPC/KindleforAndroid/iPadetc.
(page106)
• HowdoIconvertacollectionofHTMLfilesinaspecificorder?(page106)
• TheEPUBIproducedwithcalibreisnotvalid?(page107)
• HowdoIusesomeoftheadvancedfeaturesoftheconversiontools?(page107)
Whatformatsdoescalibresupportconversionto/from?
calibresupportstheconversionofmanyinputformatstomanyoutputformats.Itcanconverteveryinputformatinthe
followinglist,toeveryoutputformat.
InputFormats:AZW,AZW3,AZW4,CBZ,CBR,CBC,CHM,DJVU,DOCX,EPUB,FB2,HTML,HTMLZ,LIT,
LRF,MOBI,ODT,PDF,PRC,PDB,PML,RB,RTF,SNB,TCR,TXT,TXTZ
OutputFormats:AZW3,EPUB,DOCX,FB2,HTMLZ,OEB,LIT,LRF,MOBI,PDB,PMLZ,RB,PDF,RTF,SNB,
TCR,TXT,TXTZ,ZIP
Note: PRCisagenericformat,calibresupportsPRCfileswithTextReadandMOBIBookheaders. . PDBisalsoa
genericformat. calibresupportseReader,Plucker,PMLandzTxtPDBfiles. DJVUsupportisonlyforconverting
DJVUfilesthatcontainembeddedtext. ThesearetypicallygeneratedbyOCRsoftware.MOBIbookscanbeoftwo
typesMobi6andKF8.calibrefullysupportsboth. MOBIfilesoftenhave.azwor.azw3fileextensions. DOCXfiles
fromMicrosoftWord2007andneweraresupported.
104
Chapter1. Sections
calibreUserManual,Release2.55.0
Whatarethebestsourceformatstoconvert?
Inorderofdecreasingpreference:LIT,MOBI,AZW,EPUB,AZW3,FB2,DOCX,HTML,PRC,ODT,RTF,PDB,
TXT,PDF
IconvertedaPDFfile,buttheresulthasvariousproblems?
PDFisaterribleformattoconvertfrom.ForalistofthevariousissuesyouwillencounterwhenconvertingPDF,see:
ConvertPDFdocuments(page67).
HowdoIconvertmyfilecontainingnon-Englishcharacters,orsmartquotes?
Therearetwoaspectstothisproblem:
1. Knowingtheencodingofthesourcefile:calibretriestoguesswhatcharacterencodingyoursourcefiles
use,butoften,thisisimpossible,soyouneedtotellitwhatencodingtouse. Thiscanbedoneinthe
GUIviatheInputcharacterencodingfieldintheLook&Feel->Textsectionoftheconversiondialog.
Thecommand-linetoolshaveanebook-convert-txt-input --input-encoding(page256)
option.
2. WhenaddingHTMLfilestocalibre, , youmayneedtotellcalibrewhatencodingthefilesarein. . To
dothisgotoPreferences->Plugins->FileTypepluginsandcustomizetheHTML2Zipplugin,tellingit
whatencodingyourHTMLfilesarein. NowwhenyouaddHTMLfilestocalibretheywillbecorrectly
processed.HTMLfilesfromdifferentsourcesoftenhavedifferentencodings,soyoumayhavetochange
thissettingrepeatedly.Acommonencodingformanyfilesfromthewebiscp1252andIwouldsuggest
youtrythatfirst. NotethatwhenconvertingHTMLfiles,leavetheinputencodingsettingmentioned
aboveblank.ThisisbecausetheHTML2ZIPpluginautomaticallyconvertstheHTMLfilestoastandard
encoding(utf-8).
What’sthedealwithTableofContentsinMOBIfiles?
Thefirstthingtorealizeisthatmostebookshavetwotablesofcontents.OneisthetraditionalTableofContents,like
theToCyoufindinpaperbooks.ThisTableofContentsispartofthemaindocumentflowandcanbestyledhowever
youlike.ThisToCiscalledthecontentToC.
ThenthereisthemetadataToC.AmetadataToCisaToCthatisnotpartofthebooktextandistypicallyaccessedby
somespecialbuttononareader.Forexample,inthecalibreviewer,youusetheShowTableofContentsbuttontosee
thisToC.ThisToCcannotbestyledbythebookcreator.Howitisrepresentedisuptotheviewerprogram.
IntheMOBIformat,thesituationisalittleconfused. ThisisbecausetheMOBIformat,aloneamongstmainstream
ebookformats,doesnothavedecentsupportforametadataToC.AMOBIbooksimulatesthepresenceofametadata
ToCbyputtinganextracontentToCattheendofthebook.WhenyouclickGotoTableofContentsonyourKindle,
itistothisextracontentToCthattheKindletakesyou.
NowitmightwellseemtoyouthattheMOBIbookhastwoidenticalToCs. Rememberthatoneissemanticallya
contentToCandtheotherisametadataToC,eventhoughbothmighthaveexactlythesameentriesandlookthesame.
OnecanbeaccesseddirectlyfromtheKindle’smenus,theothercannot.
WhenconvertingtoMOBI,calibredetectsthemetadataToCintheinputdocumentandgeneratesanend-of-fileToC
intheoutputMOBIfile. YoucanturnthisoffbyanoptionintheMOBIOutputsettings. Youcanalsotellcalibre
whethertoputitandthestartortheendofthebookviaanoptionintheMOBIOutputsettings.RememberthisToC
issemanticallyametadataToC,inanyformatotherthanMOBIitcannotnotbepartofthetext.Thefactthatitispart
ofthetextinMOBIisanaccidentcausedbythelimitationsofMOBI.IfyouwantaToCataparticularlocationin
yourdocumenttext,createonebyhand. Sowestronglyrecommendthatyouleavethedefaultasitis,i.e. withthe
metadataToCattheendofthebook.Alsonotethatifyoudisablethegenerationoftheend-of-fileToCtheresulting
1.8. FrequentlyAskedQuestions
105
calibreUserManual,Release2.55.0
MOBIfilemaynotfunctioncorrectlyonaKindle,sincetheKindle’susethemetadataToCformanythings,including
thePageFlipfeature.
IfyouhaveahandeditedToCintheinputdocument,youcanusetheToCdetectionoptionsincalibretoautomatically
generatethemetadataToCfromit.SeetheconversionsectionoftheUserManualformoredetailsonhowtousethese
options.
Finally,IencourageyoutoditchthecontentToCandonlyhaveametadataToCinyourebooks.MetadataToCswill
givethepeoplereadingyourebooksamuchsuperiornavigationexperience(exceptontheKindle,wheretheyare
essentiallythesameasacontentToC).
Note: ThenewerAZW3formathaspropersupportforametadataToC.However,theKindlefirmwaretendsto
malfunctionifyoudisablethegenerationoftheend-of-fileinline ToC. Soitisrecommendedthatyouleavethe
generatedToCalone. IfyoucreateanAZW3filewitha a metadataToCandnoend-of-filegeneratedToC,some
featuresontheKindlewillnotwork,suchasthePageFlipfeature.
ThecoversformyMOBIfileshavestoppedshowingupinKindleforPC/KindleforAndroid/iPadetc.
ThisiscausedbyabugintheAmazonsoftware.YoucanworkarounditbygoingtoPreferences->OutputOptions-
>MOBIoutputandsettingthe“Enablesharingofbookcontent”option.Ifyouarereconvertingapreviouslyconverted
book,youwillalsohavetoenabletheoptionintheconversiondialogforthatindividualbook(asperbookconversion
settingsaresavedandtakeprecedence).
NotethatdoingthiswillmeanthatthegeneratedMOBIwillshowupunderpersonaldocumentsinsteadofBookson
theKindleFireandAmazonwhispersyncwillnotwork,butthecoverswill. It’syourchoicewhichfunctionalityis
moreimportanttoyou.IencourageyoutocontactAmazonandaskthemtofixthisbug.
ThebuginAmazon’ssoftwareisthatwhenyouputaMOBIfileonaKindle,unlessthefileismarkedasaPersonal
document,Amazonassumesyouboughtthebookfromitandtriestodownloadthecoverthumbnailforitfromits
servers.Whenthedownloadfails,itrefusestofallbacktothecoverdefinedintheMOBIfile.Thisislikelydeliberate
onAmazon’sparttotrytoforceauthorstosellonlythroughthem. Inotherwords,Kindle’sonlydisplaycoversfor
booksmarkedasPersonalDocumentsorbooksboughtdirectlyfromAmazon.
IfyousendaMOBIfiletoane-inkKindlewithcalibreusingaUSBconnection,calibreworksaroundthisAmazon
bugbyuploadingacoverthumbnailitself.However,thatworkaroundisonlypossiblewhenusingaUSBconnection
andsendingwithcalibre. Notethatifyousendusingemail,AmazonwillautomaticallymarktheMOBIfileasa
PersonalDocumentandthecoverwillwork,butthebookwillshowupinPersonalDocuments.
HowdoIconvertacollectionofHTMLfilesinaspecificorder?
InordertoconvertacollectionofHTMLfilesinaspecificorder,youhavetocreateatableofcontentsfile. Thatis,
anotherHTMLfilethatcontainslinkstoalltheotherfilesinthedesiredorder.Suchafilelookslike:
<html>
<body>
<h1>Table of f Contents</h1>
<p style="text-indent:0pt">
<a href="file1.html">First File</a><br/>
<a href="file2.html">Second File</a><br/>
.
.
.
</p>
</body>
</html>
106
Chapter1. Sections
Documents you may be interested
Documents you may be interested