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 09-18-2011, 04:44 PM   #1
kkg58
Junior Member
kkg58 began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Sep 2011
Device: none
chapter breaks

I'm trying to insert chapter breaks, and Sigil keeps giving me an error message. I can put the first chapter break in, but then when I try to navigate to where I want the next one, I get an error message about the body tag.
kkg58 is offline   Reply With Quote
Old 09-18-2011, 04:52 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,250
Karma: 6020307
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by kkg58 View Post
I'm trying to insert chapter breaks, and Sigil keeps giving me an error message. I can put the first chapter break in, but then when I try to navigate to where I want the next one, I get an error message about the body tag.
There is only ONE body tag pair in a (x)HTML file.

It surrounds the words and images the user sees.
You must have done something that broke this (up).
If you want further help: Paste the exact message into this thread
theducks is offline   Reply With Quote
Old 09-18-2011, 05:02 PM   #3
kkg58
Junior Member
kkg58 began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Sep 2011
Device: none
I don't see what I could have done wrong. All I was trying to do was to split my one large file (and it worked yesterday when I did it). I put my cursor where I wanted my next chapter to begin (I didn't delete any text), and clicked the Chapter break button.

The error message says,

The operation you requested can not be performed because Section0001.xhtml is not a well-formed XML document.
An error was found on line 1363, column 5, expected end of tag 'body'.
kkg58 is offline   Reply With Quote
Old 09-18-2011, 05:21 PM   #4
kkg58
Junior Member
kkg58 began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Sep 2011
Device: none
okay. I managed to fix it by letting Sigil do it automatically. And now I am able to insert the rest of the chapter breaks that I need to put in. But why did I have an error to begin with? I'm just worried that I'm doing something wrong with the files.
kkg58 is offline   Reply With Quote
Old 09-19-2011, 01:16 PM   #5
st_albert
Fanatic
st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.
 
Posts: 552
Karma: 94420
Join Date: Feb 2010
Device: none
Quote:
Originally Posted by kkg58 View Post
okay. I managed to fix it by letting Sigil do it automatically. And now I am able to insert the rest of the chapter breaks that I need to put in. But why did I have an error to begin with? I'm just worried that I'm doing something wrong with the files.
Without seeing actual code (and it's apparently a very big file, so I'm not asking to see it), I can only guess. Remember that a parser like Sigil's can get confused when trying to match tags, and so the reference to the <body> tag might be misleading. It could be that somehow your cursor was positioned inside of some tag when the chapter break was inserted, thus breaking up the tag.

Anyway, glad you got it sorted out. If it happens again (the not-well-formed warning) you could choose "fix manually" and try to see what looks funny in the code.
st_albert 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
Losing Chapter Breaks Bittybye Conversion 10 07-11-2011 09:23 PM
Chapter Breaks Mike Ramberg Sigil 2 01-09-2011 07:20 PM
Formatting Chapter Breaks? NVash Calibre 3 12-09-2010 06:09 AM
PRS-350 Breaks after Chapter Titles Rand Brittain Sony Reader 2 10-25-2010 01:53 PM
Help w/ Chapter Breaks pastorjamie Calibre 1 02-25-2010 08:30 PM


All times are GMT -4. The time now is 05:53 AM.


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