02-28-2012, 02:04 PM | #16 | |
Grand Sorcerer
Posts: 27,903
Karma: 198500000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
02-28-2012, 02:35 PM | #17 | |
Sigil developer
Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Quote:
A simple tick on/off like Add semantics doesn't work since the order of stylesheets is important in files. Using a set as a default for new files is a possibility. |
|
Advert | |
|
02-28-2012, 02:55 PM | #18 | |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Quote:
|
|
02-28-2012, 04:12 PM | #19 |
Well trained by Cats
Posts: 30,372
Karma: 58053698
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
02-28-2012, 04:22 PM | #20 |
Berti
Posts: 1,197
Karma: 4985964
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
|
|
Advert | |
|
02-29-2012, 04:29 AM | #21 |
Zealot
Posts: 121
Karma: 5070
Join Date: Dec 2010
Device: none
|
|
02-29-2012, 04:54 AM | #22 |
Guru
Posts: 657
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
|
An epub is basically a zipped folder of htm,css,images etc. and opf,ncx etc.. Some have sub-folders containing the various elements.
When using Sigil it automagically creates the correct sub-folder structure (inside the epub) and moves all parts to their correct paths, and updates the necessary paths in those files, so it becomes a fully compliant correct epub (most work anyway, but ignore the correct sub-folder structure). It's this internal structure we are talking about when referring to Styles folder etc., thus when a (x)html file is using any css or image file thats why it needs the ../ to navigate to the root folder then the folder required 'Styles' or 'Images', so a link reference would then become '../Styles/filename.css' or '../Images/filename.jpg' Also as said by other this link reference is case-sensitive. |
03-01-2012, 07:42 AM | #23 |
No Comment
Posts: 3,240
Karma: 23878043
Join Date: Jan 2012
Location: Australia
Device: Kobo: Not just an eReader, it's an adventure!
|
.deleted.
|
03-01-2012, 08:04 AM | #24 |
Enthusiast
Posts: 38
Karma: 12
Join Date: May 2010
Device: iPhone apps
|
THANKS so much for the great info! I was wondering how I could see "inside" the ePub file - didn't know it was just a zip file! Y'all are wonderful!
|
03-01-2012, 09:12 AM | #25 | |
Well trained by Cats
Posts: 30,372
Karma: 58053698
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
It is easy to view (and discard) contents, but difficult to rebuild without using EPUB tools or having knowledge.. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CSS question | crutledge | Workshop | 17 | 12-17-2011 07:52 AM |
Simple Question for the CSS experts out there... | Japes | Calibre | 2 | 06-23-2011 11:12 PM |
CSS Question | AppleTard | Calibre | 1 | 06-12-2011 12:07 AM |
Question for the CSS experts | crutledge | Sigil | 8 | 06-10-2011 04:13 PM |
A question about CSS: widows and orphans | Jellby | ePub | 5 | 08-31-2009 03:54 PM |