09-23-2021, 10:56 AM | #16 |
cacoethes scribendi
Posts: 5,809
Karma: 137770742
Join Date: Nov 2010
Location: Australia
Device: Kobo Aura One & H2Ov2, Sony PRS-650
|
Ah, I do see in in the upload new version interface, but it is NOT available on the "Publish a New Book" interface - the only mention of mobi there is as a choice to convert from doc.
|
09-23-2021, 11:04 AM | #17 |
cacoethes scribendi
Posts: 5,809
Karma: 137770742
Join Date: Nov 2010
Location: Australia
Device: Kobo Aura One & H2Ov2, Sony PRS-650
|
Historically I have always created the epub using a special plugin (writer2latex) in LibreOffice - I even had a custom version of it for a while - and after that I clean up the epub directly using Sigil. writer2latex did an excellent job of handling styles etc. making the clean up much easier than any of the other options I found at the time. (Some conversions to epub make a serious mess of the styles.)
Of course that is several years ago now, so I'd have to review my options before publishing again (no idea if writer2latex still works with the latest LibreOffice releases). So thanks for sharing your more up-to-date experiences. |
09-23-2021, 12:50 PM | #18 | |
the rook, bossing Never.
Posts: 11,711
Karma: 87663463
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Quote:
I was originally using MS Word and Mobicreator. Before I'd even heard of epubs! I used Calibre instead when I found it (before version 3.4x) and switched from Word to LO Writer (version 4.x?) on XP. I quickly found that odt -> Calibre -> epub wasn't quite right, MS Word "doc" was worse and that docx worked best. (Kovid confirms this). I tried many epub tools and plugins inc. Writer2latex. I've used actual laTex for mathematical stuff. I looked at Sigil, and it's very good if you want more complex ebooks than basic fiction needs. Or you want fancy stuff not automatic in docx to calibre to epub2. I found mobi KF7 and azw3 KF8 worked best from epub2. Amazon confirmed that epub2 upload works better than docx. I find LO Writer 5.x and 6.x work better to make a docx than Word 2003 or Word 2007 (I also have Word 2.0a and Word XP/2002). BUT every time you open a doc or docx in LO Writer (or Open Office), it's converted! SO you can import ONCE, then fixup the page, character, paragraph, image styles and headings, THEN only edit in odt! Do an extra Save As in docx, and as with Word (or PDFs), embed the fonts if Calibre is importing the docx on a different computer (should be no need on SAME computer) and set Calibre options: 0 Line height Embed fonts Subset fonts Page: Tablet (so images are not resized) Note the Wordprocessor doc should have Page Break before (with no page type specified) at Chapter heading style (or other item where you want a new HTML file, new page on ereader or TOC entry. I use a default page about the size of an ereader with no header, footer or page numbers. There is some other stuff I do too. When everything is done correctly (wordprocessor and conversion settings) the epub is perfect and passes book check and epub check, and system NCX/TOC is perfect. No CSS or HTML editing. I changed from Windows to Linux entirely in 2016. Then I proof and annotate on a Kobo Libra (used to be Kindle) and read back the annotations and put them in a tab in KATE (Notepad++ is similar on Windows and I used to use it). Each project/series is a KATE session (previously Notepad++). I used custom spell check dictionaries per project longer than I can remember in Word. These were easily migrated to LO Writer by editing one line in Notepad++ and saving in the LO dictionary directory (originally on Windows for a few years). In 1995 I was editing with a Wordstar clone, using GST Publisher to make a draft, printing on an inkjet. Oh, and only set line heights, headers, footers different page styles (front, body rear etc) and page numbers for PDF for paper POD. The PDF export on LO Writer is fine. There is a bug on last line of most versions of MS Word at the end of a chapter. The last line should be flushed left (or right in Hebrew & Arabic) even if paragraph style is Fully Justified. When you make the PDF (or sometimes epub) the last line is justified. MS official workaround is: At the last line of the last paragraph before a page break add a carriage return (extra press Enter) key. Then Back Space to delete it. I do a bunch of regex in LO Writer after making sure all multiple spaces are one space: [ ]$ (removes trailing space on paragraph) ^[ ] (Removes leading spaces) ^$ (Removes blank lines) LO indents and top & bottom margins in paragraph styles map perfectly to CSS. So only ever one space, no tabs, no blank lines. Don't set line spacing or Register true except for paper. I delete the docx format from Calibre once the epub is created. Then dual mobi is automatically from epub, which is ONLY to test on local kindles and for Smashwords, nothing else. Last edited by Quoth; 09-23-2021 at 01:04 PM. |
|
09-23-2021, 10:57 PM | #19 |
cacoethes scribendi
Posts: 5,809
Karma: 137770742
Join Date: Nov 2010
Location: Australia
Device: Kobo Aura One & H2Ov2, Sony PRS-650
|
Thanks again for sharing, it's interesting to see how others go through it.
I should have made clear in my earlier post that the writer2latex project includes a writer2xhtml component that does the epub conversion - so I wasn't actually using latex. I like Sigil. I find it simple to use and it feels light but capable. As the saying goes: YMMV. Many years ago I moved my network over to Linux based (mostly Ubuntu) except a few VMs needed for my Windows software development work. After about 2 years of struggle (I seemed to be spending all my time dealing with update problems and other maintenance issues) I went back to all Windows. Another case of YMMV - and obviously did. I'm guessing it's also another case of things will have moved on since I last tried it. |
09-24-2021, 06:49 AM | #20 |
the rook, bossing Never.
Posts: 11,711
Karma: 87663463
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
I suspected that. But LaTex is a good idea for very mathematical or scientific texts which may not always suit true ebooks, so needing PDF and maybe offering POD paper.
|
09-24-2021, 07:51 AM | #21 |
Junior Member
Posts: 5
Karma: 10
Join Date: Sep 2021
Device: Kobo Aura
|
Thanks. I wasn't aware of that. That's Big to fix, though ; or even to take into account for future books.
|
09-24-2021, 08:47 AM | #22 | |
cacoethes scribendi
Posts: 5,809
Karma: 137770742
Join Date: Nov 2010
Location: Australia
Device: Kobo Aura One & H2Ov2, Sony PRS-650
|
gryzor2327, first my apologies for having taken your thread off topic.
Quote:
If so, at least some of those look like they should be fixable with reasonably simple find-and-replace (you're already using Unicode open/close quote characters so matching should be fairly reliable), and others with just find and check manually. I can't speak to the conventions, but there is a trite old saying that applies to publishing: you only get once chance to make a good first impression. A lot of readers will not give a second chance. Which is sort of sad, because authors are very rarely at their best on their first book. But it's true enough - and certainly I do it often enough. |
|
09-25-2021, 04:14 PM | #23 |
Junior Member
Posts: 5
Karma: 10
Join Date: Sep 2021
Device: Kobo Aura
|
Yes, I was.
|
09-29-2021, 01:20 PM | #24 | |||||
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Hey. Welcome to MR.
Quote:
I stumbled upon this topic by complete chance. Quote:
It's like a browser. It's able to take piles of garbage (no matter how bad) and turn it into reasonable stuff. It DOES NOT match actual ereaders (Kobo, Nook, Kindle, [...]) though. * * * Similar situation with pandoc's EPUB output. Yes, it may generate "valid EPUBs", but not something that will play nice across many devices. You'd have to do lots of massaging if you wanted an EPUB that's more compatible across a wide variety of actual devices out there. Examples (Usability) 1. Like you could see with your backlinks: ↩︎ many devices/fonts will not have that character. Maybe substitute with a "[^]" instead? 2. Or your footnotes are right next to each other: Code:
<a href="#fn7" class="footnote-ref" id="fnref7" epub:type="noteref">7</a><a href="#fn8" class="footnote-ref" id="fnref8" epub:type="noteref">8</a> What I highly recommended is changing footnotes into non-superscript + brackets: [7][8] This will allow users on touch devices to actually press the tiny links with their fat fingers! So you'd want to adjust your HTML + CSS: Code:
<a href="#fn7" class="footnote-ref" id="fnref7" epub:type="noteref">[7]</a>
Code:
a.footnote-ref { vertical-align: super; <--- Remove this line } - <sup>7,8</sup> with some LaTeX classes (scrbook), this type of footnote-next-to-footnote is taken care of automatically. Others, you'd have to manually adjust. How is this type of situation handled in French typography? Quote:
Users will then be able to download whatever format they prefer. Side Note: You can convert your EPUB->MOBI using Kindle Previewer. This creates a special "Dual MOBI". (This is a KF7 + KF8 version mixed in one file.) Really old Kindles will load the KF7 portion. Newer Kindles will load the KF8. (Don't get this confused with Calibre's MOBI. Calibre uses slightly different names. More details can be found in 2020: "Uploading a dual mobi format") Quote:
Code:
le criminel international ; assoiffée Vansittart et du style qu’il employait : « guerre de l’opium » Code:
le criminel international ; assoiffée Vansittart et du style qu’il employait : « guerre de l’opium » In EPUB + HTML Technically, the most correct space before/after French punctuation would be a:
but in real life, most people settle for:
and cross their fingers, hoping the program renders correctly. (LaTeX/InDesign makes that non-breaking too.) But in French ebooks, for max compatibility, you'd have to settle on the:
EPUB3: Code:
le criminel international&160;; assoiffée Vansittart et du style qu’il employait&160;: «&160;guerre de l’opium&160;»
Way more technical details and thorough testing can be found in the above threads. In LaTeX French spacing is already taken care of automatically by packages (like polyglossia, babel, microtype, etc.) + setting the proper language. If you wanted to manually add a thin space, you use the:
Code:
le criminel international\,; assoiffée Vansittart et du style qu’il employait\,: «\,guerre de l’opium\,» Maybe there's a French-specific option to feed into pandoc. (I haven't done much LaTeX->EPUB, and haven't thoroughly tested exactly what pandoc's output looks like.) Quote:
1. Caught one typo: expirpated -> extirpated - The twin roots of all our evils, Nazi tyranny and Prussian militarism, must be expirpated. 2. You'll want to use EN DASHES between number ranges. Like this:
One way you type EN DASHES in your original LaTeX document is by using "--":
If you're using LaTeX... you should pay special attention to creating typographically superior documents. Last edited by Tex2002ans; 09-29-2021 at 01:34 PM. |
|||||
10-02-2021, 03:41 PM | #25 |
Bookmaker & Cat Slave
Posts: 11,467
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Wait, stop, Tex:
Amazon no longer accepts MOBI except for fixed-layout eBooks. Just...FYI. As of 8/1/21. Hitch |
10-03-2021, 01:32 AM | #26 |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
|
10-03-2021, 07:21 PM | #27 |
Bookmaker & Cat Slave
Posts: 11,467
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
The device Kindle 3rd gen. disconnects from Ubuntu when I send ebook via Calibre. | tarcaz | Calibre | 2 | 04-29-2020 09:15 AM |
Adding books to calibre from mobile device | Renagirl9 | Calibre | 1 | 11-15-2019 07:36 PM |
Accessing my Calibre library on the iPad (or any other mobile device) | Habakkuk | Devices | 6 | 08-09-2016 04:01 AM |
Tamil font rendering in ePub(device: jetBook Lite) | adreamer | Sigil | 8 | 08-05-2010 12:34 PM |
About eBook reader devices rendering engine | bercago | News | 3 | 10-01-2009 11:11 PM |