Headings Convert as List Items from Writer
Ubuntu 20.04, LibreOffice 7.5, Calibre 6.10
For years, whenever I try the "Last save as docx" in LO Writer, any heading styles come across as table items. I've spent way too many hours and never solved it. So now with Writer 7.5, thought I'd try again. I removed every trace of LO I could find and did a clean install or 7.5 from the .debs. No dice...
I made a tiny doc with two Heading 1 "chapters". As before, The Heading styles have to be in the Chapter Numbering list to act as headings in Writer: see attached pics. (I can't figure out how to get the images between paragraphs of text...)
Now in 7.5, there is a toolbar icon that will tell a style to be "No List", and that works, but only for one header instance at a time. The header style is fixed as "chapter numbering" and can't be changed by editing the style.
So converting my test book with one heading normal and one with the "no list" applied, I get the normal heading as a table and the other as a simple h1, which is what I want. The css that makes it a table item is this:
.calibre1 {
display: table;
margin: 0;
padding: 0;
}
.block_1 {
display: table-row;
font-size: 18pt;
line-height: 1.2;
page-break-after: avoid;
text-align: center;
margin: 28.4pt 0;
padding: 0;
}
If anyone can tell me how to avoid this table thing, it would be great, because the conversion from .odt is not nearly as good as from docx. Is there any way to make ALL the headings act as the "no list" one? It seems to work for everybody else! Also attached are the .docx file and the resulting epub. Many Thanks in advance.
Last edited by retiredbiker; 02-13-2023 at 05:30 PM.
|