03-26-2017, 06:02 PM | #16 |
null operator (he/him)
Posts: 20,550
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@HarryT I originally wrote '. . . various Afroasiatic languages and dialects . . .'.
Of which Coptic is one, but so too are the Semitic languages - including Arabic and Hebrew. So I was in a dilemma, a Catch 22 I'd quite like to see a snippet where Arabic is used in the book's text along with a chapter number. I could have missed it when I flicked though the book. Maybe there's a reference to the Scheherazade (Rimsky-Korsakov) libretto, that got translated to Arabic. But its almost always performed as a ballet. I should read the book, but its a long way down the pile BR |
04-02-2017, 07:26 PM | #17 | |
Bookmaker & Cat Slave
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
I tell you this not to criticize, but whatever is being used to clean it, isn't doing the job. Troubleshooting in this horrifically messy environment is 10x the difficulty as it should be. Delete all the utterly unnecessary margin calls, at LEAST. I assume that the blank chunks are you disguising something you don't want us to see--if they aren't, delete those, too. TONS of stuff here that should be deleted. I'd also remark that except in unique situations, I wouldn't be sizing things in px. That's asking for trouble. Offered solely FWIW. Hitch |
|
04-04-2017, 05:59 AM | #18 |
Resident Curmudgeon
Posts: 73,887
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
That CSS is very sloppy. It's not been cleaned. Also, the fonts used for embedding, remove them unless you need them. Minion Pro is a dreadful font on eInk. Don't make people suffer with it. I don't know the sans-serif font you've chosen, but dump that too and just use sans-serif as the font and let the default sans serif font be used. When you dump Minion Pro, also dump the entire font-family line. Do not leave in any font-family: serif.
If you are using that CSS as a house CSS, it needs to be cleaned up before being used and all the unused styles need to go for each book. Last edited by JSWolf; 04-04-2017 at 06:02 AM. |
04-15-2017, 06:30 AM | #19 | |
Connoisseur
Posts: 67
Karma: 10
Join Date: Sep 2014
Device: sony prs 2
|
ibooks the reverse is true
Quote:
for me the solution was to delete the language but a more general solution is to use a single language at this level which renders as you intend. Since ade uses the first language and ibooks the last. The simplest solution is to make first and last one and the same With the general rule being that the styling nearest the text wins I think Apple are most likely correct in their interpretation. On a practical basis Ade's implementation is likely to be most common. So far the only system that comes close to listening to the css styling rules is google playbooks. |
|
04-15-2017, 08:26 AM | #20 |
Grand Sorcerer
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
So what I'm hearing is that in ALL cases, a single opf dc language entry (representing the book's primary language) is what is guaranteed to work properly everywhere (which does not surprise me in the least).
What I'm not hearing, is why multiple dc language entries are being added to the opf in the first place. I see no advantage in doing so. In fact doing so can only cause problems--as this thread proves. So where does the ill-advised practice of multiple opf dc language entries originate from? Anybody? |
04-15-2017, 01:55 PM | #21 | |
Connoisseur
Posts: 67
Karma: 10
Join Date: Sep 2014
Device: sony prs 2
|
Quote:
I don't know if indesign generated the meta data or the publisher used a standard template. I can't track it down unfortunately. I think indesign uses javascript to add metadata maybe a bad script?? |
|
04-15-2017, 02:36 PM | #22 |
Grand Sorcerer
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Wouldn't be the first time InDesign was guilty of introducing problems.
Thanks for the input. I've purchased many epubs (both version 2 and version 3) over the years, but I've never purchased one from a commercial source that had more than one dc language entry in the opf's metadata section. This thread is the first place I've ever heard talk of it, in fact. EDIT: the latest EPUB specifications state that more than one language element MAY be included for multi-language documents, but it doesn't explain what the advantages would be (nor how reading systems are expected to address multiple language elements). So as usual, everyone makes up their own rules as to how multiples are prioritized. Last edited by DiapDealer; 04-15-2017 at 02:52 PM. |
04-15-2017, 09:48 PM | #23 | |
Connoisseur
Posts: 67
Karma: 10
Join Date: Sep 2014
Device: sony prs 2
|
Quote:
actually identifier, language and title, are compulsory it would be nice if they defined how they are meant to be used ... |
|
04-15-2017, 10:17 PM | #24 | |
null operator (he/him)
Posts: 20,550
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
04-16-2017, 01:48 AM | #25 | |||||
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Maybe it was borne from poor usage of the HTML meta element for years: https://www.w3.org/International/que...-http-and-lang Quote:
Speaking of multiple dc:language in EPUBs, this mention of Dublin Core was slightly further down the page: Quote:
Or maybe when the EPUB standard was being put together they just decided, "Sure, a lot of the cool hip kids are still doing it in HTML nowadays." Quote:
But besides that specific use-case, only have one overarching main language + mark the foreign text directly with lang + xml:lang. This would be the least buggy option in all the readers, and be much closer to its actual intended use on the text processing side of things (search/dictionary/text-to-speech/[...]). This is the relevant text from the w3 link linked above: Quote:
Last edited by Tex2002ans; 04-16-2017 at 01:51 AM. |
|||||
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Humor Ade, George: Ade's Fables. v1. 24 Aug 2015 | crutledge | ePub Books | 0 | 08-24-2015 07:43 AM |
Humor Ade, George: Ade's Fables. v1. 24 Aug 2015 | crutledge | BBeB/LRF Books | 0 | 08-24-2015 07:41 AM |
ADE adds blank pages? | Psymon | ePub | 84 | 09-28-2014 11:41 AM |
Safely reversing some changes K4NT | mental2k | Kindle Developer's Corner | 2 | 06-26-2013 07:48 AM |
Reversing articles order in a custom news recipe? | mairabc | Calibre | 5 | 12-12-2009 05:24 PM |