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-14-2012, 09:25 AM   #1
MrB
Very Slow Learner
MrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-books
 
Posts: 51
Karma: 788
Join Date: Jul 2012
Location: UK
Device: none
No character data is allowed by content model

Greetings, oh Wise Ones!

I have used <blockquotes> on six occasions on one of my files in my e-book. Flightcrew doesn't seem to like it

On each occasion </blockquote> appears I get the 'No character data is allowed by content model' message. The comment also appears twice on line 75 as well as line 76:
Extract from file :

74 <blockquote>
75 Conquérants ? Jamais ! Inutiles? &nbsp;Sans aucun doute!
76 </blockquote>

This my CSS:

blockquote {
margin: 2em 2em;
}

I should add, not all of the quotes are so short.

What course of action would you recommend please?

Last edited by MrB; 09-14-2012 at 09:26 AM. Reason: Additional information
MrB is offline   Reply With Quote
Old 09-14-2012, 09:37 AM   #2
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,479
Karma: 192992430
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I don't think xhtml technically allows "naked" text in a blockquote. Put the text in a p or a span and see if that clears it up.

74 <blockquote>
75 <p>Conquérants ? Jamais ! Inutiles? &nbsp;Sans aucun doute!</p>
76 </blockquote>
DiapDealer is online now   Reply With Quote
Advert
Old 09-14-2012, 09:49 AM   #3
MrB
Very Slow Learner
MrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-books
 
Posts: 51
Karma: 788
Join Date: Jul 2012
Location: UK
Device: none
Mr / Ms DiapDealer, you are indeed a wizard!

Worked perfectly, many thanks.
MrB is offline   Reply With Quote
Old 09-14-2012, 12:00 PM   #4
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
PS. Check your content too:

Conquérants ? Jamais ! Inutiles? &nbsp;Sans aucun doute!

You have spaces before some ? and !, and not before the others (they should be non-breaking and thin, if possible too). And you ha non-breaking space where none should be present.
Jellby is offline   Reply With Quote
Old 09-18-2012, 08:00 AM   #5
MrB
Very Slow Learner
MrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-books
 
Posts: 51
Karma: 788
Join Date: Jul 2012
Location: UK
Device: none
Quote:
Originally Posted by Jellby View Post
PS. Check your content too:

Conquérants ? Jamais ! Inutiles? &nbsp;Sans aucun doute!

You have spaces before some ? and !, and not before the others (they should be non-breaking and thin, if possible too). And you ha non-breaking space where none should be present.
Thank you for pointing out the inconsistency. I believe the French normally put a space before these punctuation marks, so there should be one after 'doute'. I am intrigued by your suggestion that they should be thin. How is that achieved?
MrB is offline   Reply With Quote
Advert
Old 09-18-2012, 10:03 AM   #6
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,703
Karma: 54369092
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 MrB View Post
Thank you for pointing out the inconsistency. I believe the French normally put a space before these punctuation marks, so there should be one after 'doute'. I am intrigued by your suggestion that they should be thin. How is that achieved?
Unless you are using the V6 Beta, it needs to be done in Code View using the HTML entity (I recommend getting/making a handy chart of these) Section 24 of the HTML spec has one ( no pictures of what it looks like) http://www.w3.org/TR/1999/REC-html40.../entities.html

Code:
&nbsp; non-breaking (full) space
&thinsp; thin space
&ensp; EN space
&emsp; EM space;
There are lots of other useful ones, unfortunately, some are not supported on all EPUB devices... Test them out before going crazy with use
theducks is offline   Reply With Quote
Old 09-18-2012, 11:52 AM   #7
MrB
Very Slow Learner
MrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-books
 
Posts: 51
Karma: 788
Join Date: Jul 2012
Location: UK
Device: none
I am indebted to you all again.

Many thanks.
MrB is offline   Reply With Quote
Old 09-18-2012, 01:23 PM   #8
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Or use &# 8239; (without the space): thin non-breaking space.
Or use &nbsp; but make it smaller (with a span and font-size:50%).
Jellby is offline   Reply With Quote
Old 09-19-2012, 09:06 PM   #9
daubnet
Member
daubnet is no ebook tyro.daubnet is no ebook tyro.daubnet is no ebook tyro.daubnet is no ebook tyro.daubnet is no ebook tyro.daubnet is no ebook tyro.daubnet is no ebook tyro.daubnet is no ebook tyro.daubnet is no ebook tyro.daubnet is no ebook tyro.
 
Posts: 18
Karma: 1314
Join Date: Sep 2011
Location: Hamburg, Germany
Device: iPad
I found this on the web about French punctuation rules: http://www.interpc.fr/mapage/billaud/ponctua.htm

If my french is good enough, it says "only one trailing space for period and comma", but leading and trailing spaces for exclamation marks, question marks, semicolons and colons. In short: if the punctuation symbol is drawn with two strokes, put two spaces, if it is drawn with one stroke, just put a trailing space. It says nothing about the witdth of spaces though, but this thread does:
http://forum.wordreference.com/showthread.php?t=656762

It seems that &thinsp; is preferable as leading space with a regular space trailing.

More info can be found here: http://forum.wordreference.com/showt...73#post3063773
daubnet is offline   Reply With Quote
Old 09-20-2012, 11:19 AM   #10
MrB
Very Slow Learner
MrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-books
 
Posts: 51
Karma: 788
Join Date: Jul 2012
Location: UK
Device: none
@daubnet: That French link is very informative, isn't it - a really good find. Je vous remercie bien

@everyone: so there are two ways of creating a thin space:
&# 8239; (without the space)
&thinsp;

Is there anything to recommend one over the other?
MrB is offline   Reply With Quote
Old 09-20-2012, 11:39 AM   #11
MrB
Very Slow Learner
MrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-books
 
Posts: 51
Karma: 788
Join Date: Jul 2012
Location: UK
Device: none
Now that I've followed theducks entity link I presume that they are different means to an identical end?
MrB is offline   Reply With Quote
Old 09-20-2012, 11:58 AM   #12
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by MrB View Post
@daubnet: That French link is very informative, isn't it - a really good find. Je vous remercie bien

@everyone: so there are two ways of creating a thin space:
&# 8239; (without the space)
&thinsp;

Is there anything to recommend one over the other?
For any special character there is always the number version and you can even enter the number as a hexadecimal digit. The number will be accepted generally even if the reading application doesn't have support for the special character name. The name of course is more descriptive. Both require a specialized font character that may not be present. This is why some people use a nbsp character which is universally accepted and then shrink it to 50% size using a span around the character. It is more work but more likely to be supported. the thinsp will need checking in the target eBook readers to ensure it isn't being replaced with a ?. There is a wiki page on Special characters.

Dale
DaleDe is offline   Reply With Quote
Old 09-20-2012, 11:59 AM   #13
MrB
Very Slow Learner
MrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-books
 
Posts: 51
Karma: 788
Join Date: Jul 2012
Location: UK
Device: none
Please do not interpret three posts in relatively rapid succession as nagging or desperation but I seem to be doing something wrong with my thin spaces.

I have used both &# 8239; (without the space) and &thinsp; at various points in my French sentence. As expected, their effect is identical. However, their effect is also unexpected!

In Sigil the thin spaces appear as a very bold, fat letter I.

In ADE the thin spaces appear as question marks.

What basic, foolish error have I made now?
MrB is offline   Reply With Quote
Old 09-20-2012, 12:01 PM   #14
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,703
Karma: 54369092
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 MrB View Post
Now that I've followed theducks entity link I presume that they are different means to an identical end?
They are the same, just an alternate notation.

Which is more meaningful at a Glance?

I guess the numeric notation would be needed when decoding User inputs from , say, a Web Form
theducks is offline   Reply With Quote
Old 09-20-2012, 12:23 PM   #15
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Just to be clear:

&thinsp; or &# 8201; is a normal thin space ("normal" here meaning that it is an allowed place for line breaking)
&# 8239; is a non-breaking thin space. It should be about the same size as &thinsp;, but won't allow a line break. There's no named entity for this one.

They are like a normal space and &nbsp;, respectively, but thinner.
Jellby 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
element 'a' is not allowed for content model div JoanneM Workshop 6 11-22-2011 11:12 PM
"Content is not allowed in prolog." - Enhanced Epub Error Help? AmpedUpDigital ePub 2 05-03-2011 11:38 AM
Data on Kindle character sets and font susan_cassidy Amazon Kindle 1 02-13-2009 03:24 PM
Subscription model for content JHeavner Sony Reader 9 02-09-2007 10:46 AM
Should big firms be allowed to censor news content? Alexander Turcic Lounge 0 01-27-2005 07:40 AM


All times are GMT -4. The time now is 06:44 AM.


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