![]() |
#61 | |
cacoethes scribendi
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,818
Karma: 137770742
Join Date: Nov 2010
Location: Australia
Device: Kobo Aura One & H2Ov2, Sony PRS-650
|
Quote:
And it had better be. Sigil uses it, and I've seen Smashwords/Calibre generate this element, and it even (redundantly as far as I know) assigns a CSS style as well - eg: <i class="calibre2">some text</i> where the calibre2 style says the text should be italic. (Note that I am NOT holding this up as a good example, just an example of what has - in the past at least - come out of the meatgrinder.) Elements that are not valid are things like <center></center>. Restrictions that have software like Sigil implement as : <p style="text-align: center;">Some text.</p> (I image Scrivener probably generates something similar if you explicitly centre any paragraphs, but have not checked.) Which just goes to show you that without style-aware editors your epubs may still not end up being as neat and tidy as intended by the standard. Last edited by gmw; 07-18-2013 at 09:09 AM. |
|
![]() |
![]() |
![]() |
#62 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,418
Karma: 35207650
Join Date: Jun 2011
Device: iPad
|
I thought that <i></i> flagged an error in the official validater the last time I used it. I could be remembering wrong though.
|
![]() |
![]() |
Advert | |
|
![]() |
#63 |
cacoethes scribendi
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,818
Karma: 137770742
Join Date: Nov 2010
Location: Australia
Device: Kobo Aura One & H2Ov2, Sony PRS-650
|
EPUB 3 is a more difficult to standard to read, but as far as I can tell it supports most of HTML5 (with some limitations on MathML). As such <i> should work there too (see this). Note that HTML5 subtly changes the definition of elements like <i> and <b>. Also note that <i class="somestyle"> is valid (in case I gave the wrong impression above), but does mean that the text may not be rendered in italics - if the style says differently). I just think it is a strange thing to do, to say here's some italic text that may not be italic.
|
![]() |
![]() |
![]() |
#64 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,090
Karma: 6058305
Join Date: Sep 2010
Location: UK
Device: Kindle Paperwhite
|
|
![]() |
![]() |
![]() |
#65 | |
cacoethes scribendi
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,818
Karma: 137770742
Join Date: Nov 2010
Location: Australia
Device: Kobo Aura One & H2Ov2, Sony PRS-650
|
Quote:
As a side note: I have no association with the developer, but found him to be very approachable - a few minor adjustments were made in recent versions as a result of requests I made. For example the "Display hidden text" option. In part of my first book, I had conversation going on in which only half was supposed to be visible to the reader. To keep it all straight in my head, I had the other half written in hidden text - but the earlier version was exporting this too, which obviously I didn't want, hence this extra option. |
|
![]() |
![]() |
Advert | |
|
![]() |
#66 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,090
Karma: 6058305
Join Date: Sep 2010
Location: UK
Device: Kindle Paperwhite
|
Quote:
It sounds like I've got a different version, but I'm pretty sure I've installed the latest one. Initially I got it from extensions.libreoffice.org, but then, thinking that I'd not got the latest, I got it from writer2latex.sourceforge.net. When I installed that one, it told me it was the same version as the one I already had installed. |
|
![]() |
![]() |
![]() |
#67 | |
cacoethes scribendi
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,818
Karma: 137770742
Join Date: Nov 2010
Location: Australia
Device: Kobo Aura One & H2Ov2, Sony PRS-650
|
Quote:
There doesn't appear to have been much word from the main developer on the forums for a year or more. I'll try the email address that I had for him and see if he's responding on that. |
|
![]() |
![]() |
![]() |
#68 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,090
Karma: 6058305
Join Date: Sep 2010
Location: UK
Device: Kindle Paperwhite
|
Thanks. The option to split at headers would be nice, but it's not a deal-breaker.
|
![]() |
![]() |
![]() |
#69 |
cacoethes scribendi
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,818
Karma: 137770742
Join Date: Nov 2010
Location: Australia
Device: Kobo Aura One & H2Ov2, Sony PRS-650
|
There is a supposed to be a command-line ability (that can read an explicit config file, or read config from the command line, rather than needing the options dialog), see the documentation link on the website. I seem to remember using that on one of the early versions, but it's a few years ago now and can't remember the details.
|
![]() |
![]() |
![]() |
#70 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,090
Karma: 6058305
Join Date: Sep 2010
Location: UK
Device: Kindle Paperwhite
|
I can't find a config file to tweak for the extension. I might look into using the command line version later, but right now I've got a holiday to prepare for
![]() |
![]() |
![]() |
![]() |
#71 |
cacoethes scribendi
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,818
Karma: 137770742
Join Date: Nov 2010
Location: Australia
Device: Kobo Aura One & H2Ov2, Sony PRS-650
|
I keep meaning to mention that there is another plug-in for OpenOffice and LibreOffice called Writer2EPub - and you can talk about it right here on MR. I've never used it, so I can't speak for its results, but a quick glance at the website shows that it does offer optional breaking by heading levels 1, 2 and 3, and is supposed to be compatible with LO v4.
It looks to me like writer2xhtml offers more control, but that's only useful if you can get it to work. ![]() |
![]() |
![]() |
![]() |
#72 | |
Gregg Bell
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,266
Karma: 3917598
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
thanks
Quote:
|
|
![]() |
![]() |
![]() |
#73 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 129
Karma: 3000000
Join Date: Jun 2012
Location: Canada
Device: Kindle Keyboard, Asus Transformer
|
Quote:
Back on the original question, I've been using Scrivener for a couple of years, but since I started producing PoD versions of my books I've found I always have to go through and tweak the text to avoid bad hyphenation, which means I then have to go back and change the e-books to match. So lately I've just been writing in Createspace format in LibreOffice and converting from there. |
|
![]() |
![]() |
![]() |
#74 | |
Gregg Bell
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,266
Karma: 3917598
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
?
Quote:
Plus LO really makes a wicked-good PDF. |
|
![]() |
![]() |
![]() |
#75 | |
cacoethes scribendi
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,818
Karma: 137770742
Join Date: Nov 2010
Location: Australia
Device: Kobo Aura One & H2Ov2, Sony PRS-650
|
Quote:
Also, did you note the conversation above with avantman42? It seems that writer2xhtml has problems with the LO v4 (I'm still using LO v3.6). There may be ways around that (a command line version of the convert process), but if you are using LO v4 you may find it simpler to try the Writer2Epub plug-in (that link goes to the forum right here on MR where you can find out more). I've not used that one (yet), but it is supposed to be LO v4 compatible. And yes, LO does PDF very well. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Majuscule et mots composé | neufsix | Assistance | 13 | 12-26-2021 05:08 PM |
Seriously thoughtful Does Libreoffice have a dictionary? | Gregg Bell | Lounge | 3 | 04-26-2013 11:24 PM |
Help to compose a regex to find strings, enclosed in comments tags | Vadim777 | Conversion | 5 | 04-17-2012 12:49 PM |
Libreoffice or OPenoffice? | PJinNH | General Discussions | 14 | 05-20-2011 06:13 AM |