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 06-02-2010, 06:36 AM   #1
John Everett
Junior Member
John Everett began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2010
Device: Apple iPad
HTML special characters - tip for the unwary

I am continuing a mammoth recompile and have now discovered an interesting feature in Sigil (bearing in mind I am recompiling stuff already done in Calibre).

A common abbreviation for 'et cetera' is '&c.' as well as 'etc.'

If you leave '&c.' in your source file, the parser in Sigil thinks this is the start of a Special Character (like — and so on), and promptly drops the rest of the file, since it is looking for a concluding semi-colon and a valid Special HTML Character.

Remedy: global replace of '&c.' by 'etc.' (I have just done a text where there were ten of these).

I am not raising a bug report about this, because it is easier to fix the 'feature' by getting the source clean to start with.

John
John Everett is offline   Reply With Quote
Old 06-02-2010, 08:00 AM   #2
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: 6,323
Karma: 4964183
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Doesn't it work if you replace & with & (the correct way to have an ampersand in HTML)?
Jellby is offline   Reply With Quote
 
Advertisement
Old 06-02-2010, 02:40 PM   #3
John Everett
Junior Member
John Everett began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2010
Device: Apple iPad
I am sure it would.

J
John Everett 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
Content Special Characters in Collections bear4hunter Amazon Kindle 2 08-06-2010 08:11 PM
special characters in epub? biltron Introduce Yourself 5 12-20-2009 04:50 PM
Epub and special characters again mtravellerh Calibre 3 01-04-2009 01:55 PM
REFERENCE: Special Characters nrapallo IMP 2 04-07-2008 02:29 PM
Special Characters / Fonts Gatton IMP 4 03-21-2008 02:43 AM


All times are GMT -4. The time now is 11:08 AM.


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