Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 08-16-2023, 04:48 AM   #76
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: 74,849
Karma: 131375596
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
As shown by some examples, the superscripted number for the tap zone does not have to always be that way. So why not mention to whomever you are working for an let them know that the way it's done in the pBook is not going to work for the eBook and give them a better way to do it so it does work for the eBook?
JSWolf is offline   Reply With Quote
Old 08-16-2023, 05:18 AM   #77
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,813
Karma: 87663463
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Only edit LO Writer as ODT, but extra Save As in docx and import to Calibre.
If the document is created appropriately in MS Word or LO Writer the only editing at all of the epub needed would be CSS width or height of any images a percent of the screen.
Quoth is offline   Reply With Quote
Advert
Old 08-16-2023, 10:33 AM   #78
nabsltd
Evangelist
nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.
 
Posts: 423
Karma: 6913952
Join Date: Aug 2013
Location: Hamden, CT
Device: Kindle Paperwhite (11th gen), Scribe
Quote:
Originally Posted by Liudprand View Post
In fact, as far as I know they're not supported at all (except when the default figures in a typeface already resemble text figures).
Old-style number support in e-readers is definitely bad, especially considering that if you have a half-decent HTML/CSS renderer and an OpenType font that is set up for them, it's actually easy:
Code:
font-feature-settings: "onum" 1;
There are some readers that support this, but others ignore it. Worse, though, is Kindle, which will silently do the equivalent of the above line with the following CSS:
Code:
font-variant: small-caps;
text-transform: lowercase;
This is a common method used to end up with small caps when the source text is all uppercase. But, Kindle gives it what might be an unwanted side-effect.
nabsltd is offline   Reply With Quote
Old 08-16-2023, 10:54 AM   #79
Liudprand
Zealot
Liudprand began at the beginning.
 
Posts: 129
Karma: 10
Join Date: Nov 2021
Device: Kobo Libra 2
Quote:
Originally Posted by JSWolf View Post
As shown by some examples, the superscripted number for the tap zone does not have to always be that way. So why not mention to whomever you are working for an let them know that the way it's done in the pBook is not going to work for the eBook and give them a better way to do it so it does work for the eBook?
Well, mainly because I agree with them, not you, on the basis of having read many, many ebooks on my Libra 2 with superscript note cues and never having a problem. But also because I don't want to become one of those annoying freelancers who's constantly whining about the brief, and assuming I know better. But thanks for the question.
Liudprand is offline   Reply With Quote
Old 08-16-2023, 10:58 AM   #80
Liudprand
Zealot
Liudprand began at the beginning.
 
Posts: 129
Karma: 10
Join Date: Nov 2021
Device: Kobo Libra 2
Quote:
Originally Posted by nabsltd View Post
Old-style number support in e-readers is definitely bad, especially considering that if you have a half-decent HTML/CSS renderer and an OpenType font that is set up for them, it's actually easy:
Code:
font-feature-settings: "onum" 1;
There are some readers that support this, but others ignore it. Worse, though, is Kindle, which will silently do the equivalent of the above line with the following CSS:
Code:
font-variant: small-caps;
text-transform: lowercase;
This is a common method used to end up with small caps when the source text is all uppercase. But, Kindle gives it what might be an unwanted side-effect.
That's interesting (though I don't understand the coding bits!). The more I learn about Kindle/Amazon's whole approach, the happier I am to have a Kobo. Their ecosystem seems more geared to serving readers, rather than capturing as much of a monopoly as possible as brutally as possible, and then just assuming readers will put up with whatever Amazon decides is convenient for itself on its devices, and broader ecosystem.
Liudprand is offline   Reply With Quote
Advert
Old 08-16-2023, 11:04 AM   #81
Liudprand
Zealot
Liudprand began at the beginning.
 
Posts: 129
Karma: 10
Join Date: Nov 2021
Device: Kobo Libra 2
Quote:
Originally Posted by Quoth View Post
Only edit LO Writer as ODT, but extra Save As in docx and import to Calibre.
If the document is created appropriately in MS Word or LO Writer the only editing at all of the epub needed would be CSS width or height of any images a percent of the screen.
Your first sentence here is a bit compressed - not sure what you mean.

Do you mean that if I Save As docx from LO, and then import the resulting docx to Calibre, those issues with headings will go away? And, if so, will the within-chapter note numbering be preserved? Because it was the conversion of docx to ePub within Calibre that bolloxed that up in the first place, which prompted me to write the initial post.

To be clear: Are you saying that, even though Calibre converts a docx produced in Word with notes-within-chapters(i.e. sections) so that the notes are numbered consecutively throughout the whole book, if I format an odt file within LO, and then save it as a docx, Calibre will then conserve the notes-within-chapters style properly?
Liudprand is offline   Reply With Quote
Old 08-16-2023, 11:58 AM   #82
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: 74,849
Karma: 131375596
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by nabsltd View Post
Old-style number support in e-readers is definitely bad, especially considering that if you have a half-decent HTML/CSS renderer and an OpenType font that is set up for them, it's actually easy:
Code:
font-feature-settings: "onum" 1;
There are some readers that support this, but others ignore it. Worse, though, is Kindle, which will silently do the equivalent of the above line with the following CSS:
Code:
font-variant: small-caps;
text-transform: lowercase;
This is a common method used to end up with small caps when the source text is all uppercase. But, Kindle gives it what might be an unwanted side-effect.
The correct CSS for smallcaps is...
Code:
text-transform: uppercase;
font-variant: small-caps;
You need the text top be uppercase before it can be converted to smallcaps.
JSWolf is offline   Reply With Quote
Old 08-16-2023, 12:00 PM   #83
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: 74,849
Karma: 131375596
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Liudprand View Post
Well, mainly because I agree with them, not you, on the basis of having read many, many ebooks on my Libra 2 with superscript note cues and never having a problem. But also because I don't want to become one of those annoying freelancers who's constantly whining about the brief, and assuming I know better. But thanks for the question.
So you don't care about the people reading the eBook who will have trouble tapping that tiny number.
JSWolf is offline   Reply With Quote
Old 08-16-2023, 12:10 PM   #84
Liudprand
Zealot
Liudprand began at the beginning.
 
Posts: 129
Karma: 10
Join Date: Nov 2021
Device: Kobo Libra 2
Quote:
Originally Posted by Liudprand View Post
Your first sentence here is a bit compressed - not sure what you mean.

Do you mean that if I Save As docx from LO, and then import the resulting docx to Calibre, those issues with headings will go away? And, if so, will the within-chapter note numbering be preserved? Because it was the conversion of docx to ePub within Calibre that bolloxed that up in the first place, which prompted me to write the initial post.

To be clear: Are you saying that, even though Calibre converts a docx produced in Word with notes-within-chapters(i.e. sections) so that the notes are numbered consecutively throughout the whole book, if I format an odt file within LO, and then save it as a docx, Calibre will then conserve the notes-within-chapters style properly?
If that was what you meant, Quoth - it doesn't work. Just tried it. The notes are back to a single sequence throughout the book.
Liudprand is offline   Reply With Quote
Old 08-16-2023, 12:12 PM   #85
Liudprand
Zealot
Liudprand began at the beginning.
 
Posts: 129
Karma: 10
Join Date: Nov 2021
Device: Kobo Libra 2
On the other hand, the headings did come out correctly - but that was never a problem I had in the first place (only since trying to work with ePub export from LO).
Liudprand is offline   Reply With Quote
Old 08-16-2023, 01:01 PM   #86
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,813
Karma: 87663463
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Quote:
Originally Posted by Liudprand View Post
If that was what you meant, Quoth - it doesn't work. Just tried it. The notes are back to a single sequence throughout the book.
Did you get the email?
Have you ignored the instruction NEVER use Insert notes/footnote, but manually bookmark & link and manually number? Also manual only numbering also applies to lists.

I have no problem numbering notes 1 to N and having them after each chapter and restarting at next chapter.
Quoth is offline   Reply With Quote
Old 08-16-2023, 01:10 PM   #87
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,813
Karma: 87663463
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Quote:
Originally Posted by Liudprand View Post
To be clear: Are you saying that, even though Calibre converts a docx produced in Word with notes-within-chapters(i.e. sections) so that the notes are numbered consecutively throughout the whole book, if I format an odt file within LO, and then save it as a docx, Calibre will then conserve the notes-within-chapters style properly?
Word or LO Writer work for me to do notes exactly as you want, each chapter's notes after the chapter and restarting at 1.

Also I don't use sections. Not needed to make ebooks or PDFs even if they seem to have sections / parts / volumes. Just create a suitable paragraph style with a suitable heading level. Then Sections/Parts are level 1 and main chapters are Level 2.

Never autonumber anything except pages in footer or header (paper / PDF destination only). It's simply a convenience and in total work saves little time. No auto-numbered chapters, notes or lists.

But only edit odt files with LO Writer (opening a docx does a conversion) and only convert docx with Calibre (because odt support is ancient and broken), so always a final extra Save As in docx purely for Calibre or other MS Word users. Only edit odt in LO Writer. If you start with a docx in LO Writer, save at once in odt and then check all page styles, headings, paragraph styles as the input file read a docx may look right (and print on paper), it's a conversion concentrating on cosmetics rather than sane structure! Actually different versions of MS word using each other's doc and docx have the same problem!

Last edited by Quoth; 08-16-2023 at 01:14 PM.
Quoth is offline   Reply With Quote
Old 08-16-2023, 01:49 PM   #88
Liudprand
Zealot
Liudprand began at the beginning.
 
Posts: 129
Karma: 10
Join Date: Nov 2021
Device: Kobo Libra 2
Quote:
Originally Posted by JSWolf View Post
So you don't care about the people reading the eBook who will have trouble tapping that tiny number.
As it happens, I myself am one of those "people" of whom you speak, and I have no trouble tapping the "tiny number". I mean, maybe once or twice, but almost never.

If you're talking about people with some kind of disability, such as a tremor, then yes, I can see that might be a problem. But there are all kinds of ways in which technology like this can be adjusted for those people specifically, rather than making everything easily accessible for everyone. It would be like suggesting every door in the world should have a wheelchair ramp.

And, as I've already said several times, the people you should be taking this up with if you feel strongly about it are the people who run big publishing houses. Maybe you'll even have some success.
Liudprand is offline   Reply With Quote
Old 08-16-2023, 01:57 PM   #89
Liudprand
Zealot
Liudprand began at the beginning.
 
Posts: 129
Karma: 10
Join Date: Nov 2021
Device: Kobo Libra 2
Quote:
Originally Posted by Quoth View Post
Word or LO Writer work for me to do notes exactly as you want, each chapter's notes after the chapter and restarting at 1.

Also I don't use sections. Not needed to make ebooks or PDFs even if they seem to have sections / parts / volumes. Just create a suitable paragraph style with a suitable heading level. Then Sections/Parts are level 1 and main chapters are Level 2.

Never autonumber anything except pages in footer or header (paper / PDF destination only). It's simply a convenience and in total work saves little time. No auto-numbered chapters, notes or lists.

But only edit odt files with LO Writer (opening a docx does a conversion) and only convert docx with Calibre (because odt support is ancient and broken), so always a final extra Save As in docx purely for Calibre or other MS Word users. Only edit odt in LO Writer. If you start with a docx in LO Writer, save at once in odt and then check all page styles, headings, paragraph styles as the input file read a docx may look right (and print on paper), it's a conversion concentrating on cosmetics rather than sane structure! Actually different versions of MS word using each other's doc and docx have the same problem!
I'm glad it works for you - it doesn't for me. Something I'm doing wrong, or could do differently, I've no doubt.

But the way I finally managed to get all of the formatting I wanted was to export to ePub from LO, specifying "Page break" as the split method rather than "Heading". It did something weird with my ToC (where just the heading remains, without the ToC itself); but the system ToC is functional in the ePub, so that doesn't really matter.

The only other slight frustration is that I don't know how to have different paragraph formats in LO for chapter numbers and chapter titles that will both show up, combined - i.e. "2. What I Did on My Holidays", in the navigation system within the kepub (i.e. at the top of the page). Because I now have them in two different paragraph styles, only the number shows up at the top of the page on my Libra 2 - "2", or whatever. But I can probably live with that.
Liudprand is offline   Reply With Quote
Old 08-17-2023, 09:58 AM   #90
nabsltd
Evangelist
nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.
 
Posts: 423
Karma: 6913952
Join Date: Aug 2013
Location: Hamden, CT
Device: Kindle Paperwhite (11th gen), Scribe
Quote:
Originally Posted by JSWolf View Post
The correct CSS for smallcaps is...
Code:
text-transform: uppercase;
font-variant: small-caps;
You need the text top be uppercase before it can be converted to smallcaps.
Your post is completely backwards from reality:
https://www.w3schools.com/cssref/pr_...nt-variant.php

For an example:
https://jsfiddle.net/m5cjpq3t/1/

Basically, lowercase letters get changed to small uppercase by font-variant: small-caps and uppercase letters are untouched. If you want every character in the span to be small caps, you need to convert them to lowercase first.

What has likely confused you is that you see the following in a lot of eBooks to simulate small caps:
Code:
<p>The sign read <small>OPEN</small></p>

Last edited by nabsltd; 08-17-2023 at 10:00 AM.
nabsltd is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A Footnote Query (EPUB vs KEPUB) pgilster Kobo Reader 3 08-26-2020 10:46 PM
EPUB-KEPUB Conversion problem wff Conversion 25 04-18-2020 05:16 PM
Footnote problem with Epub conversion from InDesign xzkin Kindle Formats 6 04-08-2018 11:54 PM
Pages in footnote don't change - KEPUB Buhaj47 Kobo Reader 2 01-04-2015 07:52 PM
Glo Footnote encoding problem in kepub.epub fxp33 Kobo Reader 5 11-29-2013 04:02 AM


All times are GMT -4. The time now is 01:44 PM.


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