Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 03-10-2011, 03:11 AM   #16
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by cybmole View Post
English style.. american standard... are there really such things ?
No, I don't believe so. The majority of my paper books are published by British publishers; I don't think I've come across a single one which DOESN'T use an em-dash without spaces.
HarryT is offline   Reply With Quote
Old 03-10-2011, 04:37 AM   #17
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,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by HarryT View Post
No, I don't believe so. The majority of my paper books are published by British publishers; I don't think I've come across a single one which DOESN'T use an em-dash without spaces.
I think I have some (and I don't have that many English books), I'll see if I can find it

There seems to be more division between double quotes and single quotes, though.
Jellby is offline   Reply With Quote
Advert
Old 03-10-2011, 05:12 AM   #18
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by Jellby View Post
There seems to be more division between double quotes and single quotes, though.
I've just checked a dozen of my British-published books, and they all use a single quote for speech, unlike the US-published ones, which use double quotes. Based on that admittedly small sample, I'd say it's pretty consistent that single quotes are still the norm in the UK.
HarryT is offline   Reply With Quote
Old 03-10-2011, 05:59 AM   #19
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by HarryT View Post
I've just checked a dozen of my British-published books, and they all use a single quote for speech, unlike the US-published ones, which use double quotes. Based on that admittedly small sample, I'd say it's pretty consistent that single quotes are still the norm in the UK.
It's sad that UK and US publishers don't use guillemets for speech. Lots of Croatian books use them and frankly, my personal opinion is that they're the best option.

But since most of the books I read are in English, I find myself missing guillemets every single time.

Sure, I could go through every epub I read (and de-DRM) and replace all the quotes, but that's a chore and I'm too lazy to do it.

Last edited by Valloric; 03-10-2011 at 06:09 AM. Reason: typo
Valloric is offline   Reply With Quote
Old 03-10-2011, 06:01 AM   #20
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by Valloric View Post
It's sad that UK and US publishers don't use guillemets for speech. Lots of Croatian books use them and frankly, my personal opinion is that they're the best option.
They look odd to me, but that's just because I'm not used to reading books that use them.
HarryT is offline   Reply With Quote
Advert
Old 03-10-2011, 06:10 AM   #21
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,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by Valloric View Post
It's sad that UK and US publishers don't use guillemets for speech. Lots of Croatian books use them and frankly, my personal opinion is that they're the best option.
Second best, after the dash to start each character speech
Jellby is offline   Reply With Quote
Old 03-10-2011, 06:11 AM   #22
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by Valloric View Post
Sure, I could go through every epub I read (and de-DRM) and replace all the quotes, but that's a chore and I'm too lazy to do it.
... or you could add an option to Sigil to do it automatically .
HarryT is offline   Reply With Quote
Old 03-10-2011, 06:54 AM   #23
sourcejedi
Groupie
sourcejedi ought to be getting tired of karma fortunes by now.sourcejedi ought to be getting tired of karma fortunes by now.sourcejedi ought to be getting tired of karma fortunes by now.sourcejedi ought to be getting tired of karma fortunes by now.sourcejedi ought to be getting tired of karma fortunes by now.sourcejedi ought to be getting tired of karma fortunes by now.sourcejedi ought to be getting tired of karma fortunes by now.sourcejedi ought to be getting tired of karma fortunes by now.sourcejedi ought to be getting tired of karma fortunes by now.sourcejedi ought to be getting tired of karma fortunes by now.sourcejedi ought to be getting tired of karma fortunes by now.
 
sourcejedi's Avatar
 
Posts: 155
Karma: 200000
Join Date: Dec 2009
Location: Britania
Device: Android
Quote:
Originally Posted by cybmole View Post
ok - so softbreak is not a workable idea - I admit I dont know much about softbreaks - I'd heard the term & i think have occasionally seen something in html code - <WBR> ?
Yes, but that's never been standardized. So it's definitely not part of XHTML, and so using it in EPUB will cause a validation failure. The hint is you always see it referred to as <WBR>, never <WBR/> :-P.

E-reader software is definitely _allowed_ to be smarter, at least by the latest draft specs. Note that if you're one of the few who use (at least the no longer maintained C version of) FBReader, it will break lines after an emdash.

Personally I hold the entire industry in contempt, including the epub spec writers, but hey, what's new. They haven't got basic justification right yet[1]. Hopefully as people address that mess (implementing hyphenation, for example), they'll realize there's a problem with emdash and it'll be sorted out eventually.



I did search this earlier, and found a hideous hack which is emitted by Word, exploiting the text direction specifications to allow breaking at a given point. But it didn't say that it works on e-readers (and given that ADE doesn't support text direction specified by HTML tags, it probably doesn't). So I'd suggest not doing that .

[1] The original MobiPocket guidelines say not to specify justification / left alignment for body text; the e-reader should be able to decide. But both IDPF and Amazon dropped the ball.
Spoiler:

<RANT MODE ON>

As usual, Amazon have no excuse. If they're prepared to drop _paper_ books in protest at not being able to set _e_ book prices, they should have been quite prepared to require publishers to fix their ebook formatting. Instead they both caved in, and then forced the books which actually followed this beautiful guideline to always render as justified _despite not having implemented hyphenation_. Nor should Adobe have implemented "text-align: justify", given the lack of hyphenation, a user option, and any realistic possibility at all of correcting publisher's mistakes.

Smashwords are as bad you'd expect. Their formatting guide specifically says that some readers will prefer "ragged left", and some will prefer justification - then advises you to use ragged left - because Smashwords doesn't support the "let the e-reader decide" option. The best bit is not that practically no-one listens to this - every book I saw used went for justification instead - it's that _the formatting guide itself_ is justified. The html from FanFiction.Net is better formatted!

Apple may have put in more _technical effort_ than anyone else -- but they endorsed Smashwords output by reselling their books -- and later hacking around it in the reader. In theory their hacks are pretty sound, outside a few corner cases (including tables) -- but because they're hacks, they didn't bother to document what they do and why they exist, and again, _their own formatting guide doesn't follow their own rulings; it forces left alignment_. So they may have done as much damage as they saved their users for existing books. If you run up against these hacks, and then try to diagnose why it doesn't work to spec, you don't find concrete advice on what you're doing wrong and how to avoid problems. What you find are people flaming Apple and explaining how to work around the hacks by using completely bogus markup.
sourcejedi is offline   Reply With Quote
Old 03-10-2011, 07:18 AM   #24
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by HarryT View Post
... or you could add an option to Sigil to do it automatically .
Touché.
Valloric is offline   Reply With Quote
Old 03-12-2011, 08:15 AM   #25
DTM
Intentionally Left Blank
DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.
 
DTM's Avatar
 
Posts: 172
Karma: 300106
Join Date: Feb 2006
Location: Royal Oak, MI, USA
Device: Nook STR
When I was working with a Palm TX and then an iPod Touch, this was an issue for me, so I tended to prefer the <sp>n-dash<sp> workaround. To avoid the dash at the beginning of a line, I modified that to <nbsp>n-dash<sp>.

<rant>
But then, it really bothered me that I was using incorrect punctuation to acommodate reader software that handled m-dashes improperly. They should break at an m-dash, except at the start of a sentence. If that needs to be a regional setting to acommodate other languages, then the software should do that. Software developers should not be able to get away with, "we know our program doesn't work right, but we'll just let the users figure out a workaround that they can live with."

For the same reason, I've gone back to using plain vanilla <hr> tags in my documents, even though I know ADE won't display them properly. I use small caps even though my Nook won't display them properly. One of the reasons that Internet Explorer remains the worst of the major browsers at rendering standard HTML is that website designers keep accommodating its bugs. If they would just write standard code and let IE fail, Microsoft would have fixed it long ago. The same is true for e-books. When it becomes obvious that ADE is the only ePub software that can't display <hr> correctly, Adobe will fix it. And, for the same reason, B&N will figure out how to display small caps. And everyone will break m-dashes correctly.
</rant>
DTM is offline   Reply With Quote
Old 03-12-2011, 09:15 AM   #26
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
i sort of agree, but for now I am compromising & using replace all mdash with space ndash space. easy enough to change it back when the reader softwares improve.

would be even quicker if sigil would open in code view by default and if replace would open in "all files" by default - that would remove 2 steps from the process.

I think, actually a calibre epub to epub conversion with search + replace regex set to the above would fix it in one quick pass.
cybmole is offline   Reply With Quote
Old 03-12-2011, 09:24 AM   #27
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,763
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Don't do things wrongly just because the Kindle's parser is broken. If the situation calls for an em dash, use an em-dash. An em-dash is not supposed to have spaces around it. Most readers handle em-dashes correctly as they use ADE.

Last edited by JSWolf; 03-12-2011 at 09:27 AM.
JSWolf is offline   Reply With Quote
Old 03-12-2011, 09:53 AM   #28
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
Quote:
Originally Posted by JSWolf View Post
Don't do things wrongly just because the Kindle's parser is broken. .
but that approach may let me feel smug & correct, but makes for a poor Kindle reading experience
cybmole is offline   Reply With Quote
Old 03-12-2011, 10:43 AM   #29
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: 31,064
Karma: 60358908
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 cybmole View Post
but that approach may let me feel smug & correct, but makes for a poor Kindle reading experience
<rant>
my 2 cents:
By bastardizing a standard to support a non-standard (Amazon, Apple...) forced upon un-suspecting buyers, you are perpetuating their Gorilla tactics.

If the 'content' is not available (or as butt-ugly as it can get because you use all the features that they support incorrectly) in their format ,
then maybe the buyers will put up a howl (or ditch the cr*p product and get a real reading device that supports EPUB properly)
</rant>
theducks is online now   Reply With Quote
Old 03-12-2011, 11:10 AM   #30
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
well I checked the kindle forum—searched for mdash—clearly no one there gives a toss about it not parsing properly—it's only us folks here who seem to care....
cybmole is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Seriously thoughtful New Money, The Smart thing or the Fun thing? GlenBarrington Lounge 9 01-13-2012 01:47 PM
add an mdash or ndash in book view cybmole Sigil 16 03-09-2011 06:14 PM
Too much of a good thing madzippy General Discussions 14 01-11-2011 03:07 PM
Is very high contrast really a good thing? Ariadne Which one should I buy? 8 11-16-2009 07:14 AM
Amazon Kindle might be the worst thing that could happen to e-books? Bob Russell Amazon Kindle 206 12-28-2007 08:59 AM


All times are GMT -4. The time now is 01:28 AM.


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