Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 02-28-2012, 02:04 PM   #16
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by jackibar View Post
Ok - I guess since I didn't see a "Styles" folder in the Finder, I figured Sigil didn't create one so I made one myself... I think I'm understanding now that Sigil does create these folders, but they are contained in the ePub file and not actual "folders" you can see when looking in the Finder... - ?
Now you got it!
DiapDealer is online now   Reply With Quote
Old 02-28-2012, 02:35 PM   #17
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Quote:
Originally Posted by dwig View Post
That would be good, but it would be better to have two items:

Insert into current HTML page
Insert into all HTML pages

Like S&R, have a choice between a single targeted HTML and a global action.

Also have the insertion be intelligent. Have the insertion placed after all other <link...> entries. That way you can insert multiple stylesheets in a particular order by first inserting one and then the other.
Well, what I'm actually implementing is support for single file or multiple selection right click to bring up a dialog to show you which stylesheets are in the selected html files and to allow you to include/exclude them and in what order. Its about half-way done so I'll have to dig up the code and finish it off

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.
meme is offline   Reply With Quote
Advert
Old 02-28-2012, 02:55 PM   #18
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Quote:
Originally Posted by meme View Post
Well, what I'm actually implementing is support for single file or multiple selection right click to bring up a dialog to show you which stylesheets are in the selected html files and to allow you to include/exclude them and in what order. Its about half-way done so I'll have to dig up the code and finish it off

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.
Great, every time we come up with something, you are already working on it.
Toxaris is offline   Reply With Quote
Old 02-28-2012, 04:12 PM   #19
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,781
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:
Originally Posted by Toxaris View Post
Great, every time we come up with something, you are already working on it.


Sigil is coming right along as a very great tool
theducks is online now   Reply With Quote
Old 02-28-2012, 04:22 PM   #20
mmat1
Berti
mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.
 
mmat1's Avatar
 
Posts: 1,196
Karma: 4985964
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
Quote:
Originally Posted by jackibar View Post
Ok - I guess since I didn't see a "Styles" folder in the Finder,
look into the "View"-section of the main-menu or hit alt-F1
mmat1 is offline   Reply With Quote
Advert
Old 02-29-2012, 04:29 AM   #21
huebi
Zealot
huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!
 
Posts: 121
Karma: 5070
Join Date: Dec 2010
Device: none
Quote:
Originally Posted by Toxaris View Post
Great, every time we come up with something, you are already working on it.
Unfortunetly not in my case
huebi is offline   Reply With Quote
Old 02-29-2012, 04:54 AM   #22
Perkin
Guru
Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.
 
Perkin's Avatar
 
Posts: 655
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.
Perkin is offline   Reply With Quote
Old 03-01-2012, 07:42 AM   #23
murg
No Comment
murg ought to be getting tired of karma fortunes by now.murg ought to be getting tired of karma fortunes by now.murg ought to be getting tired of karma fortunes by now.murg ought to be getting tired of karma fortunes by now.murg ought to be getting tired of karma fortunes by now.murg ought to be getting tired of karma fortunes by now.murg ought to be getting tired of karma fortunes by now.murg ought to be getting tired of karma fortunes by now.murg ought to be getting tired of karma fortunes by now.murg ought to be getting tired of karma fortunes by now.murg ought to be getting tired of karma fortunes by now.
 
Posts: 3,238
Karma: 23878043
Join Date: Jan 2012
Location: Australia
Device: Kobo: Not just an eReader, it's an adventure!
.deleted.
murg is offline   Reply With Quote
Old 03-01-2012, 08:04 AM   #24
jackibar
Enthusiast
jackibar began at the beginning.
 
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!
jackibar is offline   Reply With Quote
Old 03-01-2012, 09:12 AM   #25
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,781
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:
Originally Posted by jackibar View Post
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!
It is a Zipped file with special rules on how it is assembled.
It is easy to view (and discard) contents, but difficult to rebuild without using EPUB tools or having knowledge..
theducks is online now   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 12:00 PM.


MobileRead.com is a privately owned, operated and funded community.