Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 07-08-2012, 08:43 PM   #1
Tulpana
Enthusiast
Tulpana ought to be getting tired of karma fortunes by now.Tulpana ought to be getting tired of karma fortunes by now.Tulpana ought to be getting tired of karma fortunes by now.Tulpana ought to be getting tired of karma fortunes by now.Tulpana ought to be getting tired of karma fortunes by now.Tulpana ought to be getting tired of karma fortunes by now.Tulpana ought to be getting tired of karma fortunes by now.Tulpana ought to be getting tired of karma fortunes by now.Tulpana ought to be getting tired of karma fortunes by now.Tulpana ought to be getting tired of karma fortunes by now.Tulpana ought to be getting tired of karma fortunes by now.
 
Posts: 22
Karma: 470232
Join Date: Feb 2012
Device: Entourage Pocket Edge
When Calibre Goes to Sigil in HTML *and* XHTML

My 265-page WORD-generated manuscript was chopped up by Calibre into several chunks. Every new chunk opened in Sigil with one of the chapters identified as HTML--after which, the successive chapters were XHTML.

Is this something to worry about, and, if so, is there any way to get Sigil to turn the HTML into XHTML before you start heavy-editing?

I am a WYSIWIG user, or at least I know next-to-nothing about HTML (although I'm catching on).

Thank you.
Tulpana is offline   Reply With Quote
Old 07-08-2012, 09:41 PM   #2
theducks
Grand Sorcerer
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: 15,098
Karma: 5939999
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Tulpana View Post
My 265-page WORD-generated manuscript was chopped up by Calibre into several chunks. Every new chunk opened in Sigil with one of the chapters identified as HTML--after which, the successive chapters were XHTML.

Is this something to worry about, and, if so, is there any way to get Sigil to turn the HTML into XHTML before you start heavy-editing?

I am a WYSIWIG user, or at least I know next-to-nothing about HTML (although I'm catching on).

Thank you.
IMHO either is fine if it is there. There are slightly different rules for each. Sigil checks each by the proper rules.
theducks is offline   Reply With Quote
 
Advertisement
Old 07-08-2012, 09:57 PM   #3
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,086
Karma: 1444487
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
It is important to leave the chunks, rather than try to reunite them. There are some readers that will choke on sections over 250k or so. Chunks for each chapter are generally convenient for editing and under the size limit. The reader will display all the chunks as if they were one.

Sigil is not shy in telling you if you goof up, though if you leave off the closing > of a paragraph command, it is likely to tell you that the end of the section needs a </p> instead of the actual location much farther back!
mrmikel is offline   Reply With Quote
Old 07-09-2012, 01:54 AM   #4
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: 9,424
Karma: 43260000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
The actual file extension that shows in Sigil isn't anything to get excited about. Files named with a .html or .htm extension are still XHTML internally. There's no pressing need to make all the extensions .xhtml.
DiapDealer is online now   Reply With Quote
Old 07-09-2012, 02:20 AM   #5
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: 3,101
Karma: 5861069
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Also, I would be careful in letting Calibre determine the chunks. Most crafters create a separate file for each chapter. Partially to avoid the size restrictions, partially because it is better maintainable.
By default Calibre will cut the file based on the length instead of the chapters. Altough I have been told you can ask Calibre to do it per chapter. That is, if Calibre can determine the chapters...
Toxaris is offline   Reply With Quote
Old 07-09-2012, 08:44 AM   #6
Tulpana
Enthusiast
Tulpana ought to be getting tired of karma fortunes by now.Tulpana ought to be getting tired of karma fortunes by now.Tulpana ought to be getting tired of karma fortunes by now.Tulpana ought to be getting tired of karma fortunes by now.Tulpana ought to be getting tired of karma fortunes by now.Tulpana ought to be getting tired of karma fortunes by now.Tulpana ought to be getting tired of karma fortunes by now.Tulpana ought to be getting tired of karma fortunes by now.Tulpana ought to be getting tired of karma fortunes by now.Tulpana ought to be getting tired of karma fortunes by now.Tulpana ought to be getting tired of karma fortunes by now.
 
Posts: 22
Karma: 470232
Join Date: Feb 2012
Device: Entourage Pocket Edge
Again, thanks to everyone. I produced a fine product with Sigil and Calibre, using one huge file. I just wanted to know if I had anything to worry about, and apparently, I do not.
Tulpana is offline   Reply With Quote
Old 07-09-2012, 11:03 AM   #7
theducks
Grand Sorcerer
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: 15,098
Karma: 5939999
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Toxaris View Post
By default Calibre will cut the file based on the length instead of the chapters. Altough I have been told you can ask Calibre to do it per chapter. That is, if Calibre can determine the chapters...
That works when Calibre can determine it (via Xpath):
Code:
//*[((name()='h1' or name()='h2') and re:test(., 'chapter|book|section|part\s+', 'i')) or @class = 'chapter']
or Chapter mark
There are oh-so-many ways to confuse this feature
theducks is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
html to epub via Sigil or Calibre? Bigo2 Calibre 2 07-01-2012 03:07 AM
HTML Anchor in XHTML arreke Sigil 3 12-27-2010 02:28 PM
Several xhtml/html to a single epub file help. clowe1028 ePub 3 03-21-2010 04:47 AM
Jetbook HTML (XHTML) rogue_ronin Ectaco jetBook 19 02-12-2010 10:13 PM
xml or xhtml to basic html converter remjax Reading and Management 11 07-14-2009 10:04 AM


All times are GMT -4. The time now is 07:33 PM.


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