![]() |
#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.
![]() |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,121
Karma: 57500000
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 |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9
Karma: 18320
Join Date: Feb 2017
Device: None
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#4 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,121
Karma: 57500000
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 |
|
![]() |
![]() |
![]() |
#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. ![]() |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 20,775
Karma: 27405072
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 |
![]() |
![]() |
![]() |
#7 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,121
Karma: 57500000
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 |
![]() |
![]() |
![]() |
#8 |
Age improves with wine.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 570
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".
|
![]() |
![]() |
![]() |
#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
|
![]() |
![]() |
![]() |
#10 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,114
Karma: 131686272
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.
![]() |
![]() |
![]() |
![]() |
#11 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,121
Karma: 57500000
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 |
|
![]() |
||||
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 |