03-15-2017, 07:20 AM | #1 |
Junior Member
Posts: 9
Karma: 18320
Join Date: Feb 2017
Device: None
|
Including a Tab in a book
I am new to Calibre and it's Editor. I would like to know if there is some way, besides using the <pre> tag, to insert tabs at the beginning of a paragraph. I guess because of my age, I am just 'old school' and believe that a paragraph should start with a Tab. Maybe it's because for so many years I read print books, I know "hardcopy ewwww", and most of them the paragraphs started with a tab.
|
03-15-2017, 08:13 AM | #2 |
Well trained by Cats
Posts: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
It is an INDENT you created with your Tab or spaces on that old Typewriter
Code:
text-indent: 1.5em; @JON will use some other value and scream that 1.5 is too ... so pick your own number |
03-15-2017, 04:33 PM | #3 |
Junior Member
Posts: 9
Karma: 18320
Join Date: Feb 2017
Device: None
|
I stand corrected and thanks for the info. The typewriter thing was pretty good lol. Now if I can get help on my other question of how to put a block of style code somewhere so that I only have to put it in once I will be cooking with gas.
|
03-15-2017, 07:29 PM | #4 | |
Well trained by Cats
Posts: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Style once, link from one to however many. Open a EPUB and look at the code. class="aname" is the clue that a style 'block' applies If you see a <link... .css in the header code, that is the link to a stylesheet |
|
03-17-2017, 01:52 AM | #5 | |
Junior Member
Posts: 9
Karma: 18320
Join Date: Feb 2017
Device: None
|
Quote:
I have seen some ebooks I have downloaded and been editing (mostly to go after spelling and punctuation errors) with CSS sheets included in the list on the menu to the left. Besides not really knowing enough beyond the basic concept of what a CSS file is in order to make my own (which I can go to W3 or whatever the website is, or another website I can google and learn more about them) I hadn't noticed what you said about a link to the CSS being in the header code, so that was some useful information I didn't know. I am guessing that the Calibre editor has some way to easily insert the CSS link in the headers of the HTML text files in the list on the left, although I haven't explored the program enough to know how to find it yet, I will take another look at it. I should start a new topic about something else I don't understand about editing an ePub, if I can't find a thread on the Editor Forum where it's already been asked and answered of course. When I save a copy of a book to local disk out of the Calibre Library, I am seeing some strange behavior, or at least strange to me. When the book is saved, it seems like (I could be mistaken) the book always saves to the local directory with 3 files - .epub file, .jpg file or something (the book cover?) and another file (.opf I believe). I don't really understand how to 'package' everything back up (the .epub, .jpg, .opf, and any .css files) into one stand-alone ePub file like it originally came as, when I'm done going after those pesky spelling errors and such. Or packaging everything up if I was editing my own book from scratch. Thanks for the information on CSS, greatly appreciated |
|
03-17-2017, 03:38 AM | #6 |
null operator (he/him)
Posts: 20,568
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@MountainMan1 - what gets saved is up to you - see Preferences->Saving books to disc
The cover.jpg and metadata.opf are optional - you must have them checked. BR |
03-17-2017, 08:11 AM | #7 |
Well trained by Cats
Posts: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
EPUB is the 'package'.
If you use the editor supplied with Calibre, the work is done. Save to Disk is an EXPORT of the CALIBRE Library 'view' about the book (the format, OPF is the Metadata you see in Calibre, The cover you see in Calibre) IT may be different than what is in the book INSIDE the Library unless you take extra steps (AKA Polish, embed Metadata or Modify EPUB) Send to device does the update to the Transferred copy on the fly |
03-24-2017, 04:14 AM | #8 |
Age improves with wine.
Posts: 558
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
Select one or more files in the file list, right-click and select "Link stylesheets".
|
03-29-2017, 01:03 PM | #9 |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
You are welcome to borrow or adapt my style sheet at http://notjohnkdp.blogspot.com/2013/...yle-sheet.html
|
04-05-2017, 04:50 AM | #10 |
Resident Curmudgeon
Posts: 73,972
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
You really don't want TAB. You'd be better off with Diet Coke.
|
04-05-2017, 11:08 AM | #11 |
Well trained by Cats
Posts: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
Tags |
editor, tabs |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Samsung Tab 4 or Tab S | fordman | Android Devices | 0 | 11-16-2014 05:02 PM |
Upload single book (Galaxy Tab) | qqwweerrttyy | Android Devices | 0 | 06-14-2011 01:55 AM |
Including book cover when adding books | Keith0603 | Calibre | 11 | 05-23-2011 12:10 AM |