Is there any way to control figure size in Writer when it’s converted to epub by a 3rd party software?
Note: There’s no option for fixed format and the Writer converter loses all the hyperlinks.
LO 7.2.4.1, OSX 10.14.6
Is there any way to control figure size in Writer when it’s converted to epub by a 3rd party software?
Note: There’s no option for fixed format and the Writer converter loses all the hyperlinks.
LO 7.2.4.1, OSX 10.14.6
I have put figures in cells. Initially a terrible mess, but a related post advised to take the caption/figure out of the frame. I can now ensure both do appear. However, neither the latter nor put caption/frame inside a table cell will ensure that both appear together on a page.
If fact, even with uniform formatting to my odt, it appears quite random as to whether caption/figure appear together on a page AND whether the figure gets re-sized.
I may just have to live with epub being clearer to read than a pdf, but a lot more messed up!!
You can upload a reduced and anonymized file where the problem is present here so that someone can possibly look at it and examine it.
An example file is in the link, thanks:
You have set the page format to A5.
Before I have to search for a long time, which format has an epub page?
Usually none (free reflow), unless you use the option “fixed” but as @StephenT already wrote:
For fixed format one will either use the same as for a printed edition, to keep the layout or use a fitting size for the intended reader(s), like kindle, iPad…
If you have caption and image inside a table cell then make sure that your table has unticked Allow row to break across pages and columns.
If you don’t use a table to keep them together and you have the caption (paragraph style Figure) before the image (anchored as character) then Modify the Figure style in the Text Flow tab to tick Keep with next paragraph
Note that a breaking table cell allows a break even if Keep with next paragraph is ticked so choose one or the other method of keeping them together.
Neither of the above will necessarily be respected in the 3rd party ePub software.
Correct, neither
work.
Seems odd that the Writer’s own epub conversion doesn’t achieve this as well as failing to keep cross-ref hyperlinks.
Ah well. Can’t have everything in life it seems !
Have you tried the Writer2Xhtml extension? In the extensions site, Writer2xhtml » Extensions
It seems to handle the images better and links to images but the #Contents bookmarks under the headings are not retained.
To keep the caption and image together, it looks as though you could make it one paragraph with the image, that is, enter a line break between caption and image and hope that Widow and Orphan control works in whatever software is doing the conversion.
Just to clarify,
When you say the “#Contents bookmarks under the headings are not retained”, do you mean not retained when converting to Epub in Writer or that I’ll lose the linkage wherever I convert?
Currently, the 3rd party converter keeps all the Contents-Headings links, which, if I had to choose, are more important that having a Caption-image on the same page.
‘Apply’ when modifying a style should apply that modification throughout the document, correct?
Because while experimenting in Writer on how to get the best conversion to Epub I’d taken my caption & image out of the frame. Caption had a specific style, as had image. However, when trying to modify the image from ‘as character’ (which unfortunately messes up because it permitted word wrap) to ‘paragraph’ or ‘to character’ it doesn’t apply unless I switch to a different style then back to the intended style. And it doesn’t apply throughout the file.
This appears odd, because ‘apply’ had worked fine when updating Heading styles.
As I commented in another post, frame styles are a bit less predictable than the other categories. This is an example of misbehaviour: change frame style then Apply or OK and so-styled frames don’t update (or erratically). You found the same workaround as me: aply another style then back. Unfortunately, you have to do it on almost all occurrences. Not user-friendly.
Ah! This is an occasion I had hoped I was being stupid. Unfortunately, lots of figures !!!
The sample document contains 25 page styles (only one in use) and 14 paragraph styles on 7 print pages. This indicates a lot of copy&paste from many differently formatted sources.
The document looks fairly OK in page view but page view is not relevant if the target is an ebook.
The navigator lists dozends of frames while the illustrations reside in single cell tables.
The whole thing is loaded with all thinkable formatting attributes. IMHO, the only solution
would be a complete redesign by copy & paste-special which would transfer only the contents into a new document.
btw: I’ve never noticed the non-printable formatting mark that appears at the top-right corners of the first and third picture. What is it?
@Villeroy: the multiplication of page styles (among other symptoms) is the signature that the document at some time in the past was a .docx. The conversion process creates havoc because DOC format is less powerful than ODF. At least, there is no one-to-one correspondence which means interpolation.
Formatting mark: not visible on your screenshot. I opened the sample file. You have a pilcrow (paragraph mark) immediately after the picture. Explanation: the picture is anchored As character in its own paragraph. Nothing anomalous.